Welcome Guest [Log In] [Register]
This board has been archived and is no longer accepting new questions. If you have a support question for your ZetaBoard, please visit us at the new support board. Registration is free and easy.


Visit the NEW ZetaBoards Support forum!

Username:   Password:
Add Reply
How would one do this?
Topic Started: Feb 16 2008, 12:15 PM (1,097 Views)
jediman (S)
Member Avatar
Hmmmm......
[ *  *  * ]
I was wondering, how one can use/make a code in conjuction to the already built in ad profile options to do this:
Admin makes a new field, that doesn't show up. It says RPG name, or secondary name or something.
Next there is the code I need to figure out how to make, or get help from someone to make it.
It uses that, and in post's, changes their Username up at top of mini-profile, to that field.
What it does, is it would allow the user to use nickname's or other names, without the changing of his username :p
Offline Profile Quote Post Goto Top
 
choco
SPORE
[ *  *  * ]
First, you'd create the profile field like you would normally.
And then you'd use a code to find all instances of that field on a topic page. Get the new name of the member, change it, and then delete that field from view.

It'd be pretty simple.
Offline Profile Quote Post Goto Top
 
jediman (S)
Member Avatar
Hmmmm......
[ *  *  * ]
I am already confused >_< I am not much of a coder...My only code was a cheap Html code...
You could code it for me :p
Lol...Well I will try to do it on my own. I mean find out where it appears and everything.
Edited by jediman, Feb 21 2008, 10:14 PM.
Offline Profile Quote Post Goto Top
 
insanefx
Member Avatar
Member
[ *  * ]
it sounds like a good idea, just need to find someone to code it like u =P
Offline Profile Quote Post Goto Top
 
Arrogant
Member Avatar
Vote Choco and Nicola!
[ *  *  * ]
you could move the username field to the top of the profile editing table/div, so it doesn't look out of place.

also, it's not as hard as it seems. though, since it's all just one big table now, for the posts, you're going to have to be tricky when changing the name. d:
Offline Profile Quote Post Goto Top
 
jediman (S)
Member Avatar
Hmmmm......
[ *  *  * ]
As I thought. This mod would be great. Alas! To work...
(I'll try to do it in css....if its possible)
Offline Profile Quote Post Goto Top
 
Viral
Member Avatar
i'm stanley nao
[ *  *  *  *  * ]
It's not possible in css. I'll give you a starting point:

Code: HTML
 


allUsernames=$("td.c_username"); // That will grab all of the usernames of the posters on the page and put it onto the array called allUsernames.

allExtraProfiles=$("dl.user_profile"); // Grabs all the fields with the extra profile fields, puts them in the allExtraProfiles array.




From there you could loop through all of them checking if they have the profile field with their desired name. That name would go in a variable. Hide that profile field. Change the username shown with the name that you stored in the variable.
Offline Profile Quote Post Goto Top
 
jediman (S)
Member Avatar
Hmmmm......
[ *  *  * ]
Wait, so I am so confused. How do I make it into a code?
After that, how does one Get them to switch places?
(I want to say in the profile place, where the fake names is, to say real user name, and their username in it.?)
Offline Profile Quote Post Goto Top
 
Viral
Member Avatar
i'm stanley nao
[ *  *  *  *  * ]
I explained most of it in the comments.

Do you want me to make it for you?
Offline Profile Quote Post Goto Top
 
jediman (S)
Member Avatar
Hmmmm......
[ *  *  * ]
Sure why not. I am a terribble coder! This will be an amazing code bye the way!
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Coding & Modifications · Next Topic »
Add Reply