View Cash'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.
Take a look at the function display_tagcloud() in /engine/lib/tags.php
Cash, thanks a lot, i tried to modify start.php of the tagcloud plugin your provided and did the following:
$string = display_tagcloud(1, $num_tags, 'name of my profile field');
but I got a weird response in my frontpage (you can see it: www.ahtam.com
any suggestion?
and btw, it only displays 3 words for me for default, i have more tags in the site i'm pretty sure...
THANKS A LOT
and ya, i'm bothering you a lot here, but think of this for a moment:
http://wordpress.org/extend/plugins/wp-cumulus/
is it possible? it'll be just amazing
I don't know if it is easy to implement, but this 3D tagcloud might be a nice feature:
http://www.roytanck.com/
yes it surely is
Mine isn't showing any tags... am I doing something wrong? the site is thumbnailsociety.com
Hen, now some tags show up... but only ones from the Kaltura plugin. All other tags don't show up.
@jrosenbaum
1. check the permissions on the content that was tagged
2. a tag must exist more than once to appear
3. the profile widget shows the tags of that person not the entire site
How can I display tags from a "kevin's form plugin" field or all tags from the "kevin's form plugin"?
In custom_index for example...
@Aram - You need to first determine how Kevin's plugin stores the tags. I'm not familiar with it.
@ cash @ Inde Uppal @ pavel m
Thank you!
I get these at the beginning of the tags.
�����������
(black diamonds with white question marks on them)
Any idea why?
Scott -- un-printable for your encoding -- do a view-source...
@ Dhrup, I can see that, I can see in tagcloud.php that it's looking for UTF-8
$cloud .= "<a href=\"" . $vars['url'] . "search/?tag=". urlencode($tag->tag) . $object . $subtype . "\" style=\"font-size: {$size}%\" title=\"".addslashes($tag->tag)." ({$tag->total})\" style=\"text-decoration:none;\">" . htmlentities($tag->tag, ENT_QUOTES, 'UTF-8') . "</a>";
is there anyway to display it in a custom index ?? thanks
@ madshark - Read page 1, comment #13 onwards from Inde Uppal and read Cash's amendments to Inde's initial #13 post for the custom index integration. :)
thanks rob !
to page 1 comment #25 zanzoon
I'm so glad to have found Cash's tagcloud plugin, and was also trying to "pull the tags which are only under a certain field in the profiles" yestoday. In my case, I was trying to grab the "location" in profile:
display_tagcloud(1, $num_items, 'location', 'user');
but this output nothing...
I finally found out that this is caused by engine/lib/tags.php get_tags():: line:112
$query .= " join {$CONFIG->dbprefix}entity_subtypes subtype on subtype.id = e.subtype ";
this "join" actually is a inner join, and because a user entity just don't have a subtype normally(default value: 0), so this query would always returns 0 record.
$query .= " left join {$CONFIG->dbprefix}entity_subtypes subtype on subtype.id = e.subtype ";
so the solution to this is to change this "inner join" to "left join", and I think it's a priciple not to change the core of Elgg, so I just copy the whole get_tags() into Cash's plugin, rename it and add the "left" in.
Now it works perfect!!
Every profile has excactly the same tags.
Found no display_tagcloud() code to change this in the view.php.
Read something about it but nothing helped.
@michi - the view code makes a call to display_tagcloud and passes in the page owner: display_tagcloud(1, $num_items, 'tags', 'object', '', page_owner());
Hello, when the user is registered tags resizing, but the custom_index whether the user is a vistiante the size tags out of the same What can I do?
Sorry, socialem. I do not understand your question.
I cant see if this plugin is great or not yet as it does not seem to work for me.
I have installed the Tagcloud plugin 1.0 and then installed this plugin over it. It shows up on my user profile BUT nothing shows in it even after i uploaded 5 pictures with TidyPics and tagged them all "travel" which i though was needed as i was told you need 2 or more things tagged with the same name.
I really would like to get this working for each profile AND another version of it working for the whole site as well so members can see what the main topics are for the whole site.
Anyone please help me, i will really appreciate it.