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


All times are GMT. The time now is 10:26 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.01116 seconds
  • Memory Usage 1,734KB
  • 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
  • (4)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete