Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Register to reply button in postfoot for guests Details »»
Register to reply button in postfoot for guests
Version: 1.00, by Jack12 Jack12 is offline
Developer Last Online: Nov 2017 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.0.6 Rating:
Released: 08-27-2010 Last Update: Never Installs: 119
Template Edits
Re-useable Code Code Changes Translations  
No support by the author.

This is just a simple little edit that changes the reply with quote button, to a register to reply button that points to a register page instead of a no permissions page.

INSTRUCTIONS: Open postbit or postbit_legacy template depending on your forum setup.

Find:
Code:
<vb:if condition="$post['replylink']">
Replace with:
Code:
<vb:if condition="$post['replylink'] AND $show['member']">
Find:
Code:
<vb:if condition="$show['multiquote_post']"><span class="seperator">&nbsp;</span></vb:if>
</vb:if>
Add After:
Code:
<vb:if condition="$show['guest']">
<a id="qrwq_5837" class="newreply" href="http://YOUR FORUM URL/register.php" rel="nofollow"><img id="quoteimg_5837" src="clear.gif" alt="Reply With Quote" />  Register To Reply</a>
</vb:if>
Replace "YOUR FORUM URL" with your forum path, save template and you should be all good to go.

I am by no means an experience coder, but can find my way around php. If you have any problems please let me know and I will do my best to help. Enjoy.

You can see it working here: http://forums.epczone.net

Screenshots

File Type: jpg reply.jpg (3.3 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 08-28-2010, 03:48 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actually, a good idea, I've done this before (similar) but did not think to share so hats off from Supes .

Edit: Not marking as installed but I did vote, 5 stars for concept and implementation .
Reply With Quote
  #3  
Old 08-28-2010, 04:16 PM
basilrath's Avatar
basilrath basilrath is offline
 
Join Date: Apr 2006
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I actually agree as its very simple and the fact that its "under the nose" can often be reason someone will register and reply.

Well thought..... less is more
Reply With Quote
  #4  
Old 08-28-2010, 08:57 PM
YankForum's Avatar
YankForum YankForum is offline
 
Join Date: Mar 2010
Location: MY
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tnx installed
Reply With Quote
  #5  
Old 08-29-2010, 10:50 AM
Trip's Avatar
Trip Trip is offline
 
Join Date: Mar 2008
Location: Eastern Canada
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Agree w/TheLastSuperman. I'm not running vB4, but 5 stars for a great idea and share.
Reply With Quote
  #6  
Old 08-29-2010, 01:52 PM
goran424's Avatar
goran424 goran424 is offline
 
Join Date: Feb 2010
Location: Thailand
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would this work for all 4.x.x versions?
Reply With Quote
  #7  
Old 08-29-2010, 01:56 PM
basilrath's Avatar
basilrath basilrath is offline
 
Join Date: Apr 2006
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cant see why not its straight forward code
Reply With Quote
  #8  
Old 08-29-2010, 03:19 PM
Jack12's Avatar
Jack12 Jack12 is offline
 
Join Date: May 2010
Location: Western Australia
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by goran424 View Post
Would this work for all 4.x.x versions?
Hi, I saw you were running 4.0.2 so I tested it and there is one little change in the code you need to search for, I'll put all the instructions here.

Find
Code:
<vb:if condition="$post['replylink']">
Replace with
Code:
<vb:if condition="$post['replylink'] AND $show['member']">
Find
Code:
alt="{vb:rawphrase multi_quote_this_message}" />&nbsp;</a> 
</vb:if>
Add After
Code:
<vb:if condition="$show['guest']">
<a id="qrwq_5837" class="newreply" href="http://YOUR FORUM URL/register.php" rel="nofollow"><img id="quoteimg_5837" src="clear.gif" alt="Reply With Quote" />  Register To Reply</a>
</vb:if>
You should be all good to go after that.

Also, thanks for all the kind words guys
Reply With Quote
  #9  
Old 08-29-2010, 06:03 PM
saadessa saadessa is offline
 
Join Date: Jan 2008
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

reserved thank you
Reply With Quote
  #10  
Old 08-29-2010, 08:03 PM
Strike3ForumsMH Strike3ForumsMH is offline
 
Join Date: May 2005
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great simple idea. Thanks!
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:59 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07512 seconds
  • Memory Usage 2,322KB
  • 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
  • (8)bbcode_code
  • (1)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
  • (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
  • (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_postinfo_query
  • fetch_postinfo
  • 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