Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
User Posts

Go to Profile

download ban, shoutbox ban, ip history, user ip log and check ip on signup all added  :D
For db client remember - site client  ban is instant, but clients  are at peoples homes so we have to give up to 10 min  for announce interval I should put message there to be clearer  that's why i added yes/no so you can know it's done.
Focre recheck in client does the trick for testing
"Propaganda, post: 68995, member: 60":

Hey [USER=20288]@m-jay[/USER] , I saw some additional text here yesterday...you need help testing the client-ban mod?


I managed to do some more test and finish it off but the more test the better, github updated client & contact on bottom left in admin - i also noticed the usermenu (profile, messages etc)  switching -
i had given each controller a usermenu template each now there all use the same so that should be fixed - you will need the new sql attached

use the master branch mate & for [USER=20382]@STorrents2020[/USER] heres a comment i made for client ban in db  https://github.com/M-jay84/Torrent-Trader-MVC-PDO-OOP/commit/1506a42fe0977dcc398531973d65accf69162ea6

its the announce, sql & the client controller dont mind the html mess left it there before i move it to a template
ive had nothing but headache with shoutbox and the stupid iframe, replying is working -  the form is like you suggest
but passing the username into the message itself
but if the message does not say @storrents its just as easy to post new shout its the $_POST['message'] its trying to post   @$username/$message it should be $message so its just null

$result = DB::run("SELECT user FROM shoutbox WHERE msgid=?", [$reply])->fetchColumn();
?>        
<td width='75%' align='center'>
<input type="text" name="reply" class='shoutbox_msgbox' value="@<?php echo $result;?>" /><?php


For that mod  propaganda and every other old TT shoutbox mod is not possible in a controller due to the iframe
because the iframe it reads the full controller (you cant use methods/functions) so you would need maybe 5 shoutbox controllers
i might go back to it but its not a priority i might replace it in future or try put all methods wrapped in a get request

    public function index()
   {}

   public function main()
   {
       // Get Page from url
      $main = isset($_GET['main']) ? $_GET['main'] : null;
      if ($main){
      // code
      }
   }

   public function edit()
   {
       // Get Page from url
      $edit = isset($_GET['edit']) ? $_GET['edit'] : null;
      if ($edit){
      // code
      }
   }
 
   public function staff()
   {
       // Get Page from url
       $staff = isset($_GET['staff']) ? $_GET['staff'] : null;
      if ($staff){
      // code
      }
   }
I'm not sure with subdir the rewrite is in htaccess if that's extended public/subdir/index.php that should allow it, the path would be defined by siteconfig [url]
url/sub[/url]
I've had to remove reply for now, the input has 2 values username & the message so its returning null the username should be in the message itself, think that might have to be javascript
Thanks for Share, had a quick test this morning and its not recognizing torrent files, we will wait to see sql one when someone test to see if its my end.
Need to test on more clients but heres screenshot so far
users can now edit there own shouts within 2 minutes :D that can be knocked off
Word censor in shoutbox  thats already part of 2.08
client ban in db is done
ill post mods here as i go so the list can be updated and thinned out no point posting in pdo support because there will be in base (y) id prefer the thread not getting too long so if a mod is ok ill delete mine and your posts about that mod in this thread and if it needs lots of work then ill move to support and we will keep this post as a list and to tick off mods - if that is ok with you mate

first up contactstaff - i have to say this was ugly while i updated i cleaned a bit but not used this before so not sure about the appearance some old screenshots might be useful if you think it needs it

Also is this only for members ? think i can get this to non members as well
very small mistake  ?  change Read.php to read.php in views/torrents/   these are good examples of bugs - because we change so much its a capital letter, a link, a setting but that last github update is the last big one  just adding mods now & checking for bugs and give code a good clean & format for a pre-release on 1st september (pre-release because we need test before saying its safe to transfer any old site)

At the minute we have some empty models, some html in controllers but this does not effect function ( this is a really big task but the project works so after 12 months time to release stable version )
I plan to move all functions to classes but that is a choice not necessary the main thing is mod & release  (y)

On admincp the style is on custom.css border warning & primary, once released we might find someone who knows more about bootstrap lol
Tracker Timeout — 2020-08-10 09:05:04 in v3 Support
whats the bug [USER=20382]@STorrents2020[/USER]  could do with scraper for myself are you using the one micromonkey posted & your new mega scraper
added images to side list, admin section finished just testing
here is what admincp looks like blocks are loaded in space below edit groups etc
No problem that will be user(id) the old account used to be curuser(id) must of missed them

Also re-styled the admincp I'll take some screenshots later
Instead of std head, stdfoot, right/left block functions
I've replaced with templates adminheader, adminfooter, adminleftlist etc

The big block with images and links is gone :D
The reply seems easy enough I just load view with load(shoutbox/reply);
All I do then is add [USER=18220]@user[/USER] to input box on view  like edit but just pass user name

Tagging would be great addition, dont think php would be useful probably js or ajax which is out of my comfort zone ?

done a lot of changes so dont want to update github for a few days while i check i have not broken any links but
history is fixed,  edit fixed & reply added

noticed message count in navbar is acting strange that is fixed, just tiny little easy things a draw back from mass editing but im done moving things
today  button bashing in admincp to check everything,  ill work on the admin style as i go
installed on live server php 7.4 editing mysql, config & .htaccess all seems to load fine

still having issue with paths Rewrite support required. Extension not enabled or installed!
cant find on host where to restart apache on cpanel is  :unsure:  is enabled for mvc and /signup /login are loading fine

in login i noticed line 22 header('Location: http://codys-imac.local/'); is this correct
All seems fine on few pages i load just cant link between the pages login justs keeps refreshing login page, same with signup
Cleanup - Ignoring column — 2020-08-07 16:01:00 in v3 Support
while were on dates/times heres a note i made a while back, been playing with datetime immutable which i would extend to

class MYDatetime extends /DatetimeImmutable (which then itself extends datetime intereface) see php manual
or
make just a little helper with functions settimezone / setusertimezone / add / diff / modify

this is the way forward but not really started, heres the current time & date functions

mkprettytime = 4 results in code, 0 in date functions
gmtime = 28 results in code, 3 in date functions, [color=rgb(247, 218, 100)]get_elapsed_time, utc_to_tz, utc_to_tz_time[/color]
sql_timestamp_to_unix_timestamp = 13 results in code, 5 in date functions, [color=rgb(247, 218, 100)]gmtime, time_ago, utc_to_tz_time, utc_to_tz, datediff[/color]
get_elapsed_time = 1 results in code, 1 in date functions,[color=rgb(247, 218, 100)] time_ago[/color]
time_ago = 1 results in code, 0 in date functions
get_date_time = 67 results in code, 3 in date functions, [color=rgb(247, 218, 100)]gmtime, utc_to_tz_time, utc_to_tz[/color]
utc_to_tz = 49 results in code, 0 in date functions
utc_to_tz_time = 11 results in code, 0 in date functions
DateDiff = 2 results in code, 0 in date functions


[color=rgb(247, 218, 100)]mkprettytime[/color] = mkprettytime($timestamp) Function that calculates the Hours Minutes Seconds of a Timestamp

[color=rgb(247, 218, 100)]gmtime [/color]= gmtime() Time to Time Conversion Function With Time Zone

[color=rgb(247, 218, 100)]sql_timestamp_to_unix_timestamp[/color] = sql_timestamp_to_unix_timestamp($s) Function That Returns The UNIX Timestamp Of A Date

[color=rgb(247, 218, 100)]get_elapsed_time[/color] = get_elapsed_time($ts) Obtaining past function (Week Day Hour Minute Second) According to a Timestamp

[color=rgb(247, 218, 100)]time_ago[/color] = time_ago($timestamp) function Week Day Hour Minute Second According to Timestamp

[color=rgb(247, 218, 100)]get_date_time[/color] = get_date_time($timestamp = 0) covert to date/time (both date & timestamp)

[color=rgb(247, 218, 100)]utc_to_tz = [/color][color=rgb(239, 239, 239)]utc_to_tz($timestamp = 0)[/color][color=rgb(247, 218, 100)] [/color]Function which returns a date according to the members time zone

[color=rgb(247, 218, 100)]utc_to_tz_time [/color]= utc_to_tz_time($timestamp = 0) Function That Returns A Timestamp According To The Members Time Zone

[color=rgb(247, 218, 100)]DateDiff[/color] = DateDiff($start, $end) Function To Make The Time Interval Between 2 Dates
Try change stylesheet in database user table to 1 (default) as well
On xamp or test sever if the test server
Try download from github again if you downloaded other day
On new try before you start make sure
Exceptionerror.php file is empty then check
again after fresh install

It should collect any errors
Users online
Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 10

  • Online

  • Total online: 4
  • Members: 1
  • Guests online: 3
  • Comments: 3
  • Messages: 1,728