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]
in shoutbox.php find:[/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"]
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]
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"][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]
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> <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]