The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
a href="member.php? u= $bbuserinfo[userid]
Any help or pointing in a certain direction is greatly appreciated.
I would like to load the member.php file as my homepage. I was thinking of copying the member.php page and renaming it to index.php. However, I can't get my personal profile to pull up automatically for me. What I would like is to have everyone's own profile page pull up as their home page and then build around that. The problem i'm having is fetching the page automatically. in vb3.7, you can click to yoru profile by doing this: PHP Code:
Please help. Thanks! |
#2
|
||||
|
||||
[s]probably using .htaccess redirect.[/s]
The simplest way is using a javascript redirect. Replace the contents of the FORUMHOME template with this: Code:
<script type="text/javascript"> <!-- window.location = "member.php?$session[sessionurl]u=$bbuserinfo[userid]" //--> </script> |
#3
|
|||
|
|||
Or.... create a Plugin hooked to the member.php file that automatically detects the UserID (if the person is logged in) and uses that as the variable. i.e.:
PHP Code:
|
#4
|
||||
|
||||
Thank you GameWizard and Opserty. I really appreciate you taking the time out. I will try both out!
--------------- Added [DATE]1206459379[/DATE] at [TIME]1206459379[/TIME] --------------- Quote:
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|