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

At our current site the youtube is also displayed as big block...

[ATTACH type="full" alt="1597549147551.png"]5752[/ATTACH]
"m-jay, post: 69039, member: 20288":

Maybe 3/4 minutes

Would my thought be correct?

Please see the updated list above!
"m-jay, post: 68988, member: 20288":

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


The [E] should have been gone after 2 min.

[ATTACH type="full" alt="Shoutbox editing.PNG"]5726[/ATTACH]

Let me test again...I visit the page again, [E} is gone

Ahh, ok it is linked to the refresh of the iFrame!
So the 2min for the line no matter...5min it is at this moment. Mmmm
"m-jay, post: 69027, member: 20288":

download ban, shoutbox ban, ip history, user ip log and check ip on signup all added  :D

Wow wow wow!!

- [MOD]Bann user from sending pms >> https://www.torrenttrader.xyz/index.php?threads/mod-bann-user-from-sending-pms.2288/    ;)
"m-jay, post: 69023, member: 20288":

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


Working!!
The SQL for the agents table has a small error...additional mb4 characters.

CREATE TABLE `agents` (
 `agent_id` int(10) unsigned NOT NULL auto_increment,
 `agent_name` varchar(255) NOT NULL DEFAULT '',
 `hits` int(10) UNSIGNED NOT NULL DEFAULT 0,
 `ins_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
 PRIMARY KEY (`agent_id`),
 UNIQUE KEY `agent_name` (`agent_name`) USING HASH
) ENGINE=MyISAM DEFAULT CHARSET=utf8[color=rgb(84, 172, 210)]mb4[/color];
I will start testing again tonight !!
"m-jay, post: 69013, member: 20288":

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
      }
   }



Dear [USER=20288]@m-jay[/USER] , please let it rest for awhile until you think of a better solution.

I also have never liked the iFrame the shoutbox is captured in. But then again the shoutbox is used on our site frequently - and has always been a part of TT.
I am aware of different solutions like ajax shoutbox versions...but my technical knowledge is limited. Hope ST can provide help on the technical side ;-)
"m-jay, post: 69004, member: 20288":

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


Would this help >> https://www.torrenttrader.xyz/index.php?threads/hack-reply-shout-box.4393/
"m-jay, post: 68962, member: 20288":

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


[USER=20288]@m-jay[/USER] , please help to double check the shoutbox reply function. It actually deletes the message you are replying to, and replaced it with your reply.
"m-jay, post: 68991, member: 20288":

Need to test on more clients but heres screenshot so far


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

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


Here some screenshots >>

[ATTACH type="full" alt="ContactMods-form.PNG"]5714[/ATTACH]
This is the form used by Members (not anonymous), who want to contact the admins/mods of the site.

Next their question will end up in the Staff PM inbox, to be answered by admins and mods. (answered column will be still No- Not yet Replied.
Admin clicks on the subject, a page will open where the admin/mod can formulate their reply.
When submitted, the list is updated and the answered column is set to yes.

[ATTACH type="full" alt="ContactMods-Inbox.PNG"]5715[/ATTACH]
Copied the files today...and many fixes :)

I think your revamping the torrent-details page as well!

[ATTACH type="full"]5700[/ATTACH]

Will check the code and report anything funny I see.
Updated 1st post, and created new topic dealing with mods/hacks
Below I have collected the completed mods/hacks from pre-v2.08, v2.08 and v3.0. Alphabetically listed - per category)
I have tried to find the latest version matching with the older mod, and kept this newer version in the list.

User Related

AJAX Check Username on Signup (as the mod indicates - a check on username during signup)
Donate Upload Credits (This mod allows you to donate bytes to another user to improve his/her ratio)
Hint on signup (Shows small hints for the different fields used at sign-up)
Message warning on low ratio (When the users ratio drops below certain value sent warning PM. After x warnings, user should get download ban auto. Likewise when users ratio is above certain ratio again - download ban should be removed also auto)
Park your account (For when you will be gone for long period - prevents deletion for the account)
PM Uploader on comment add (I am thinking of option in users panel, where he chooses to either get email or PM when new reation to his torrent)
Positive ratio on signup (as the mod indicates, not having the user start with zero's - should be able to configure in config or control panel)
Trading to delete H&R (Using your seedbonus to trade against your hit and run counts)
Send mail to banned users with reason (When banning a member, even when done auto by the system, an email should be sent to them with the reason why)
TimeZone for signup (include the Timezone selection for a member on signup)
Users Online - Updated (AJAX/PDO) (This should be a block in the center of the index)
Also Downloaded (Should show the torrents this user has downloaded in the past, maybe can be linked to reseed request)
Upload Activity (Shows realtime activity of the user being used, for the torrents being seeded in the users panel)
Welcome Email (When the user registers, with some short hints etc etc)

Admin Related:

Add Seedbonus To User (I believe this is the same as manually adding data to a user from the admin panel)
Announcements , Announcements bar (Found 2 versions, what it does on our site - it also shows when you have received a new PM)
Anti-Flood (To prevent user from flooding the site, this should work for both torrents,comments,forum replies etc)
Nick Change V3 (Change a persons username from the admin panel)
Complete Proxy Detection - API (Detect proxies)
Detect VPN (Detect VPN connections)
Edit & Delete Torrents from Torrent table (inline editing?)
Flush user peers (This is a must have also, it allows the admin to flush the peers of a users)
Inactive Users 2.08 (Manage inactive users from the control panel)
Images in RSS feed (as the mod indicates)
List bad ratio users (as the mod indicates)
Mass Email (Allows the admin to email all members all at once)
Pending Users Mod, Manual Confirm User (Is this same as admin approval setting in config? ( $config['ACONFIRM field) I believe it should be connected somehow. But I do not fully know how the admin approval of users works though...

[ATTACH type="full" alt="1599049758984.png"]5851[/ATTACH]

Recorded actions for changes into account-details (When something is done to the user account, the system should keep a record of this for the particular user. You can think of changes by admins to the users settings, or when the user gives or donates upload credits, or when he she is warned etc.

[ATTACH type="full" alt="1599049928838.png"]5852[/ATTACH]

Site Description & KeyWords (as addional info in the config.php file)
Staff bookmarks ( For this mod, I do not know if I have the same idea as the mod linked to describes, but here it is: For admins it would be handy if they can keep a list of things they would like to monitor for awhile, such as: Torrent uploaded, comments made, forum topic, specific shoutbox post...etc This should be a manageable list for the specific admin, each admin should be able to manage their own list.)
Stale PM's clean up (PM cleanup in general, nobody should need to keep PM's from years ago. Only when they have marked the PM to keep - the system should not delete it, else the cleanup routine should take care of limiting the amount of PM's)
Truncate peers in AdminCP (Note this cleers ALL Peers) (as the mod indicates)

Shoutbox related:

New Torrent in Shoutbox (optional, should be able to turn off)
Hack: Reply Shout Box (This is the one you are having issues with)
PM user from shoutbox post (be able to sent pm from shoutbox to user)
V2.08 Mods Completed [Ajax shoutbox] (Complete new shoutbox option (AJAX based)
Shoutbox with privates rooms, bbcodes, smiles, edit msg (Another complete other shoutbox option)

Torrent Related:

Torrent new image shout (Add (NEW!) for new torrents)
Anti-Flood (Is this the same as the Anti-Flood mentioned on the admin section above...)
AJAX Search Autocomplete (v1) - PDO Version (Replacement for the search?)
Anti Hit & Run System (Must have, Anti H&R - prevents a member from being a leecher)
Auto-Resize Images & More Tags (Resizes images automatically to adhere to certain size)
Back to torrent after edit/delete comments (I would like to suggest to make the Torrent file name a link to the torrent details page.)
Delete NFO on existing torrents (option to delete and re-upload the nfo for a torrent)
Disable DHT (as the mod indicates)

Freeleech related >> Combine all the freeleech options > freeleech flexible, period/terms, specific category, specific size etc - all controlled from admin panel.

Freeleech Management
Auto Set FreeLeech
Freeleech and sticky during upload

Hide section (as the mod indicates, to hide a specific category - should be able configure per user from user control panel)
List of Dead Torrents (as the torrent indicates - for main menu)
Points GB for the Uploader (Give additional credit in points for the uploader of a torrent)
Recommended Torrent (as the mod indicated, this is the torrent offer system - with voting)
Say Thanks & Force (optional item...This one needs thinking)
Search Cloud (looks like this...)

[ATTACH type="full" alt="1599053971193.png"]5853[/ATTACH]

Silver torrents (Based on users downloaded...or data transferred, can we also have bronze and gold torrents?)
Similar Torrent (Shows similar torrents to the one you are looking at the details)
Site torrent catalog (Keeps a list of all the torrents uploaded - can this also include torrents that are banned/dead etc)
Sticky Torrents (Keeps a torrent or torrent on top of the list)
Top Downloaded & Freeleech Torrents on Index ((needs to be on/off))
Torrent 2 BLOB data Migrator (Torrent importer)
Uploader Application (This mod comes into play when you do not want to have new users to automatically be uploaders and flood your site with crap. Moderators have to approve uploader application first before you can upload)
Uploader Rank (2.08) (This adds a bronze/silver/gold star to a user for his uploading achievements.)

Social mods related >>

Basic Donation Addon (How to manage donations from the admin panel, both users and the amounts mentioned in the donation block)
Birthday (Block addon showing that day members birthdays)
Contact (icq,msn,yahoo,aim,skype, facebook, twitter) (Option for member to indicate their social pages)
Date of Birth addon (for those that do not mind mentioning their birthday, should be optional field)
Daily Login Bonus (Gives additional bonus in upload amount)
Footer mod (Users online+User pop by in the last 24hours), Users Online Today (shows the online users, bots etc + count number of logins in last 24hrs)
Latest tweets block (Shows the latest tweets from the sites twitter account, or from other tweet accounts - you should be able to configure in admin panel)
Member of the month for 2.08+! (Based on biggest gain in upload, or most torrents uploaded)
Reputation system 2.08 (More Complex Reputations System)
User Stats Image (Create an image to use on other sites with your stats, to promote your site)

[ATTACH type="full" alt="1599055345712.png"]5854[/ATTACH]

Collection (torrents that you have completed)
Your "shitlist" (For those that are not your friends)

[ATTACH type="full" alt="1597549570904.png"]5753[/ATTACH]


Forums related >>

All major mods included

OTHERS >>

DMCA Compliance Page (as the mod indicates)
TOP link in footer (show small "top" link in footer to jump to top of the page)
Google reCAPTCHA (Googles version to prevent flooding for for example registration, commenting etc)
Google reCaptcha v2 tutorial (the one you will ever need for TorrentTrader)

MODS IN DEVELOPMENT >>

Set Config in Staff Panel [TTv3] (now this would be nice!!, including mods of and on... lol)
Ajax Shoutbox V3 (Did not realize you have been working on this...)
More Groups Automated V3 (Would love this one!!)
Like Button Mod [In Progress] (Nice!!)
SuperTag [TTv3] (Again nice!!)




Modifications that have been included with the default code (alphabetical order) >>
*************************************************************************
- ACP show torrent clients
- Activity on account-details(like the torrents currently seeded by the user, the torrents he/she has completed)
- Additional shoutbox for staff only (option already has been implemented)
- Auto Promote/Demote (related to ratio and upload amount)
- Avatar and edit on Shoutbox (shows your avatar + edit function in shoutbox)
- Ban comments, Ban user from sending pms, Bannir MP / Commentaire / Téléchargement / Upload / Shoutbox (Option to ban user from Shoutbox, Downloading, Commenting, Sending PMs)
- Bookmark Torrents (Keep a list of torrents bookmarked that you either just wanna follow - or perhaps wanna download in the future)
- Clear shoutbox in ACP (Please be aware - this cleans all history!!)
- Class Colour Function (shows user classes by color code)
- Download ban
- Enchanced Requests (Torrent request mod)
- Error Reporting Helper (collects error the site may generate and collects them in a file - useful for developer)
- Force Login (site not visible unless you are logged in)
- Forum Users Online (shows the people online inside the forum)
- Freeleech (basic version)
- Friends (and blocked users) Mod for 2.08
- Important Password Update (BCRYPT Passwords, changes the encryption system used to store members password)
- Invited By (To show in the users panel by whom they were invited
- Invite Code System (Allow users to invite others to the site)
- IP Bans, Banned IP 2.08, Duplicate IPs' [TTv3] (Keeping all mods visible here, this should be 2 components, ip-banning and dup-ip checking - with setting in config)
- Last Forum Post on Index (shows latest forum posts on index page)
- Link Redirect To Youtube (You may have already implemented this one)
- Magnet Link torrent
- Manual Add User (as the mod indicates)
- New survey (poll) (as the mod indicates)
- New Staff Panels (may not be needed - as you have already re-designed the panel)
- Option to ban torrent clients.
- ReStyled Forums (Restyled Forum, you may already be working on this one)
- Seed Bonus (as the mod indicates)
- Session Mod (records the users sessions)
- Shoutbox ban
- ShoutBox Edit for 2.08 Only (*Edit post >> IMPORTANT !! - within 1 min for member, should always possible for mod/admin)
- Show torrent clients in ACP (Shows the torrent client used by the member in their account panel)
- Snatchlist [TTv3]
- Teams
- Tidy Index & Add Modules (updated index page)
- Top 10 (as the mod indicates)
- Update Smilies (Smilies updated)
- Update BBcode & Preview Everywhere (as the mod indicates)
- Upload Avatar (This is File upload - with max size, not link to url)
- User Class In Forum (as the mod indicates)
- View IP history of a user (as the mod indicates)
- VIP only torrents (as the mod indicates)
- Word censor in shoutbox
- Youtube in torrents Details
"m-jay, post: 68967, member: 20288":

here is what admincp looks like blocks are loaded in space below edit groups etc

Cleaned up version ;-)

Found this one for a more advanced Control Panel >>  [url='https://www.torrenttrader.xyz/index.php?threads/one-staffcp-for-all-the-staff-with-permission-or-not.3585/']One STAFFCP for all the staff with permission or not[/url]
Hey [USER=20288]@m-jay[/USER], please also have a look at the profile pages.
The "profile" part does not change fully.

[ATTACH type="full"]5690[/ATTACH]
[ATTACH type="full"]5691[/ATTACH]
some more quick observes >>

- History of shoutbox is combining admin + user
- Reply function in shoutbox not yet defined
- Edit function in the shoutbox, reloads index.php in the shoutbox frame.
The issue were the many changes in the topnavbar.php file. I have updated it mirroring the changes in the default theme and now all loads ok.

Quick fix for one error present in the default theme:

Line 48 needs an additional </a>

         //&nbsp;Donated: <a href='" .$site_config["SITEURL"]. "/donate' title='Donated Amount'><font color=gold>&nbsp;$CURUSER[donated]</font>[color=rgb(250, 197, 28)]</a>[/color]&nbsp;");

Grateful for your positive comment on my efforts in adding some options and moving them around as well.
Let me collect the links to the mods etc as requested.

Thanks again [USER=20288]@m-jay[/USER]
"m-jay, post: 68933, member: 20288":

great work on the navbar ?(y) ive added to base, because ive moved a lot around i re-did all the links so if you update everything is ready
i removed the social media & radio links but everything else is there if you send me links to missing mods contact/friend/request ill add them

just updated github if you wish to try newest one save old files first

to update sql
ALTER TABLE `shoutbox` ADD `staff` tinyint( 3 ) unsigned NOT NULL default '0';


in config.php
// FORUM POST ON INDEX
$site_config['FORUMONINDEX'] = true;


transfer and rewrite all files except config.php [color=rgb(247, 218, 100)](for live servers)[/color]
https://github.com/M-jay84/Torrent-Trader-MVC-PDO-OOP

install for xampp php 7.4 only  [color=rgb(247, 218, 100)](use attached folder)[/color]
place pdo folder so it looks like htdocs/pdo/public_html [color=rgb(247, 218, 100)](this is so links and rewrite is set)[/color]
edit db settings in config.php if you do not rename the pdo folder you do not need to set url just search localhost/pdo


After making backups, I have deleted all my files. Next copied over the new ones from GIT.
Adjusted my config. Made sure the shoutbox sql was there. and next tried to run the site.

Login page appears ok, but after login get
This page isn’t working right now
ERR_TOO_MANY_REDIRECTS
Users online

No 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: 9

  • Online

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