Quote somebody post....Can you help me with this code?
Quote
Collapse
X
-
what help u want?E107 Security Team Leader
Proudly Support AccountLab Plus Billing Software
Want your Apps to be Developed ??? mail us your requirement at info@csarlab.com
------------------
-
its gb? lol what u want can u clearify or explain lol?E107 Security Team Leader
Proudly Support AccountLab Plus Billing Software
Want your Apps to be Developed ??? mail us your requirement at info@csarlab.com
------------------
Comment
-
The code i was like:
core.php i added to the getbbcode method/function
Code:$text=preg_replace("/\[quotetext\](.*?)\[\/quotetext\]/i","<div class=\"doquote\">\\1</div>", $text);
Code:$topt = "<a href=\"index.php?action=post&sid=$sid&tid=$tid&quid=$post[0]\">quote</a> <a href=\"index.php?action=pstopt&sid=$sid&pid=$post[0]&page=$page&fid=$tinfo[5]\">*</a>";
Code:$quid = $_GET["quid"]; if(!empty($quid)){ $quidsql = mysql_fetch_array(mysql_query("SELECT text FROM ibwf_posts WHERE id='".$quid."'")); $quidtxt = "[quotetext]".$quidsql[0]."[/quotetext]"; }
Code:echo "Text:<input name=\"reptxt\" maxlength=\"500\" value=\"$quidtxt\"/><br/>";
div.doquote{
background-color:#f3f6e9;
font-style:italic;
color:#666666;
text-align:left;
border:1px solid #dfe7ad;padding:2px
}Last edited by wap2k; 14.09.09, 20:55.
Comment
Comment