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 05-24-2008, 03:23 PM
adom7's Avatar
adom7 adom7 is offline
 
Join Date: Aug 2007
Location: Turkiye / Antalya
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default To hide "last edited .." Phrase

Is there anyway to hide "Last edited by.. " phrase on forums ?

I checked it out all the admincp options but I can not find anything to cancel it.
I tried to disable it on usergroups options, but it still shows everyone last edited blabla..
Sometimes, like these phrases edited by site's staffs, makes our users irritate, to prevent this inconvenience and feel them secure what should I do or edit ?

Thanks for advance
Reply With Quote
  #2  
Old 05-24-2008, 03:31 PM
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Location: India
Posts: 1,416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

try setting Show edited by note on edited messages? to NO in usergroup manager and Rebuild Post Cache in Maintainance->Update Counters
Reply With Quote
  #3  
Old 05-24-2008, 03:38 PM
Andy Andy is offline
 
Join Date: Sep 2003
Location: San Francisco
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really wish vBulletin would have a master switch in the Admin CP to disable this often unwanted function.

Here is what you have to do to make sure users don't add edited by information when editing a post.

Open the editpost template and comment out the following code.

Code:
<!-- do not show next section edited by -->
<!--

		<div class="smallfont" style="margin-bottom:$stylevar[formspacer]px">
			<div>$vbphrase[reason_for_editing]:</div>
			<div><input type="text" class="bginput" name="reason" value="$newpost[reason]" size="50" maxlength="200" tabindex="1" title="$vbphrase[optional]" /></div>
		</div>

-->
Reply With Quote
  #4  
Old 05-24-2008, 03:57 PM
adom7's Avatar
adom7 adom7 is offline
 
Join Date: Aug 2007
Location: Turkiye / Antalya
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by veenuisthebest View Post
try setting Show edited by note on edited messages? to NO in usergroup manager and Rebuild Post Cache in Maintainance->Update Counters
Thank you for your post.
while I was trying to rebuild post cache, it showed 500 Internal Server Error- The server has encountered an internal error or misconfiguration and was unable to complete your request.

Quote:
Originally Posted by Andy View Post
I really wish vBulletin would have a master switch in the Admin CP to disable this often unwanted function.

Here is what you have to do to make sure users don't add edited by information when editing a post.

Open the editpost template and comment out the following code.

Code:
<!-- do not show next section edited by -->
<!--

		<div class="smallfont" style="margin-bottom:$stylevar[formspacer]px">
			<div>$vbphrase[reason_for_editing]:</div>
			<div><input type="text" class="bginput" name="reason" value="$newpost[reason]" size="50" maxlength="200" tabindex="1" title="$vbphrase[optional]" /></div>
		</div>

-->
Andy thank you,
Actually all I want, to prevent site staffs' edited phrases. If users edit their messages, they should see the notes. But if a site staff edits their message, users must not see there.

Thank you for your comments,
still waiting
Reply With Quote
  #5  
Old 05-24-2008, 06:41 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by adom7 View Post
Thank you for your post.
while I was trying to rebuild post cache, it showed 500 Internal Server Error- The server has encountered an internal error or misconfiguration and was unable to complete your request.



Andy thank you,
Actually all I want, to prevent site staffs' edited phrases. If users edit their messages, they should see the notes. But if a site staff edits their message, users must not see there.

Thank you for your comments,
still waiting
You would want to use in <if> conditional. Something like this:

HTML Code:
<if condition="!in_array($post[lasteditedby], $array)"> show last edited by </if>
Now, I am not sure about the lasteditedby and you would need to specify an array. If you add a hook into global_start you can have a php plugin like this:

PHP Code:
$array = array(12345); 
Of couse, use something more obscure than $array and replace 1, 2, 3, 4, 5 with your staff user IDs.
Reply With Quote
  #6  
Old 05-24-2008, 08:56 PM
adom7's Avatar
adom7 adom7 is offline
 
Join Date: Aug 2007
Location: Turkiye / Antalya
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you King Kovifor,

I do not know where I need to add if conditional. The path is not clear I am not good at playing with like these codes. Anyway, Thanks for all :up:
Reply With Quote
  #7  
Old 05-24-2008, 09:02 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by adom7 View Post
Thank you King Kovifor,

I do not know where I need to add if conditional. The path is not clear I am not good at playing with like these codes. Anyway, Thanks for all :up:
The if conditional would be placed within either the postbit_legacy or postbit templates. Somewhere towards the end of the message where they have the Last Edit By Line.
Reply With Quote
  #8  
Old 02-12-2009, 07:23 AM
CFN-1 CFN-1 is offline
 
Join Date: Nov 2008
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by veenuisthebest View Post
try setting Show edited by note on edited messages? to NO in usergroup manager and Rebuild Post Cache in Maintainance->Update Counters
I tried this in 3.7.4 and after rebuilding my post cache, the edit comments are still there.

It worked for not showing new edits, but all the old ones still show.

Should I try something different?
Reply With Quote
  #9  
Old 04-04-2010, 12:25 PM
Charles_1 Charles_1 is offline
 
Join Date: Jun 2006
Location: Czech Republic, Brno
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CFN-1 View Post
I tried this in 3.7.4 and after rebuilding my post cache, the edit comments are still there.

It worked for not showing new edits, but all the old ones still show.

Should I try something different?
I am interesting in this too, becouse as I can see, there is no way to get rid of this in posts which already exists (I am not talking about new posts or about not showing this info for some usergroups in global).

There should be some option to delete this on specific older posts, not only to choose if you want to display it or not from now on :-(.

Another thread about this issue:
https://vborg.vbsupport.ru/showthrea...64#post2015564
Reply With Quote
  #10  
Old 07-11-2011, 12:06 AM
mangmel mangmel is offline
 
Join Date: Nov 2010
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no solve until now any one may help?
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 09:58 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.07445 seconds
  • Memory Usage 2,263KB
  • 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
  • (2)bbcode_code
  • (1)bbcode_html
  • (1)bbcode_php
  • (6)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