PDA

View Full Version : User defined home page


Vikingant
11-01-2010, 10:16 AM
Is it at all possible to give members the option to choose which page to be their default page?

For example some members may want to be directed to their profile page when they log in and other to the index or even the whats new page.

blind-eddie
11-01-2010, 10:41 AM
This will allow each memer to select what page they want as "home" page...

If they want a certian page to be their default page, they would need to create a short cut to that page on their desk top.

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:

<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:

<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>

Add above or replace the Home you added:

<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!