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
ShoutBox Edit for 2.08 Only
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2.08 Mods Completed

Unknown User
2013-02-01 05:06:48
Ok This is an shoutbox edit for 2.08
All credit goes the poster here:
[url="http://www.torrenttrader.pw/topic/9655-addonshoutbox-message-edit%5B/url"]
I just modified it to work with 2.08 and cleaned up some of the older code![/url]

Quote:
[url="http://www.torrenttrader.pw/topic/9655-addonshoutbox-message-edit%5B/url"]Posted 23 October 2008 - 02:57 PM[/url]
[url="http://www.torrenttrader.pw/topic/9655-addonshoutbox-message-edit%5B/url"]
Ok I did not really have time to search and give credit for some of the stuff. what i did was take some code form the forums and used somebody's autolink code. when i can i will search and give credit to the person. now this is nothing fancy but it does work. hopefully one of the staff will change this a bit and put it in the next release. it would be better if all of the code was to sit in the shoutbox.php could one of the staff check the shoutedit.php to make sure it is secure from injection. ok here we go[/url]
[url="http://www.torrenttrader.pw/topic/9655-addonshoutbox-message-edit%5B/url"]
in shoutbox.php find:[/url]

[url="http://www.torrenttrader.pw/topic/9655-addonshoutbox-message-edit%5B/url"]echo "<div align='right' style='float: right'><a href='".$site_config['SITEURL']."/shoutbox.php?del=".$row['msgid']."' style='font-size: 8px'>[D]</a><div>";[/url]

[url="http://www.torrenttrader.pw/topic/9655-addonshoutbox-message-edit%5B/url"]
replace with:[/url]

[url="http://www.torrenttrader.pw/topic/9655-addonshoutbox-message-edit%5B/url"]echo "<div align='right' style='float: right'><a href='".$site_config['SITEURL']."/shoutedit.php?action=edit&msgid=".$row['msgid']."' style='font-size: 8px'>[E]</a>&nbsp;&nbsp;<a href='".$site_config['SITEURL']."/shoutbox.php?del=".$row['msgid']."' style='font-size: 8px'>[D]</a><div>";[/url]

[url="http://www.torrenttrader.pw/topic/9655-addonshoutbox-message-edit%5B/url"]
add shoutedit.php to your root.[/url]
[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=6535"]shoutedit.php[/url]

[url="http://www.torrenttrader.pw/topic/9655-addonshoutbox-message-edit%5B/url"]
That should be about it.
[/url]
shoutedit.php
Download
Unknown User
2013-02-01 12:13:03
big thks  [url="https://www.torrenttrader.org/user/33545-arcticwolf/"]ArcticWolf[/url]

very good
2013-02-01 22:20:11
Does this one have the message I added to mine about "are you sure you want to delete this message?. I added it to mine so I wouldn't accidently delete shouts lol. I found that would happen if I didnt pay attention and click in the shoutbox to scroll the page, and if you click the D, the message just goes away
TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
Unknown User
2013-02-01 23:22:51
it dont do anything with the delete part, so thats still in what ever shoutbox you used.  I am still working with an idea to make the shoutedit page dynamic aka uses referer page it came from to go back to.. Could be handy if you have multi shoutboxs on your site like I do LOL!!!. But I am not good with referer pages:( oh well lol!!
Unknown User
2013-03-29 22:23:10
perfect thank you.
Unknown User
2013-05-04 19:03:45
thanks
Unknown User
2013-05-18 16:48:51
Thank You For This
Unknown User
2013-06-11 15:50:04
Thanks for the info  :)
Unknown User
2020-09-22 02:12:31
[url='http://www.torrenttrader.pw/topic/9655-addonshoutbox-message-edit%5B/url']in shoutbox.php find:[/url]
[php]
echo "<div align='right' style='float: right'><a href='".$site_config['SITEURL']."/shoutbox.php?del=".$row['msgid']."' style='font-size: 8px'>[D]</a><div>";
[/php]


[url='http://www.torrenttrader.pw/topic/9655-addonshoutbox-message-edit%5B/url']replace with:[/url]
[php]
echo "<div align='right' style='float: right'><a href='".$site_config['SITEURL']."/shoutedit.php?action=edit&msgid=".$row['msgid']."' style='font-size: 8px'>[E]</a>&nbsp;&nbsp;<a href='".$site_config['SITEURL']."/shoutbox.php?del=".$row['msgid']."' style='font-size: 8px'>[D]</a><div>";
[/php]
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: 2
  • Members: 0
  • Guests online: 2
  • Comments: 3
  • Messages: 1,728