Log in

View Full Version : Disabling Signatures in a particular THREAD


Wisch
10-04-2005, 10:55 AM
I've looked everywhere. Chances are something like this hasn't been made... I may be wrong. It would be really useful if someone could.

I am basically looking to have it so when an author makes a thread, he or she can check a button that says "Disable signatures IN THIS THREAD" instead of just (or in addition to) the one already there that says "Disable signature", which only takes it away from that individual post the author made.

This would make it so that all future relpies to that thread would not be able to have a signature. Similar to the smilies thing that disables smilies throughout the entire thread I think.

If anyone could help me that would be great.

for 3.0.x that is

Regards,
Theo

Wisch
10-05-2005, 10:39 PM
Any Ideas ?!?!

Andreas
10-05-2005, 10:41 PM
That seems to be a difficult request, at least if you want to implement it efficiently

Wisch
10-06-2005, 08:11 AM
well kirby... all im asking for is something that will disable the signature function throughout the entire thread. OR at least that function which only the admin can use when making a thead or editing one, etc.

ideas???????

Wisch
10-08-2005, 11:20 AM
*sigh*

Xenon
10-08-2005, 11:26 AM
well the quick and dirty way for admin would be to add a template condition into the postbit template

[html]<if condition="$post[threadid] != bla">signature html here</if>[html]

as said, admin only and a very dirty way, but it will work

Wisch
10-10-2005, 05:57 PM
well the quick and dirty way for admin would be to add a template condition into the postbit template

[html]<if condition="$post[threadid] != bla">signature html here</if>[html]

as said, admin only and a very dirty way, but it will work

Xenon, will you please elaborate.. I'm kind of an intermediate admin-hacker... so just go into a bit more detail as to how I'd be able to do this and I'd be most appreciative.

Vielen Dank!

Xenon
10-10-2005, 09:38 PM
well in you postbit template you have a condition:

<if condition="$post['signature']">

just change it to:
<if condition="$post['signature'] AND $post['threadid'] != xx">
and replace the xx with the threadid where no sig should be shown

COBRAws
10-11-2005, 04:38 AM
how about for particular Forums?


<if condition="$post['signature'] AND $forum['forumid'] != xx">
now lets say i want to make it for 3 forums i have. how?

please correct my barbarian vB knowledge :P

Xenon
10-11-2005, 10:55 AM
that should work:

<if condition="$post['signature'] AND $threadinfo['forumid'] != xx AND $threadinfo['forumid'] != yy AND $threadinfo['forumid'] != zz">

Wisch
10-11-2005, 03:46 PM
ok xenon, thanks a lot for the help

Could you please also correct/alter this thought I had after I saw your reply:

Suppose you were to put a small checkbox in the 'other options' part when making a thread for an admin, so that when checked, it would automatically place that thread ID # into that =xx place you just mentioned.... would this be possible??

Many thanks

Xenon
10-11-2005, 03:49 PM
nope, that won't work

or better said yes it is of course possible, but not really a good way to code it, then adding a new threadoption, and doing it completly in the code would be better.

Wisch
10-11-2005, 03:54 PM
nope, that won't work

or better said yes it is of course possible, but not really a good way to code it, then adding a new threadoption, and doing it completly in the code would be better.

Alright..

This will help on a few 1,000+ replies spamthreads I have which need to be de-signatured, so thanks for that...

I was just hoping that since when you make a thread there is a "Disable similies in this thread" option you could just as easily make a "Disable signatures in this thread" option as well. Apparently its not that easy..


thanks for your time! Bis Bald

COBRAws
10-11-2005, 04:03 PM
That option on Thread Tools dropdown would be sweet.

Thank you Xenon for the help, really. I've been asking for this for quite a long time.

Wisch
10-11-2005, 04:26 PM
yeah COBRAws... I searched for like ... weeks for this all over the freaking place. And so many people want it / would use it it's not even funny. Too bad there's not someone out there who can work on it and make it.

Good luck in whatever you're trying to accomplish with it... at least we are one step ahead

COBRAws
10-11-2005, 04:50 PM
uhmmm for some reason, signatures on the forums I specified are still showing.

I user 3.5.0 and did this on postbit template:

<if condition="$post['signature'] AND $threadinfo['forumid'] != 32">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>

Eikinskjaldi
08-20-2006, 12:24 AM
https://vborg.vbsupport.ru/showthread.php?t=124095

Enjoy :)