Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-04-2005, 10:55 AM
Wisch Wisch is offline
 
Join Date: Apr 2005
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 10-05-2005, 10:39 PM
Wisch Wisch is offline
 
Join Date: Apr 2005
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any Ideas ?!?!
Reply With Quote
  #3  
Old 10-05-2005, 10:41 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That seems to be a difficult request, at least if you want to implement it efficiently
Reply With Quote
  #4  
Old 10-06-2005, 08:11 AM
Wisch Wisch is offline
 
Join Date: Apr 2005
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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???????
Reply With Quote
  #5  
Old 10-08-2005, 11:20 AM
Wisch Wisch is offline
 
Join Date: Apr 2005
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*sigh*
Reply With Quote
  #6  
Old 10-08-2005, 11:26 AM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #7  
Old 10-10-2005, 05:57 PM
Wisch Wisch is offline
 
Join Date: Apr 2005
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #8  
Old 10-10-2005, 09:38 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #9  
Old 10-11-2005, 04:38 AM
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Location: Buenos Aires
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #10  
Old 10-11-2005, 10:55 AM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that should work:

HTML Code:
<if condition="$post['signature'] AND $threadinfo['forumid'] != xx AND $threadinfo['forumid'] != yy AND $threadinfo['forumid'] != zz">
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:22 PM.


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.04831 seconds
  • Memory Usage 2,252KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete