![]() |
Quote:
|
Quote:
You count it however you want to. I do it the way vbulletin does it. As long as it works for you the way you want it to now, what's the big deal? |
I realized that I didnt do that :)
so i did that and get this error when I run the query: #1146 - Table '*********_******.user' doesn't exist sorry to keep asking boofo :( |
Don't worry. we'll get you going. ;)
Ok, run the following query in the Admin CP >Import and Maintenance > Execute SQL Query (unless you are using phpmyadmin): [sql]ALTER TABLE " . TABLE_PREFIX . "user ADD profileviews int(10) unsigned NOT NULL default '0'[/sql] and let me know if that runs allright. ;) |
yes boofo I use phpadmin for queries, so would i run the same or would it be different script please. omg it's late here 01:40, I must be keen or just nutz lol
nope I tried the query and no it did not work same error :( boofo are you on chat or would you have a spare moment to browse what i have done? |
Do you have a table prefix?
|
yes Sir, I sure do..........
vb3_ |
Then use this query.
[sql]ALTER TABLE vb3_user ADD profileviews int(10) unsigned NOT NULL default '0'[/sql] |
thanks boofo - okay the query executed.
but I still have error: Database error in vBulletin 3.0.0: Invalid SQL: SELECT COUNT(*) AS referrals, user.username, user.userid FROM vb3_user AS users LEFT JOIN vb3_user ON (users.referrerid = user.userid) WHERE users.referrerid <> 0 GROUP BY users.referrerid ORDER BY referrals DESC LIMIT 1 mysql error: Unknown table 'user' in field list mysql error number: 1109 |
Ok, you NEED to have that code like I have it here:
PHP Code:
|
All times are GMT. The time now is 07:22 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|