vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Signature only on first post (https://vborg.vbsupport.ru/showthread.php?t=139689)

Zachariah 02-16-2007 10:00 PM

Signature only on first post
 
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

Zachariah 02-17-2007 09:53 PM

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.

Smoothie 02-17-2007 10:35 PM

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)

Zachariah 02-17-2007 10:43 PM

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.

:)

Smoothie 02-17-2007 10:47 PM

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.

Tralala 02-17-2007 11:18 PM

Quote:

Originally Posted by Zachariah (Post 1184882)
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. :)

Jorrit787 02-18-2007 01:19 AM

It would be nice if this could be a standard feature of vBulletin.

Smoothie 02-18-2007 02:32 AM

Quote:

Originally Posted by Smoothie (Post 1184889)
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 (Post 1184987)
It would be nice if this could be a standard feature of vBulletin.

Duh!

Jorrit787 02-18-2007 03:07 AM

Quote:

Originally Posted by Smoothie (Post 1185033)
Duh!

What?

Tralala 02-18-2007 03:30 AM

Quote:

Originally Posted by Jorrit787 (Post 1185049)
What?

Smoothie was making a joke that he'd already said the same thing.


All times are GMT. The time now is 09:57 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.01147 seconds
  • Memory Usage 1,738KB
  • 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
  • (6)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
  • (10)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