View Single Post
  #6  
Old 10-17-2007, 10:44 AM
too_cool_3's Avatar
too_cool_3 too_cool_3 is offline
 
Join Date: Sep 2007
Location: ON, Canada
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After following the instructions given here by the thread starter:

http://www.vbadvanced.com/forum/show...692#post126692
Quote:
Originally Posted by trgreen View Post
I got some help over at vbulletin.org. Turns out you have to make a plugin. Here's the thread: https://vborg.vbsupport.ru/showthrea...31#post1343631

But here's how you do it... it's pretty easy:

1. In Admin, click "Add New Plugin" under the "Plugins & Products" menu
2. For "Product" choose vBulletin
3. For "Hook Location" choose "Login Redirect" under "vBulletin: Login / Logout" - It's basically in alphabetical order. Look for the "L" part of the list.
4. Enter a Title, whatever you want, like "Login redirect to vBadvanced home page"
5. For "Execution Order" I just left it at 5. They all seem to be 5.
6. For "Plugin PHP Code" here's the code. Just use the URL you want it to go to after they log in.
Code:
$vbulletin->url = 'http://yourhomepage.com';

7. BE sure to check "Yes" under "Plugin is Active." It defaults to "No."
8. Click "Save"

Note: This will work, but it makes it a little strange when you login to the Admin CP. For example: I right-click "Admin" and open it in a new Tab. When you login to get to the Admin CP, it will open your site in the "main" frame. Thats okay... just choose the link you want on the left. That's it.


I started experiencing this problem described in the Note: as well.. even when i left click it brings up the admincp login page but after i input my info it brings me right back to the mainpage?!?
Then i have to click admincp again and it will then go to the admincp. This is getting really annoying, anyway to fix it?
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01104 seconds
  • Memory Usage 1,767KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete