The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
$DB->query("
INSERT INTO `irc_channel` (handle, server, icon, nick_style, act0, act1, act2, act3, act4, act5) VALUES ('" . addslashes($channel['handle']) . "', '" . addslashes($channel['server']) . "', '" . addslashes($channel['icon']) . "', '" . addslashes($channel['nickstyle']) . "', '" . addslashes($channel['act0']) . "', '" . addslashes($channel['act1']) . "', '" . addslashes($channel['act2']) . "', '" . addslashes($channel['act3']) . "', '" . addslashes($channel['act4']) . "', '" . addslashes($channel['act5']) . "') "); |
|
#2
|
|||
|
|||
|
What version of vbulletin are you using?
If it's 3.5.x then do PHP Code:
PHP Code:
|
|
#3
|
|||
|
|||
|
its 3.5.2
thanks.. that worked.. now this line? Code:
while ($channel = $DB->fetch_array($channels))
{
$nick_style = explode('||', $channel['nick_style']);
$ops = explode(' ', $channel['operators']);
$halfops = explode(' ', $channel['halfops']);
$voiced = explode(' ', $channel['voiced']);
$users = explode(' ', $channel['users']);
|
|
#4
|
|||
|
|||
|
Just a note:
For 3.5, PHP Code:
Quote:
|
|
#5
|
|||
|
|||
|
nevermind
![]() thanks alot i got it |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|