The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#4
|
|||
|
|||
![]()
Oh..well, if your database server is not 'localhost' then I think you'd want to use the server and port from the config file in place of "localhost", like:
Code:
$servername = $config['MasterServer']['servername']; $port = $config['MasterServer']['port'] ? $config['MasterServer']['port'] : 3306; $con = mysql_connect("$servername:$port",$config['MasterServer']['username'],$config['MasterServer']['password']); ETA: and while we're at it, change the query line like this: Code:
mysql_query("DELETE FROM tta_noticedismissed WHERE userid=" . intval($_COOKIE['bbuserid'])); Hope that helps. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|