vBulletin Modifications

User Stats fix

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > vBulletin Modification Requests

Reply
 
LinkBack Thread Tools
Old 01-05-2006, 07:42 AM   #1
Junior Member
Join Date: Jun 2005
BramuS is on a distinguished road

Default User Stats fix

i there again

Since the team script is running and i disabled the user stat script, but when i just enable it, the !team command doesn't work, and he can find the user with !user <nick>. So it looks like the team script doesn't want to resposne when also running the user stat script


Can anyone help me and BoBBie with this?

If you need info please post, i will post in next post the php info and tcl info

Last edited by BramuS; 01-05-2006 at 07:48 AM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 01-05-2006, 07:46 AM   #2
Junior Member
Join Date: Jun 2005
BramuS is on a distinguished road

Default

The PHP CODE
You must first be a registered member to view any code.

TCL SCRIPT
You must first be a registered member to view any code.
Hope any one can help me and BoBBie with this again




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-05-2006, 10:21 AM   #3
Coder
Idan's Avatar
Join Date: Feb 2005
Real Name: Idan
Location: Israel
Idan is on a distinguished road

Default

NOTE: though the main likely cause for your problem was bolded out, i've included a complete debug flaw you should make to eliminate all other causes that might make this happen.
so if you are in a hurry, try the bolded section first (3b), and if still not working then follow all steps from start.

u can say the debug flaw is similar to the debug we've made before -
1. check all steps again, starting with running the queris into your phpMyAdmin:
You must first be a registered member to view any code.
if that is ok, then write down the ID & run this:
You must first be a registered member to view any code.
if any of the above fail, prolly bad table name or fields name - then just note it down & fix it.

2. if this is ok, continue with running the php from browser, and check the output.
if output (do VIEW SOURCE) is other than xxx \n yyyy \n zzzz etc., then write down the output u get or the error you see, and it will indicate this is php fault.

3. if output is correct = tcl:
a] make sure you REHASH your bot to reload script, sometimes even rebooting bot can help, as even rehashing doesn't solve it.

b] THE MOST LIKELY BUG (though its worth checking all as well to eliminate other causes):
from comparing both of your TCL files, it seems you named both of your procs with same PROC NAME = "userstat".
so just rename this one (or the previous one), and update your bind line with new name.


so new current tcl will be like this:
You must first be a registered member to view any code.
enjoy
__________________
Idan / vBHackers.com
vBSEO 3.1 GOLD Released vB Blogs Compatible | Non-Encrypted | Branding Removal Option | Sitemaps 2.1 | Language Packs

Crawlability Network: vBulletin SEO | vBulletin Hackers




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-05-2006, 12:24 PM   #4
Junior Member
Join Date: Jun 2005
BramuS is on a distinguished road

Default

Thx m8 the proc name was the same in both scripts so that solved, it was nothing with database because when loaded 1 script it worked and when loaded 2 scripts it didn't work.

Thx again for you time and help




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
User Notes xfile vBulletin Modification Requests 5 05-28-2006 06:02 PM
[vB 3.0.0] - Max replies per week per user in specified forums Arcade General vBulletin Support 0 06-07-2004 12:12 PM


All times are GMT -3. The time now is 01:59 AM.


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)