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
Stop showing signature more than once in each page! Details »»
Stop showing signature more than once in each page!
Version: 1.00, by ToNetU ToNetU is offline
Developer Last Online: Oct 2012 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.0.0 Rating:
Released: 01-18-2010 Last Update: Never Installs: 156
Template Edits
Re-useable Code  
No support by the author.

hi there,

this is how to stop showing signature twice in the same page.

to do this, find in postbit template or postbit_legacy if you are using it
Code:
<vb:if condition="$post['signature']">
replace it to this:
Code:
<vb:if condition="$post['signature'] AND !$vboptions['shownsigs'][$post[userid]] AND $vboptions['shownsigs'][$post[userid]] = true">
- when you post something by using quick post box, it will show you the signature if it's already shown, but when you refresh the page it will disappear
- if there are for example 2 pages in the thread it will show the signature once per page.

- PLEASE don't forget to click install.

that's it

Show Your Support

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

Comments
  #12  
Old 02-21-2010, 11:51 AM
is_it_me is_it_me is offline
 
Join Date: Mar 2009
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just used this on my vb4.02 test site, excellent stuff.

When I do the live site upgrade I'll be able to switch on signatures for the first time without them driving me nuts!
Reply With Quote
  #13  
Old 02-26-2010, 12:15 AM
ToNetU ToNetU is offline
 
Join Date: Mar 2003
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by is_it_me View Post
Just used this on my vb4.02 test site, excellent stuff.

When I do the live site upgrade I'll be able to switch on signatures for the first time without them driving me nuts!
glad to see this mod help your members to let them use a signature
Reply With Quote
  #14  
Old 02-26-2010, 12:23 PM
Forum Lover Forum Lover is offline
 
Join Date: Jun 2007
Location: Sydney
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

But Show your signature is checked. How can I make it UNCHECKED by default?

Thanks in advance.
Reply With Quote
  #15  
Old 02-26-2010, 05:09 PM
ToNetU ToNetU is offline
 
Join Date: Mar 2003
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Forum Lover View Post
But Show your signature is checked. How can I make it UNCHECKED by default?

Thanks in advance.
sorry i didn't get it, could you explain more so i can help.
Reply With Quote
  #16  
Old 02-27-2010, 11:00 AM
Forum Lover Forum Lover is offline
 
Join Date: Jun 2007
Location: Sydney
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ToNetU View Post
sorry i didn't get it, could you explain more so i can help.
http://img.cx/QSA0.png
Reply With Quote
  #17  
Old 02-27-2010, 05:06 PM
ToNetU ToNetU is offline
 
Join Date: Mar 2003
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Forum Lover View Post
i know how to do that except quickreply box "i tried to disable it by edit clientscript/vbulletin_quick_reply" but unfortunately i couldn't, BUT fortunately i could uncheck it by default by edit these templates:
1- newreply 2- newthread 3- editpost
find:
Code:
{vb:raw checked.signature}
remove it
that's it.

it will uncheck "Show signature" by default in "new reply page + new thread page + edit post/thread"
Reply With Quote
  #18  
Old 02-28-2010, 05:23 AM
Forum Lover Forum Lover is offline
 
Join Date: Jun 2007
Location: Sydney
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ToNetU View Post
i know how to do that except quickreply box "i tried to disable it by edit clientscript/vbulletin_quick_reply" but unfortunately i couldn't, BUT fortunately i could uncheck it by default by edit these templates:
1- newreply 2- newthread 3- editpost
find:
Code:
{vb:raw checked.signature}
remove it
that's it.

it will uncheck "Show signature" by default in "new reply page + new thread page + edit post/thread"
thnx... its working.
Reply With Quote
  #19  
Old 03-01-2010, 12:15 AM
Juggernaut Juggernaut is offline
 
Join Date: Dec 2009
Location: California
Posts: 589
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod. Installed.
Reply With Quote
  #20  
Old 03-13-2010, 09:37 PM
Taurus MFF Taurus MFF is offline
 
Join Date: Feb 2010
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great mod, installed on my 4.0.2 site.

one thing I have noticed... it blocks animated gifs in a users signature even in the first occurrence of the sig. everything else in the sig block shows the first time except for the gif image.

any idea why this is happening?
Reply With Quote
  #21  
Old 03-14-2010, 04:41 PM
ToNetU ToNetU is offline
 
Join Date: Mar 2003
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Taurus MFF View Post
great mod, installed on my 4.0.2 site.

one thing I have noticed... it blocks animated gifs in a users signature even in the first occurrence of the sig. everything else in the sig block shows the first time except for the gif image.

any idea why this is happening?
it does NOT block anything in the signture. if you can read the code again you will see that notice that it's too small to block something

what's happening with you is not because of this mod.

have you change anything in postbit or postbit_legacy or it's the origenal template? and which one you are using postbit or postbit_legacy? and finally can you attach the template here so i can check it.
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 11:54 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.05882 seconds
  • Memory Usage 2,328KB
  • 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
  • (4)bbcode_code
  • (6)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
  • (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