The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
add plug-in, can't submit
Hello,
I have a plug-in: Code:
if ($vbulletin->options['enable'] AND (THIS_SCRIPT=='newthread')) { if (in_array($forumid, explode(",", $vbulletin->options[enable_forumid']))) { $getinfos = $vbulletin->db->query_read(" SELECT postuserid, threadid, postdate FROM " . TABLE_PREFIX . "testting WHERE postuserid = " . $vbulletin->userinfo['userid'] . " GROUP BY threadid ORDER BY threadid ASC "); $count = $vbulletin->db->num_rows($getinfos); if ($count = 0) { $mytest = '<option value="0" selected="selected">0</option>'; while ($getinfo = $vbulletin->db->fetch_array($get_infos)) { $mytest = '<option value="' . $getinfo[threadid] . '">'. $getinfo[threadid] . '</option>'; } } } } Thank This is video: http://www.youtube.com/watch?v=sNtKvZ90Ews |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|