Txanny
Forum Replies Created
-
Many thanks! I received the donation, and your help is greatly appreciated. This will help a bit with my hosting costs.
Forum: Plugins
In reply to: A problem with the thumbnail images.Don’t worry. The forum as so many posts and the titles not always suggest what is discussed on the topics.
By now is the only way, if you want to change the image, it have to be the first. What I didn’t check is if it enough if you change the images gallery order (using the post uploader).
Forum: Plugins
In reply to: [Plugin: User Community] Access to Dashboard denied after upgradeYou’re welcome. No hi ha de quรจ ๐
Perhaps the problem was installing the WordPress Catalan translation? That was exactly the problem I had on my site.
Forum: Plugins
In reply to: [Plugin: Alkivia Open Community] Show avatar in profile page templateNice to see you could find a way to show exactly what you wanted on the page.
I will try to write some more template tutorials as soon as I find some time to do it.
Forum: Plugins
In reply to: [Plugin: Alkivia Open Community] Author’s posts link with new rolesI cannot understand your question. What do you want exactly to be changed?
The “Author’s posts” link always points to the author archives, as author archives is a WordPress feature and the link is set as WordPress expects it.
Perhaps you want the text to point to another place? If so, you can make your custom profile template and set the style and content for the page as you want.
Forum: Fixing WordPress
In reply to: [Plugin: SidePosts Widget] Adding Sidepost manually to the sidebarI’m sorry, but the answer is No. This is a widget for WordPress 2.8 or above and only can be used as a widget in the WordPress standard sidebar.
This was a feature we discussed for earlier versions, but we decided to discard it as SidePosts now extends the WP_Widget class and could make your blog unstable.
Forum: Plugins
In reply to: A problem with the thumbnail images.As answered before on this forum:
The image shown is the first attached image to the post, not the image shown within a post. The widget does nothing with the post shown images, it just shows as thumbnail excerpt the first attached imaged. This is that way by design.
To fix it, upload as first image that one you want as excerpt thumbnail.
Forum: Themes and Templates
In reply to: RSS Feed Does Not GenerateI’ve checked your site now, and feeds are working.
As said before, normally the themes do not write the feeds output, it’s done by WordPress core but some plugins can change it. Some themes can, perhaps do something with the feed output, but it is not the case of the Chameleon theme.
How did you solved it?
I don’t know how Role Scoper works. But if users from a role don’t have access to the ‘Your Gallery’ page, it’s because they don’t have the akuc_upload_images capability.
To know more about the plugin capabilities, you should read this page: http://alkivia.org/wordpress/community/capabilities/
Forum: Requests and Feedback
In reply to: [Plugin: Alkivia Open Community] Activity Wall SuggestionI write down the suggestion to see how to implement this. I think you mean to hide the activity from the global activity wall, not the user page.
Good you’ve solved it. Just remember that this folder is not used by this plugin. Perhaps you have another plugin which uses it…
Forum: Plugins
In reply to: [Plugin: Alkivia Open Community] Show avatar in profile page template$avatar_size is not available for user profile pages, as normally in profile pages the user picture or thumbnail is shown. (There are temnplates showing the user picture, the user thumbnail or the user gallery.
Also, the $user var in profiles is not an array, it is an object. So, you cannot use it as array, have to use as object.
In the provided templates header, you have a list of what variables are available.
That said, you can call the get_avatar() function passing a hardcoded avatar size, like get_avatar($user->ID, 80);
Forum: Plugins
In reply to: [Plugin: Capability Manager] What does Akuc mean?The capabilities that start with Akuc, come from the Alkivia Open Community plugin. Means that you have installed that plugin. Yo cat see a description for this capabilities at http://alkivia.org/wordpress/community/capabilities/
The old name of the plugin was Alkivia User Community, and that is way Akuc means (Alkivia User Community). This is just a prefix set to plugin specific capabilities to prevent name collision.
In next versions (don’t now yet from which version) I will start to prefix that plugin capabilities with AOC (Alkivia Open Community).
Just follow the message instructions: Use your FTP client to change the directory rights to writable by the server user.
Are you using other plugins? The directory down is not used by this plugin (the folder the plugin uses to upload pictures is <uploads>/alkivia/users), and this message is not coded on the plugin. Probably it comes from other plugin.
Any way, follow the instructions and change the write rights on the directory.
If you set more than one field, I would use get_userdata() that way, I would add the lines shown, after line 49, this is the foreach line:
<?php ( foreach $users as $user ) : $userdata = get_userdata($user['ID']);Now, you have all data on the $userdata object, so you can display anywhere you want:
echo $userdata->field_one; echo $userdata->field_two;For what you want, and if the field name is ‘headline’, you have to change the link line to:
<td><a href="<?php echo $baselink . urlencode($user['user_login']); ?>"><?php echo $userdata->headline; ?></a></td>To get only one field, the code would be:
global $wpdb; $query = "SELECT meta_value FROM {$wpdb->usermeta} WHERE user_id='{$user['ID']}' AND meta_key='headline'"; $headline = $wpdb->get_var($query);This have to be placed inside the foreach, and you will get the ‘headline’ field value on the $headline var.
Code is not tested, but it should work.