vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Disabling Signatures in a particular THREAD (https://vborg.vbsupport.ru/showthread.php?t=97528)

Wisch 10-04-2005 10:55 AM

Disabling Signatures in a particular THREAD
 
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

Quote:

Originally Posted by Xenon
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:

HTML Code:

<if condition="$post['signature']">
just change it to:
HTML Code:

<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?


HTML Code:

<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:

HTML Code:

<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

Quote:

Originally Posted by Xenon
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:

HTML Code:

<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 :)


All times are GMT. The time now is 05:44 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
  • Page Generation 0.01254 seconds
  • Memory Usage 1,753KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (17)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete