The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
how can I have it either
1- not show edited by for moderators like is currently setup for admins or 2- have it says "edited by the moderator" instead of their username when they edit threads? |
|
#2
|
|||
|
|||
|
Couldn't you set it up so it doesn't show edited by - at all - ?
|
|
#3
|
||||
|
||||
|
Yes, I really wish this was an option as well..
I really don't want to have it show edited by for moderators, like it doesn't for me (the admin). Would be great as another option in a future release.
|
|
#4
|
|||
|
|||
|
Find template - postbit_editedby
And remove it's contents. |
|
#5
|
||||
|
||||
|
[QUOTE]Originally posted by Mark Hewitt
Find template - postbit_editedby And remove it's contents. |
|
#6
|
||||
|
||||
|
I just checked, and by the code that is in editpost.php, it shouldn't appear for mods:
Code:
if ($showeditedby and $postinfo[dateline]<(time()-($noeditedbytime*60)) and !($getperms[ismoderator] and !$showeditedbyadmin)) {
$editedbysql=",edituserid='$bbuserinfo[userid]',editdate='".time()."'";
}
|
|
#7
|
|||
|
|||
|
Quote:
|
|
#8
|
||||
|
||||
|
OK. I have put in those post how to do it both ways you requested. You can pick which one you want.
![]() Quote:
PHP Code:
PHP Code:
Quote:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Code:
<smallfont><i>edited by the moderator on $post[editdate] at $post[edittime]</i></smallfont> If you hit 1,000,000 users, this second way will break but in that case just bump the 1000000 to 10000000 in both places it appears. |
|
#9
|
||||
|
||||
|
Kevin (happy 5000th post
), can you explain why it didn't work in the first place?Looking at the code, it should. Right?
|
|
#10
|
||||
|
||||
|
It should but for some reason it doesn't, which I don't understand...
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|