vForums Support Banner



 

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

[Avatar]

Posts: 3,194
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 17
Joined:  

Additional Groups:
Coding Team
***


Reputation: 29%  


pmmsn
[user] tags in H/F (2nd Feb 08 at 7:23pm EST)
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
Moderator
*****

[Avatar]
Recoding the future

Posts: 3,805
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 49%  


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

Such as:

vf.user('admin');

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

{Smile}

Image
^ Whut? ^
Marc
vChat Developer
*****
I <3 Ross

[Avatar]

Posts: 3,194
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 17
Joined:  

Additional Groups:
Coding Team
***


Reputation: 29%  


pmmsn
Re: [user] tags in H/F (31st May 08 at 10:09pm EDT)
 
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
*****

[Avatar]

Posts: 3,272
Status: Offline
Age: 22
Joined:  

Additional Groups:
Support Team
***


Reputation: 56%  


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


Darkmage™
Very Senior Member
*****
I.. will never be a memory..

[Avatar]
Mess with the best... Die like the rest!

Posts: 2,541
Status: Offline
Gender: Male
Location: vForums
Age: 19
Joined:  
Reputation: 46%  


pmwwwxfire vForum
Re: [user] tags in H/F (1st Jun 08 at 7:34pm EDT)
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. [url=http://forum_name.vforums.co.uk/action/view_profile/user/user_name/]User Name[/url]
  2.  
 


Darkmage

Image
Have a PS3? Play Modern Warfare2? Add me Darkmage4.
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 3,805
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 49%  


pm
Re: [user] tags in H/F (1st Jun 08 at 7:35pm EDT)
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}

Image
^ Whut? ^
Darkmage™
Very Senior Member
*****
I.. will never be a memory..

[Avatar]
Mess with the best... Die like the rest!

Posts: 2,541
Status: Offline
Gender: Male
Location: vForums
Age: 19
Joined:  
Reputation: 46%  


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

Image
Have a PS3? Play Modern Warfare2? Add me Darkmage4.
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 3,805
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 49%  


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

Image
^ Whut? ^
Darkmage™
Very Senior Member
*****
I.. will never be a memory..

[Avatar]
Mess with the best... Die like the rest!

Posts: 2,541
Status: Offline
Gender: Male
Location: vForums
Age: 19
Joined:  
Reputation: 46%  


pmwwwxfire vForum
Re: [user] tags in H/F (1st Jun 08 at 7:42pm EDT)
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
Have a PS3? Play Modern Warfare2? Add me Darkmage4.
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 3,805
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 49%  


pm
Re: [user] tags in H/F (1st Jun 08 at 7:44pm EDT)
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}

Image
^ Whut? ^
Darkmage™
Very Senior Member
*****
I.. will never be a memory..

[Avatar]
Mess with the best... Die like the rest!

Posts: 2,541
Status: Offline
Gender: Male
Location: vForums
Age: 19
Joined:  
Reputation: 46%  


pmwwwxfire vForum
Re: [user] tags in H/F (1st Jun 08 at 7:50pm EDT)
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
Have a PS3? Play Modern Warfare2? Add me Darkmage4.
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 3,805
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 49%  


pm
Re: [user] tags in H/F (1st Jun 08 at 7:51pm EDT)
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}

Image
^ Whut? ^
Darkmage™
Very Senior Member
*****
I.. will never be a memory..

[Avatar]
Mess with the best... Die like the rest!

Posts: 2,541
Status: Offline
Gender: Male
Location: vForums
Age: 19
Joined:  
Reputation: 46%  


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

Image
Have a PS3? Play Modern Warfare2? Add me Darkmage4.
Darkmage™
Very Senior Member
*****
I.. will never be a memory..

[Avatar]
Mess with the best... Die like the rest!

Posts: 2,541
Status: Offline
Gender: Male
Location: vForums
Age: 19
Joined:  
Reputation: 46%  


pmwwwxfire vForum
Re: [user] tags in H/F (23rd Oct 08 at 4:36pm EDT)
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
Have a PS3? Play Modern Warfare2? Add me Darkmage4.
 Printable View

All times are GMT+0 :: The current time is 1:33pm
Page generated in 0.4911 seconds
with 61 Database Queries and 0 cache files
This Forum is Powered By vForums (v2.2)
Create a Forum for Free | Find Forums