The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#167
|
||||
|
||||
I think I did everything right but heres what i get
Database error in vBulletin 3.0.3: Invalid SQL: SELECT COUNT(*) AS referrals, user.username, user.userid FROM vb_user AS users LEFT JOIN user AS user ON (users.referrerid = user.userid) WHERE vb_user.vb_userid > 0 GROUP BY users.referrerid ORDER BY referrals DESC LIMIT 10 mysql error: Table 'djjeffa_djjeffaVB.user' doesn't exist mysql error number: 1146 Date: Saturday 01st of January 2005 10:29:39 PM Script: http://www.djjeffa.com/vb/referrals.php Referer: http://www.djjeffa.com/vb/home.php any ideals? |
#168
|
|||
|
|||
Hi... Great Hack
/me Clicks Install I would suggest something liek this for a referral promo.. Refer 5 friends and those five refer another 2 each and be eligible to win something as a Prize. We could probably have another few levels of referrals. Besides...each referred person again can be eligible for the prizes based on referrals. And similiarly on those lines. Any help on this ... much Appreciated Also, does this work with Erwin's refer a Friend ? or works as a stand alone hack ?? Thanks |
#169
|
||||
|
||||
djeffa - it was a problem in the referrals.php file. ITS BEEN FIXED.
|
#170
|
||||
|
||||
PurpleCow - Someone else even recommended this addon for my hack, I will start looking into it, but however it may take me a few weaks to release it. Thanks for clicking install
|
#171
|
|||
|
|||
|
#172
|
|||
|
|||
nice mod, but directions need to be improved.
|
#173
|
||||
|
||||
Quote:
the only part that i think i could have messed up was this 1) create a new database table CREATE TABLE `referrals` ( `date` TEXT NOT NULL ); cause i had a freind do that cause i didnt really understant it. but i still cant figer it out. |
#174
|
||||
|
||||
djjeffa - basically all that says is create a new database table: the
CREATE TABLE `referrals` (`date TEXT NOT NULL ); is the command you would use in phpmyadmin to execute this new table named exactly like it says: referrals. |
#175
|
||||
|
||||
Quote:
i get to this : Create new table on database djjeffa_djjeffaVB: Name: Fields: is that where i should be and what do I put for feilds? Name i guss would be referrals ? |
#176
|
||||
|
||||
Quote:
This field date needs to have the following settings: TEXT, NOT NULL Thats basically it. You should look into how to run a database query in phpmyadmin somewhere on google. Then all you would have to do is copy and paste the CREATE TABLE script above and click submit. Then it would create the new table and automatically set all the settings up for you. GOOD LUCK |
#177
|
|||
|
|||
Quote:
Can you reset referrals by user only? |
#178
|
||||
|
||||
Quote:
|
#179
|
|||
|
|||
There something really unclear about the installation instructions for this MOD. I'm using a table prefix of "vb3_" for my forums. I want to maintain that structure for all forum-related tables, for obvious reasons. The instructions on do not explain how to handle prefixes so I created a "vb3_referrals" table rather than simply a "referrals" table.
Now when I load http://www.bigblueball.com/forums/referrals.php I get the following error: Code:
Invalid SQL: SELECT COUNT(*) AS referrals, user.username, user.userid FROM vb3_user AS users LEFT JOIN user AS user ON (users.referrerid = user.userid) WHERE user.userid > 0 GROUP BY users.referrerid ORDER BY referrals DESC LIMIT 10 mysql error: Table 'bbb.user' doesn't exist mysql error number: 1146 |
#180
|
||||
|
||||
gamer - it was a problem in the referrals.php. IT HAS BEEN FIXED
|
#181
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|