Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
User Referrer Details »»
User Referrer
Version: 1.1 (UPDAT, by Hex_legend Hex_legend is offline
Developer Last Online: Oct 2015 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.7.0 Beta 3 Rating:
Released: 12-29-2007 Last Update: Never Installs: 30
Template Edits
 
No support by the author.

This is a quick short modification, can easily be made better by anyone else, but I just did this quickly for my forums and thought that I would release it

This puts a link on the forumhome for your members that show them their own unique referrer link to give to other potential members.

Time to install: <1m
Level: Easy
Template Edits: 1
Phrases Added: 0
Uploads: 0

Open FORUMHOME

Find

Code:
$navbar
Add Under,

Code:
<!-- Referral Link -->
<if condition="$show['member']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" align="center">
<tr>

<center>Your Unique Referrer Link Is:</center>
<td class="thead">
http://$vboptions[bburl]/$bbuserinfo[userid]</div></a></td>
        </tr>
</table>
<br />
</if>
<!-- / Referral Link -->


<br />

Done.

Please mark as installed if you use this.

Show Your Support

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

Comments
  #12  
Old 02-10-2008, 04:50 PM
Straightupimp Straightupimp is offline
 
Join Date: Jan 2008
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you would like to place on forumhome like he has here is the PROPER WORKING CODE

<!-- Referral Link -->
<if condition="$show['member']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" align="center">
<tr>

<center>Your Unique Referrer Link Is:</center>
<td class="thead">
$vboptions[bburl]/index.php?referrerid=$bbuserinfo[userid]</div></div></a></td>
</tr>
</table>
<br />
</if>
<!-- / Referral Link -->

<br />

just follow all his steps and it will work fine
Reply With Quote
  #13  
Old 02-24-2008, 09:50 PM
PaulSonny PaulSonny is offline
 
Join Date: Dec 2006
Location: Middlesbrough, UK
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Which part of:

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

Did you's not understand?
Reply With Quote
  #14  
Old 05-07-2008, 11:56 AM
MiahBeSmokin420 MiahBeSmokin420 is offline
 
Join Date: May 2007
Location: Ohio
Posts: 311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PaulSonny View Post
Which part of:

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

Did you's not understand?
for 1 its not a modification its a template mod

for 2 i wouldn't even really call it a template mod

its just a link

shoot i had this on my site before y'all even had it posted

if you want to get technical then technically the creators of vb make it but just never implemented it into the software

so quit wining about something so small dang acting like kids i though most of y'all were adults but i guess not
Reply With Quote
  #15  
Old 06-20-2008, 07:10 PM
wpeloquin wpeloquin is offline
 
Join Date: May 2006
Location: Behind you...
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PaulSonny View Post
Which part of:

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

Did you's not understand?
has it been any of those?

(1) they have pointed out that the code he wrote is invalid and does not work, making it a useless template modification as-is.

(2) they have re-written the code in the original coders thread, which means he still will get credit for anyone clicking on "Install" even though he didn't even write the proper code.

(3) they have discussed various templates in which to put the proper, newly-written code


so if what they have done is bad, then remove the original modification that was written, since it is obviously wrong and the code he used will not work as said, and allow the guys who DID write the proper code to be given the credit.
Reply With Quote
  #16  
Old 06-20-2008, 07:23 PM
wpeloquin wpeloquin is offline
 
Join Date: May 2006
Location: Behind you...
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

back on topic:

I added the code to the user's profile Contact Info tab

Code:
Open template: memberinfo_block_contactinfo

FIND:
<dd><a href="$prepared[profileurl]">$prepared[profileurl]</a></dd>


AFTER, ADD:
	<dt class="shade">Referrer ID</dt>
		<dd><a href="$vboptions[bburl]/index.php?referrerid=$bbuserinfo[userid]">$vboptions[bburl]/index.php?referrerid=$bbuserinfo[userid]</a></dd>
Reply With Quote
  #17  
Old 06-25-2008, 09:06 PM
HackSawed HackSawed is offline
 
Join Date: Mar 2006
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would like this but then without a registration and a unique ip system. Also then i want a good overview by who have the most referers.
Reply With Quote
  #18  
Old 07-10-2008, 05:18 AM
iTz eLK iTz eLK is offline
 
Join Date: Jan 2008
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It just redirects me back to the forum home.
Reply With Quote
  #19  
Old 07-14-2008, 02:15 AM
Emmmmrz's Avatar
Emmmmrz Emmmmrz is offline
 
Join Date: Jul 2008
Location: NorthPole
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't suppose it would be possible to get the code inserted into a text document to download for people that want to use this; but not go code diving atm? (like myself)
Reply With Quote
  #20  
Old 11-07-2015, 06:24 PM
webnsn webnsn is offline
 
Join Date: Oct 2009
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it is showing like a Text

It supposed to show as link?
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 09: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.04861 seconds
  • Memory Usage 2,299KB
  • Queries Executed 24 (?)
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
  • (3)bbcode_code
  • (2)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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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