vb.org Archive

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

Zachariah 10-22-2005 10:00 PM

Signature only on first post
 
Signature only on first post VB3.5

This will cause each user's signature to be shown only on their first post on each page.

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 10-23-2005 07:57 PM

Opps I think I posted this in the wrong place.

indiamike 10-23-2005 09:14 PM

Many thanks I was just searching for this earlier today.

Works great. :)

FleaBag 10-24-2005 08:50 AM

Yeah nice one cheers I was hoping to get away from the file edit! :)

Snake 10-24-2005 03:54 PM

Wow I was looking something similar to this. Thanks bud.

ben_erhan 10-25-2005 02:06 AM

it does not work sir.

Zachariah 10-25-2005 02:11 AM

Quote:

Originally Posted by ben_erhan
it does not work sir.

VB 3.5
DEMO

MY SIG:
PHP Code:

[SIZE=1][B]In an insane society a sane man must seem insane.[/B]
[
URL=http://www.gzhq.net]01000111 01011010 01001000 01010001[/URL][/SIZE] 

Quote:

In an insane society a sane man must seem insane.
01000111 01011010 01001000 01010001

Looks like it does to me. 1 time per page.

TTG 10-25-2005 02:11 AM

Quote:

Originally Posted by ben_erhan
it does not work sir.

Have to agree :tired:

ben_erhan 10-26-2005 07:34 AM

You may be true but I have made editing codes you gave It did not work.
I tried as member ,as moderator,as admin but every user is same.I see all signatures.If you want I can give the all codes of template.

Flow Fusion 10-27-2005 03:23 PM

Didn't work for me either.

Zachariah 10-27-2005 05:10 PM

Did you guys edit the correct postbit ?

postbit / postbit_legacy

If you have multi skins they also may needed to be edited.

Flow Fusion 10-27-2005 06:39 PM

I edited the default and nothing.

LincolnForums 10-27-2005 06:47 PM

Nope, not working here either, or any of my other vBulletin boards

michaelbenson 10-27-2005 07:36 PM

This works perfectly fine for me.

Flow Fusion 10-27-2005 07:51 PM

Doesn't work for postbit_legacy.

StyleZ cZ 10-28-2005 10:06 PM

This only partially works.

For a few members it did, for the rest it didn't. Didn't work for mods at all.

VBUsers 10-29-2005 09:50 AM

installed thanks alot!

fiber_cut 11-03-2005 03:58 AM

what is a post bit template?

fiber_cut 11-03-2005 04:16 AM

jsut trying to figure out what file to edit

fiber_cut 11-03-2005 04:30 AM

never mind I am such an idiot..

good2laugh 11-13-2005 05:19 PM

Installed, thanks!

lazyseller 11-14-2005 04:26 PM

how bout if a user responds ? will it show their signature ?

Zachariah 11-14-2005 04:42 PM

Quote:

Originally Posted by lazyseller
how bout if a user responds ? will it show their signature ?

Each user's Sig will show once per thread. The 1st time they post.

caliman 11-15-2005 01:37 PM

Works great on vB 3.5.1 / post-bit legacy on my board. THANKS FOR THIS MOD!

Zachariah 11-15-2005 02:03 PM

Glad it helped out. :)

dieselpowered 11-15-2005 02:23 PM

Thank you...

**installed**

caliman 11-16-2005 04:25 AM

@Zachariah - Looks like 3.5.1 quick reply by-passes this mod? Or is it just late and I am hallucinating?

Zachariah 11-16-2005 05:10 PM

Quote:

Originally Posted by caliman
@Zachariah - Looks like 3.5.1 quick reply by-passes this mod? Or is it just late and I am hallucinating?

I have not tested that idea, but I do not think it matters.

caliman 11-17-2005 07:49 PM

Quote:

Originally Posted by Zachariah
I have not tested that idea, but I do not think it matters.

One would think Zach, but I just tried it again and it added the sig again when it shouldn't have... can you test it too? :ermm:

akanevsky 11-17-2005 09:36 PM

Three conditionals could be replaced with one. :)

EDIT: Oops, sorry, I misunderstood the purpose of this hack. ;)

49er 11-19-2005 01:06 PM

Thank you...works fine :rolleyes:

**installed**

movielist 11-21-2005 05:11 AM

Script works great.

Just a sidenote... there is a catch with the Quick Reply box.
Once you use Quick Reply and post, your sig will appear.
The next time you load the page, the sig is gone.
No big deal. ;)

swrving 11-23-2005 11:05 PM

I implemented this and it worked (had to modify both postbit and postbit_legacy templates)...

How can I make something appear in the subsequent signatures that says:
"Sigs are visible only in your first post on a page."?

aky 11-24-2005 02:20 AM

what about if im using this hack, it doesnt work...

First post on every page of thread
https://vborg.vbsupport.ru/showthrea...ight=post+page

dieselpowered 11-24-2005 03:17 AM

Quote:

Originally Posted by movielist
Script works great.

Just a sidenote... there is a catch with the Quick Reply box.
Once you use Quick Reply and post, your sig will appear.
The next time you load the page, the sig is gone.
No big deal. ;)

Yes sir, you are correct, this definately does happen.

How could be go about fixing this?

Zachariah 12-02-2005 07:38 AM

Quote:

Originally Posted by aky
what about if im using this hack, it doesnt work...

First post on every page of thread
https://vborg.vbsupport.ru/showthrea...ight=post+page

I will install and take a look.
- I have many things to work on @ the moment that is in front of this, but I will see what I can do.

I will also look @ the "Quick Reply box" problem at the same time.

dieselpowered 12-07-2005 03:22 PM

Zachariah, just wanted to let you know that this works with 3.5.2, incase you wanted to change the version at the top of the thread :)

Zachariah 12-07-2005 03:50 PM

Quote:

Originally Posted by xtremeoff-road
Zachariah, just wanted to let you know that this works with 3.5.2, incase you wanted to change the version at the top of the thread :)

Cool man. :)

bashy 12-08-2005 01:01 PM

Not on my 3.5.2 it dont :(

I have tried it with both templates..

Does this work to posts already up?

Quote:

Originally Posted by xtremeoff-road
Zachariah, just wanted to let you know that this works with 3.5.2, incase you wanted to change the version at the top of the thread :)

Bashy

Zachariah 12-08-2005 01:58 PM

Yes.
I will test on my dev system.

Quote:

Originally Posted by bashy
Not on my 3.5.2 it dont :(

I have tried it with both templates..

Does this work to posts already up?



Bashy



All times are GMT. The time now is 04:52 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.03078 seconds
  • Memory Usage 1,791KB
  • 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
  • (1)bbcode_php_printable
  • (12)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
  • (40)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