引用 | 編輯
chris710908
2006-11-26 14:29 |
樓主
▼ |
||
x0
【類型】插件【版本】3.01 請教各位,因為論壇常常需要舉辦投票來分析資料 但是投票帖只能使用投票選項,但是數位這裡的投票帖還有題目功能(加上。) 想了解這個功能應該從哪個地方下手呢?我找了一下 好像在post.htm中有$vt_select表單,然後postnew.php與postfunc.php都有針對$vt_select的控制 不曉得應該用什麼函數來判別投票題項或選項 可以給點方向嗎?謝謝 x0
|
引用 | 編輯
chris710908
2006-11-29 14:47 |
2樓
▲ ▼ |
下面是引用月光於2006-11-28 22:24發表的 : 謝謝你.我有請教aa站長了. x0 |
引用 | 編輯
月光
2006-11-29 18:01 |
3樓
▲ ▼ |
下面是引用chris710908於2006-11-29 14:47發表的 : 呵呵你會了順便交我吧咱們aa老大的功力深不可測程式永遠改的比別人先進要追到他還真難呢 x0 |
引用 | 編輯
aa
2006-11-30 16:14 |
4樓
▲ ▼ |
我是改 vote.htm
if(!$havevote || $action=='modify'){ 改為 if((!$havevote || $action=='modify') && substr($vote[name],0,2)!='。'){ x0 |
引用 | 編輯
chris710908
2006-11-30 16:46 |
5樓
▲ ▼ |
下面是引用aa於2006-11-30 16:14發表的 : 哇勒..怎麼那麼強.......改這樣而已阿@@. 很感謝aa站長的幫忙.真的很謝謝. x0 |
引用 | 編輯
月光
2006-11-30 16:51 |
6樓
▲ ▼ |
測試成功謝謝老大^^
補充說明: 使用5.0.1版本測試解果、還需修改以下部分不然 標題仍然會顯示票數統計 複製程式 <img src='$imgpath/post/vote/bar1.gif' width='$vote[width]' height=ཆ'> $vote[num] 票</td> 修改為 複製程式 <!-- EOT; if(substr($vote[name],0,2)!='。'){ print <<<EOT --> <img src='$imgpath/post/vote/bar1.gif' width='$vote[width]' height=ཆ'> $vote[num] 票</td> <!-- EOT; }print <<<EOT --> 修改完成效果如下圖 x0 |
引用 | 編輯
chris710908
2006-12-06 09:50 |
7樓
▲ ▼ |
引用 | 編輯
月光
2006-12-07 03:54 |
8樓
▲ ▼ |
下面是引用chris710908於2006-12-6 09:50發表的 : 這個我要看一下htm源碼的部分才知道了但您網站目前無法連線...所以只好改天了 x0 |
引用 | 編輯
chris710908
2006-12-07 08:04 |
9樓
▲ ▼ |
下面是引用月光於2006-12-7 03:54發表的 : 謝謝版大.網站可以連線的時候我在通知您. x0 |
引用 | 編輯
月光
2006-12-07 22:24 |
10樓
▲ ▼ |
請把紅色部分移動到綠色部分
<!-- EOT; if(substr($vote[name],0,2)!='。'){ print <<<EOT --> <img src='$imgpath/post/vote/a_bar$num.gif' height=10 width=2 align='absmiddle'><img src='$imgpath/post/vote/b_bar$num.gif' width=$vote[width] height=10 align='absmiddle'><img src='$imgpath/post/vote/c_bar$num.gif' width=4 height=10 align='absmiddle'> $vote[num] 票</td><td bgcolor=$forumcolorone>$vote[voter]</td> <!-- EOT; }print <<<EOT --> <td bgcolor=$forumcolorone>$vote[voter]</td> x0 |
引用 | 編輯
chris710908
2006-12-08 08:31 |
11樓
▲ |
可以了耶
多謝月光版主熱心幫忙. x0 |