View Full Version : Signature only on first post
Zachariah
10-22-2005, 10:00 PM
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.
Hi i was wondering if theres a hack where peoples sigs only show once per page?
In the postbit or postbit_legacy template,
Find :
<if condition="$post['signature']">
And replace it with this one:
<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
it does not work sir.
VB 3.5
DEMO (http://www.gzhq.net/forums/showthread.php?t=11191)
MY SIG:
In an insane society a sane man must seem insane.
01000111 01011010 01001000 01010001 (http://www.gzhq.net)
In an insane society a sane man must seem insane.
01000111 01011010 01001000 01010001 (http://www.gzhq.net)
Looks like it does to me. 1 time per page.
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
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
@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
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. ;)
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."?
what about if im using this hack, it doesnt work...
First post on every page of thread
https://vborg.vbsupport.ru/showthread.php?t=93706&highlight=post+page
dieselpowered
11-24-2005, 03:17 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. ;)
Yes sir, you are correct, this definately does happen.
How could be go about fixing this?
Zachariah
12-02-2005, 07:38 AM
what about if im using this hack, it doesnt work...
First post on every page of thread
https://vborg.vbsupport.ru/showthread.php?t=93706&highlight=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
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?
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.
Not on my 3.5.2 it dont :(
I have tried it with both templates..
Does this work to posts already up?
Bashy
dieselpowered
12-08-2005, 02:09 PM
Works just fine on my 3.5.2
Granted I have been using this since the start of my 3.5.1 board.
Noodles24
12-09-2005, 03:00 PM
Works fine for me, using 3.5.2 and postbit legacy
Robru
12-19-2005, 03:20 PM
I will it only in the last post, what must I change?
Caveman2k2
12-20-2005, 11:09 PM
Working fine on my 3.5.2. Great little mod.
/me clicks install
tqvn2004
12-22-2005, 08:29 AM
Thanks for the hack. I have installed it!
For those who cannot make it work, you should edit BOTH postbit and postbit_legacy! If you edit only postbit_legacy, the chance is it will not work because postbit template is used.
mholtum
12-22-2005, 07:39 PM
Doesn't work for postbit_legacy.
Works for me, on one of the boards I added it to it works, the other it doesn't. Odd. :ermm:
Robru
01-02-2006, 01:59 PM
*BUMP*
I will it only in the last post, what must I change?
Zachariah
01-02-2006, 02:39 PM
*Originally Posted by Robru
I will it only in the last post, what must I change?*
I do not understand.
- Perhaps say in your language I can translate ?
Revpolar
01-02-2006, 02:47 PM
For those having trouble with signatures in quick replies. Open showthread template and search for
<if condition="$bbuserinfo['signature']">
<div style="float:$stylevar[right]"><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="5" checked="checked" />$vbphrase[show_your_signature]</label></div>
</if>
And delete that.
Robru
01-03-2006, 08:40 AM
I do not understand.
I Want: user's signature to be shown only on their last post on each page, when you post more than one message in a topic.
I hope you understand this, sorry for my bad English...
CtrlAltDel
01-06-2006, 09:21 PM
thx worked on 3.2.3 :D!
MojoNixon
01-06-2006, 09:30 PM
/hits install.
Very useful, thanx for this. :)
SparKeh
01-07-2006, 06:09 PM
it works for me on vb 3.5.2 editing the postbit and postbit_legacy
damn that quick reply thing is annoying though :D
SparKeh
01-07-2006, 06:15 PM
Actually thats weird, when I post the second post using quick reply it shows my sig on my last post and removes it from my first post. I thought it was mean't to stay in the first post and no others? :eek:
ahmed-samara
01-15-2006, 07:57 AM
Doesn't work for postbit_legacy.
GGIII
01-19-2006, 01:03 AM
Is there any way to make this a selectable option per user?
WebMasterAJ
02-01-2006, 09:37 AM
I just tried it on the latest vB... and it doesn't work :(
Mindwarp
02-01-2006, 11:02 AM
I just tried it on the latest vB... and it doesn't work :(
AJ i got it.
Tralala
02-04-2006, 12:26 AM
For those having trouble with signatures in quick replies. Open showthread template and search for
<if condition="$bbuserinfo['signature']">
<div style="float:$stylevar[right]"><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="5" checked="checked" />$vbphrase[show_your_signature]</label></div>
</if>
And delete that.
Yeah, that doesn't actually suppress the "display" of subsequent signatures for others...
...what it does is uncheck/hide a poster's "Show your signature" checkbox underneath the QuickReply panel.
I just applied that change, and was the first reply in a thread (via QuickReply) and my signature DID NOT show up at all on the refresh. (It should appear, as it was my first time in that thread.)
I'm going to revert back, since that change is not what a user would expect (especially if they have a sig and expect for it to appear.)
I'm okay with it appearing you that first time after a QuickReply, since after a refresh (and immediately for everyone else) -- it only appears in the user's first post.
But revpolar's "fix" for the QuickReply issue is overkill and doesn't actually address the issue properly.
The issue is in how QuickReply refreshes immediately and doesn't reflect what a "real" refresh would show...
Tralala
02-04-2006, 12:40 AM
I should say though, that otherwise, this hack appears to be working fine for me in vB 3.5.3 (with both the generic vB skin as well as my customized 3rd party one.) Thanks!
Tralala
02-04-2006, 01:50 AM
Is there any way to make this a selectable option per user?
+1
I would appreciate that greatly.
Brandon Sheley
02-05-2006, 09:22 AM
* Brandon Sheley installs
can u make it show all the profile info I've added only shows on the first post too ?
or maybe i can figure it out by looking at this hack
attached is what I'm talking about.. can I remove all this, avatar,post,points. etc.. after the first post has been made on threads ?
btw
this post
http://www.locoforum.com/forums/showthread.php?p=4297#post4297
u can see my sig two times,, i use the quick reply.. gl with the mod
hmm,, but when I refresh a few times,, it just shows one like it should.. don't know if that info helps you or now ?
can I add AND !$vboptions['shownsigs'][$post[userid]] AND $vboptions['shownsigs'][$post[userid]] = true">
after all the info that I'm talking about ?
to edit each line, that i want to show once only. ?
thank you
Brandon Sheley
02-06-2006, 06:17 PM
anyone ?
lazyseller
02-10-2006, 10:40 PM
Is there a way to exclude certain usergroups from this ?? like admins / moderators ?
stan111
02-19-2006, 08:42 AM
worrk perfectly on 3.0.7
thanks
Zachariah
02-19-2006, 07:57 PM
worrk perfectly on 3.0.7
thanks
That's cool :D
This is a very simple edit.
Ideas:
- exclude usergroups or choose usergroups.
This can be done in the template also but not to handy for quick change.
- User choice if show every time or not.
This is also a simple template edit, but adding the userfield would move it out of a template hack. (not ruled out of working on, but must post a new hack in another area of the forums)
I had thoughts of expanding this hack: (would make it plugin w/ uploads)
AdminCP options:
- enable / disable per usergroup
- enable / disable per user
More feedback is cool. I may have no clue what I am talking about :D
Tralala
02-19-2006, 08:34 PM
- User choice if show every time or not.
This is also a simple template edit, but adding the userfield would move it out of a template hack. (not ruled out of working on, but must post a new hack in another area of the forums)
I, for one, would very much like this. Some users like it and some don't, and this would solve the problem for everyone.
djwins
02-24-2006, 04:17 PM
Is there a way to exclude certain usergroups from this ?? like admins / moderators ?Seconded
Brandon Sheley
02-24-2006, 11:38 PM
* Loco.M installs
can u make it show all the profile info I've added only shows on the first post too ?
or maybe i can figure it out by looking at this hack
attached is what I'm talking about.. can I remove all this, avatar,post,points. etc.. after the first post has been made on threads ?
btw
this post
http://www.locoforum.com/forums/showthread.php?p=4297#post4297
u can see my sig two times,, i use the quick reply.. gl with the mod
hmm,, but when I refresh a few times,, it just shows one like it should.. don't know if that info helps you or now ?
can I add AND !$vboptions['shownsigs'][$post[userid]] AND $vboptions['shownsigs'][$post[userid]] = true">
after all the info that I'm talking about ?
to edit each line, that i want to show once only. ?
thank you
bump ? :ermm:
djwins
02-25-2006, 01:28 AM
Another interesting edit would be to only show signature images once per page (leave text intact).
Zachariah
02-25-2006, 01:34 AM
Another interesting edit would be to only show signature images once per page (leave text intact).
very true.
- Images and movies are a pain for my 56k modem warriors.
djwins
02-25-2006, 01:44 AM
my 56k modem warriors.:laugh:
Tralala
02-25-2006, 04:40 AM
MOVIES in signatures? OMG.
the Sandman
02-25-2006, 10:41 AM
I Want: user's signature to be shown only on their last post on each page, when you post more than one message in a topic.Actually, I think that would be a nice option - to show a member's signature once per page but on the last post of each page. It would definitely cut down on the "Where did my sig go?" threads and PM's. :ermm:
Freak0204
02-26-2006, 06:52 AM
Works great, thanks!
himerus
03-01-2006, 05:42 PM
Is there a way to change this, so that it shows the signature on the FIRST post of a thread ALWAYS, and the LAST post made by a user, rather than the first post a user has made????
So, thier signature shows on the last post they always make to a thread, but does not on the first one if they have multiple posts
This won't apply for the thread starter, who will show on the first post of the thread, and thier last post as well...
ZeryabPhone
03-01-2006, 07:50 PM
work fine for postbit_legacy
and not work in postbit!
Brandon Sheley
03-02-2006, 02:46 AM
i guess im invisible....lol
Thanks for this just what i needed.
BabyNameAddict
03-06-2006, 03:26 AM
Excellent! This is perfect.
Works wonderfully in 3.5.4 when edited in both templates.
Thanks bunches! :nervous:
BabyNameAddict
03-06-2006, 05:44 AM
Is there a way to have it show once per THREAD instead of once per PAGE?
alfaowner
03-06-2006, 07:51 PM
Is there a way to have it show once per THREAD instead of once per PAGE?
It amazes me why you would bother to want this? But yes its easily possible, ill post it later. Busy right now
the Sandman
03-06-2006, 10:33 PM
It amazes me why you would bother to want this? But yes its easily possible, ill post it later. Busy right nowSame for showing it once per page but on the last post, not the first? :)
BabyNameAddict
03-07-2006, 01:08 AM
It amazes me why you would bother to want this? But yes its easily possible, ill post it later. Busy right now
Thanks, I would greatly appreciate this!
I want this because people like to get fancy with their sigs, and it makes it slow for those on dialup.
Tralala
03-07-2006, 01:53 AM
I want this because people like to get fancy with their sigs, and it makes it slow for those on dialup.
Those with dialup should turn off the display of sigs entirely then.
Zachariah
04-04-2006, 12:53 AM
Actually, I think that would be a nice option - to show a member's signature once per page but on the last post of each page. It would definitely cut down on the "Where did my sig go?" threads and PM's. :ermm:
Thats an Idea
- I'll take a look
cyberbeggar
06-09-2006, 03:22 PM
Thank You!
Pamela
06-17-2006, 09:03 PM
Is there a way to have it show once per THREAD instead of once per PAGE?
I was just about to post this same question (our members on dial-up are requesting this)! :)
Can anyone help us? Thank you!!! :D
Tralala
06-17-2006, 10:13 PM
I was just about to post this same question (our members on dial-up are requesting this)! :)
If it's that much of a bother, users on dial-up should turn off signatures entirely then. That's a UserCP pref.
Pamela
06-17-2006, 10:21 PM
If it's that much of a bother, users on dial-up should turn off signatures entirely then. That's a UserCP pref.
They would like to see the signatures too.
I just wanted to know if someone could help with a slight modification...
Get Shorty
06-28-2006, 05:44 PM
Great! I've been looking for this. :)
AloneKid
07-21-2006, 10:19 AM
Thanks!
I get the following error
using vb3.5.4
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/thr/public_html/forums/includes/adminfunctions_template.php(3537) : eval()'d code on line 149
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
:confused:
X-Jerry
07-22-2006, 12:43 PM
Doesn't work for postbit_legacy.
Why not ?
DominicG
08-02-2006, 06:45 PM
I had to put it in both postbit and postbit_legacy template and it works great! Thank you so much :) You explained it to make it so easy to do myself. I paid someone $125.00 to put two hacks in and now I'm thinking I paid way too much. Thank you!
Kathleen (my son is Dominic)
RaceJunkie
08-10-2006, 01:46 AM
I was wondering if this is working on 3.6.. I know there are new signature options in the new version so was wondering if the template edits affected them in any way?
Thanks
Smoothie
08-10-2006, 06:19 AM
works fine in 3.6
Working fiine for me in 3.6 with both postbit and postbit_legacy
curriertech
08-16-2006, 06:54 PM
Another happy 3.6 install here. :)
lasto
08-16-2006, 06:55 PM
works fine in postbit for me so im happy
safwa_server
08-17-2006, 07:20 AM
It worked in my 3.5.0
Many Thanks
NineToez
08-21-2006, 01:50 AM
I'm getting parse errors when adding this to my recently upgraded vB 3.6 in either postbit or postbit_legacy.
NineToez
08-24-2006, 07:24 AM
I'm getting parse errors when adding this to my recently upgraded vB 3.6 in either postbit or postbit_legacy.NM, I got it to work.
davelacey
08-28-2006, 11:43 PM
Nice and much-needed hack.
Running on 3.6.0 sweet as anything.
Thankyou.
IncredibleHawk
09-02-2006, 05:27 AM
Yeh it did work way better than I had hoped and I want to thank you guys for having all the goodies!
Ranger187
09-07-2006, 11:40 PM
Odd, it didn't work for me. Keeps showing the sig.
Ranger187
09-12-2006, 09:49 PM
I entered the code and it shows the signature more then once. Am I missing something? This is in VB 3.5.4
teedizz
09-15-2006, 10:28 PM
I installed this on 3.6 & didnt recieve no errors but sigs are still showing up more then once per page....can someone tell me why this is happening & how to fix it. It worked fine when i was running 3.5.2
Zachariah
09-16-2006, 01:57 AM
@ Ranger187, teedizz and others that have a problem.
Depending on what "postbit" you use.
postbit or postbit_legacy template
DEMO (http://www.gzhq.net/forums/showthread.php?t=10112) - you can see it does work.
teedizz
09-16-2006, 03:21 AM
it works for 3.6 but not 3.6.1 for some reason
Smoothie
09-29-2006, 12:58 AM
Works fine w/ 3.6.1
curriertech
10-03-2006, 11:26 AM
Installed and working great on 3.6.1 (even works with my previous edit of turning sigs off for guests).
furst
10-15-2006, 03:58 PM
Works for me. Thanks.
edit: it isn't flawless. Sometimes it shows no sigs at all.
ThorstenA
01-05-2007, 07:37 AM
Is it possible to put signature only on last post? As last post is more read.
Thank you.
letsjoy
01-05-2007, 11:36 PM
crap not working
Tralala
01-06-2007, 10:46 AM
Is it possible to put signature only on last post? As last post is more read.
Thank you.
At some point, every user's first post *is* the last post. So who cares if readers see it now... or see it later? Sigs will get "read" an equal amount regardless. (IOW, it's merely an aesthetic difference.)
Smoothie
01-06-2007, 02:18 PM
Error with the pluggin can be replicated in my test environment and live.
Users posting via quick reply will get a forum jump notifying them that they have posted a duplicate thread.
Just giving everyone a heads up.
Otherwise it is an amazing modification!what plugin? This mod uses template edits only.
I've used this on all 3.6.x versions and it works fine.
The dman
01-12-2007, 11:11 AM
I too had to edit postbit and postbit legacy in 3.64
Installed and working great.
Thanks
tankaya61
01-13-2007, 12:31 PM
thanks
WarLion
01-27-2007, 08:28 AM
works great with vb 3.6.4
talenak
02-17-2007, 05:54 PM
It does work great with vb 3.6.4, It should be added to that section of the forums.
Zachariah
02-17-2007, 09:40 PM
It does work great with vb 3.6.4, It should be added to that section of the forums.
ok :)
- I keep forgetting
EDIT:
:o - link (https://vborg.vbsupport.ru/showthread.php?t=139689)
benpaul10
04-30-2007, 11:35 AM
Is there a way to have it show once per THREAD instead of once per PAGE?
is this possible?
Traxdata
12-19-2007, 10:44 PM
unfortunately doesn't work on vb 3.7.0. beta2. :(
Traxdata
03-18-2008, 04:53 PM
not true, Traxdata! Works fine on 3.7 beta 6!
Arios
06-22-2008, 01:36 PM
Edited both templates. 3.5x with many hacks. Works great. One sig per page as expected as opposed to the product hack that parsed errors on editing a post. It works with all mods I've added. The only thing one might see is sometimes a page refresh clears the unwanted signature should it display. Guess it's just a tad slow in kicking in ;)
Thanks!
Pezman
07-04-2008, 07:55 PM
I got it to work GREAT with vb 3.7.2
You should note that you must modify BOTH the postbit and the postbit_legacy
River_rush
07-18-2008, 09:48 PM
just to add this works on 3.7 as well
GoTTi
02-22-2009, 04:35 PM
works for 3.8
trulylowcarb
02-26-2009, 09:27 PM
This still works for me in 3.8 - should be moved to that section, IMO.
VERY USEFUL AND SIMPLE MOD!
thedvs
05-24-2009, 09:56 AM
Works fine in 3.8.2 too
Silver_2000_)!
06-18-2009, 07:13 PM
would love to be able to chaneg this so that one or two usergroups are NOT restricted by this
Id like our vendors to be able to post sigs more than once
I tried a conditional but that effects the viewer NOT The poster
Works in 3.8.3 with both templates edited. Thanks!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.