Forum Replies Created

Viewing 15 replies - 241 through 255 (of 525 total)
  • Give us a link to the page to see what’s happening there… Thanks.

    I released AOC 0.8.1 which will show now why an image is rejected. This will help you to find which setting have to change.

    Try to upload a bigger image. I mean, an image with more pixels.

    There is a new setting on the gallery settings page ‘Min. megapixels’ This is the minimum pixels an image needs to have to get uploaded. By default it’s set to 0.2 megapixels (This is a 500×400 pixels image or similar). Also you can set the minimum to 0 and see if this solves your issue.

    I’ve seen that there is missing the warnings when the user uploads too small or too big images. I will fix this in a bugfix release.

    This setting has been added to prevent users to load too small images which get resized to the profile size and show ‘pixeled’.

    Thats on WP 2.8.2 ? and Have you saved the widget settings with a valid category which have some posts?

    Also from 0.8 you can set the user thumbnail from the plugin gallery. You can use the function aoc_get_user_image().

    Instructions about how to use the function are found in code (gallery.php)

    Just released 0.8 this includes a function: aoc_gallery_content() that can be used for what you want.

    Call this function this way:

    <?php
    if ( aoc_is_component('gallery') {
        echo aoc_gallery_content($user_login_or_id);
    }

    Look I’m checking first that the gallery component is active to not broke anything if the component is disabled. If you will use outside the plugin, check that function exists:

    <?php
    if ( function_exists('aoc_gallery_content') {
        echo aoc_gallery_content($user_login_or_id);
    }

    The only parameter the function needs is self-explanatory. Pass the user ID or the user login. You will get the HTML gallery code if the user has images, if not, the function returns false.

    The gallery output comes from the selected gallery template (on the settings page). Templates are located in the ‘templates’ directory, and those for gallery are prefixed ‘gallery-‘. If you create your own template, upload it to this folder and select it on the settings page, you template output will be returned.

    As we tested the plugin on different sites, and looks like there are not know issues, we will release 0.8 today.

    Today I will release the 0.8-beta and in some days, probably this weekend, I will release the 0.8 stable.

    On this version output will change a bit, as you will be able to create your own templates.

    About the widgets, I ported them to the new WP_Widget class, so the new version will require WordPress 2.8 or higher. And really is now more easy to write new widgets (thanks to the WordPress guys making some thinks more easy).

    If you want to share some of your code, styling or widgets, feel free to contact me at http://alkivia.org/contact to manage how to share it 😉 Perhaps the ‘featured user’ widget could be included as a plugin component in some version.

    First, I would recommend you to wait some days, as this weekend I will release the 0.8 version and how to do it will change on that.

    Instructions are for the coming 0.8 version, you can get the development version at http://wordpress.org/extend/plugins/alkivia/download/

    You need two things:

    1) The user ID you want the gallery of.
    2) Call the function aoc_get_user_gallery() passing as the first parameter the user ID.

    The function will return an array with all needed data for user gallery. Each array element is a gallery item. In this item, you need the IMG key which is the HTML source to the image thumbnail.

    I’m replacing just now the system that outputs the user gallery and will be done this weekend. When finished, all will be easiest, as will exists a function like: aoc_get_gallery_output($user_id); With this function, you only will need to call it with the user ID and you will get the formated gallery content to output it anywhere you want. Also, this will allow to code new gallery templates.

    Stay connected as I will post here as soon as this is done and available.

    Looks that probably the capabilities to upload pictures have been removed from the users. To allow users to upload images, them need the akuc_upload_images capability.

    You have a description of the nedeed capabilities at http://alkivia.org/plugins/community/capabilities/

    Have you this lines in wp-config.php?

    /** WordPress absolute path to the WordPress directory. */
    if ( !defined('ABSPATH') )
    	define('ABSPATH', dirname(__FILE__) . '/');

    Looks like the ABSPATH constant is missing there.

    And line 404 in plugins.php must be like this:

    require_once ( ABSPATH . 'wp-admin/includes/plugin.php' );

    Have you double checked the gallery options? Specially ‘Use local avatars’ setting?

    Perhaps on the moving the settings were not set, or activating the plugin on the new site have set all to defaults.

    Yes, it is possible, as get_avatar is a WordPress function. This means that it is always available to you, doesn’t mind if you have the plugin installed or not.

    You have to call the function with minimum two params, the first is the user ID or use eMail, tyhe second the avatar size. You can pass the author_id in the post. Don’t forget to echo the value returned by the function.

    Forgot to say. You can see a user list template that will be provided in 0.8 in our site: http://alkivia.org/who-is-who

    By now there is only one user, as the registration and access to Community features are restricted.

    Release 0.8 will be available in some days.

    If you have the phone numbers and addresses on the users metadata table, yes, you will be able to use this if you code your own template.

    A ‘Sample’ template is provided wich gets the user bio from the user data.
    You can see this template code here.

    And the default template, with the format it shows the list in the current version here.

Viewing 15 replies - 241 through 255 (of 525 total)