|
#1
|
|||
|
|||
BBCodes in Polls
FOR QUESTIONS
In index.php find Code:
$question = $arr["question"]; Code:
$question = format_comment($arr["question"]); In makepoll.php find Code:
print("<p><font color=red><b>Note: The current poll (<i>" . $arr["question"] . "</i>) is only $t old.</b></font></p>"); Code:
print("<p><font color=red><b>Note: The current poll (<i>" . format_comment($arr["question"]) . "</i>) is only $t old.</b></font></p>"); In polls.php find Code:
print("<p align=center><b>" . $poll["question"] . "</b></p>"); Code:
print("<p align=center><b>" . format_comment($poll["question"]) . "</b></p>"); FOR ANSWERS In index.php find: Code:
$o = array($arr["option0"], $arr["option1"], $arr["option2"], $arr["option3"], $arr["option4"], $arr["option5"], $arr["option6"], $arr["option7"], $arr["option8"], $arr["option9"], $arr["option10"], $arr["option11"], $arr["option12"], $arr["option13"], $arr["option14"], $arr["option15"], $arr["option16"], $arr["option17"], $arr["option18"], $arr["option19"]); Code:
$o = array(format_comment($arr["option0"]), format_comment($arr["option1"]), format_comment($arr["option2"]), format_comment($arr["option3"]), format_comment($arr["option4"]), format_comment($arr["option5"]), format_comment($arr["option6"]), format_comment($arr["option7"]), format_comment($arr["option8"]), format_comment($arr["option9"]), format_comment($arr["option10"]), format_comment($arr["option11"]), format_comment($arr["option12"]), format_comment($arr["option13"]), format_comment($arr["option14"]), format_comment($arr["option15"]), format_comment($arr["option16"]), format_comment($arr["option17"]), format_comment($arr["option18"]), format_comment($arr["option19"])); In polls.php find Code:
$o = array($poll["option0"], $poll["option1"], $poll["option2"], $poll["option3"], $poll["option4"], $poll["option5"], $poll["option6"], $poll["option7"], $poll["option8"], $poll["option9"], $poll["option10"], $poll["option11"], $poll["option12"], $poll["option13"], $poll["option14"], $poll["option15"], $poll["option16"], $poll["option17"], $poll["option18"], $poll["option19"]); Code:
$o = array(format_comment($poll["option0"]), format_comment($poll["option1"]), format_comment($poll["option2"]), format_comment($poll["option3"]), format_comment($poll["option4"]), format_comment($poll["option5"]), format_comment($poll["option6"]), format_comment($poll["option7"]), format_comment($poll["option8"]), format_comment($poll["option9"]), format_comment($poll["option10"]), format_comment($poll["option11"]), format_comment($poll["option12"]), format_comment($poll["option13"]), format_comment($poll["option14"]), format_comment($poll["option15"]), format_comment($poll["option16"]), format_comment($poll["option17"]), format_comment($poll["option18"]), format_comment($poll["option19"])); Thanks to mima @ tbdev.net for this mod :X Last edited by sammygo; 1st May 2009 at 16:01. |
#2
|
|||
|
|||
Thanks
Thanks it works and it is nice :)
|
Tags |
bbcodes , polls |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[FIX] TSSE v5.4.1 - BBcodes Fix | mmisu120000 | Template Shares | 12 | 22nd September 2012 15:38 |
Youtube Tag - bbcodes | christyz89 | Free Torrent Source | 2 | 20th September 2009 15:05 |
bbcodes [img][url] in shoutbox TS SE 4.3 | Verix | Template Shares | 1 | 10th June 2009 05:04 |
Enable HTML and bbcodes | epas | Torrent Strike | 2 | 23rd March 2009 14:15 |
How to edit polls ?? HELP! Version 5.1 | Warkiller | Template Shares | 2 | 21st July 2008 00:56 |