Forum Moderators: coopster & phranque

Message Too Old, No Replies

<--- post username here----> Question

A question on how to post a usersname on a page???

         

KG2RG

12:22 am on Dec 18, 2001 (gmt 0)

10+ Year Member



I would like to know how I can, like web masters world, post a HELLO USERNAME or HELLO IP#2083376 on the top of my site?

I know the tag for displaying ones IP, but how can I display a users name?

I know a cookie will be set and read, and I will need a script, but how does it work in theory and how can I get started?

Also, I am using ikonboard, its a forum script. When a member enters the board (the script), it says hello $username or it says hello quest if a cookie is not found
(note: $username = the username read off users cookie)

So, I was wondering, can I just use the ikonboard scripts data to do all this and just place a SSI tag to display the $username where ever I want, out side the ikonboard scripts?


Thanks
KG2RG

Cyborg

11:34 am on Dec 18, 2001 (gmt 0)



perldoc HTTP::Cookies

KG2RG

3:43 pm on Dec 18, 2001 (gmt 0)

10+ Year Member



perldoc HTTP::Cookies ???

Brett_Tabke

3:58 pm on Dec 18, 2001 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Well Ikonboard does have the info available, but it will take some pretty deep programming to get it to work out like here. How much perl do you know?

Olaf

4:02 pm on Dec 18, 2001 (gmt 0)

10+ Year Member



Or you can go download yabb at [yabb.xnull.com...] , its an open source messageboard and go through the code and see how they implement it.

Its done by cookies and you need to have had the visitor log in somewhere to have the name.

Best would be to check the cookie Ikonboard sends and poll that one for information.

So, depending on which server scripting you are using, you need to read its doc for cookie handling

Oli

KG2RG

8:22 pm on Dec 18, 2001 (gmt 0)

10+ Year Member



I don't know why I am not being notified of a new post on this thread?

"How much perl do you know?" I'm no programmer, but I'm one hell of a script configure.. I have not wrote my own script yet, but I can sometimes modify script to make them run the way I want them to run. Like adding variables and constants, just the basic simple stuff. I started reading "PERL and CGI for the www" about 5 months ago, but felt it was to advanced for me at that time.

So you say Ikonboard does have the info available? I will have to look harder on there site. I was there looking, but could not find it

Changing the forum at this point is not something I want to do

KG2RG

Brett_Tabke

8:28 pm on Dec 18, 2001 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Work underway: [webmasterworld.com...]