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
[ADDON]Shoutbox Message Edit
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2 Only Mods Complete

Unknown User
2008-10-23 20:57:06
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

in shoutbox.php find:

echo "<div align='right' style='float: right'><a href='".$site_config['SITEURL']."/shoutbox.php?del=".$row['msgid']."' style='font-size: 8px'>[D]</a><div>";
replace with:




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>";



add shoutedit.php to your root.

Edit: looks like the autolink functions goes way back to V1 so credit goes to whoever made it lol

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=3073"]shoutedit.php[/url]
shoutedit.php
Download
Unknown User
2008-10-23 21:11:56
good work!

but i have set to 8px the [e]

thanx!
Unknown User
2008-10-23 21:15:18
sorry about that i did not notice i updated the first post.
Unknown User
2008-10-23 21:31:01
thanks .

when you click edit it opened in same window is there any way to make it open in new tab

thanks

and great work
Unknown User
2008-10-23 21:34:53
try this

echo "<div align='right' style='float: right'><a href='".$site_config['SITEURL']."/shoutedit.php?action=edit&msgid=".$row['msgid']."' target='_blank' 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>";



but if you do that then you should use this shoutedit.php

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=3075"]shoutedit.php[/url]
shoutedit.php
Download
Unknown User
2008-10-23 21:41:28
that worked thanks ..

also it works on v1
Unknown User
2008-10-23 21:46:18
i have never really messed with V1 so i can not really say. if the db for the shoutbox is the same then it should work with a few modifications even if they are not exactly the same then you should be able to adapt it. i updated the post above yours so you may want to take a look at it, the part about using this shoutedit.php

Edit: we must be editing about the same time lmfao
Unknown User
2008-10-23 21:48:55
lolol great work walker thanks
Unknown User
2008-10-23 23:11:15
walker.......... what can i say.. you da man lol. been wanting this since day one. and here she is. great mod whoever written it and thanks to you walker for getting it to work on v2.

p.s  how far are you on the HnR script lol works a treat without the 150 pms every 10seconds lol soon as the stop seeding BANG hit with warning. and then POW hit 3000 pms in about 10mins lmao.

ROCK ON TORRENTTRADER!!!!!!!!!!!!!!
Unknown User
2009-03-29 11:14:16
thanks
Unknown User
2009-03-31 12:28:15
thank you works nikel
Unknown User
2009-06-04 17:35:19
works on 2.05 :)
Unknown User
2009-06-07 16:49:20
on the 2.05 how to make the shoutbox more bigger ?
Unknown User
2009-06-07 19:12:43
[url="http://www.torrenttrader.org/index.php?showtopic=6757&hl=shoutbox"]http://www.torrenttrader.org/index.php?sho...amp;hl=shoutbox[/url]
Unknown User
2009-08-15 12:02:20
Thanks, works fine, only can you add scrolling? Right now don



untitled.PNG
untitled.PNG
ok.PNG
ok.PNG
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: 9
  • Members: 0
  • Guests online: 9
  • Comments: 3
  • Messages: 1,728