Quote:
Originally Posted by blind-eddie
I have a few non-vb pages, my home page is vba. But I also have other vba pages that some members prefere to use as their home page. Is there a way to allow each member the option to pick which page they want as their home page. In other words, if a member clicks home in the navbar, they would go to the home page they chose. It would be different for all.
|
Here is how you do it.... Mind you, Home will not be in the navbar until someone posts an internet address for their home.
Create new profile field, it is your choice what you write in and the options you give. Make not of the field number.
Replace:
PHP Code:
<td class="vbmenu_control"><a href="$vboptions[homeurl]$session[sessionurl_q]">Home</a></td>
Or if you haven't added home into your navbar yet...
Find:
PHP Code:
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
Add above or replace the Home you added:
PHP Code:
<if condition="$bbuserinfo['fieldXX']"><td class="vbmenu_control"><a href="$bbuserinfo[fieldXX]$session[sessionurl_q]">Home</a></td></if>
Change the XX's to your field number.
Enjoy!