View Single Post
  #4  
Old 16th January 2013, 13:17
fireknight's Avatar
fireknight fireknight is offline
Administrator
 
Join Date: Aug 2010
Australia
Posts: 173
Default
Not knowing which code you are using for the bbcodes function, I will assume you are using this POST.

You will have to move the functions to global.php so that the shout edit will pick them up.

Then it's just a simple case of adding quickbbshout(); where you want the bbcode to show.

Example
Code:
<body bgcolor=#1b1e25>
<?php   
echo '<form method=post action=shoutbox.php>';   
echo '<input type=hidden class=btn name=id value='.(int)$res['id'].'>';   
echo  '<center><textarea name=text rows=3  id=specialbox>'.htmlspecialchars($row['text']).'</textarea></center>';
quickbbshout();
echo '<center><br><input type=submit name=save value=Save class=btn></center>';   
echo  '<br><center><font size=3><font  color=red><b>The Rules Of Editing  ShoutPosts</b><font></center>';   
echo  '<br><center><font size=3><font  color=white><b>Do Not Edit shouts in a way that will cause the  member to be unhappy</b><font></center>';   echo  '<br><center><font size=3><font  color=white><b>Make sure that you are not breaching site rules  in any way</b><font></center>';   
echo  '<br><center><font size=3><font  color=white><b>Do Not Let Things Get Out Of Hand... Know When  To Stop</b><font></center>';   
echo '</form></body></html>';   die;
As I have said with out knowing which mod you are using, it is hard to answer your question fully.
But this should give you the idea, of what to do.
Reply With Quote