vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Show Thread Enhancements - Register to reply button in postfoot for guests (https://vborg.vbsupport.ru/showthread.php?t=249485)

SiFor 05-23-2012 02:24 AM

The last part gives invalid html when posts are greater than one in a thread because of the repeated id's.

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>

I removed them both for valid html. ie

Code:

<vb:if condition="$show['guest']">
<a class="newreply" href="http://YOUR FORUM URL/register.php" rel="nofollow"><img src="clear.gif" alt="Reply With Quote" />  Register To Reply</a>
</vb:if>


Ikarrus2 08-24-2012 07:04 AM

Installed on 4.2, works great .. Thanks

Budabing 10-08-2012 04:47 AM

Quote:

Originally Posted by Ikarrus2 (Post 2359542)
Installed on 4.2, works great .. Thanks

Ikarrus, did you change the postbit template or the posbit legacy template? I followed the instructions perfectly and no worky?

I actually changed both, as just changing the posbit template did nothing?

TheSupportForum 10-08-2012 09:24 AM

installed, an excellent idea

Hawk7173 12-17-2012 09:43 PM

Is there a way to add this as a button rather than replacing the reply with quote button.

GamerPerfection 12-24-2012 11:41 AM

This doesn't work on 4.2.0 PL3

Gemma 12-24-2012 11:54 AM

Quote:

Originally Posted by GamerPerfection (Post 2392563)
This doesn't work on 4.2.0 PL3

Yes it does :)

tanzeelniazi 12-25-2012 07:40 AM

working perfect thanks man

GamerPerfection 12-25-2012 09:04 AM

Quote:

Originally Posted by Gemma (Post 2392564)
Yes it does :)

Well when I do the edits on postbit_legacy it removes the text completely. And if I do the edits on postbit instead, or aswell then I get the same result.


All times are GMT. The time now is 01:41 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.01146 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete