Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications

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
      #2  
    Old 09-10-2005, 03:51 AM
    bi11i's Avatar
    bi11i bi11i is offline
     
    Join Date: Aug 2004
    Location: Portland, OR
    Posts: 134
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    I'd love to use this hack, but is there any way to do it without editing the php files directly? How about just a template edit? Is it possible?
    Reply With Quote
      #3  
    Old 09-10-2005, 04:32 AM
    Andreas's Avatar
    Andreas Andreas is offline
     
    Join Date: Jan 2004
    Location: Germany
    Posts: 6,863
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Yeah, a Template Edit would do as well:

    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_subthreads')"><img id="collapseimg_usercp_subthreads" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_subthreads].gif" alt="" border="0" /></a>
    			<a href="register.php?referrerid=$bbuserinfo[userid]">Refer Friends URL</a><span class="normal"></span>
    		</td>
    	</tr>
    </thead>
    <tbody id="collapseobj_usercp_subthreads" style="$vbcollapse[collapseobj_usercp_subthreads]">
    	<tr>
    			<td class="alt1" align="center" colspan="7">Invite your friends to our forum by sending them to: <a href="register.php?referrerid=$bbuserinfo[userid]">http://www.yourforum.com/forum/register.php?referrerid=$bbuserinfo[userid]</a></td>
    		</tr>
    </tbody>
    </table>
    <br />
    <!-- ############## END REFERRER BY ADAM GESSEL ####################  -->
    Would be nice if this could be updated
    Reply With Quote
      #4  
    Old 09-10-2005, 01:28 PM
    bi11i's Avatar
    bi11i bi11i is offline
     
    Join Date: Aug 2004
    Location: Portland, OR
    Posts: 134
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    I've been using this one on v3.5 and it seems to work pretty well: https://vborg.vbsupport.ru/showthread.php?t=90849 (sorry, not to take away from this modification, I'm willing to bet they could be combined for an update.)
    Reply With Quote
      #5  
    Old 09-10-2005, 04:57 PM
    007's Avatar
    007 007 is offline
     
    Join Date: Jan 2003
    Location: United States
    Posts: 872
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    There is no reason for a code edit at all on this one.. Good idea though.
    Reply With Quote
      #6  
    Old 09-10-2005, 05:42 PM
    ReadOrDie ReadOrDie is offline
     
    Join Date: Sep 2005
    Posts: 258
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Was this that hack I requested in the other thread?
    Reply With Quote
      #7  
    Old 09-10-2005, 08:03 PM
    adamgessel adamgessel is offline
     
    Join Date: Oct 2004
    Posts: 101
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Yeah, I could've done it without any file edits. I'll update it and make it so that there aren't any.
    Reply With Quote
      #8  
    Old 09-10-2005, 08:06 PM
    adamgessel adamgessel is offline
     
    Join Date: Oct 2004
    Posts: 101
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Alright... hack was updated. Now there aren't any file modifications.
    Reply With Quote
      #9  
    Old 09-11-2005, 10:54 AM
    Brinnie's Avatar
    Brinnie Brinnie is offline
     
    Join Date: Jul 2005
    Location: Louisiana
    Posts: 360
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by bi11i
    I've been using this one on v3.5 and it seems to work pretty well: https://vborg.vbsupport.ru/showthread.php?t=90849 (sorry, not to take away from this modification, I'm willing to bet they could be combined for an update.)
    Which is better?
    Reply With Quote
      #10  
    Old 09-11-2005, 03:31 PM
    hotrod1 hotrod1 is offline
     
    Join Date: Apr 2005
    Posts: 112
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    I could use a hack like this, thanks!
    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 01:45 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.04576 seconds
    • Memory Usage 2,285KB
    • 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
    • (1)bbcode_code
    • (1)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
    • (2)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