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: MOD Implementation
 Anony posting by Dora Moon
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 3

Alfred
Senior Member

USA
1527 Posts

Posted - 07 December 2002 :  01:16:54  Show Profile  Visit Alfred's Homepage
Dora is extremely helpful in everything, but I simply can't understand her directions.
I must have read every sentence ten times over, and still have no idea what to do.

Could somebody PLEASE interpret these instructions for me?

quote:
==========================================
EZ Anonymous Posting MOD --- for Snitz v3.4.03
==========================================
ONLY THE STEP.1 CODE MODIFICATION EXAMPLE.........
==========================================

IMPORTANT:
i just test the Step.1 in v3.4, there are almost the same modded with v3.3, only a little different in post_info.asp modified...
please refer to the original modified code for 3.3 to do the rest of Step.2, Step3..... thanks!



Install Instruction:

EZ Anonymous Posting code modification: (Step.1 ONLY)
(below files all base on a clean Snitz v3.4.03 code, just search '##### EZ Anony 1- to see where to modify.)

==================================
Step.1
-------------------------------------------------------------
1. create/register a "Common Anony Account" first! and fill this member name/password infomation in below config.asp modified.
2. then setup a forum properities to "Allow Anonymous Posting (MOD)". and try anonymous posting on this forum... ^^
P.S. TO DO THIS, YOU ALSO NEED TO TURN ON "PRIVATE FORUMS" IN ADMIN SECTION "FEATURE CONFIGURATION".
-------------------------------------------------------------
config.asp
'##### EZ Anony 1-1 : below 1 lines added
'##### EZ Anony 1-2 : below 3 lines added


inc_func_secure.asp
'##### EZ Anony 1-1 : add a new function
'##### EZ Anony 1-2 : below 1 line modified


post.asp
'##### EZ Anony 1-1 : below 2 lines added
'##### EZ Anony 1-2 : below 4 lines added
'##### EZ Anony 1-3 : below 9 lines added and change last line "if" to "elseif"
'##### EZ Anony 1-4 (optional): break above line and insert 1 line --- 2 places
'##### EZ Anony 1-5 - below 5 line added


post_info.asp
'##### EZ Anony 1-1 : below 4 lines added
'##### EZ Anony 1-2 : below 1 to 5 lines modified
'##### EZ Anony - if you want the Anony Account get rid of Flood Control, do below 1 line modified.
'##### EZ Anony 1-3 : below 1 to 5 lines modified
'##### EZ Anony - if you want the Anony Account get rid of Flood Control, do below 1 line modified.
'##### EZ Anony 1-4 : below 1 to 5 lines modified
'##### EZ Anony 1-5 : below 1 to 5 lines modified
'##### EZ Anony 1-6 : below 1 to 5 lines modified
'##### EZ Anony 1-7 : below 1 to 5 lines modified



==================================================
==================================================



Alfred
The Battle Group
CREDO

DoraMoon
Average Member

Taiwan
661 Posts

Posted - 07 December 2002 :  04:14:34  Show Profile
hi~ Alfred,
sorry again... i should study english more harder when in school.
your readme file seem not the newest one, got the lastest updated package for 3.4 here.
http://www.snitzbitz.com/mods/details.asp?Version=All&mid=93

and also some explanation for my bad instruction in the original topic..
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=36760#196719

and here is a test/demo site for this mod.
http://c.1asphost.com/doramoon/forum/

for example.. what i'm doing in above demo site....
1. open eza_config.asp and my original config.asp in text editor, then search '##### EZ Anony in eza_config.asp, copy the code section remark with 1-1, 1-2..... then find the correct place in config.asp, paste (insert/modified) this new modded code.

2. the same doing with other eza_xxxx files modification. you can skip or leave it later to those 2-x or 3-x modified code.

3. new register a member.. username: Anony password: oooooo ... disable sig, mail.. and leave all other profile fields blank.

4. login as Admin, goto Admin Section/Anonymous Posting Setup input the "Common Anony Account" username: Anony password: oooooo and turn on this feature.

5. edit Anony profile from member page, and give it a special title "Guest User".

6. create/edit a new forum "This forum Allow Anonymous Visitor Posting..." and choose Private Forum type Allow Anonymous Posting(MOD).(remember turn on Private Forum in Admin Section first.)

7. log out Admin and as a anonymous user, go into above forum...
http://c.1asphost.com/doramoon/forum/forum.asp?FORUM_ID=33
and try posting/replying a topic and see what's happening.....

8. all done !

~......~.~~
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 07 December 2002 :  21:26:28  Show Profile  Visit Alfred's Homepage
Dora,
your English is a lot better than my Chinese (Taiwanese?), but that does not make it any easier!

Instructions for code are often hard to understand even in good English.

Alfred
The Battle Group
CREDO
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 07 December 2002 :  21:44:58  Show Profile  Visit Alfred's Homepage
Dora,
I looked at your demo site...
Does it make any sense to have different numbers for guests?
You still don't know who it is unless they sign with their name.

Alfred
The Battle Group
CREDO
Go to Top of Page

DoraMoon
Average Member

Taiwan
661 Posts

Posted - 09 December 2002 :  07:53:24  Show Profile
hi~ Alfred,
a little confuse about what the exact problem now....

but the basic rule of this mod is really simple:
it's not so difficult to "allow anonymous posting" in forum, the biggest challenge is how to deal with the "author name" issue.

we know every posts MUST have a corresponding member/author. and in this mod.. ALL anonymous posts, in actually, just use the same one member account to post! (in above demo site, its username is Anony.)

i think Davio's Anonymous Access MOD use this same method. but it added an extra data field to TOPICS and REPLY table, so it can allow anonymous user input his own "nickname" as author name when posting.

for my situation, i do'nt prefer this doing on a "forum discussing". i'd like to users register as a member indentity if he really want to participate in this forum. this Anonymous Posting feature will only be used on someone special forums.(Test or Website Comment forum..) so i've an alternative way to deal with anonymous author name:
append a number suffix after the Anony name -- Anony1234
and the number just extract from T_IP or R_IP data fields. (see the [blue]function GuestIP() on inc_func_common.asp modification.)

so you can say it may NOT really "totally" anonymous. (if the user have a constant IP address, then it'll always show as the same one Anonyxxxx author name.) and of course, it also not so accurate to identify different anonymous users.(it's possible to duplicate for two different users.) but it's a eclectic method, and acceptable solution for me.

anyway, if you know how this mod working, i think just a little code modified can make it suitable for your special forum situation. maybe allow "nickname", or use a random number, date/time mark... instead of the T_IP and R_IP on the "anonymity name" issue.
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 09 December 2002 :  13:17:22  Show Profile  Visit Alfred's Homepage
Dora,

what I was saying is that I don't mind if all visitors have to use the same name.
The main reason for me is to use the membership system only for members to my game club, and let visitors post as guests without any need to log in.
I am not concerned with irresponsible posts by visitors, because it is easy to delete them.

So, is there any need for a different number for each visitor?
We still would not know who it was unless they sign their name in the post directly, right?
And it would simplify the system a lot, would it not?

Alfred
The Battle Group
CREDO
Go to Top of Page

DoraMoon
Average Member

Taiwan
661 Posts

Posted - 09 December 2002 :  21:59:57  Show Profile
hi~ Alfred,
it's great if you do'nt mind all anonymous posts shown as the same name. it really can simplify the modified code a lots.

that's also why i'd like to divide the code modification into 3 different parts. in actually, only 1-? is necessary for this mod. the 2-?, 3-? just "example" or "optional" modify.
'##### EZ Anony 1-?
if you've done this step, then it already can allow non-registered or non-login users posting by the common guest account. for your case, i think you can just do this step only.

'##### EZ Anony 2-?
do some special process to the author name. in this example, i change Anony(with profile link..) to Anonyxxxx(with a number suffix and no link..) and remove some personal info about this Anony username. the modded code is easy understanding althought it need many places to modify.
and it really just a "example" in this step, if you know how to do, you can try another way to suit your forum. maybe just change color Anony, different bg color, or a special message icon...etc. anyway, there are a lots possibility to do this job.

'##### EZ Anony 3-?
also a optional step, just change a different forum status folder icon to show which forum allow anonymous posting. if you have website announcement or another method can let users know this information, just skip this step.

here is my suggestion: do the Step.1 modification first. if work, then just take a reference of Step.2 and Step.3 to make your own Anonymous Posting Mod modification for your forum situation.
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 10 December 2002 :  00:11:43  Show Profile  Visit Alfred's Homepage
Yes, I think that is what I will do - as soon as I have figured out how!

Alfred
The Battle Group
CREDO
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 10 December 2002 :  23:12:06  Show Profile  Visit Alfred's Homepage
This is hopeless.

I was working on step 1-3, and it mixes with step 2 at the end?
You say there are 9 lines, but there are only 8 lines of code in step 1-3, and the last one has no IF in it.
What IF do I have to change to ELSEIF?
The first IF below all this already is ELSEIF in my file!

Can you just correct the code below to what it should be in MY file?
quote:
'##### EZ Anony 1-3 : below 9 lines added and change last line "if" to "elseif"
if AnonyGuest then
response.write "<tr><td bgColor=""" & strPopUpTableColor & """ noWrap vAlign=""top"" align=""right"" rowspan=""2""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Authority:</b></font></td>" & vbNewLine
response.write "<td bgColor=""" & strPopUpTableColor & """> <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>"
response.write "UserName:<input name=""UserName"" maxLength=""25"" size=""15"" type=""text"" value=""" & Request.Form("UserName") & """>  "
response.write "Password:<input name=""Password"" maxLength=""25"" size=""15"" type=""password"" value=""" & Request.Form("Password") & """>  "
response.write "(Member Only !)</font></td></tr>" & vbNewLine
response.write "<tr><td bgColor=""" & strPopUpTableColor & """> <font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """> "
response.write "* Anonymous Posting please leave it blank. "
'##### EZ Anony 2-1 : un-comment below 1 line if you've already applied Step.2 code modified
response.write " your temporary AnonyID is <input type=""text"" size=""10"" value=""" & strAnonyName & GuestIP(0,0,0) & """ style=""font-size:8pt;font-family:Verdana;text-align:center;background-color:#A0B0E0;border-width:1;border-style:inset"" readonly>" & vbNewLine
response.write "</font></td></tr>" & vbNewLine
' if (lcase(strNoCookies) = "1") or _
'########## EZ Anony ##########

elseif (lcase(strNoCookies) = "1") or _

Alfred
The Battle Group
CREDO

Edited by - Alfred on 10 December 2002 23:22:16
Go to Top of Page

richfed
Average Member

United States
999 Posts

Posted - 11 December 2002 :  05:43:41  Show Profile  Visit richfed's Homepage
Hi Alfred ...

I have the Anonymous Mod working on my site - all 3 steps. It's not that bad!!! The Mod functions superbly, btw ... See: The MOHICAN BOARD

Anyway, on post.asp, here's my code in the section you quoted above. You can compare:

quote:
if mlev = 4 or _
mlev = 3 or _
mlev = 2 or _
mlev = 1 then
Response.Write " <input name=""UserName"" type=""hidden"" Value=""" & strDBNTUserName & """>" & vbNewLine & _
" <input name=""Password"" type=""hidden"" value=""" & strCkPassWord & """>" & vbNewLine
else
'##### EZ Anony 1-3 : below 9 lines added and change last line "if" to "elseif"
if AnonyGuest then
response.write "<tr><td bgColor=""" & strPopUpTableColor & """ noWrap vAlign=""top"" align=""right"" rowspan=""2""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Authorization*:</b></font></td>" & vbNewLine
response.write "<td bgColor=""" & strPopUpTableColor & """> <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>"
response.write "UserName:<input name=""UserName"" maxLength=""25"" size=""15"" type=""text"" value=""" & Request.Form("UserName") & """>  "
response.write "Password:<input name=""Password"" maxLength=""25"" size=""15"" type=""password"" value=""" & Request.Form("Password") & """>  "
response.write "(Members Only!)</font></td></tr>" & vbNewLine
response.write "<tr><td bgColor=""" & strPopUpTableColor & """> <font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """> "
response.write "* Anonymous Posting - please leave it blank. "
'##### EZ Anony 2-3 : if you didn't apply Step.2 modification, comment out below 1 line first
response.write " Your temporary Anonymous ID is <input type=""text"" size=""10"" value=""" & strAnonyName & GuestIP(0,0,0) & """ style=""font-size:8pt;font-family:Verdana;text-align:center;background-color:#A0B0E0;border-width:1;border-style:inset"" readonly>" & vbNewLine
response.write "</font></td></tr>" & vbNewLine
'########## EZ Anony ##########
'## remember change below if to elseif !!
' if (lcase(strNoCookies) = "1") or _
elseif (lcase(strNoCookies) = "1") or _
(strDBNTUserName = "" or _
strCkPassWord = "") then
Response.Write " <tr>" & vbNewLine & _


Hope that helps you a bit!

Rich
[size=1]A Complete Idiot's Guide to MOD Implementation || On the Trail of the Last of the Mohicans[/size=1]
Go to Top of Page

DoraMoon
Average Member

Taiwan
661 Posts

Posted - 11 December 2002 :  08:06:45  Show Profile
hi~ Alfred,
look like you still hav'nt got the lastest package for 3.4
http://www.snitzbitz.com/mods/details.asp?Version=All&mid=93

about the code modification... if you can compare with the original code, i think it'll become more clear. but i know sometimes it's a little difficult for a heavy modded file.

and it also annonying to place the remark/comment line in 3.4 code. you know, we can't insert a 'comment line after & _. so just do'nt care the "example" modified code too much, and try to figure out what this modified line doing, then you can arrange the modded code more suitable for your situation.

anyway, the 1-3 just as richfed posted... (thx! Rich, )
response.write "* Anonymous Posting - please leave it blank. "
'##### EZ Anony 2-3 : for your case, comment out below one line too.
'response.write " Your temporary Anonymous ID is <input type=""text"" size=""10"" value=""" & strAnonyName & GuestIP(0,0,0) & """ style=""font-size:8pt;font-family:Verdana;text-align:center;background-color:#A0B0E0;border-width:1;border-style:inset"" readonly>" & vbNewLine

response.write "</font></td></tr>" & vbNewLine
'########## EZ Anony ##########
'## remember change below if to elseif !!
' if (lcase(strNoCookies) = "1") or _

elseif (lcase(strNoCookies) = "1") or _


if still have problem, please just post your .txt files. then i'll do these modified work for you soon.
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 11 December 2002 :  12:34:38  Show Profile  Visit Alfred's Homepage
OK - another day, and fresh will power to tackle this!
Yesterday I was so frustrated and furious that I never wanted to look at this again...

Dora, the version I had was also called #3.4, so I thought it was the same. But it is actually different.

Rich, while I wait for your board to load... (the pretty tune slows it down) ...
I only want Step 1 - all visitors under same name, so should I really copy the code you wrote into my file?
You did the whole thing, right?

I still don't understand what good it is to assign different numbers to visitors, - we still don't know who it is unless they sign their names in the post itself?

I dropped a test post in your forum, and it thanked me, but didn't show up. Do you have a "hold" on new posts?
I am also concerned about registered users posting in Anony by mistake now - I see you had to write more instructions for that...

Alfred
The Battle Group
CREDO
Go to Top of Page

richfed
Average Member

United States
999 Posts

Posted - 11 December 2002 :  13:31:39  Show Profile  Visit richfed's Homepage
Hi Alfred ...

Your post did take ... it's there, I just read it! Don't know why you couldn't see it.

OK ... about the MOD ... all it sounds like you need is Step 1. I just copied the section of code that corresponded to what you posted for comparison purposes.

The possibility of a regular user posting "anonymously," either by accident or purposefully is certainly possible, but not too likely, and even it they were to, what would be the big deal? I guess if you want an anonymous posting feature it's a chance you need to take.

As far as the numbering, I can't answer definitely on DoraMoon's intentions with that, but again it's nothing to get upset over, I wouldn't think. No, you wouldn't know who a visitor is unless they sign their name ... but perhaps you will know that the SAME person has made posts, I don't know ... it hasn't been used enough for me to find out! The MOD does do what I wanted it to, so I'm satisfied. Step 2, btw, also takes out all the profile stuff, so it's a good thing! And 3 gives you your icons, also useful.

Good luck ...

Rich
[size=1]A Complete Idiot's Guide to MOD Implementation || On the Trail of the Last of the Mohicans[/size=1]
Go to Top of Page

richfed
Average Member

United States
999 Posts

Posted - 11 December 2002 :  19:27:26  Show Profile  Visit richfed's Homepage
PS - It seems that the MOD assigns the numbers much as I figured ... same IP; same number!

Rich
[size=1]A Complete Idiot's Guide to MOD Implementation || On the Trail of the Last of the Mohicans[/size=1]
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 11 December 2002 :  19:47:15  Show Profile  Visit Alfred's Homepage
I see.
Well, at least you would see if the same person comes back under a different name, for what it's worth...
But you are quite right, no big deal if a registered user posts under it.

Well, maybe I should put the whole thing in, so a visitor feels he has some kind of identity...

So I can paste your code in my file ok, you think?
Thanks for the trouble you went to!

PS.:
Here we go again:
quote:
'##### EZ Anony 1-4 (optional): break above line and insert 1 line
' just remind Anonymous Users the sig feature is available for members only....
if AnonyGuest then response.write " (Member Only !)"
'########## EZ Anony ########## (be carefaul below add Response.Write)
WHAT on earth does "break above line" mean???

Alfred
The Battle Group
CREDO

Edited by - Alfred on 11 December 2002 20:21:50
Go to Top of Page

richfed
Average Member

United States
999 Posts

Posted - 12 December 2002 :  05:25:27  Show Profile  Visit richfed's Homepage
Look at the code supplied by DoraMoon in her "modded files". Simply [line] break - or split - the line above the referenced code at that point - and add a " after it!!! <---- IMPORTANT!!! That one line is now two.


As far as pasting my code into your files, that should work - I didn't notice any other mod codes in that section, but be warned, I have a lot of mods on my forum!

To implement the entire mod, there is a lot of copy & pasting to do ... little things, but a lot! Be careful. Don't just paste the code into the first place you find that looks ok. Search the document for more instances of the same code & look for surrounding "clues" that you are, indeed, pasting in the correct place. Go slowly & carefully ... you'll save yourself quite a bit of trouble!

Rich
[size=1]A Complete Idiot's Guide to MOD Implementation || On the Trail of the Last of the Mohicans[/size=1]
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Next Page
 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 1.81 seconds. Powered By: Snitz Forums 2000 Version 3.4.07