Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
UserCP Referral ID and Count Details »»
UserCP Referral ID and Count
Version: 1.0.3, by Phaedrus Phaedrus is offline
Developer Last Online: Nov 2021 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.x Rating:
Released: 01-20-2009 Last Update: 03-27-2009 Installs: 307
Auto-Templates
Re-useable Code Translations  
No support by the author.

While supporting my mini-mod I came across a more in depth version of what I was trying to do. Once I saw it I had to add it to my site. Since I couldn't find it here, I created something of my own.

This hack will add a collapsible box in your UserCP with a message informing the user what the referral ID is, what it is for, and how to use it. The message can be, of course, rewritten in your phrases to fit your own site and users.

To install, simply install the product below in Manage Products, then of course you should click installed. :up:

Update: Sorry, re-uploaded the xml. I had set the wrong product dependency on the xml. I have removed it. It works again.

(first Code jitters I guess... )

Version 1.0.2:
Added a bit of code so that it will remember if you collapse it, or expand it and keep that formation so that you don't have to collapse it each time you go into the UserCP.

Version 1.0.3:
Corrected the query string so that it would not count users that had not been verified or passed through moderation. (user group 3 and 4 are not included in the referral counts now).

re-uploaded 1.0.3, minor change on version listed in the mod.

To upgrade install normally, set "Allow Overwrite" to 'yes'.

Download Now

File Type: xml product-usercpreferralid_103_38x.xml (3.9 KB, 1220 views)

Screenshots

File Type: jpg RefID101.jpg (85.9 KB, 0 views)

Show Your Support

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

Comments
  #82  
Old 01-24-2010, 10:46 PM
Phaedrus Phaedrus is offline
 
Join Date: Jul 2006
Location: Colorado
Posts: 617
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bouncer222 View Post
Is anyone going to upgrade this????

I NEED it for vb4 please!
I haven't upgraded yet... I'll figure out how to upgrade it once I get there. But I am waiting for some other mods that I'll need... Maybe I'll set it up on my 'puter at home and figure it out early as this is one of the mods I'm going to need when I upgrade anyway. I'll see what I can do.
Reply With Quote
  #83  
Old 01-24-2010, 11:58 PM
Bouncer222 Bouncer222 is offline
 
Join Date: Oct 2009
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

k please upgrade as soon as possible, many of our users are asking what happened to it in vb4.0.1
Reply With Quote
  #84  
Old 02-07-2010, 10:30 AM
enemy@fps enemy@fps is offline
 
Join Date: Jul 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I translated it to German for my need.

If someone is needing it here it is
Attached Files
File Type: xml product-usercpreferralid_103_38x.xml (4.0 KB, 7 views)
Reply With Quote
  #85  
Old 03-13-2010, 09:37 PM
JWL's Avatar
JWL JWL is offline
 
Join Date: Jul 2006
Location: cyberspace
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This thing totally hosed my forum styles and buttons :down:

I have lost all of my admincp Images, So there is no drop down buttons or arrows. I have to expand all.

This was not until I installed this mod. After I uninstalled it it did not change/

I have tried updating all of the image paths to no avail

Help would be appreciated

*************************
WELL FREAKING BIZARRE - WEIRD -SPOOKY OR WHAT?


For some off reason, Firefox 3.6, just decided to block all images from my site only
How that happened I have no clue at all. Glad to report it WAS NOT THIS MAD

I found the probelme after I logged into Admin CP in IE (EEEuuuuuuu Yukkie DOO DOO)

I then went back to Firefox, put the URL of a Smiley as well as an AdminCP collaps icon and noticed a little line in the Menu box that said

BLOCK ALL IMAGES FROM NorCalCanyonCarvers

So I unblocked it and all is very well indeedy Do

BTW NICE HACK
Attached Images
File Type: jpg images.JPG (117.3 KB, 0 views)
Reply With Quote
  #86  
Old 03-22-2010, 11:09 PM
David Copeland's Avatar
David Copeland David Copeland is offline
 
Join Date: Oct 2001
Location: USA
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JWL View Post
This thing totally hosed my forum styles and buttons :down:

I have lost all of my admincp Images, So there is no drop down buttons or arrows. I have to expand all.

This was not until I installed this mod. After I uninstalled it it did not change/

I have tried updating all of the image paths to no avail

Help would be appreciated

*************************
WELL FREAKING BIZARRE - WEIRD -SPOOKY OR WHAT?


For some off reason, Firefox 3.6, just decided to block all images from my site only
How that happened I have no clue at all. Glad to report it WAS NOT THIS MAD

I found the probelme after I logged into Admin CP in IE (EEEuuuuuuu Yukkie DOO DOO)

I then went back to Firefox, put the URL of a Smiley as well as an AdminCP collaps icon and noticed a little line in the Menu box that said

BLOCK ALL IMAGES FROM NorCalCanyonCarvers

So I unblocked it and all is very well indeedy Do

BTW NICE HACK
So after all that, what is your verdict on this Add-on?
Reply With Quote
  #87  
Old 03-22-2010, 11:10 PM
David Copeland's Avatar
David Copeland David Copeland is offline
 
Join Date: Oct 2001
Location: USA
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bouncer222 View Post
k please upgrade as soon as possible, many of our users are asking what happened to it in vb4.0.1
Me too!

Should I be using this on my VB 4 forums?
Reply With Quote
  #88  
Old 03-23-2010, 01:53 AM
David Copeland's Avatar
David Copeland David Copeland is offline
 
Join Date: Oct 2001
Location: USA
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also, please see this:

http://www.vbulletin.com/forum/showt...16#post1950516
Reply With Quote
  #89  
Old 04-02-2010, 12:55 AM
Phaedrus Phaedrus is offline
 
Join Date: Jul 2006
Location: Colorado
Posts: 617
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by enemy@fps View Post
I translated it to German for my need.

If someone is needing it here it is
Thanks.
Reply With Quote
  #90  
Old 04-02-2010, 12:07 PM
MagicThemeParks's Avatar
MagicThemeParks MagicThemeParks is offline
 
Join Date: Sep 2009
Posts: 850
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Phaedrus View Post
I actually don't know if it would work because the link is the one generated by bvulletin... I can't see why it wouldn't.


I think it would depend on what the url for your home page is. It uses the link generated by vbulletin that points them to index.php...

In you user_cp templates it creates a new template, in that template you would need to find the line below...

Code:
6="$vboptions[bburl]/index.php?referrerid=$bbuserinfo[userid]" >$vbphrase[refid_usercp]
And change the "index.php" portion to refer to your index.
So, if I'm using the vBadvanced as my index/homepage , then I need to do this?

When someone clicks on the referral link, should they be taken to the registration page or will the referral ID 'follow' them when they find the register page?

EDITED: Just tested it and it does 'follow' you without having to do the edit. So, the referrer is already added in the appropriate field when registering. :up:

Also, edited the text by going to Languages & Phrases >> Search in Phrases >> type refid_usercp in the Search for Text field >> Click radio button for Phrase Text and Phrase Variable Name >> Find

Thanks for the easy and great mod!

Works with both 3.7x and 3.8x :up:
Reply With Quote
  #91  
Old 04-02-2010, 06:37 PM
siliconfinance siliconfinance is offline
 
Join Date: Mar 2007
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to directly link to this in the USER CP like you can for privage messages or thread subscriptions?
Reply With Quote
Reply

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

Forum Jump


All times are GMT. The time now is 05:10 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05522 seconds
  • Memory Usage 2,337KB
  • Queries Executed 26 (?)
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
  • (1)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete