Deleted the accidental space at the beginning of the en.php file in the earlier version.
Thank you Brett for finding out this...
View Thuvalpakshi's plugins
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.
Hi Satheesh, is there a way that you can describe the birhtday fuction a little better? Where does it get the birthdays from (this is not in the standard profile information, which plugin is needed?), and also, how to get the cron job going, did you write a PHP function for this or will this have to be enabled some other way?
Thanks, and..: Great plugin, anyway!
use profile_manager.
to run a cron see Webgally's Blog http://www.webgalli.com/blog/how-to-create-cron-job-for-elgg/
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
Can someone tell me how to hide the Activity menu item for non-logged in users. I have figured out how to hide all of the other menu items that I don't want guests to view with the code below but the code to register the activity menu item is not in the start.php of a plugin so I don't know where to find it. Any help?
$item = new ElggMenuItem('thewire', elgg_echo('thewire'), 'thewire/all');
elgg_unregister_menu_item('site', $item);
if (elgg_is_logged_in()) {
elgg_register_menu_item('site', $item);
}
@HughS: I think the activity menu item is added in the file engine/lib/river.php. It should also work to unregister menu items for users not-logged in instead of unregistering the menu item for everyone and then adding it again for logged-in users, e.g.:
if (!elgg_is_logged_in()) {
$item = new ElggMenuItem('activity', elgg_echo('activity'), 'activity');
elgg_unregister_menu_item('site', $item);
}
I would suggest to not modify any core source code though. If you have not already done so, I would suggest to create a separate plugin and include this code (and removal of other menu items) in the init function of this plugin.
Hi iionly: Thanks for the code. The if (!elgg_is_logged_in()) statement is a good improvement to my code. Thanks for that. Unfortunatley it still didnt work and the activity menu item still remained. I dug in the documentation and found the following which works but looks too simple to be the answer to a problem that took me all day to figure out:
if (!elgg_is_logged_in()) {
elgg_unregister_menu_item('site', 'activity');
}
that's because elgg_unregister_menu_item() needs the 2nd parameter to be a string ('activity') not the array which iionly's code example has ;o)
Awesome!!! Exactly what I was looking for. Is there any way to add the " Add file" option to the activity page instead of the "wire box" Thanks
Hey Satheesh,
I compared your plugin to the Elggzone river_addon.. and yours is better - more functionality-except: Ajax posts.
Are you workign on a ajax-version by any chance?
not to hijack Satheeshs plugin comments, but i have an ajax version of this plugin if you want it. mentioned it in a prior version and was gonna post the code, but a little to much to post i believe, send me a PM and will get it to you.
How can I display the Avatar and Customer links from the ACTIVITY page on all pages i.e. WIRE, BLOGs etc.
?
just copy a line of code in start.php from line No: 148
and paste this after line no 208
this will show profile links in all page in LH Side.
if you want to show it RH side then change sidebar_alt to sidebar.
Thank Satheesh
Hello
How can I set bigger picture thumbnail in river activity
please help
Hello
How can I set bigger picture thumbnail of uploaded image in river activity
please help
which uploaded image? which plugin u r using to upload image?
embed 1.8.1
and river talk plugin
How can we have something like this for 3 Column River?
Wow... Thank You so much for creating and sharing this, this is Exactly what I've been looking for and solved about 4 of my issues at once..
Thank You...
M
Can I just ask, on the list in the settings it says Member plugin not active, but Im not sure which plugin this is as I would like to use it..
Thanks
Martin
upcoming version will be having a HTML page with so many tabs and ajaxified wire post and refresh.. (Hope So)
satheesh, i ajaxified the wire post on this plugin awhile back. Never posted the code because i thought it was to long and had to many steps to explain. Have emailed it to a few people though. Would be happy to send a copy your way if it would help you.
to correct myself a little, i should have said that i combined your plugin with river_addon. all the credit for the creation of the ajax that i accomplished goes to Gillie and of course the credit for this plugin goes to you. I have made several comments in the past about "me" ajaxing the wire posts/river when i should have said that i combined two plugins that were created by others and given credit where credit was due. This was on oversight/mistake on my part and hope that i offended no one.
You helped me be able to add the Profile Avatar and links on every page, how would I display on just a few pages i.e on the Wire and Group pages ?