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

Reply
 
Thread Tools
vB REFERRER 1.0 Details »»
vB REFERRER 1.0
Version: 1.00, by adamgessel adamgessel is offline
Developer Last Online: Aug 2007 Show Printable Version Email this Page

Version: 3.5.0 RC2 Rating:
Released: 09-08-2005 Last Update: 09-13-2005 Installs: 89
Template Edits
 
No support by the author.

This modification is made for vBulletin 3.5 RC2, but probably also works for RC3.

Very simple to install.

===========================
DEMO BOARD
===========================

You can see a demo at:
http://www.forumfreedom.net/forum


===========================
DESCRIPTION
===========================

This will add a link to the UserCP that tells every user what his/her reffering link is so that they can invite friends. Later version will include ability to send the e-mail from the forum itself. This hack is very simple.


===========================
INSTALL
===========================

Time: Less than a minute
Difficulty: Easy

===========================

Let me know what you think. It's nothing advanced, just thought it could come in handy for some people.

PLEASE CLICK INSTALL!

UPDATE: NO LONGER TAKES ANY FILE EDITS!

Supporters / CoAuthors

    Show Your Support

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

    Comments
      #22  
    Old 09-30-2005, 12:42 AM
    o0Hubba0o's Avatar
    o0Hubba0o o0Hubba0o is offline
     
    Join Date: Mar 2005
    Location: Minnesota
    Posts: 263
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by adamgessel
    Thanks, KuRi, I thought I sorted that out but I guess not... I'll update it now.
    The text file still has this in it:
    Quote:
    ADD BELOW (MAKE SURE YOU EDIT http://www.yourforum.com/forum to your URL where the forum is located!!!):
    It might confuse some newer users since you changed it to the vboptions.
    Reply With Quote
      #23  
    Old 10-03-2005, 06:55 PM
    ukbill69's Avatar
    ukbill69 ukbill69 is offline
     
    Join Date: Dec 2001
    Location: UK
    Posts: 24
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Ive updated your code so it includes html code, so people can add to there sites and also updated code so $vboptions[bburl] is in there insted of manual edit of the domain name. Added send to a friend, add a new thread to your forums like a welcome thread to sign up and features of the forums etc and then replace t=2844 to what the thread ID is.

    Code:
    <!-- ############## START REFERRER BY ADAM GESSEL ####################  -->
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <thead>
    <tr>
    <td class="tcat" colspan="7">
    <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_reflink')"><img id="collapseimg_usercp_reflink" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_reflink].gif" alt="" border="0" /></a>
    <a href="$vboptions[bburl]/register.php?referrerid=$bbuserinfo[userid]">Refer Friends URL</a><span class="normal"></span>
    </td>
    </tr>
    </thead>
    <tbody id="collapseobj_usercp_reflink" style="$vbcollapse[collapseobj_usercp_reflink]">
    <tr>
    <td class="alt1" align="center" colspan="7">
    <b>Invite your friends to join our forum by linking them here via the following link:</b> <br /><a href="register.php?referrerid=$bbuserinfo[userid]">$vboptions[bburl]/register.php?referrerid=$bbuserinfo[userid]</a></p>
    <p><b><a href="/sendmessage.php?do=sendtofriend&t=2844">Send To A Frend</a></b></p>
    <b>Our add this HTML code to your 
    site</b></p>
    <textarea rows="3" cols="58"><a href="$vboptions[bburl]/register.php?referrerid=$bbuserinfo[userid]">Ive Joined The Forums, Why Don't You?</a></textarea></td>
    </tr>
    </tbody>
    </table>
    <br />
    <!-- ############## END REFERRER BY ADAM GESSEL ####################  -->
    Reply With Quote
      #24  
    Old 10-12-2005, 03:49 AM
    Brandon Sheley's Avatar
    Brandon Sheley Brandon Sheley is offline
     
    Join Date: Mar 2005
    Location: Google Kansas
    Posts: 4,678
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    [high]* Brandon Sheley installed
    [/high]

    very nice,
    will hope for some email options in the newer version
    Reply With Quote
      #25  
    Old 10-27-2005, 05:19 AM
    DrHUS DrHUS is offline
     
    Join Date: Feb 2005
    Posts: 24
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    email options is a good idea
    Reply With Quote
      #26  
    Old 10-27-2005, 06:02 AM
    gldtn gldtn is offline
     
    Join Date: Apr 2003
    Location: US
    Posts: 169
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    [high]* gldtn clicks install
    [/high]

    Any ideas of when new versions will be coming out? Also if it's not too much to ask I would like to post a suggestion.. To allow people to register on forum only if they are reffered by a user with this hack.

    Thanks
    Reply With Quote
      #27  
    Old 11-05-2005, 01:13 AM
    pspcrazy pspcrazy is offline
     
    Join Date: Apr 2005
    Posts: 184
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    This is the code if you have a thread that has introductions instead of a post, used ukbills post,

    Code:
    <!-- ############## START REFERRER BY ADAM GESSEL ####################  -->
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <thead>
    <tr>
    <td class="tcat" colspan="7">
    <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_reflink')"><img id="collapseimg_usercp_reflink" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_reflink].gif" alt="" border="0" /></a>
    <a href="$vboptions[bburl]/register.php?referrerid=$bbuserinfo[userid]">Refer Friends URL</a><span class="normal"></span>
    </td>
    </tr>
    </thead>
    <tbody id="collapseobj_usercp_reflink" style="$vbcollapse[collapseobj_usercp_reflink]">
    <tr>
    <td class="alt1" align="center" colspan="7">
    <b>Invite your friends to join our forum by linking them here via the following link:</b> <br /><a href="register.php?referrerid=$bbuserinfo[userid]">$vboptions[bburl]/register.php?referrerid=$bbuserinfo[userid]</a></p><br>
    <BR><BR><b>Our add this HTML code to your 
    site</b></p>
    <BR><textarea rows="3" cols="58"><a href="$vboptions[bburl]/register.php?referrerid=$bbuserinfo[userid]">Ive Joined The Forums, Why Don't You?</a></textarea></td>
    </tr>
    </tbody>
    </table>
    <br />
    
    <!-- ############## END REFERRER BY ADAM GESSEL ####################  -->
    Send to a freind didnt work so i remvoed it fromt his.

    Also i went ahead and put these under the subscribedthreads list, i dont want people to see this first , as soon as they enter the forums id rather them see the subscribed stuff.
    Reply With Quote
      #28  
    Old 11-05-2005, 01:15 PM
    o1dirtydog o1dirtydog is offline
     
    Join Date: Aug 2005
    Posts: 24
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    works like a charm... installed.
    Reply With Quote
      #29  
    Old 11-05-2005, 06:17 PM
    NxTek NxTek is offline
     
    Join Date: Jun 2003
    Posts: 105
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Later version will include ability to send the e-mail from the forum itself.
    This is supported now?
    Reply With Quote
      #30  
    Old 11-16-2005, 10:59 PM
    trackpads's Avatar
    trackpads trackpads is offline
     
    Join Date: Aug 2003
    Location: Armyville
    Posts: 1,074
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Works great! thanks!!!
    Reply With Quote
      #31  
    Old 11-18-2005, 03:23 PM
    KBowers KBowers is offline
     
    Join Date: Nov 2005
    Posts: 9
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Just wondering if this would work in version 3.5.1?

    Thanks!

    Kathy
    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 02:00 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.05525 seconds
    • Memory Usage 2,307KB
    • 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
    • (2)bbcode_code
    • (3)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
    • (11)post_thanks_box
    • (11)post_thanks_button
    • (1)post_thanks_javascript
    • (1)post_thanks_navbar_search
    • (11)post_thanks_postbit_info
    • (10)postbit
    • (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_display_complete
    • post_thanks_function_can_thank_this_post_start
    • pagenav_page
    • pagenav_complete
    • tag_fetchbit_complete
    • forumrules
    • navbits
    • navbits_complete
    • showthread_complete