vForums Support Banner Image



 

Welcome Guest! Please Login or Register
vForums Support :: System Improvements :: Suggestions :: [user] tags in H/F - View Topic
Printable View
Marc
vChat Developer
*****
I <3 Ross

[Avatar]

Posts: 3,139
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 16
Joined:  

Additional Groups:
vChat Developer

Reputation: 29%  


pmmsn
[user] tags in H/F (3rd Feb 08 at 12:23am UTC)
Hey Ross, would it be possible to get something similar to [user] tags to work inside the headers/footers? The reason I ask is that this way, if I'm making a server-side code, I only need to store the username; not the display name as well. Just saves a bit of bandwidth, and that way old database entries don't have to be updated on the coder's end when the user changes their display name. {Wink}

Don't tell me that the sky's the limit...after all, there are footprints on the moon.

Image

Image
Michael
Very Senior Member
*****

[Avatar]
Recoding the future

Posts: 3,432
Status: Offline
Gender: Male
Location: UK
Joined:  
Reputation: 32%  


pmwww
Re: [user] tags in H/F (31st May 08 at 1:29pm UTC)
or perhaps a predefined function that would return an array of the info?

Such as:

vf.user('admin');

returns: ['admin','Ross','group0']

{Smile}

Nokia N97 | wImg Host
Marc
vChat Developer
*****
I <3 Ross

[Avatar]

Posts: 3,139
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 16
Joined:  

Additional Groups:
vChat Developer

Reputation: 29%  


pmmsn
Re: [user] tags in H/F (1st Jun 08 at 2:09am UTC)
 
or perhaps a predefined function that would return an array of the info?

Such as:

vf.user('admin');

returns: ['admin','Ross','group0']

{Smile}



Ohh, that does sound quite hawt. {Shocked}

Don't tell me that the sky's the limit...after all, there are footprints on the moon.

Image

Image
Ross
Administrator
*****

Last Online:  

[Avatar]
If it's true that we're here to help others, then what exactly are the others here for?

Posts: 2,919
Status: Offline
Gender: Male
Location: Surrey, UK
Age: 21
Joined:  

Additional Groups:
Administrator

Reputation: 0%  


pmwwwmsngtalk vForum
Re: [user] tags in H/F (1st Jun 08 at 9:41pm UTC)
I like the sound of that {Smile}

vForums Blog:

New Look for E-Mail

|

Forum Stats



Image
Darkmage™
Very Senior Member
*****
I believe in vForums, and YOU should too!

[Avatar]
The emo one

Posts: 2,177
Status: Offline
Gender: Male
Location: In the Shadows.
Age: 19
Joined:  
Reputation: 44%  


pmwwwmsnyahooaimgtalk vForum
Re: [user] tags in H/F (1st Jun 08 at 11:34pm UTC)
What would a non coder have use for it? will you be able to use if to like:

Admin:[user]admin[ /user]
Mod:[user]User_name[ /user]
and so on.

it be allot easier then:
Code:
 
  1. ...
  2. [url=http://forum_name.vforums.co.uk/action/view_profile/user/user_name/]User Name[/url]
  3.  
 


Darkmage

Image
OS Users Unite is making a come back! So join! {Smile}

iCodes - is coming back, hopefully to see new members and coders!

Do not ask to find fault, ask to learn. For if the unlearned man asks to learn, than he is more wise, than the knowledgeable man asking to find fault.
Michael
Very Senior Member
*****

[Avatar]
Recoding the future

Posts: 3,432
Status: Offline
Gender: Male
Location: UK
Joined:  
Reputation: 32%  


pmwww
Re: [user] tags in H/F (1st Jun 08 at 11:35pm UTC)
well a non-coder probably wouldn't benefit from this, unless they requested a code.

It would mean that in indexes etc... just the username would have to be stored nad then displayname can constantly update! {Smile}

Nokia N97 | wImg Host
Darkmage™
Very Senior Member
*****
I believe in vForums, and YOU should too!

[Avatar]
The emo one

Posts: 2,177
Status: Offline
Gender: Male
Location: In the Shadows.
Age: 19
Joined:  
Reputation: 44%  


pmwwwmsnyahooaimgtalk vForum
Re: [user] tags in H/F (1st Jun 08 at 11:38pm UTC)
Oh I see. I like my idea better {Grin} {Cheesy}

Image
OS Users Unite is making a come back! So join! {Smile}

iCodes - is coming back, hopefully to see new members and coders!

Do not ask to find fault, ask to learn. For if the unlearned man asks to learn, than he is more wise, than the knowledgeable man asking to find fault.
Michael
Very Senior Member
*****

[Avatar]
Recoding the future

Posts: 3,432
Status: Offline
Gender: Male
Location: UK
Joined:  
Reputation: 32%  


pmwww
Re: [user] tags in H/F (1st Jun 08 at 11:38pm UTC)
I don't get what you're use would be wanting! {Unsure} because that already exists! {Unsure}

Nokia N97 | wImg Host
Darkmage™
Very Senior Member
*****
I believe in vForums, and YOU should too!

[Avatar]
The emo one

Posts: 2,177
Status: Offline
Gender: Male
Location: In the Shadows.
Age: 19
Joined:  
Reputation: 44%  


pmwwwmsnyahooaimgtalk vForum
Re: [user] tags in H/F (1st Jun 08 at 11:42pm UTC)
for the headers and footers not threads, I understand in threads Darkmage™ its something like this

Admin - <user>darkmage</user> so that Darkmage would show up as a link, its much shorter and easier to remember then:
<url=http://forum_name.vforums.co.uk/action/view_profile/user/user_name/>User Name</url>

Image
OS Users Unite is making a come back! So join! {Smile}

iCodes - is coming back, hopefully to see new members and coders!

Do not ask to find fault, ask to learn. For if the unlearned man asks to learn, than he is more wise, than the knowledgeable man asking to find fault.
Michael
Very Senior Member
*****

[Avatar]
Recoding the future

Posts: 3,432
Status: Offline
Gender: Male
Location: UK
Joined:  
Reputation: 32%  


pmwww
Re: [user] tags in H/F (1st Jun 08 at 11:44pm UTC)
Well with what we've decided on above, a coder could release a code that'll do that.

So I could write a code where you just do:

<script>
var u = 'admin';
document.write(thelink);
</script>

Which would output the exact link you made. But with the way outlined above, it's more useful instead of the way you wanted it done! {Smile}

Nokia N97 | wImg Host
Darkmage™
Very Senior Member
*****
I believe in vForums, and YOU should too!

[Avatar]
The emo one

Posts: 2,177
Status: Offline
Gender: Male
Location: In the Shadows.
Age: 19
Joined:  
Reputation: 44%  


pmwwwmsnyahooaimgtalk vForum
Re: [user] tags in H/F (1st Jun 08 at 11:50pm UTC)
Oh I see. alright.

what it will be used for is this

Image

and in order to achieve that I would need to put in:
<url=http://forum_name.vforums.co.uk/action/view_profile/user/user_name/>User Name</url>

which is like 3-4 maby even more lines of it.

which gets cluttered at times.

Image
OS Users Unite is making a come back! So join! {Smile}

iCodes - is coming back, hopefully to see new members and coders!

Do not ask to find fault, ask to learn. For if the unlearned man asks to learn, than he is more wise, than the knowledgeable man asking to find fault.
Michael
Very Senior Member
*****

[Avatar]
Recoding the future

Posts: 3,432
Status: Offline
Gender: Male
Location: UK
Joined:  
Reputation: 32%  


pmwww
Re: [user] tags in H/F (1st Jun 08 at 11:51pm UTC)
Not to mention the fact that it also doesn't update when they change their display names. No, this will definitely help you with that! {Smile}

Nokia N97 | wImg Host
Darkmage™
Very Senior Member
*****
I believe in vForums, and YOU should too!

[Avatar]
The emo one

Posts: 2,177
Status: Offline
Gender: Male
Location: In the Shadows.
Age: 19
Joined:  
Reputation: 44%  


pmwwwmsnyahooaimgtalk vForum
Re: [user] tags in H/F (1st Jun 08 at 11:52pm UTC)
Unless its JS or Flash {Tongue Out} right?

Image
OS Users Unite is making a come back! So join! {Smile}

iCodes - is coming back, hopefully to see new members and coders!

Do not ask to find fault, ask to learn. For if the unlearned man asks to learn, than he is more wise, than the knowledgeable man asking to find fault.
Darkmage™
Very Senior Member
*****
I believe in vForums, and YOU should too!

[Avatar]
The emo one

Posts: 2,177
Status: Offline
Gender: Male
Location: In the Shadows.
Age: 19
Joined:  
Reputation: 44%  


pmwwwmsnyahooaimgtalk vForum
Re: [user] tags in H/F (23rd Oct 08 at 8:36pm UTC)
I sure hope this does get implemented because the code that Wrighty made ##username## Would work perfectly for this as well.

Like:
the PM center that I am sorta having trouble with at the moment.

Hey ##username## (if guest) please login or register.

Hey ##username## (if member) You have no new private messages.

Image
OS Users Unite is making a come back! So join! {Smile}

iCodes - is coming back, hopefully to see new members and coders!

Do not ask to find fault, ask to learn. For if the unlearned man asks to learn, than he is more wise, than the knowledgeable man asking to find fault.
Printable View

All times are GMT+1 :: The current time is 6:59am
Page generated in 0.6291 seconds
with 34 Database Queries and 1 cache files
This Forum is Powered By vForums (v2b)
Create a Forum for Free | Find Forums