Hello,
Just wondering why elgg doesn't remember that i have logged in on my system and remember it so when i go to the site again it can go straight to my activity and not have to click from the custom index page. Like facebook really when i got to facebook i never have to login or see the frontpage it just goes straight to my activity page.
Anyone?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
Tick the remember me while logging in. FB has it checked by default.
@TW... Doesn't this code at the top of a themes index.php achieve what @mpcourt wants...
<?php
if (isloggedin()) forward('activity/');
?>
Just guessing
I have the check box ticked and a forwarding plugin but i still get greeted by the frontpage, it does and it doesnt recognise me as logged in both at the same time, sort of.
I get the front page with no topbar (basically custom index) but i dont need to login as it has remembered me all i need to do is click any site link/menu item (e.g. activity) then bam it refreshes and im in at the activity page all logged in. I want it to go to this page automatically.
Am i being stupid?
@Burgs
Sorry but can't find an index file etc i dont really know what i am doing etc
I am however using
Bright Theme for 1.8
by easy82
If you want to get redirected to activity page if user is logged in, add the burg's code with little modification (For Elgg 1.8.X)to the index.php file of your custom_index plugin (if enabled)
if (elgg_is_logged_in()){
forward('activity');
}
Still no joy, you can try if you like go to www.fishbuddy.co.uk signup and log in and checking remember me. then close your browser completely, open it again and go to www.fishbuddy.co.uk and i guarantee you will get my custom index page but you dont have to log in, just click activity and you are already logged in. but i want it to just go straight to activity. its odd.
Do you have the custom_index plugin activated?
why my page.. http://leyparkking.com/ cant access?
once people login, there will show "Secure Connection Failed"
can u teach me how to correct the page???
@Burgs
Yep i have custom index activated and LiangLee Zhuye plugin
The LiangLee Zhuye plugin will probably have an index.php file. Put Webgalli's code right at the beginning...
<?php
if (elgg_is_logged_in()){
forward('activity');
}
?>
- Previous
- 1
- 2
- Next
You must log in to post replies.