PDA

View Full Version : Forum default for guest and activity for users


dany_danay
04-22-2013, 07:25 PM
Hi!
There is a way or pluggin that can do this?
I want to put forum.php by default for guest and activity.php for registered users. With the navgation manager i can set only one default :(

dany_danay
05-06-2013, 08:00 AM
Someone??!?!?

dany_danay
05-13-2013, 03:39 PM
Up...

daveaite
05-14-2013, 04:47 AM
You'll need a custom mod for this. Basically all it would have to be is for users.

For regular people, you can set the forum.php as the home, as per navigation manager.

For users logged in, the mod will redirect users logging in to activity.php Not sure if one exists...try googling :P

There is no way to do it without a mod (I believe)

dany_danay
06-30-2013, 02:07 PM
:(Someone can do it?

dany_danay
07-30-2013, 10:02 PM
Someone can do it?

dany_danay
08-07-2013, 01:58 PM
keep calm and wait for an anserw

mokujin
08-07-2013, 02:27 PM
Change your index.php file to this:

<?php
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);

// ######################### REQUIRE BACK-END ############################
require_once('./global.php');


if ($vbulletin->userinfo['userid'])
{
exec_header_redirect('activity.php');
}
else
{
exec_header_redirect('forum.php');
}

?>


Hope it helps.