Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Optional 'edited by admin'
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Jorrit787
Average Member

Netherlands
681 Posts

Posted - 11 February 2005 :  11:49:00  Show Profile  Visit Jorrit787's Homepage  Send Jorrit787 an AOL message  Send Jorrit787 a Yahoo! Message
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  Show Profile  Send ruirib a Yahoo! Message
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
Go to Top of Page

Jorrit787
Average Member

Netherlands
681 Posts

Posted - 11 February 2005 :  15:12:10  Show Profile  Visit Jorrit787's Homepage  Send Jorrit787 an AOL message  Send Jorrit787 a Yahoo! Message
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
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 11 February 2005 :  15:53:36  Show Profile  Send ruirib a Yahoo! Message
I would need to test it myself. Will have a look.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 11 February 2005 :  17:21:46  Show Profile  Send ruirib a Yahoo! Message
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.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Jorrit787
Average Member

Netherlands
681 Posts

Posted - 11 February 2005 :  22:14:00  Show Profile  Visit Jorrit787's Homepage  Send Jorrit787 an AOL message  Send Jorrit787 a Yahoo! Message
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.
Go to Top of Page

Jorrit787
Average Member

Netherlands
681 Posts

Posted - 13 February 2005 :  12:45:19  Show Profile  Visit Jorrit787's Homepage  Send Jorrit787 an AOL message  Send Jorrit787 a Yahoo! Message
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
Go to Top of Page

HiRez_L
Starting Member

USA
23 Posts

Posted - 28 March 2005 :  00:29:16  Show Profile
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
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 28 March 2005 :  00:44:03  Show Profile  Send ruirib a Yahoo! Message
Set the option "Edited By on Date" to Off, in Admin Options -> Feature Configuration.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Blackpearl
Starting Member

Thailand
35 Posts

Posted - 08 July 2005 :  00:39:12  Show Profile  Visit Blackpearl's Homepage
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....^_^
Go to Top of Page

Blackpearl
Starting Member

Thailand
35 Posts

Posted - 08 July 2005 :  00:53:53  Show Profile  Visit Blackpearl's Homepage
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....^_^
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.35 seconds. Powered By: Snitz Forums 2000 Version 3.4.07