View Full Version : Show User's Signature Once Per Thread Page
TWTCommish
03-22-2002, 10:00 PM
This hack was requested here by Pyschodone (https://vborg.vbsupport.ru/showthread.php?threadid=35606). It's really simple: a user's signature is now shown only once per thread page. If another one of their posts comes along, their signature won't be shown. Really simple; just one minor code change. Haven't tested it, but it ought to work just fine.
Admin
03-23-2002, 04:52 PM
Heh, I actually did this hack for someone a LONG while ago, but never released it. :p Good job. :)
Very nice, Commish! Thanks. :cool:
Martin CX
03-23-2002, 09:24 PM
Excellent! I won't install this hack just yet, but I'll definitely bookmark it.
Psychdrone
03-23-2002, 11:40 PM
Ha I told you all, it was a really good Idea
and after & posts in a row it finnaly worked!
Now you have made me even more determined when I get ideas:P:)
Thanks for the hack bro!!
*hey arn't you the one at Vb.com who was doing the whold debate(if you can call it that) on religion?
TWTCommish
03-23-2002, 11:44 PM
Yeah, that was me. An argumentative Christian programmer. What's the world coming to? :D I'm glad you like it; it's a real natural high. I'm glad to help. :)
What about once pre page of a thread. If you go to the second page of a thread will the signature be shown?
TWTCommish
03-23-2002, 11:55 PM
Yes, I believe so. Which I think is good, because some people jump right to individual thread pages anyway.
Originally posted by x28
What about once pre page of a thread. If you go to the second page of a thread will the signature be shown? Yes, it's shown once per page.
This is excellent, great to save server space.
situledi
09-18-2002, 09:53 PM
i'm very surprised.. it's so simple..
(sorry for my english)
can u explain me why for the same effect i had do that in my older forum:
- in ShowThread.php :
find:
code :
$counter=0;
while ($post=$DB_site->fetch_array($posts) and $counter++<$perpage) {
if ($postdone[$post[postid]]) {
$counter--;
continue;
}
else {$postdone[$post[postid]]=1;}
$postbits .= getpostbit($post);
}
then insert after :
code :
$counter=0;
while ($post=$DB_site->fetch_array($posts) and $counter++<$perpage) {
if ($postdone[$post[postid]]) {
$counter--;
continue;
}
else {$postdone[$post[postid]]=1;}
find:
code :
$postbits .= getpostbit($post);
}
add after :
code :
//if user chahce contain something, so don't show the signature
if (isset($sigcache["$post[userid]"])) {$post[signature] = "";}
finaly to obtain that:
code :
$counter=0;
while ($post=$DB_site->fetch_array($posts) and $counter++<$perpage) {
if ($postdone[$post[postid]]) {
$counter--;
continue;
}
else {$postdone[$post[postid]]=1;}
//if user chahce contain something, so don't show the signature
if (isset($sigcache["$post[userid]"])) {$post[signature] = "";}
$postbits .= getpostbit($post);
}
hu... :speechless:
please explain for my brain...and knowlege.... lol
thanx
DeeperImage
12-16-2002, 05:47 PM
I have 2.2.9 and tried this hack and didn't work.. Can someone tell me what i need to do to make it work with 2.2.9? thanks..
Link14716
02-05-2003, 09:59 PM
Beautiful. :)
* Link14716 installs. :)
X-Fan
03-22-2003, 06:44 AM
Working fine in 2.3.0!
themonarch
04-30-2003, 09:57 AM
I love this hack!
:Judge:
05-01-2003, 11:26 PM
is this good for 2.9?
Mr_Johnson
05-07-2003, 12:48 AM
2.2.9 works fine for me :D
nnjj.net
05-07-2003, 04:53 AM
installed :)
Pikok
07-24-2003, 03:39 AM
Would there be a way to do this with avatars as well (to only display once per page)?!?
Vb-Hispano
09-18-2003, 01:46 AM
2.3.2 works :D
legendarysk8er
09-19-2003, 08:19 PM
Brilliant, thanks a lot. Installed on vB 2.3.2.
/me clicks install.
MaDCaT75
09-25-2003, 06:45 AM
Good hack I will install later
Marzas
09-26-2003, 03:24 AM
great hack, took 2 seconds and now my threads show up twices as fast, great work! *installs
scudly
10-01-2003, 05:16 PM
Wow that was so easy and painless, yet totally awesome at the same time.
klaattu
10-02-2003, 10:31 PM
Super cool !!
"click" installs
Thanks.....
klaattu
10-02-2003, 11:18 PM
HELPPPPPP!!!!
I installed the hack on my 2.3.0 and by mistake erased my admin functions file !!!! I cannot upload it agai because the darn Vbulletin Site download as a file not able to be worked on on a MAC G5, so I just get garbled text.
Can someone e mail me the functions as TXt or PHP !!!
HElp my site is dead now !!!
my e mail is webmaster@auto-mania.com.mx
Yes I know I am an IDIOT
Also the Vbullein site only has a download for the newer version>>>AACKKCKK !!
Lothian
10-14-2003, 08:29 PM
Works perfectly for me (running 2.29)
klaattu
10-15-2003, 01:57 AM
I corrected the mistake and also to let you know Use BBedit with OS X with the mac because the file will be wrong if you edit it with another text editor....
great hack
FleaBag
10-30-2003, 02:24 PM
Sleek little addition greatly appreciated.
alan92rttt
10-31-2003, 12:03 AM
Is their a version of this for 3.0?
Silverstangs
12-11-2003, 12:50 PM
Worked Great with 2.3.3 installed in about 6 seconds. the line that needed to be replaced was at 343.
Silverstangs
12-11-2003, 02:15 PM
I ran into a issue, the hack seems to only show the images in the signature once per thread, not the signature itself did I miss something. I am running on vb2.3.3
chuckwk
01-30-2004, 11:31 PM
2.2.9 ... thanks!
basskiller
01-31-2004, 02:36 PM
so simple and yet makes the board look so very clean
Excellent hack
This hack was requested here by Pyschodone (https://vborg.vbsupport.ru/showthread.php?threadid=35606). It's really simple: a user's signature is now shown only once per thread page. If another one of their posts comes along, their signature won't be shown. Really simple; just one minor code change. Haven't tested it, but it ought to work just fine.
Can you adapt this for vB3.0 Gold as well?
I'd also like to see something to limit font sizes in the signature.
Thank you!
Boofo
04-11-2004, 04:45 PM
Can you adapt this for vB3.0 Gold as well?
I'd also like to see something to limit font sizes in the signature.
Thank you!
You can do this in vB3 with just a template edit now. ;)
You can do this in vB3 with just a template edit now. ;)
Hi Boofo,
I don't know the template system well enough but learning.
Can you point me in the correct direction?
Thanks
Boofo
04-11-2004, 07:12 PM
Kier released the code to do it on vb.vom. If you can't find it there, pm me and I will send it to you. ;)
alan92rttt
07-04-2004, 04:53 AM
vb.vom?
etaslim
11-19-2004, 02:59 PM
You can do this in vB3 with just a template edit now. ;)
hi, if possible i would like to know which template to edit pls. Thanks for sharing
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.