11
chapi
Re: Allowing Guest to input own nick
  • 2005/5/31 9:48

  • chapi

  • Theme Designer

  • Posts: 611

  • Since: 2002/1/22


I don't know the database structure for the comments at the moment. But I think it must be possible to alter that table and add a new field for "username".

Then if the user isn't logged in, he gets displayed an input field for the username. In the database the comment has to be saved as an anonymous comment with the additional username.

When displaying the comment, and the userid is anonymous, you can read the content of the username field and display it. For normal registered users it will get the username from the XOOPS users table.

Could it be so easy?

12
m0nty
Re: Allowing Guest to input own nick
  • 2005/5/31 9:51

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


thats the logic i was thinking of chapi, you just worded it better than me

coding it is another matter tho.. lol

13
limecity
Re: Allowing Guest to input own nick
  • 2005/6/1 3:18

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


I am very happy to read this.

14
limecity
Re: Allowing Guest to input own nick
  • 2005/6/10 3:51

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


any update on this?

Login

Who's Online

309 user(s) are online (244 user(s) are browsing Support Forums)


Members: 0


Guests: 309


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits