vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Moderators Functions - hide quick reply for mods & admins (https://vborg.vbsupport.ru/showthread.php?t=148221)

ragtek 05-26-2007 10:00 PM

hide quick reply for mods & admins
 
Heres a hack i made for someone.
He had the problem that his mods doesn't have seen that a thread is closed and have written the comments.
then the "normal" registered user have gripe(i hope this is the right word) "why the mods and admins can carry on spamming in the thread...


so the idee was=> if the thread is closed=> hide the qick reply box
so it easier to see that the thread is closed

Update:
Added a Productfile

for german support you can ask here http://www.my-vb.de/board/hacks-addo...sen-wurde.html

Update:
1.1 => Code modified
Now the Quick Reply will not been loaded, in 1.0 the Box was loaded and then hidden
now it wount be loaded=> better performance

bashy 05-27-2007 09:01 AM

Hi

I take it we create a new plugin?

Yep that was it, works well, thank you!!

djbaxter 05-27-2007 12:40 PM

Quote:

Originally Posted by bashy (Post 1255417)
I take it we create a new plugin?

Yep that was it, works well, thank you!!

To clarify, I would just create a new plugin called whatever I like, add in the code in the original post, and attach it to showthread_complete ... correct?

ragtek 05-27-2007 01:03 PM

yes

ragtek 05-27-2007 01:07 PM

I added the Productfile to the 1. Post.
Just import it.

aj8690 05-27-2007 01:07 PM

Thanks. Good idea.

redlabour 05-27-2007 03:44 PM

So what does it does?

It hides the Quickreply only at closed Threads (what i prefer) or generally for Mods and Admins?

ragtek 05-27-2007 03:47 PM

normal users don't see quick reply in closed threads
but admins and mods see it
so they often don't look exactly and write a answer
so this hack hides the quick reply for mods and admins

gforce75 05-28-2007 01:01 AM

Hmm, not to bad of an idea. It probably just depends on the forum your using.

redlabour 05-30-2007 01:13 PM

Quote:

Originally Posted by ragtek (Post 1255585)
normal users don't see quick reply in closed threads
but admins and mods see it
so they often don't look exactly and write a answer
so this hack hides the quick reply for mods and admins

You still did not answer my Question - generally or only at closed Threads?


All times are GMT. The time now is 11:53 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.01002 seconds
  • Memory Usage 1,728KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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