Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Referral Statistics Details »»
Referral Statistics
Version: 2.3, by gspot gspot is offline
Developer Last Online: Aug 2008 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 04-27-2004 Last Update: 04-16-2005 Installs: 149
DB Changes
 
No support by the author.

Are you looking for statistics on the number of referrals your members have made? Or are interested in promoting your website by allowing members to engage in a referral competition?


THIS HACK IS FOR YOU
To show referral statistics from members and to manage referral competitions.
- this hack is to help you manage your forums referrals
- promote new user registrations
- perfect for contests/promotional giveaways or incentives for referrals
- INSTALL today and start managing your boards referrals.

Features:

- Limit the number of results shown
- Admin ability to reset all members referrals to zero
- Admin ability to reset "specific members" referrals to zero
- Includes an update to your whois online
- Up-to-date listing on when you last reset all members referrals to zero
*** Seen in the admincp and an option for all members to view
- Total number of referrals since last reset
*** viewable in admincp and again an option for all members to view
- Pagination is now included and an option for another at bottom of results
- Shows up-to-date total number of board referrals
- Shows leading referrer in admincp
- Ability to limit referral results by number of posts or a usergroupid(s)
- Configuration is now done in admincp
- Auto installer now included w/ auto un-installer
- BEST OF ALL (LETS MEMBERS REFER MORE PEOPLE TO YOUR SITE.

I will like always SUPPORT my hacks

Thanks goes out to: unixman - for all the referred members are now clickable to their profile.

Total install time: less than 3 minutes.
New templates: 2 - refer, referbit
New files to upload: 2 pages
Edit templates: 2 - footer, /includes/functions_online.php
File edit: 1 - /admincp/index.php


** 4/17/05 - Version 2.3 Released = Includes many new one click options in the admincp, also auto configures your vbulletin path (which many people were having errors performing) **

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #392  
Old 04-20-2005, 08:56 AM
Jason McConnell Jason McConnell is offline
 
Join Date: Jun 2004
Location: Syracuse NY
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gspot
Make sure you started with a new installation and not an upgrade. Run the install again even if it asks you to perform an uninstall. Then let me know what you get.
OK I went back thru, uninstalled and reinstalled, and now it works fine... just as long as I'm using my site's default style. Any other style loaded and I get a blank referrals.php page.
Reply With Quote
  #393  
Old 04-20-2005, 04:35 PM
BradM BradM is offline
 
Join Date: Mar 2004
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am getting a DB crash on my forum. http://www.tgpelite.com/board/referrals.php
It worked fine, then randomly it crashed?
Reply With Quote
  #394  
Old 04-20-2005, 04:40 PM
BradM BradM is offline
 
Join Date: Mar 2004
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get this error:

Database error in vBulletin 3.0.3:

Invalid SQL: SELECT COUNT(distinct referrerid) AS ttl FROM user
WHERE referrerid > 0 AND usergroupid NOT IN id:6
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'id:6' at line 2

mysql error number: 1064

I apologise if I am an idiot. LOL
Reply With Quote
  #395  
Old 04-21-2005, 04:16 AM
gspot's Avatar
gspot gspot is offline
 
Join Date: Mar 2003
Location: Nevada
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BradM
I get this error:



Database error in vBulletin 3.0.3:

Invalid SQL: SELECT COUNT(distinct referrerid) AS ttl FROM user
WHERE referrerid > 0 AND usergroupid NOT IN id:6
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'id:6' at line 2

mysql error number: 1064



I apologise if I am an idiot. LOL
on the referral statistics configuration in the admincp you dont type in (id:6) it would be just the (6) that will fix your problem.
Reply With Quote
  #396  
Old 04-24-2005, 12:08 AM
brianstevz brianstevz is offline
 
Join Date: Apr 2003
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gspot
If you will wait for me one week, I will release the new version and that should fix your issue... It seems to me that the database fields never got updated in your sql. I havent had anyone with this issue besides u. Please wait..
Mine still doesn't work. Any ideas?
Reply With Quote
  #397  
Old 04-24-2005, 11:49 PM
gspot's Avatar
gspot gspot is offline
 
Join Date: Mar 2003
Location: Nevada
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by brianstevz
Mine still doesn't work. Any ideas?
I can try to help you - can you post an image of whay your mysql table for referrals looks like? If not, then I need to gain access somehow or someway in order to see this structure.
Reply With Quote
  #398  
Old 04-28-2005, 02:10 PM
artonex artonex is offline
 
Join Date: Mar 2005
Location: UK
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just installed this over at my forums
Reply With Quote
  #399  
Old 04-28-2005, 03:51 PM
womensden womensden is offline
 
Join Date: Jan 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having a problem.

My referral page isn't showing most of my images. My background is missing, as well as other things. It seems anything that was in there without the entire link isn't showing properly. Even the links aren't going to the correct places.

http://www.womensden.com/forums/referrals.php/
Reply With Quote
  #400  
Old 04-28-2005, 07:21 PM
gspot's Avatar
gspot gspot is offline
 
Join Date: Mar 2003
Location: Nevada
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by womensden
I'm having a problem.

My referral page isn't showing most of my images. My background is missing, as well as other things. It seems anything that was in there without the entire link isn't showing properly. Even the links aren't going to the correct places.

http://www.womensden.com/forums/referrals.php/
You are having this problem do to adding your own personal images not correctly in the navigation bar. Have you installed any other hacks? Also when you add your own images into the navbar make sure you type in their absolute paths example: http://www.test.com/header.gif

No one else has ever had this issue so I believe this is the reason and the problem that you are having.
Reply With Quote
  #401  
Old 04-28-2005, 08:06 PM
womensden womensden is offline
 
Join Date: Jan 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so where can I edit those image paths?

Also, the links are screwed up. What would that have to do with the way my images are ?
Reply With Quote
  #402  
Old 04-28-2005, 11:18 PM
gspot's Avatar
gspot gspot is offline
 
Join Date: Mar 2003
Location: Nevada
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by womensden
so where can I edit those image paths?

Also, the links are screwed up. What would that have to do with the way my images are ?
you need to edit your navbit template in the admincp and point your images to their absolute paths like i explained above. The links need to be updated in the footer template.

Also make sure that the referrals.php is grabing your global.php file correctly. To do this check the path in the referrals.php coding if you have moved the global.php file to a different location.
Reply With Quote
  #403  
Old 04-29-2005, 12:46 AM
gspot's Avatar
gspot gspot is offline
 
Join Date: Mar 2003
Location: Nevada
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know the number is changed yet to 2.4, but here is a preview of the next version to be released soon. If anyone has any other addons they would like included in this hack please let me know. WAITING TO HEAR FROM ALL OF YOU
Reply With Quote
  #404  
Old 04-29-2005, 06:48 PM
womensden womensden is offline
 
Join Date: Jan 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, so I took out the "/" at the end of the link that I added to the bottom of my site and it worked. WTF? The first page was the only page that was screwed up.

I copied and pasted what was in the directions.
Reply With Quote
  #405  
Old 04-30-2005, 12:08 AM
gspot's Avatar
gspot gspot is offline
 
Join Date: Mar 2003
Location: Nevada
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by womensden
ok, so I took out the "/" at the end of the link that I added to the bottom of my site and it worked. WTF? The first page was the only page that was screwed up.

I copied and pasted what was in the directions.
looking at your coding it seems that the header image for your website is trying to grab :

http://www.womensden.com/forums/refe...om/portal2.jpg

In which it should be getting:

http://www.womensden.com/forums/imag...om/portal2.jpg

This is why im lead to believe its not getting your global.php file or their is an error in your header & navbit templates.
Reply With Quote
  #406  
Old 05-11-2005, 12:22 AM
Sen Sen is offline
 
Join Date: Jul 2004
Location: Angleterre
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, this is weird.

I've installed the hack following the instructions carefully. At first I got a blank page, so I skimmed through the thread and figured it was another problem. I switched to the default skin and lo and behold, the referrals page works. However, trying to view the page with any of the other skins installed, the page is blank.

I'm not sure what the problem is really =/ I always change the templates for all the skins at the same time when installing a hack.

http://www.darkfortears.com/ggf
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 11:47 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
  • Page Generation 0.08993 seconds
  • Memory Usage 2,370KB
  • Queries Executed 30 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete