vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Hide "Edit By ..." Note For Admins (https://vborg.vbsupport.ru/showthread.php?t=97666)

tnguy3n 10-04-2005 10:00 PM

Hide "Edit By ..." Note For Admins
 
Hide "Edit By ... " For Admin(s)
Author: tnguy3n
Site: http://www.vbviet.org
Another simple template mod to hide "Edit By ..." note for superadmin or admin group. No file hack required, just add one simple conditional to your postbit template to do the trick.

Open postbit(_legacy),

FIND:
HTML Code:

                <if condition="$show['postedited']">
REPLACE WITH:
HTML Code:

                <if condition="$show['postedited'] AND ($post[userid] != 1)">
<!-- That's it! -->


If you want to hide "Edit By ..." note for the whole group, replace ($post[userid] != 1) with
!is_member_of($post[usergroupid],6)
where 6 is groupid which you want to hide editby notes, and you should adjust it to your own.

Boofo 10-05-2005 10:00 PM

There isn't a setting for this in vBulletin anymore?

tnguy3n 10-05-2005 10:02 PM

Is it one of vbulletin setting options?

Boofo 10-05-2005 10:04 PM

It used to be, I thought. I haven't really looked at 3.5 that deep.

Andreas 10-05-2005 10:34 PM

It is.
Usergroup Manager / General Permissions / Show edited by note on edited messages?

tnguy3n 10-05-2005 10:57 PM

Darn, i didn't see that option when I last checked vBulletin Settings Options.

Well, i guess this mod is still useful if someone want to limit hiding "Edit By ... " note to one individual, say super-admin. :glasses:

Jenta 10-05-2005 11:13 PM

sometimes even when you turn off show edited by you want to put a reason that will show why you modified a post
this will break that ability

ex: last edited by Administrator Reason: removed warez link - dont post it again!!!!

Boofo 10-05-2005 11:15 PM

Quote:

Originally Posted by KirbyDE
It is.
Usergroup Manager / General Permissions / Show edited by note on edited messages?

I knew it had to still be there. Thanks Kirby. ;)

Cryo 10-16-2005 05:47 PM

Quote:

Well, i guess this mod is still useful if someone want to limit hiding "Edit By ... " note to one individual, say super-admin
You can set who triggers an "edited by" message per group. So you could hide it for super admins, but still allow it to show for all others. Like someone mentioned above, this also breaks the ability to add an edit reason.

ayaam 11-26-2005 09:52 PM

thanks ,, smart


All times are GMT. The time now is 06:16 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.01143 seconds
  • Memory Usage 1,729KB
  • 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_html_printable
  • (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