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

Reply
 
Thread Tools
Signature only on first post Details »»
Signature only on first post
Version: 1.00, by Zachariah Zachariah is offline
Developer Last Online: Jan 2020 Show Printable Version Email this Page

Version: 3.6.x Rating:
Released: 02-16-2007 Last Update: Never Installs: 210
Template Edits
 
No support by the author.

Signature only on first post VB3.6x

This will cause each user's signature to be shown only on their first post on each page vs. on every post during a thread listing.

Quote:
Originally Posted by Thug
Hi i was wondering if theres a hack where peoples sigs only show once per page?
In the postbit or postbit_legacy template,

Find :

Code:
<if condition="$post['signature']">
And replace it with this one:

Code:
<if condition="$post['signature'] AND !$vboptions['shownsigs'][$post[userid]] AND $vboptions['shownsigs'][$post[userid]] = true">
There can be only one ! ~ The Highlander

Show Your Support

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

Comments
  #2  
Old 02-17-2007, 09:53 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is no changes in the code from the 3.5 version.

This simple template edit works on 3.x, 3.5x, 3.6x.
- If you have installed it before there is no reason to update.
- I placed this here for people who may not explore older hacks.
Reply With Quote
  #3  
Old 02-17-2007, 10:35 PM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been using this for quite a while (vB 3.6.4) and it works great, I use the version (3.5) you posted before this. (I know they're the same)
Reply With Quote
  #4  
Old 02-17-2007, 10:43 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love it.
I still have a few 56k modem warriors that game on line, and many leave images on their personal setting as there are less to look at per page load.

Reply With Quote
  #5  
Old 02-17-2007, 10:47 PM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This should be a standard option in vBulletin. Either configured by the admin or the end user. I saw the other mod that allows users to choose, but I'd rather use this.
Reply With Quote
  #6  
Old 02-17-2007, 11:18 PM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachariah View Post
I love it.
I still have a few 56k modem warriors that game on line, and many leave images on their personal setting as there are less to look at per page load.

Yours was the first hack I installed to allow "one sig per page" and I like it very much! I did want to clarify though, as I posted in the thread for the other (user-selectable) version, with regards to the "impact" this has for the 56k modem warriors:

If a poster (with a video or large picture sig) has many posts (and therefore, sigs) on a page, it wouldn't be any slower for a dial-up user to download the page than if that same poster only had one post (and therefore, one sig) on the page. It's not like the page has to download the same exact thing every time. It downloads the image once, and just displays it multiple times.

(IE: if I presented an HTML page showing one single image 20 times, it doesn't download 20 copies of that file for a reader, and the page doesn't take 20 times longer to download. It downloads that image once, the web browser is simply told to display it 20 times.)

I still like this customization, however, because it can make the page easier to read and cuts down on the sig clutter! (As you say, "less to look at" per page load.) But lest anyone be confused... it won't speed up downloading time for dial-up users, per se. It may speed up browser window rendering speed. But not downloading time.

I still like it, though.
Reply With Quote
  #7  
Old 02-18-2007, 01:19 AM
Jorrit787 Jorrit787 is offline
 
Join Date: Nov 2005
Location: The Netherlands
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would be nice if this could be a standard feature of vBulletin.
Reply With Quote
  #8  
Old 02-18-2007, 02:32 AM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Smoothie View Post
This should be a standard option in vBulletin. Either configured by the admin or the end user. I saw the other mod that allows users to choose, but I'd rather use this.
Quote:
Originally Posted by Jorrit787 View Post
It would be nice if this could be a standard feature of vBulletin.
Duh!
Reply With Quote
  #9  
Old 02-18-2007, 03:07 AM
Jorrit787 Jorrit787 is offline
 
Join Date: Nov 2005
Location: The Netherlands
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Smoothie View Post
Duh!
What?
Reply With Quote
  #10  
Old 02-18-2007, 03:30 AM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jorrit787 View Post
What?
Smoothie was making a joke that he'd already said the same thing.
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:09 PM.


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.04569 seconds
  • Memory Usage 2,294KB
  • Queries Executed 23 (?)
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
  • (2)bbcode_code
  • (6)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