Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Hide "Edit By ..." Note For Admins Details »»
Hide "Edit By ..." Note For Admins
Version: 1.00, by tnguy3n tnguy3n is offline
Developer Last Online: Sep 2010 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 10-04-2005 Last Update: Never Installs: 24
 
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 01-21-2006, 02:03 PM
Mudvayne's Avatar
Mudvayne Mudvayne is offline
 
Join Date: Dec 2005
Location: /dev/null/
Posts: 393
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I almost installed it ! A good thing that i read the whole one :P .. . Thanks Anyway !
Reply With Quote
  #13  
Old 04-12-2006, 08:55 PM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This did not work for me. I applied to postbit and postbit legacy, still shows my edit (I edited a post to test, after applying)

I also enabled in usergroup managed (after I edited the post). Any way I can remove it on one particular post at least?
Reply With Quote
  #14  
Old 04-16-2006, 02:33 AM
MysticMoon's Avatar
MysticMoon MysticMoon is offline
 
Join Date: Aug 2004
Location: Michigan, USA
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you
I did the "Usergroup Manager / General Permissions / Show edited by note" way & it would still show when I edited a message.

Now thanks to you it's finally gone
Reply With Quote
  #15  
Old 05-06-2006, 01:07 AM
Stifmeister2 Stifmeister2 is offline
 
Join Date: Feb 2006
Location: Finland
Posts: 755
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't get it to work..

I did the template edit but it still displays "Edited by...". I have 3.5.2.
Reply With Quote
  #16  
Old 05-10-2006, 08:05 AM
babile babile is offline
 
Join Date: Apr 2006
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

good..!
i think when you set this option by user id...will be more usefull

thank you tnguy3n
Reply With Quote
  #17  
Old 05-10-2006, 10:18 AM
trinigamers trinigamers is offline
 
Join Date: Mar 2006
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks!
Reply With Quote
  #18  
Old 05-16-2006, 04:28 AM
J-TEK J-TEK is offline
 
Join Date: May 2004
Location: FL
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The "1" in
Code:
($post[userid] != 1)
is the userid for the admin right? Just making sure before I mess something up, lol.
Reply With Quote
  #19  
Old 05-19-2006, 07:02 PM
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Location: Valley Forge PA
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is not working on my site either as posted above.... As others have said, the "Edited By" still shows up in the posts....?

I ended up using the following conditional instead....

Code:
		<if condition="$show['postedited'] AND ($post[edit_username] != 'Quarterbore')">
It looks to me like in 3.5.2. that the $post[userid] does not work? I did not check the database to see if there is a field for userid in 3.5.2

Also, someone above asked about the userid... The userid is the member ID that you don't want to show up... UserID #1 is usually your SuperAdmin account (if you didn't change that)...

EDIT 2:

Perhaps I didn't understand... I want this so I can edit OTHER PEOPLE'S ads when necessary without them knowing that I did it as the Super Admin... Perhaps the $post[userid] only means that edits do not show up in teh superadmin's posts (regardless of who did them) ... If so, I don't like that idea!
Reply With Quote
  #20  
Old 05-20-2006, 12:32 AM
Ntfu2 Ntfu2 is offline
 
Join Date: Feb 2006
Posts: 1,247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE=J-TEK]The "1" in
Code:
($post[userid] != 1)
is the userid for the admin right? Just making sure before I mess something up, lol.[/QUOTE

Assuming that the admin is the first account signed up on the board.

Like, my userid is 7, if you change that to usergroup(6 by default) instead of userid, it'll include all admins
Reply With Quote
  #21  
Old 05-26-2006, 04:09 AM
mof9336 mof9336 is offline
 
Join Date: May 2006
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hell yea it works thx
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 07:25 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04979 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
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
  • (3)bbcode_code
  • (2)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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