Page 2 of 2 FirstFirst 12
Results 21 to 26 of 26

Thread: Make login.php goto my vBa home rather than forums

  1. #21

    Default

    Justwhat the Doctor Ordered.



    Works great thanx

  2. #22
    Join Date
    Mar 2009
    Posts
    1

    Default

    Is there anyway to redirect paid member to vba and leave non paid members on just the forum page??

  3. #23
    Join Date
    Aug 2009
    Posts
    1

    Default

    Here's what I am using:

    Code:
    if (stristr($_SERVER['HTTP_REFERER'], 'admincp') || stristr($_SERVER['HTTP_REFERER'], 'modcp')) {
    $vbulletin->url = $_SERVER['HTTP_REFERER'];
    }
    else {
    $vbulletin->url = $vbulletin->options[homeurl];
    }
    This works for me and allows my users to login and be directed to the vBa home page, but my admins and moderators get redirected to where they were trying to login (i.e. the admincp).

  4. #24
    Join Date
    Oct 2008
    Posts
    3

    Default

    Sorry to bump an old thread but no since in creating a new one with all this useful info.

    When someone logs in via the welcome module they get redirected to the forums instead of the main index, any way to fix this?

  5. #25
    Join Date
    Jul 2005
    Location
    Twin Cities, MN
    Posts
    71

    Default

    Quote Originally Posted by Robofuzz View Post
    Here's what I am using:

    Code:
    if (stristr($_SERVER['HTTP_REFERER'], 'admincp') || stristr($_SERVER['HTTP_REFERER'], 'modcp')) {
    $vbulletin->url = $_SERVER['HTTP_REFERER'];
    }
    else {
    $vbulletin->url = $vbulletin->options[homeurl];
    }
    This works for me and allows my users to login and be directed to the vBa home page, but my admins and moderators get redirected to where they were trying to login (i.e. the admincp).
    This one worked perfectly for me.

    Thanks!

  6. #26
    Join Date
    Aug 2005
    Location
    Durham, UK
    Posts
    177

    Default

    Thanks for this, works great
    Sim Fans UK - Sims downloads and discussion

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How do I make login.php goto my vBa home rather than forums?
    By trgreen in forum "How Do I..." Questions
    Replies: 6
    Last Post: 09-21-2007, 05:34 PM
  2. How do I make my forums/index file home?
    By JimmyJames in forum "How Do I..." Questions
    Replies: 2
    Last Post: 07-27-2006, 06:39 PM
  3. Replies: 1
    Last Post: 08-03-2005, 05:38 PM
  4. Forums on Home / Home in forums navbar
    By Judge Ruckus in forum Troubleshooting / "How do I..." Questions
    Replies: 2
    Last Post: 11-20-2004, 10:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •