vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Advice/Help needed please (https://vborg.vbsupport.ru/showthread.php?t=266387)

ProFifaLeagues 07-06-2011 09:26 PM

Advice/Help needed please
 
Is there a way i can direct usergroups to a certain page on the forum when they login?

We would like members to go direct to the forum page but our VIP group to goto another page.

All advise greatly taken thank you.

Jeff Ledger 07-06-2011 09:53 PM

You may found it helpful

https://vborg.vbsupport.ru/showthread.php?t=241754

Jeff

ProFifaLeagues 07-07-2011 05:08 AM

Will have a look now thanks Jeff

--------------- Added [DATE]1310030711[/DATE] at [TIME]1310030711[/TIME] ---------------

Looked at the above mod but is there any other ways i could do this ???

borbole 07-07-2011 08:31 AM

Quote:

Originally Posted by rammieone (Post 2217662)
Will have a look now thanks Jeff

--------------- Added [DATE]1310030711[/DATE] at [TIME]1310030711[/TIME] ---------------

Looked at the above mod but is there any other ways i could do this ???

Try this. I haven''t tested it but it should work.

Create a plugin at your Acp and for hook location choose:

HTML Code:

login_process
And for the php code enter this:

PHP Code:

if($vbulletin->userinfo['usergroupid'] == x)
{
$vbulletin->url 'http://www.redirecturl.com';



Replace x with the id of your vip group that you want to redirect upon logging in at your forum and the redirect url example with your actual url where you want to redirect that group to.

ProFifaLeagues 07-07-2011 07:45 PM

Cheers Borbole i will try that this evening :)


All times are GMT. The time now is 03:36 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02218 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete