Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Contributor oltdev

    (@oltdev)

    What version of user-avatar, WordPress, PHP are you using? You have to give me more information. What kind of debugging did you do? Try turning off all the plugins and only enabling user avatar.

    Plugin Contributor oltdev

    (@oltdev)

    Hi Adim

    Thanks I will add the file in the next release!

    The short answer is no, but we are still able to provide a full profile on THAT list page. That is why we figured there was no point of creating a separate page for it! The way to go about doing this is to get your blog users to use the WYSIWYG to insert any and all information that they desired, whether it be their resume, a short poem or whatever they wanted to insert there. Next, you can use %bio% to call that information and it will display on the page!

    Now, you’re going to tell me that, “Hey, I don’t want a huge poem in the middle of the listings” and I’ll tell you, “Of course not!”. So, you add a jQuery slide toggle and insert say some text like “Read More…” and upon clicking that, the bio from the WYSIWYG would slide down and show that info! This way you keep users on that page with your full listing, yet allow users to have any information they desire to display!

    Hope this helps and it’s a Friday morning, which is why my response is so animated!

    Cheers,
    ctltdev.

    Plugin Contributor oltdev

    (@oltdev)

    There is no UI for changing the size of the user avatars. Only 2 sizes are stored. However, if you knew the dimensions that you desired, you could change the dimensions in the code (we used pretty clear variable names so with a bit of testing this would work) and try that out.

    Since this plugin was developed for People Lists (https://www.ads-software.com/extend/plugins/people-lists), the dimensions that are in the code were the dimensions we desired for this plugin.

    Good luck,
    ctltdev.

    Hehe, the joy of coding off the top of your head and not proofreading. Thanks for posting that here for other users who may want to have more default options.

    Cheers,
    ctltdev.

    There are other plugins that already provide this functionality, which is why People Lists is more for creating targeted more specific lists. jdrowe, that’s one way of doing it and it’s not as tedious as me having to figure out how to implement it into the plugin, especially since I developed it for the organization and don’t have a surplus of time to work on it!

    My suggestion would be to make 5 anchors like jdrowe has suggested and create 5 unique People Lists to display the the longer list in separate areas, which is what you were planning to achieve anyway.

    I will review this again when/if I have time to make updates to the plugin.

    Thank you for your suggestion.

    Cheers,
    ctltdev

    Hi jdrowe,

    We built this plugin for a couple of clients and they didn’t require that hook, which is why we didn’t include it. It is actually very simple with our coding style to get it to display for you if you have some coding experience. Try changing

    $input_template[5] = "%thumbnail%";
    counter = 6;

    to

    $input_template[5] = "%thumbnail%";
    $input_template[6] = "%website%";
    counter = 7;

    and change…

    $replacements[5] = get_avatar($id);
    $counter = 6;

    to

    $replacements[5] = get_avatar($id);
    $replacements[6] = user_url;
    $counter = 7;

    I will definitely make this update when/if I get time to do so, that is why I’m providing you with some input here so you can take a look and try it out on your own if the matter is urgent. I will add all of the fields in a future update.

    Thanks for bringing up this issue jdrowe!

    Cheers,
    ctltdev

    Absolutely! This is stated in the description as well (I believe)!

    You can display the lists in pages, posts, and as the sidebar as well! Of course since sidebars usually don’t have much space, you would have to style your list using the template to look as you want it in the sidebar.

    Cheers,
    ctltdev

    Hi Rlyeh,

    You’re correct! Thanks for pointing this out.

    However, since none of the WordPress fields use “-“, I think it’s okay to leave the regex the way it is. If there are future updates, I will take a look into this issue and simply throw an error if field names are not alphanumeric with spaces.

    For users reading this post, when adding a field for say a mobile number, simply type “Mobile Number” in the field name area and the slug will be created for you with “Mobile Number” being the label that will display on the User Profile fields.

    Cheers,
    ctltdev

    Plugin Contributor oltdev

    (@oltdev)

    Hey cperugino,

    We have set the plugin’s upload directory to 777 permission, so that shouldn’t be an issue…

    if( !file_exists(WP_CONTENT_DIR."/uploads/avatars/") )
    	mkdir(WP_CONTENT_DIR."/uploads/avatars/", 0777 ,true);

    Check to make sure there’s a folder inside your ‘wp-content’ that is called ‘uploads’, which has directory ‘avatars’ and then creates a folder named with uid storing the two sizes of images used.

    Basically check to make sure the URL paths are leading to the right places with your install of WordPress. The program is working fine for me and many other users, so it’s either your permissions or directory structure that may be causing problems.

    Please post back here if you figure out what it is!

    Sorry I can’t be of more help and I will try to find some time to look into it.

    Good luck,
    ctltdev

    Plugin Contributor oltdev

    (@oltdev)

    Thanks for your kind words infected.

    I do agree with your missing point and if time prevails, I could definitely look into doing that because you’re right, that should be an option. This plugn was built directly for People Lists (https://www.ads-software.com/extend/plugins/people-lists/) to make it easier for users to upload their photos and with so many other launches coming up, we didn’t have time to add extra functionality.

    I will take your note for the making the plugin translateable, but once again can’t guarantee it happening soon or provide any sort of timeline.

    Thanks again for your feedback.

    Hope this helps,
    ctltdev(former oltdev)

    Plugin Contributor oltdev

    (@oltdev)

    Hi baszer,

    Our testing environment was using WP 3.0 + and we’ve tested this plugin on Firefox, Safari, IE 7+ and know it works for other standard browsers as well. Please make sure that both your WordPress and Internet Browser are working. With the information you have provided it is difficult for me to figure out if there is a problem with the plugin. Also, please grab the latest version and replace the current version of User Avatar on your host. Try to re-activate the plugin and see if that helps out.

    Please also remember that this plugin is made directly for People Lists (https://www.ads-software.com/extend/plugins/people-lists/) to make it easier for users to upload their photos…something that should be in the core! =]

    Hope this helps,
    ctltdev(former oltdev)

    You may wish to check these plugins:
    custom-post-order and postmash

    Thread Starter oltdev

    (@oltdev)

    First, thanks for the reply!

    Second, well, I simply used the HTML entity code for an apostrophe & #39; to save those characters and it worked fairly well… However, if I need to update the options I can’t allow the saved apostrophe in any field, I have to replace all apostrophes with the & #39; character, and at one point I had up to 10 different apostrophes; it’s brutal!

    Cosmin – OLT UBC

    Hi and sorry about that,

    There was a problem with uploading the files from the development server on the svn, which is why the code error wasn’t noticed while testing.

    Try downloading and installing the plugin again (either version 1.0.1 or 1.0.2).

    Cosmin – OLT UBC

Viewing 15 replies - 1 through 15 (of 16 total)