Log in

View Full Version : To hide "last edited .." Phrase


adom7
05-24-2008, 03:23 PM
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.



<!-- 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
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.

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.



<!-- 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
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:

<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:

$array = array(1, 2, 3, 4, 5);

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
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
try setting Show edited by note on edited messages? to NO in usergroup manager and Rebuild Post Cache in Maintainance->Update CountersI 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
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/showthread.php?p=2015564#post2015564

mangmel
07-11-2011, 12:06 AM
no solve until now any one may help?

mangmel
07-15-2011, 09:44 AM
but still showing 3.8xx after selected "no"