Expansions:
Still to come: (when I finish my current project - so hopefully end of next week)
Further:
I'm sure tunist will have some other goodies for you before the beginning of next week.
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.
Is the "following" function slowing down the website ?
BTW I was wondering. I see you added a related post thing under the post content and before comments. I want to put a googlead, 728x90 under related articles and before comment. In wich file should I put the google code ?
i haven't seen following slow the site down.. the related blogs boxes can slow the page load down for pages that have the boxes in them - because the entire list of blogs is being searched for related blogs!
i think related articles is in /mod/blog/views/default/object/blog.php
However, it is possible that the "following" could slow your site down depending on how many users are following each other. The system currently sends out a message when saving a blog post to every user who is following that user. I'm unfamiliar with cron and therefore I'm not sure if it needs to be a sitewide setup or a per plugin setup yet.
I'll eventually check that. At the same time I would also like to improve the message being sent out.
ah ok i didn't think about that...
is the message sent when people post in discussions too?
that could get very hectic in the inboxes!
The message is only sent when a new blog post is created. The script runs in the actions/add.php file somewhere near the bottom.
ok thanks..
so 'pradacaca' - how many people are using your site and posting blogs?
@tunist : My blog has 210 members, 100 actives, 20/30 articles/day.
Okay, I posted it elsewhere but then I tough of your plugin. I found something that could be potentially awsome for your plugin.
On this page http://www.alsacreations.fr/dewslider , there is a free (even for professionel websites) flash carrousel ( http://www.alsacreations.fr/dl/dewslider.zip ), that uses an xml file to define wich image and wich link it should diaplay :
But I guess xml do accept varible ? (I know very basic php code only). If so, I tough that you could define to show the post marked as featued (with the rss perhaps ?), and for the image perhaps it can display the first image it finds on the post ?
It was done for drupal so I guess this would be possible wit elgg too. I think this could be great for your plugin because it would be a nice way to display featued posts on custom_index.
I have no idea if it's hard to do or not.
oh ok, so that could be enough to slow the site down, depending on the server pc configuration.
you can disable blog watching in the blog settings page and see for sure how the speed of the site is changed.
the intention is to have images added to the slideshow, yes.. and that one does look more attractive than the current one.. i'll let 'trajan' comment on that since he coded the slideshow.
It is a nice slideshow, but I won't consider implementing it because it's Flash. If you can find a nice javascript version then it's doable.
Flash is not viewable on things such as Ipads, Iphones etc. where as Javascript is viewable across the board.
you can just put blog/top into the view that is extended on customindex into the index.php and it will display the carrosel
like <?php $ciblogtop .= elgg_view('blog/top'); ?> where you want it to appear on the page
then add $ciblogtop to where the view is extended in the index.php
$content = elgg_view_layout('two_column_left_sidebar', $area1, $area2, $ciblogtop);
Once again, this is a great looking plugin but I've found this this error whenever I click on some of the blog posts on my site -
Fatal error: Call to a member function getOwnerEntity() on a non-object in /home/mysite/public_html/mysite/mod/blog/lib/blog_lib.php on line 133
It's not happening on all of the blog posts but on the ones that it does happen to - the layout is completely screwed up.
Any suggestions?
here is a link to an example
http://myforces.ca/pg/blog/read/22358/a-letter-from-world-war-ii
What you've got there I think is a problem with the related posts feature.
I was also having this issue on my site but for some reason tunist was not having it on his. We tentatively believe this is fixed in the latest version 0.4.4 (not uploaded yet), but have yet to confirm. My advice is for the moment to turn off the related posts feature in the admin backend until 0.4.4 is released, then try it again.
That's great @Trajan - will do, thanks.
Ok - that did fix the layout of the blog post, thanks @Trajan.
Also, on the blog central page, I am stuck on page "1" - when I hit next or select a different page it simply stays on the same page. Any suggestions?
heres a nice jquery slider
http://landofcoder.com/our-porfolios/jquery-plugins/item/10-the-lof-jsidernews-plugin.html
@survtime: again, v0.4.4 fixes that problem by Ajaxing all the pagination. Coming soon...
@callum coutts: sorry mate, couldn't see that clearly on the page.
@CCoutts:
interesting new spin on slider-driven content ;-P
This is exactly the same thing in jsquery
http://nivo.dev7studios.com/
Some wordpress blogs use it, so I guess it could be done to get the featured posts and their image too ?
yep, that works :)
Interesting. I have already looked into Nivo for my profile slideshows...
@tunist : so you can use it ? Nice !
i don't see any reason why not.. i am needing to focus elsewhere at present but trajan may be inspired to include it.