Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-24-2002, 03:47 AM
roxics's Avatar
roxics roxics is offline
 
Join Date: Jan 2002
Location: Detroit Area
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Easy referral link box

My members don't really use the referral system that much. The biggest reason is probably because it isn't that easy to get to on my board. Member have to go digging into the FAQ to get their referral url.

What I ask is that someone make a hack that can be put at the top of the forum or in an outside webpage.

Something that automatically generates their special url in three differnet formats in a box at the top of the forum that says "Hey you! Use this link to bring people here and earn points."
-followed by-

a. Their referral url: http://ve.roxics.com/board/index.php?referrerid=1

b. An HTML link they can put on their site: <-A HREF='http://ve.roxics.com/board/index.php?referrerid=1">VisionEngine</A->

c. A BB code link they can use on the BB or other BB's: [-url=http://ve.roxics.com/board/index.php?referrerid=1]VisionEngine[/url-]

That way it's right there on the front page of the website or the top of the board and they can see it, copy it and use it.

Just an idea
Reply With Quote
  #2  
Old 08-24-2002, 04:09 AM
roxics's Avatar
roxics roxics is offline
 
Join Date: Jan 2002
Location: Detroit Area
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's an image. Maybe it could even be just a small pop up window.
Attached Images
File Type: gif referralbox.gif (9.8 KB, 0 views)
Reply With Quote
  #3  
Old 08-24-2002, 06:29 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you dont need a hack, it's template modification. Just edit any template you want this info to integrate and add $bbuserinfo[userid] for referrerid number at the end. Then every visitor will see his referrer id there.

eg.
"Link our site as:
http://ve.roxics.com/board/index.php?referrerid=$bbuserinfo[userid]"
Reply With Quote
  #4  
Old 09-06-2002, 03:57 AM
roxics's Avatar
roxics roxics is offline
 
Join Date: Jan 2002
Location: Detroit Area
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't completly get what you just said. What do i edit exactly? I tried putting this

http://ve.roxics.com/board/index.php?referrerid=$bbuserinfo[userid]

into a post but it didn't change the last part to the users id.

What templates do I have to edit and where?

thanks
Reply With Quote
  #5  
Old 09-06-2002, 09:34 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by roxics
What templates do I have to edit and where?
Depends on where you want to display this info..

For example if you want it be displayed in their User CP, edit template usercp, find:
PHP Code:
<br>
$cpnav
<br
After that add:
PHP Code:
<smallfont>Your referral URL is: <b>$bburl/index.php?referrerid=$bbuserinfo[userid]</b></smallfont
Enjoy..
Reply With Quote
  #6  
Old 09-06-2002, 04:42 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its actually "referrerid"

Satan
Reply With Quote
  #7  
Old 09-06-2002, 04:53 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx for correcting (I dont use referrers in my own board)
Reply With Quote
  #8  
Old 09-06-2002, 09:20 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah...I only use them so I can brag

Satan
Reply With Quote
  #9  
Old 12-17-2004, 04:55 PM
Zain Jaffer Zain Jaffer is offline
 
Join Date: Sep 2004
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't find this in my usercp (maybe, because the thread is over 2 years old!)
Reply With Quote
  #10  
Old 12-17-2004, 05:42 PM
blueuniverse blueuniverse is offline
 
Join Date: Jul 2004
Location: UK
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

maybe, because this thread is for vb2, and you are running vb3.
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 10:33 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.04937 seconds
  • Memory Usage 2,271KB
  • Queries Executed 12 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (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
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete