Announcement

Collapse
No announcement yet.

cant remove "last edited by"

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • cant remove "last edited by"

    I cant remove the "last edited by" information no matter what I try.

    So far i've tried :

    #1 disabling 'Show edited by' from all usergroups

    #2 Removing the code from Postbit

    #3 Rebuilding the Post Cache counter.

    it still shows.....

    I've seen many other threads requesting the same information on how to remove this...with no single fix.

    do I need to delete my entire database just to remove this information ? jesus christ...

  • #2
    There is an option in the Admin CP: ACP -> Usergroups -> Usergroup Manager -> Edit Usergroup -> Show edited by note on edited messages?

    Changing that setting is not retroactive and will not remove this from earlier posts. To remove it completely, you would have to remove the code from the postbit/postbit_legacy template.
    Code:
    		<if condition="$show['postedited']">
    		<!-- edit note -->
    			<div class="smallfont">
    				<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
    				<em>
    					<if condition="$show['postedithistory']">
    						<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>
    					<else />
    						<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>
    					</if>
    					<if condition="$post['edit_reason']">
    						$vbphrase[reason]: $post[edit_reason]
    					</if>
    				</em>
    			</div>
    		<!-- / edit note -->
    		</if>

    Comment


    • #3
      Wouldn't it be nice if there was a master off switch for Last Edit By function?

      Comment


      • #4
        Untested but placing the following in a plugin using the postbit_display_complete hook might be a way to have a master switch:
        Code:
        $show['postedited'] = false;

        Comment


        • #5
          The editpost template is the one that I modify so that when a member edits a message, the field which asks for why the post is being edited is removed.

          I remove the following code.

          Code:
          		<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>
          The best solution would be to have a master switch in the Admon CP so we could easily turn off this function easily.

          Comment


          • #6
            I've hit this problem too, will knock up a quick mod that will add a show/disable option, also possibly a show edited by only to admin staff. This will take me a little while due to work commitments but will get something sorted ASAP as I need this to get a thread public!

            Comment


            • #7
              Originally posted by JasonWilliams View Post
              I've hit this problem too, will knock up a quick mod that will add a show/disable option, also possibly a show edited by only to admin staff. This will take me a little while due to work commitments but will get something sorted ASAP as I need this to get a thread public!
              Any news with that mod ? Can we help ? Sorry if i seem too rushed... but it would be really nice to have an option to enable/disable "Last edited by".

              Comment


              • #8
                Anyone know how to remove this "Last Edited By" via the database?

                Doug

                Comment


                • #9
                  Nevermind, I found it.

                  vb3_editlog

                  Doug
                  Last edited by Removed-1078464; Sat 18 Jul '09, 11:42am.

                  Comment


                  • #10
                    If I understand right, you want members to edit their posts, but not see the Last Edited by?

                    I'll create a plugin for this that will allow Admins to see this info, but no one else. As plugins are not allowed here, I'll also post the steps to turn the code into a plugin as well (I'd just upload the plugin, but that is against site rules, adding how to turn the code into a plugin isn't though, ).

                    Comment


                    • #11
                      Here is the plugin to hide Last Edited by info from all usergroups except admins:

                      To create the plugin:

                      1. Plugins & Products -> Plugin manager -> Add New Plugin

                      2. For the Hook Location select postbit_display_complete

                      3. For the Title: Do Not Show Last edited by

                      4. Leave the Execution Order as defaulted

                      5. Plugin PHP Code: paste the following code in

                      Code:
                       
                      if ($this->registry->userinfo['usergroupid'] <> '6')
                      {
                      $show['postedited'] = false;
                      }
                      else
                      {
                       // show to admins only if post was edited
                       if ($this->post['edit_userid'])
                       {
                       $show['postedited'] = true;
                       }
                      }
                      6. Plugin is Active: Yes

                      I did limited testing of the above and it worked on my forum. If you try it just post here if it worked as designed.
                      Last edited by DoE; Fri 1 May '09, 2:19pm.

                      Comment


                      • #12
                        Thanks Doe!


                        This works great for me!


                        Also it's nice to get a step by step guide on how to do install it,

                        they seem to be rare around here!
                        www.byronbayforum.com.au

                        Comment


                        • #13
                          Thanks Doe! It really helped! Now, how can i modify it so it only shows for admins and moderators? can i just enter '7' next to '6' ?

                          Comment


                          • #14
                            Originally posted by DoE View Post
                            Here is the plugin to hide Last Edited by info from all usergroups except admins:

                            To create the plugin:

                            1. Plugins & Products -> Plugin manager -> Add New Plugin

                            2. For the Hook Location select postbit_display_complete

                            3. For the Title: Do Not Show Last edited by

                            4. Leave the Execution Order as defaulted

                            5. Plugin PHP Code: paste the following code in

                            Code:
                             
                            if ($this->registry->userinfo['usergroupid'] <> '6')
                            {
                            $show['postedited'] = false;
                            }
                            else
                            {
                             // show to admins only if post was edited
                             if ($this->post['edit_userid'])
                             {
                             $show['postedited'] = true;
                             }
                            }
                            6. Plugin is Active: Yes

                            I did limited testing of the above and it worked on my forum. If you try it just post here if it worked as designed.
                            It works greats and perfect, thx DoE, my vBulletin version is 4.1.3 Patch Level 3.

                            Comment


                            • #15
                              This plugin worked pretty nicely for me as well - 4.1.5 Patch Level 3. It would be nice if there was a way to remove this verbiage on a post by post basis, however...
                              My vBulletin Forums:
                              cadillac, buick, pontiac, oldsmobile, automotive, freestyle, 80s, lexus, bmw, mercedes, audi, toyota, honda, acura, nissan, infiniti, hyundai genesis, chevy

                              ...can't fit any more...

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...
                              X