AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Snippets and Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=112)
-   -   Vbulletin 4.X Integration with Sourcebans! FINALLY HERE! (https://forums.alliedmods.net/showthread.php?t=139212)

Xp3r7 05-01-2011 09:48

Re: Vbulletin 4.X Integration with Sourcebans! FINALLY HERE!
 
[IMG]http://img824.**************/img824/4775/scrrenshot.th.jpg[/IMG]

Uploaded with **************

Quote:

vBulletin to SourceBans


Warning: include_once([path]/./includes/cron/vbtosourcebans.php) [function.include-once]: failed to open stream: No such file or directory in [path]/admincp/cronadmin.php on line 113

Warning: include_once() [function.include]: Failed opening '[path]/./includes/cron/vbtosourcebans.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in [path]/admincp/cronadmin.php on line 113
Done
Installed this last night on my forums (vB 4.1.3) and I woke up to my surprise and found no admins in my Sourcebans.

So I ran the cron job myself on the forums and got the error above in the quoted text.

nismoskyline86 05-15-2011 05:07

Re: Vbulletin 4.X Integration with Sourcebans! FINALLY HERE!
 
this is what I get when I try to run the cronjob

Table 'site.sb_admins' doesn't exist

"Site" being the name of the database of my vbulletin

nismoskyline86 05-15-2011 05:16

Re: Vbulletin 4.X Integration with Sourcebans! FINALLY HERE!
 
got it working, and it deleted all my admins in the sourcebans database...

Jonzky 06-14-2011 19:20

Re: Vbulletin 4.X Integration with Sourcebans! FINALLY HERE!
 
Sorry for the slight bump but...

I have tried to install this but I am presented with this error:
Code:

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in [path]/includes/cron/vbulletintosourcebans.php on line 167
This is the code at on line 166/167
[code]

Code:

$res = $vbulletin->db->query_read("SELECT `user`.`userid` as userid, `usergroupid`, `membergroupids`, `username`, `email`, `".$steamid_custom_field."` FROM ". TABLE_PREFIX ."user LEFT JOIN `". TABLE_PREFIX ."userfield` ON `user`.`userid`=`userfield`.`userid`"); //Select all users from the Vbulletin Database
The forum I tried running this on VB 4.1.1, also as far as I am aware I have done no 'major' changes to the code.

8088 06-15-2011 17:05

Re: Vbulletin 4.X Integration with Sourcebans! FINALLY HERE!
 
The query doesn't return any results. Try printing the query and run it yourself to see where it goes wrong.

dbs1989 06-20-2011 09:23

Re: Vbulletin 4.X Integration with Sourcebans! FINALLY HERE!
 
Thx. Works fine on my Website

daleGEND 08-14-2011 21:27

Re: Vbulletin 4.X Integration with Sourcebans! FINALLY HERE!
 
For anyone using XenForo, please check our version of this mod:

http://xenforo.com/community/threads...ns-sync.18870/

Pretty much the same setup with a few more features and easy organization via XenForo.

KyleS 08-15-2011 07:20

Re: Vbulletin 4.X Integration with Sourcebans! FINALLY HERE!
 
Quote:

Originally Posted by daleGEND (Post 1532724)
For anyone using XenForo, please check our version of this mod:

http://xenforo.com/community/threads...ns-sync.18870/

Pretty much the same setup with a few more features and easy organization via XenForo.

Whoa your timing is beyond impeccable. Thanks!

daleGEND 08-15-2011 08:58

Re: Vbulletin 4.X Integration with Sourcebans! FINALLY HERE!
 
Quote:

Originally Posted by KyleS (Post 1532913)
Whoa your timing is beyond impeccable. Thanks!

Happy to be of Service :)

Peace-Maker 08-15-2011 09:51

Re: Vbulletin 4.X Integration with Sourcebans! FINALLY HERE!
 
Nice work!


All times are GMT -4. The time now is 18:11.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.