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
  #12  
Old 08-30-2010, 01:07 AM
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great idea.. I noticed a lot of new visitors don't understand these things and get mad when they get the notice (you don't have permission blah blah blah)

Thanks
Reply With Quote
  #13  
Old 08-30-2010, 03:28 PM
Greight's Avatar
Greight Greight is offline
 
Join Date: Oct 2009
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, great idea. Anyway to add a new phrase instead of editing the phrase in template?
Reply With Quote
  #14  
Old 08-31-2010, 04:23 AM
Jack12's Avatar
Jack12 Jack12 is offline
 
Join Date: May 2010
Location: Western Australia
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Greight View Post
Yes, great idea. Anyway to add a new phrase instead of editing the phrase in template?
I wish I could help you there, but it will require somebody more experienced in php and vbulletin, I'm just learning as I go along and thought I would share a simple mod I did.
Reply With Quote
  #15  
Old 09-01-2010, 09:24 AM
Keev Keev is offline
 
Join Date: Dec 2004
Location: Orange County,Ca
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried with 4.06 and searching for them lines isn't found in the templates
Reply With Quote
  #16  
Old 09-01-2010, 10:31 AM
ged's Avatar
ged ged is offline
 
Join Date: Feb 2005
Location: Istanbul, Turkey
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Neat and useful. Thanks.
Reply With Quote
  #17  
Old 09-01-2010, 10:51 AM
Jack12's Avatar
Jack12 Jack12 is offline
 
Join Date: May 2010
Location: Western Australia
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Keev View Post
I tried with 4.06 and searching for them lines isn't found in the templates
I see, the code is there but I think I know why you're not able to find it.

The second part of code you need to find is actually 2 lines, and vbulletin will not find the code when entered all together.

Do a search for:
Code:
<vb:if condition="$show['multiquote_post']"><span class="seperator">&nbsp;</span></vb:if>

Look to the next line in your template and you will see that it is </vb:if>. Start a new line directly under that and enter the code I specified in the first post.

Hopefully I've explained it well enough for you, but if you need any additional help, please don't hesitate to ask


Quote:
Originally Posted by ged View Post
Neat and useful. Thanks.
Thanks, glad you like it
Reply With Quote
  #18  
Old 09-01-2010, 04:18 PM
Greight's Avatar
Greight Greight is offline
 
Join Date: Oct 2009
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks anyway. I hope you get skillfull soon enough in vB to help me out in this.
Reply With Quote
  #19  
Old 09-01-2010, 10:54 PM
nomoreturn's Avatar
nomoreturn nomoreturn is offline
 
Join Date: Apr 2009
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed on 4.0.6 and not working i try with postbit_legacy and postbit but not working
here's the link
http://www.mastdunya.com/showthread.php?t=2461
Reply With Quote
  #20  
Old 09-02-2010, 02:25 AM
Jack12's Avatar
Jack12 Jack12 is offline
 
Join Date: May 2010
Location: Western Australia
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nomoreturn@hotm View Post
installed on 4.0.6 and not working i try with postbit_legacy and postbit but not working
here's the link
http://www.mastdunya.com/showthread.php?t=2461
I can't read your source code because you have right click disabled, and firebug isn't showing anything in the postfoot div. Although I have been having some issues with firebug lately.

Would you be able to PM me your postbit_legacy or postbit template code?

It's hard to troubleshoot when I can't see the code.
Reply With Quote
  #21  
Old 09-03-2010, 05:45 AM
gagan007's Avatar
gagan007 gagan007 is offline
 
Join Date: Aug 2010
Location: Bangalore
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am also using 4.0.6 and new to VB though not to php (came a long way from phpBB)...so I wanted to ask whether I should edit postbit or postbit_legacy as I can find the code in both of 'em
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 05:26 AM.


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.07007 seconds
  • Memory Usage 2,339KB
  • Queries Executed 28 (?)
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
  • (5)bbcode_code
  • (4)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
  • (3)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
  • (1)postbit_attachment
  • (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_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