vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   To hide "last edited .." Phrase (https://vborg.vbsupport.ru/showthread.php?t=180375)

adom7 05-24-2008 03:23 PM

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

veenuisthebest 05-24-2008 03:31 PM

try setting Show edited by note on edited messages? to NO in usergroup manager and Rebuild Post Cache in Maintainance->Update Counters

Andy 05-24-2008 03:38 PM

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>

-->


adom7 05-24-2008 03:57 PM

Quote:

Originally Posted by veenuisthebest (Post 1530114)
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 (Post 1530120)
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 :o

King Kovifor 05-24-2008 06:41 PM

Quote:

Originally Posted by adom7 (Post 1530148)
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 :o

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.

adom7 05-24-2008 08:56 PM

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:

King Kovifor 05-24-2008 09:02 PM

Quote:

Originally Posted by adom7 (Post 1530397)
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.

CFN-1 02-12-2009 07:23 AM

Quote:

Originally Posted by veenuisthebest (Post 1530114)
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?

Charles_1 04-04-2010 12:25 PM

Quote:

Originally Posted by CFN-1 (Post 1741596)
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

mangmel 07-11-2011 12:06 AM

no solve until now any one may help?


All times are GMT. The time now is 06:25 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.01066 seconds
  • Memory Usage 1,750KB
  • 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_code_printable
  • (1)bbcode_html_printable
  • (1)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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