PDA

View Full Version : Turn a profile field into a $forumid


DDad
11-24-2005, 04:13 PM
Looking for a hack, modification or a post for the navbar.
When someone registers,
They pick a forum from a profile field by name. [field5]
Then in the navbar it shows that forum by name [field5] but the name is clickable and it goes to a fourmid. f=$forumID
I need to convert the forum name into a $forumid

xxxxxx.com/forum/forumdisplay.php?f=$forumid ????

If it can’t be done can someone post and tell me it can’t so I’m not waiting.

jugo
11-24-2005, 04:19 PM
Take a look at the code for the forum jump...... That would be an ideal satarting point.

DDad
11-24-2005, 04:58 PM
Good thinking!

I looked at it and it won't work. It's an option drop down I need an array.
I want them to pick the forum in the profile field and have it convert to a forumid to show on the navbar.

<if condition="THIS_SCRIPT == 'adv_index'"><a href="$vboptions[bburl]$session[sessionurl]">All Forums<else />
<a href="$vboptions[homeurl]/$session[sessionurl]"> Home Page </if> </a></td>

I want all forum to point to a forum picked from the profile field.