The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How To Detect the user?

+18
Little Miss Naughty
buffybaskey
paor
Gee
Rorrim
fisherboy7
ilovegreen
anonymous001
Adiex
Puku Puku
RyanR21
vince730
acef596
tyhodge07
S.M. online
Jalokim
Skittles
Mr Funguin
22 posters

Page 2 of 2 Previous  1, 2

Go down

How To Detect the user? - Page 2 Empty How To Detect the user?

Post by Mr Funguin Sat Mar 29, 2008 11:40 am

First topic message reminder :

Hey. I know this code:

Code:
{username}

And I saw it being used on another forum like this:

How To Detect the user? - Page 2 F_Thingym_d13169f

I tried it, but it wont work. What can i do to make it right? How To Detect the user? - Page 2 Mouais


Last edited by Mr Funguin on Sun Mar 30, 2008 12:41 pm; edited 1 time in total
Mr Funguin
Mr Funguin
Forumember

Male Posts : 197
Reputation : 3
Language : English
Location : England, London

http://www.mrfunguin.forumotion.com

Back to top Go down


How To Detect the user? - Page 2 Empty Re: How To Detect the user?

Post by ilovegreen Sun Mar 30, 2008 6:06 pm

That was cool. I love it.
ilovegreen
ilovegreen
Forumember

Male Posts : 114
Reputation : 0
Language : English
Location : France

http://www.entermyworld.heavenforum.com

Back to top Go down

How To Detect the user? - Page 2 Empty Re: How To Detect the user?

Post by buffybaskey Sun Mar 30, 2008 6:14 pm

i love it, scary at first but fab Very Happy thank you
buffybaskey
buffybaskey
Forumember

Female Posts : 39
Reputation : 0
Language : english

http://www.ilovedisney.disneytopic.com

Back to top Go down

How To Detect the user? - Page 2 Empty Re: How To Detect the user?

Post by Mr Funguin Mon Mar 31, 2008 11:48 am

Rorrim wrote:
Mr Funguin wrote:
Rorrim wrote:
Mr Funguin wrote:You have a line, and somewhere in the line you write the code:

Code:
{USERNAME}

Then it will look like this:

Hello, Guest!


Well as you can see my name IS Rorrim. What I'd like to know is how my name is being used in a thread on here. I'm interested in this as well. We want to use this on our Forum too. So if people can tell me how or why my name is being used as an example I'd like to know.

My name IS Rorrim and I await your response with interest.

If you're asking about why its used, and what your name is doing there...
Its good to look nice, and more personalised. It is more catchy....

Whoever logs in to a forum, with see their LOGIN NAME. A guest would see 'Anonymous'.
Simple code, but really cool.

I suggest then that you read this thread again then Mr Funguin..
I have only posted on this thread once before this response to you. My name is used from the second post. I entered in this thread just before you responded to mine. Take a look and you will see what I mean. Even from the quotes in this post show you what I am saying!

My Q was, and still is:
"How was my name used in this thread...?"
not:
"How do I use my name in the greeting when I log in?" Or for that matter, for anyone else to see their own name when they log in to the forum that they are on.

Irrespective of what you say there still is no real apt explanation or list of code that shows you how you do this. Ergo my question(s) still stand. Just responding to a post by saying 'somewhere in the line you put the code' does not help. The actual place that the code is would help. How do you access it etc.?
Once again I await a response.

Ok now your question is clearer.
Your name was used in this thread.
The code did it. The code can detect names!!!

You use the code to greet.
So you would write something like
"Hello (CODE HERE)! Welcome back to...
Mr Funguin
Mr Funguin
Forumember

Male Posts : 197
Reputation : 3
Language : English
Location : England, London

http://www.mrfunguin.forumotion.com

Back to top Go down

How To Detect the user? - Page 2 Empty Re: How To Detect the user?

Post by Little Miss Naughty Tue Apr 01, 2008 7:53 pm

Hi
I don't understand what code it is that I'm supposed to put in the site description. I've read this post over and over.. The only information I can find is

{username}

What code do i actually put in the site description? I've put {username} in the site description and it shows up as just that.

Sorry for sounding a bit thick, but I need your help with please if possible Very Happy
Little Miss Naughty
Little Miss Naughty
Forumember

Female Posts : 50
Reputation : 0
Language : English
Location : UK

http://slimmingworldsupport.editboard.com

Back to top Go down

How To Detect the user? - Page 2 Empty Re: How To Detect the user?

Post by Sneshka Wed Apr 02, 2008 2:00 am

Thanks for this code Smile

ps. Little Miss Naughty code must be writting by CAPS
Sneshka
Sneshka
Forumember

Female Posts : 112
Reputation : 0
Language : Serbian and all ex-Yu languages,english

http://druzenje.gettalk.net

Back to top Go down

How To Detect the user? - Page 2 Empty Re: How To Detect the user?

Post by Little Miss Naughty Wed Apr 02, 2008 5:06 am

I knew the penny would drop with me eventually.. I get it now Mr. Green

Thanks for the code it's great!
Little Miss Naughty
Little Miss Naughty
Forumember

Female Posts : 50
Reputation : 0
Language : English
Location : UK

http://slimmingworldsupport.editboard.com

Back to top Go down

How To Detect the user? - Page 2 Empty Re: How To Detect the user?

Post by Adiex Wed Apr 02, 2008 5:15 am

Gee wrote:
fisherboy7 wrote:

That part I understand. I was wondering how I'd get the following graphic on my forum as well:

How To Detect the user? - Page 2 Asasas11

This I'd like to know aswell, the welcome back (username) part I understand. The xxx posts & xxx threads since last visit on xx.xx.xx the read first links I don't understand & would like to know. Please explain Smile

hello, its just need a little table trick to do that Smile, since many intresting about this idea im willing to share it here Smile

copy this code,
Code:
<table border="2" bgcolor="#292929"><tr><td width="250" align="left" ><font size="1"><b>Welcome back, {USERLINK}&nbsp;<br>there have been {FORUMCOUNTPOST} posts and {FORUMCOUNTOPIC} threads since your last visit at {USERLASTVISIT}</font></td>

go to : admin panel > modules > portal pages management > portal > structure > create new block > paste that code. after that show it up at header of your portal. you can also put this code on you hompage message Smile

enjoy it Very Happy


Last edited by Adiex on Wed Apr 02, 2008 5:18 am; edited 2 times in total (Reason for editing : lol)
Adiex
Adiex
Active Poster

Male Posts : 1014
Reputation : 33
Language : er?
Location : back alive & kicking xD

Back to top Go down

How To Detect the user? - Page 2 Empty Re: How To Detect the user?

Post by Gee Wed Apr 02, 2008 5:17 am

Thanks a lot mate, cheers for that Very Happy
avatar
Gee
New Member

Posts : 23
Reputation : 0
Language : Dutch/English/French/German

Back to top Go down

How To Detect the user? - Page 2 Empty Re: How To Detect the user?

Post by buffybaskey Wed Apr 02, 2008 9:24 am

Adiex wrote:
copy this code,
Code:
<table border="2" bgcolor="#292929"><tr><td width="250" align="left" ><font size="1"><b>Welcome back, {USERLINK}&nbsp;<br>there have been {FORUMCOUNTPOST} posts and {FORUMCOUNTOPIC} threads since your last visit at {USERLASTVISIT}</font></td>

go to : admin panel > modules > portal pages management > portal > structure > create new block > paste that code. after that show it up at header of your portal. you can also put this code on you hompage message Smile

enjoy it Very Happy

hello thank you for that, but it is just showing all the posts ever made, what have i done wrong Very Happy
buffybaskey
buffybaskey
Forumember

Female Posts : 39
Reputation : 0
Language : english

http://www.ilovedisney.disneytopic.com

Back to top Go down

How To Detect the user? - Page 2 Empty Re: How To Detect the user?

Post by travis_cooper Wed Apr 02, 2008 9:30 am

Hey, I like this and I think it is great information. I can think of a bunch of places I could use different variables like this. Is there a place to find all the variables that are being used somewhere? It would be nice to be able to go to a list and see what variables are available and what they represent.
travis_cooper
travis_cooper
Forumember

Male Posts : 698
Reputation : 0
Language : English
Location : Salt Lake City, Utah

http://photochallenge.forumotion.com/

Back to top Go down

How To Detect the user? - Page 2 Empty Re: How To Detect the user?

Post by zakir321 Wed Apr 02, 2008 9:54 am

Look out (in your admin panel) for a small "*" nearby specific places - for example below the "homepage message".
avatar
zakir321
New Member

Posts : 0
Reputation : 2
Language : english

Back to top Go down

How To Detect the user? - Page 2 Empty Re: How To Detect the user?

Post by Sneshka Wed Apr 02, 2008 1:33 pm

I have a problem somewhere I mistake and now I cant change colours or anything in homepage message
Please help!!!
Thanks!
Sneshka
Sneshka
Forumember

Female Posts : 112
Reputation : 0
Language : Serbian and all ex-Yu languages,english

http://druzenje.gettalk.net

Back to top Go down

How To Detect the user? - Page 2 Empty Re: How To Detect the user?

Post by Guest Wed Apr 02, 2008 2:35 pm

buffybaskey wrote:
Adiex wrote:
copy this code,
Code:
<table border="2" bgcolor="#292929"><tr><td width="250" align="left" ><font size="1"><b>Welcome back, {USERLINK}&nbsp;<br>there have been {FORUMCOUNTPOST} posts and {FORUMCOUNTOPIC} threads since your last visit at {USERLASTVISIT}</font></td>

go to : admin panel > modules > portal pages management > portal > structure > create new block > paste that code. after that show it up at header of your portal. you can also put this code on you hompage message Smile

enjoy it Very Happy

hello thank you for that, but it is just showing all the posts ever made, what have i done wrong Very Happy

It will do that. as they arent the right variables.
avatar
Guest
Guest


Back to top Go down

How To Detect the user? - Page 2 Empty Re: How To Detect the user?

Post by Adiex Thu Apr 03, 2008 5:47 am

buffybaskey wrote:hello thank you for that, but it is just showing all the posts ever made, what have i done wrong Very Happy
as showing on my picture there, its the only best value i can put on there now. btw, if someone comes up with new code that working on this, its would be great Smile
Sneshka wrote:I have a problem somewhere I mistake and now I cant change colours or anything in homepage message
Please help!!!
Thanks!
just change this value to be match with you forum themes Smile
Code:
bgcolor="#292929"><
Kilsek wrote:It will do that. as they arent the right variables.
why do you think its not correct variables? can you suggest better idea? Smile
Adiex
Adiex
Active Poster

Male Posts : 1014
Reputation : 33
Language : er?
Location : back alive & kicking xD

Back to top Go down

How To Detect the user? - Page 2 Empty Re: How To Detect the user?

Post by Guest Thu Apr 03, 2008 6:48 pm

Well if the code is showing all the topics and posts since the beginning of the site and not since you last visited, then they are NOT the right variables.

Simple enough to comprehend.
avatar
Guest
Guest


Back to top Go down

How To Detect the user? - Page 2 Empty Re: How To Detect the user?

Post by Susan Thu Apr 03, 2008 7:25 pm

Very cool! Thanks! Very good
Susan
Susan
Forumember

Female Posts : 74
Reputation : 0
Language : English
Location : Memphis TN

http://treadwellhsalumni.forumotion.com/index.htm

Back to top Go down

How To Detect the user? - Page 2 Empty Re: How To Detect the user?

Post by Adiex Fri Apr 04, 2008 6:54 am

Kilsek wrote:Well if the code is showing all the topics and posts since the beginning of the site and not since you last visited, then they are NOT the right variables.

Simple enough to comprehend.

hmm, how could i didn't notice it before Smile thx for that info. im gonna try to find right variables there if its possible to do Wink
Adiex
Adiex
Active Poster

Male Posts : 1014
Reputation : 33
Language : er?
Location : back alive & kicking xD

Back to top Go down

How To Detect the user? - Page 2 Empty Re: How To Detect the user?

Post by Guest Fri Apr 04, 2008 7:07 am

I am wondering if it is a variant of {L_SEARCH_NEW}: Like {NEWPOSTS}
avatar
Guest
Guest


Back to top Go down

Page 2 of 2 Previous  1, 2

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum