Why has the guest a name?

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Scam Warning
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
User avatar
khalderon
Registered User
Posts: 14
Joined: Tue Jan 02, 2007 11:21 am
Location: Sofia, Bulgaria
Contact:

Why has the guest a name?

Post by khalderon » Thu Nov 01, 2007 7:55 am

Why must a guest specify a name, when trying to start a new topic? There is a predefined member "Anonymous" already. I don't understand why a name?
The future belongs to those who believe in the beauty of their dreams.

User avatar
ameeck
Former Team Member
Posts: 6559
Joined: Mon Mar 21, 2005 6:57 pm

Re: Why has the guest a name?

Post by ameeck » Thu Nov 01, 2007 8:17 am

Well, I don't see much to explain, anonymous users can be distinguished at least by the name, even though it's not reliable as they can change them. It's handy when you have more anonymous users posting in one topic and you need to know who is who.

It is also used when you delete a user and want to retain his posts. The poster ID is changed to the anonymous user, but the username is set to the user's one.

User avatar
khalderon
Registered User
Posts: 14
Joined: Tue Jan 02, 2007 11:21 am
Location: Sofia, Bulgaria
Contact:

Re: Why has the guest a name?

Post by khalderon » Thu Nov 01, 2007 10:10 am

Thanks for the explanation. But is it possible to leave the user name field empty then?

Btw, nice cat you have! ;)
The future belongs to those who believe in the beauty of their dreams.

User avatar
swedenhacker
Registered User
Posts: 7
Joined: Tue Oct 30, 2007 7:11 pm

Why has the guest a name?

Post by swedenhacker » Thu Nov 01, 2007 1:03 pm

Why shall you let the Anonymus write in your forum , let them be members and you will have more members.

User avatar
ameeck
Former Team Member
Posts: 6559
Joined: Mon Mar 21, 2005 6:57 pm

Re: Why has the guest a name?

Post by ameeck » Thu Nov 01, 2007 1:15 pm

Well, that isn't a solution, and there are many arguments why allow anonymous users :)


I'm thinking of a least invasive change to the phpBB files so they can't select their name...this will hide the username input and make it hidden, it is set to a default value - "Anonymous"

Find this in posting_editor.html in the template directory of your style:

Code: Select all

<dl>
		<dt><label for="username">{L_USERNAME}:</label></dt>
		<dd><input type="text" tabindex="1" name="username" id="username" size="25" value="{USERNAME}" class="inputbox" /></dd>
	</dl>
Replace it with:

Code: Select all

<input type="hidden" name="username" id="username" value="Anonymous" />
Try it out and see if it works as you imagine...

Locked

Return to “[3.0.x] Support Forum”