Author |
Topic  |
|
Jorrit787
Average Member
  
Netherlands
681 Posts |
Posted - 11 February 2005 : 11:49:00
|
On our forum we only have 2 administrators and no moderators, so I would like to give the admins the option of checking a box (for example under the lock/unlock topic checkbox) that would allow them to include the 'edited by - admin on ###' so that members can be informed of when their posts were edited if the admin deems it necessary. I know it has to go somewhere in post.asp and post_info.asp but I'm not sure where...  |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 11 February 2005 : 15:05:12
|
You could get the "normal" Edited By message even for admins, if you just changed two lines in post_info.asp (line#364 and line#549). Where you now have
if mLev < 4 and strEditedByDate = "1" then
change it to
if strEditedByDate = "1" then
Try it and let me know if it works.
|
Snitz 3.4 Readme | Like the support? Support Snitz too |
 |
|
Jorrit787
Average Member
  
Netherlands
681 Posts |
Posted - 11 February 2005 : 15:12:10
|
I know that would work, but I want to give admins the option of adding it or not. Another thing is that I would want it to show it was edited by the Admin account. Do you think this would work:
if strEditedByDate = "1" then
if mLev < 4 Then
strSql = strSql & ", R_LAST_EDIT = '" & DateToStr(strForumTimeAdjust) & "'"
strSql = strSql & ", R_LAST_EDITBY = " & MemberID
else
strSql = strSql & ", R_LAST_EDIT = '" & DateToStr(strForumTimeAdjust) & "'"
strSql = strSql & ", R_LAST_EDITBY = " & IntAdminMemberID
end if
end if EDIT: Apparently not... The phrase is not showing up  |
Edited by - Jorrit787 on 11 February 2005 15:20:00 |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
Jorrit787
Average Member
  
Netherlands
681 Posts |
Posted - 11 February 2005 : 22:14:00
|
quote: Originally posted by ruirib
If you just apply the change I recommended, it will add the standard "Edited by username". I tested it in my 3.4.05 test base version and it worked as expected.
That would put the admin's own username under it though... I want it to show the Admin account's name (or just 'admin') so that the admin in question has some animosity. |
 |
|
Jorrit787
Average Member
  
Netherlands
681 Posts |
Posted - 13 February 2005 : 12:45:19
|
I tried the lines of code I suggested earlier, and this time it worked. Turns out I didn't catch the 2nd instance of where I had to edit it  |
 |
|
HiRez_L
Starting Member
USA
23 Posts |
Posted - 28 March 2005 : 00:29:16
|
My users would like "edited by" turned off, so they can edit and not have the message show up, any idea where to change the code to just disabe it? |
Rusty Felty |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
Blackpearl
Starting Member
Thailand
35 Posts |
Posted - 08 July 2005 : 00:39:12
|
That is not all....if admin or forum admin edit the topic is not show. you have to changed in post_info.asp (line#549).
if strEditedByDate = "1" then if mLev < 4 Then strSql = strSql & ", T_LAST_EDIT = '" & DateToStr(strForumTimeAdjust) & "'" strSql = strSql & ", T_LAST_EDITBY = " & MemberID else strSql = strSql & ", T_LAST_EDIT = '" & DateToStr(strForumTimeAdjust) & "'" strSql = strSql & ", T_LAST_EDITBY = " & IntAdminMemberID end if end if
This topic is help me!!! so much Thank you |
^_^....If you see me....you will love me....I"M SO HANDSOME....^_^
|
 |
|
Blackpearl
Starting Member
Thailand
35 Posts |
Posted - 08 July 2005 : 00:53:53
|
WOW! WOW! I had try it....if admin edit it but it's show that forum admin edit!! Why is happen like that? |
^_^....If you see me....you will love me....I"M SO HANDSOME....^_^
|
 |
|
|
Topic  |
|