View Full Version : Signature only appears once per thread page
vbmechanic
01-25-2004, 10:00 PM
Goal: Make the user's signature appear only once per page
Result: Simple as can be, 1 line replacement in includes/function_showthread.php
Cheers!
zajako
01-26-2004, 07:58 PM
well done
nemesis01
01-26-2004, 07:59 PM
Installed, good stuff.
vbmechanic
01-26-2004, 08:01 PM
Thanks, was filling request: https://vborg.vbsupport.ru/showthread.php?t=60781
FleaBag
01-26-2004, 11:14 PM
Use this on my vB2 site, good to see it's ready for when I move over. :D
Boofo
01-27-2004, 12:07 AM
This can be done with a simple line in the postbit template.
Sebastian
01-27-2004, 12:08 AM
this can also be done with template conditional with no hacking.
edit: Boofo, stop repeating me! ;)
vbmechanic
01-27-2004, 12:36 AM
Seeing that you would have to write an "if" statement and dig through the template menus, doing it this way is probably quicker :)
Vigile
01-27-2004, 01:32 AM
Seeing that you would have to write an "if" statement and dig through the template menus, doing it this way is probably quicker :)
honestly, i think the 'if' is easier, since a vb.com dev posted it some time ago. But hey.. gotta love hacks :)
although I'll admit.. my test server has the if statement setup as user selectable lol
vbmechanic
01-27-2004, 01:55 AM
Well, to me, using the template <if> conditionals is blurring the line between application and presentation layer.. it is meant as a quick fix if you're not able to modify the code. When both solutions are short and easy, I'll choose the code modification rather than putting more code in the presentation HTML. I do appreciate the functionality the conditionals give and I do use them when appropriate.
To each his/her own though ;)
Boofo
01-27-2004, 02:24 AM
Well, to me, using the template <if> conditionals is blurring the line between application and presentation layer.. it is meant as a quick fix if you're not able to modify the code. When both solutions are short and easy, I'll choose the code modification rather than putting more code in the presentation HTML. I do appreciate the functionality the conditionals give and I do use them when appropriate.
To each his/her own though ;)
But it is always easier in the templates when upgrading. Templates don't get changed as often as files do.
FastAttack
01-27-2004, 03:23 AM
thank you very much..
do I have to update the posts so that this hack takes effect?
vbmechanic
01-27-2004, 10:23 AM
>>But it is always easier in the templates when upgrading. Templates don't get changed as often as files do.
Ahh good point, but I do compare-and-replace upgrades anyway.
>>do I have to update the posts so that this hack takes effect?
You should not have to.. the hack works by changing postbit, which is built dynamically each time someone accesses the thread.
gmarik
02-01-2004, 05:45 PM
Boofo
Share the line ;)
Boofo
02-01-2004, 05:47 PM
PM me if you want it. I don't want to muddle up this gentleman's thread when he released a hack for this. ;)
Allan
02-19-2004, 05:47 PM
thank, good taf ;)
FleaBag
02-22-2004, 03:10 AM
I installed this rather than the template mod - much simpler in my opinion. :D
Boofo
02-22-2004, 03:20 AM
I installed this rather than the template mod - much simpler in my opinion. :D
How can downlading a file, editing it, and re-uploading that file be simpler than a template edit? Especially on an upgrade. ;)
Thanks, I installed it :)
Glacierhawk
05-23-2004, 03:03 AM
Generation G has added this to our forums.
Thanks!
Flow Fusion
06-05-2004, 12:36 PM
Thanks I needed this.
turbidblue
07-06-2004, 09:38 PM
so damn easy and very very handy!!
*clicks install
;)
Michael Morris
07-07-2004, 08:23 PM
Doesn't work in RC4 (the requested line isn't in file showthread.php)
Bofo, what was the template level version?
Boofo
07-07-2004, 08:26 PM
Doesn't work in RC4 (the requested line isn't in file showthread.php)
Bofo, what was the template level version?
Who is "Bofo"? ;)
Contact me PM and I will get it to you.
Y'know, it's these little but elegant hacks that make vb.org's community such a delight. Many many thanks -- my community members sometimes reply many, many times in a thread and ALWAYS keep their sigs on! Very annoying. But thanks to this hack, it's nice and clean.
Great stuff, thanks. :)
W4arab
07-21-2004, 04:11 AM
Hey
What About VB 3.0.3 Mr. Boofo
cuz there is some change :rolleyes:
Boofo
07-21-2004, 05:29 AM
Hey
What About VB 3.0.3 Mr. Boofo
cuz there is some change :rolleyes:
Well, what about it? What changes would affect that? :rolleyes:
W4arab
07-21-2004, 06:04 AM
When i Replace the code
text appears in Signature but without the pic's
can you fix the code ?
W4arab
07-21-2004, 06:55 AM
Boofo
sorry man the problem was in my editor cuz i edit the file with "FrontPage"
when i make it with "Notepad" it's work sorry :(
oldfan
08-12-2004, 02:34 PM
thanks, now my members will stop whining :)
oldfan
08-19-2004, 01:19 PM
After installing this, I got this message from my provider...
Your privvmpages value (as can be seen by using the command: cat
/proc/user_beancounters) is currently at 322983515, There is a soft limit at
, 125000 ,so it is being stopped from exceeding that.
Normal usage should be around 70,000 to 80,000 - so your current usage is
multiple times that.
This suggests that there is a memory leak somewhere in a script or aplication
on your server; do you have custom scripts installed?
the mod was removed and everything is back to normal.
anyone have a clue why this was happening?
Lord Les
08-23-2004, 11:24 PM
Awesome .. thanks
y2krazy
08-30-2004, 12:48 AM
/me clicks install!
boiboi
01-31-2005, 05:25 AM
great mod
catocom2
01-31-2005, 03:46 PM
Who is "Bofo"? ;)
Contact me PM and I will get it to you.
Have you posted this anywhere yet? :nervous:
and
is there and easy way to make it a checkbox user option?
Pardon me if I missed it, but how do you install this type of hack, yet allow it to "exclude" certain groups from having their signatures limited, i.e. Vendors?
Thanks in advance!
Regards,
James
Pardon me if I missed it, but how do you install this type of hack, yet allow it to "exclude" certain groups from having their signatures limited, i.e. Vendors?
Thanks in advance!
Regards,
James
Flow Fusion
05-09-2005, 04:38 AM
Pardon me if I missed it, but how do you install this type of hack, yet allow it to "exclude" certain groups from having their signatures limited, i.e. Vendors?
Thanks in advance!
Regards,
James
You can't with this kind of hack. But you can make it so new users can't have sigs avatars Pm's etc, and make a new user group who can have these abilities by making about 10 post. just create a new post promotion.
secret1980
05-11-2005, 06:08 PM
good work mate :D it worked :D
novelidea
06-07-2005, 12:19 AM
Is there anyway to have a signature only show up once per thread instead of once per page?
soniceffect
06-16-2005, 04:02 PM
Nice ikkle addition m8 ... A few of these about, but it works :) thats all that matters
asianboi
06-17-2005, 06:43 PM
works with 3.07 too lovely!
mikehawk
07-17-2005, 11:41 PM
Great hack. Works great for purpose of my own forum needs.
/me installed this hack.
Gutspiller
07-31-2005, 05:06 AM
FYI This doesn't work at all in 3.0.7 when using the quick reply.
FleaBag
07-31-2005, 11:05 AM
It worked for me in 3.0.7 when I was running it...
dodgez
08-03-2005, 04:44 PM
anything for 3.5?
Nice Hack..
I would love to see this as a plugin...
I hate doing file edits. Still have one board running vB3.0.6 Patches to 3.0.8 manually just to keep the Arcades...lol.
m0nde
08-09-2005, 07:16 AM
This saves me bandwidth.
I heart this...
- Sid
dodgez
08-16-2005, 06:02 PM
This saves me bandwidth.
I heart this...
- Sid
no it doesn't
dodgez
08-16-2005, 06:02 PM
Does this work for 3.5?
doesn't work for me
o1dirtydog
08-16-2005, 08:26 PM
great little edit... thank you for this! took 10 seconds and I love the effects already!
hotwheels
08-30-2005, 09:31 AM
i just installed in 3.07, awesome little hack.....thanks
mod2000
09-10-2005, 09:44 AM
3.0.8 - No prob! thx
PJSkiboy
09-29-2005, 10:46 AM
great find. thanks.
EricaJoy
09-29-2005, 10:53 AM
nice!
/me clicks install
WhatChaMissin
12-01-2005, 12:12 PM
Has this been ported for 3.5.1.?
Malke
12-27-2005, 06:59 PM
Thanks.
packetattack
08-31-2006, 12:30 AM
Anyone know if this can be done in version 3.6?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.