Hi fellow Elggers,
I'm using the 3C River Activity plugin and I need to hide the river when the user is not logged in. I have figured it out when using custom index, but not when using the plugin I need (mentioned above).
I think i'm missing an easy way to do this... is there one?
Cheers,
Márcio
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.
- costakisc@costakisc

costakisc - 0 likes
- Márcio Passos@marciopassos

Márcio Passos - 0 likes
- Márcio Passos@marciopassos

Márcio Passos - 0 likes
- iconMatrix@SteveAquila

iconMatrix - 0 likes
- Márcio Passos@marciopassos

Márcio Passos - 0 likes
- costakisc@costakisc

costakisc - 0 likes
You must log in to post replies.did you post a comment in 3C river Activity and ask the creator?
Sorry man, I did not do that. Shame on me... just got wrapped in this and forgot the best first way to ask this.
anyway, any help? i think most of these river should workd the same. but I'm probably wrong.. LOL
my guess is you need to look in the 3C river Activity default/views
But asking this question in the plugin for 3C River Activity, will send a message to the creator of that plugin, asking it here you are just going to get a best guess.
yes I did ask. Thanks for the help! Im getting there. =]
if i remember how it works in 3C is it makes all the calls for the page elements in the start file. this is my current code for the wire, its gonna be different because of version i am sure and i have customized mine alot but:
if ((elgg_get_plugin_setting('show_thewire', 'river_activity_3C') == 'yes') && (elgg_is_active_plugin('thewire'))){
elgg_extend_view('page/layouts/content/header', 'page/elements/riverwire','200', 1);
}
you would need to throw a "elgg_is_logged_in" somewhere in there.......or depending "!elgg is logged in" .........elgg_unextend_view.....
something along those lines