![]() |
Signature only appears once per thread page
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! |
well done
|
Installed, good stuff.
|
Thanks, was filling request: https://vborg.vbsupport.ru/showthread.php?t=60781
|
Use this on my vB2 site, good to see it's ready for when I move over. :D
|
This can be done with a simple line in the postbit template.
|
this can also be done with template conditional with no hacking.
edit: Boofo, stop repeating me! ;) |
Seeing that you would have to write an "if" statement and dig through the template menus, doing it this way is probably quicker :)
|
Quote:
although I'll admit.. my test server has the if statement setup as user selectable lol |
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 ;) |
Quote:
|
thank you very much..
do I have to update the posts so that this hack takes effect? |
>>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. |
Boofo
Share the line ;) |
PM me if you want it. I don't want to muddle up this gentleman's thread when he released a hack for this. ;)
|
thank, good taf ;)
|
I installed this rather than the template mod - much simpler in my opinion. :D
|
Quote:
|
Thanks, I installed it :)
|
Generation G has added this to our forums.
Thanks! |
Thanks I needed this.
|
so damn easy and very very handy!!
*clicks install ;) |
Doesn't work in RC4 (the requested line isn't in file showthread.php)
Bofo, what was the template level version? |
Quote:
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. :) |
Hey
What About VB 3.0.3 Mr. Boofo cuz there is some change :rolleyes: |
Quote:
|
When i Replace the code
text appears in Signature but without the pic's can you fix the code ? |
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 :( |
thanks, now my members will stop whining :)
|
After installing this, I got this message from my provider...
Quote:
anyone have a clue why this was happening? |
Awesome .. thanks
|
/me clicks install!
|
great mod
|
Quote:
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 |
Quote:
|
good work mate :D it worked :D
|
Is there anyway to have a signature only show up once per thread instead of once per page?
|
All times are GMT. The time now is 04:05 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|