On these pages are my WordPress plugins, the odd article and my Support Forum.

For my random rantings on everything else please visit my blog at Yellow Swordfish

WP Plugins


Articles

If you find any of my plugins useful, please comsider a donation towards my running costs.

Thank you

In preparation for the release of Simple:Press Version 4.0, the Support Forum has moved to a new site dedicated to the plugin. This will also be the future home for Simple:Press Forum.


Version 3.1.4 will still be available for download here in the short term.


For the support forum - and to visit our new site and to get details of version 4.0, click on the logo to take you to simplepressforum.com

This forum is currently locked - access is read only
Current User: Guest
Please consider registering

 
Search Forums:


 




Feature request: integration with cmdavatar

UserPost

10:14 am
27 May 2008


Tirwin

Guest

51

If your looking for any suggestions as to what to include in updates, I would say that, as a forum, this plugin works fantastic, with regards to the avatar however, the option to upload  any image size and have it compressed automatically would be benefitial rather than all your users having to manually make the image 50px.

10:43 am
27 May 2008


Tirwin

Guest

52

With regards to above, this website http://www.shrinkpictures.com/create-avatar/ does the shrinking for you.

Also, I have now uploaded an avatar… although all my posts show my avatar fine the comments boxes now show me as just a 'member', any ideas? Im searching the script just now.

10:59 am
27 May 2008


Tirwin

Guest

53

When you upload an avatar it shows correctly next to posts using:

<?php sf_show_forum_avatar(get_the_author_email()); ?>

But the tag you supplied for the comments only recognises me as a user so I used this instead:

<?php sf_show_members_avatar($comment->user_id);?>

11:00 am
27 May 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

54

What do you mean by 'comment boxes' please?

On your first point I am not sure I agree that it should be the job of a forum plugin to resize images.

11:10 am
27 May 2008


Tirwin

Guest

55

when someone leave s a post people can also leave comments on it, these show in a comment box.

example: http://www.tirwin.co.uk/archives/50

It's entirely up to you with regards to resizing, I saw it was possible on the CMD-Avatars plugin but it's no big deal to me since I will simply direct my users to:

http://www.shrinkpictures.com/create-avatar/

11:32 am
27 May 2008


Tirwin

Guest

56

also… My users (non-admins) cannot find a place for them to upload an avatar, I got them to check the 'Profile' section of the forum but it's not there. Do they have to be set to a specific user level in WP?

11:59 am
27 May 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

57

Tirwin said:

also… My users (non-admins) cannot find a place for them to upload an avatar, I got them to check the 'Profile' section of the forum but it's not there. Do they have to be set to a specific user level in WP?


You have to grant them permission to do so (see Admin > Forum > Manage Permission Sets)

12:28 pm
27 May 2008


Tirwin

Guest

58

I think everything is set but he still cant post,  he is registered but how do I know what user level he is? and how do I set it to automatically apply a specific user level to new people who register? Is there a manual or faq? I dont really want to keep bothering you.

12:39 pm
27 May 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

59

Simple:Press Forum does not use user levels. You manage your users in the admin section. 'Manage user Groups' allows you to build groups of users (if you wish to - you can also just use the deafult setups). 'Manage Permission Sets' allows to to select what they can and cannot do.

Take some time to look through these and then go to manage Forums - edit one and see where the user groups are linked to forums. It may look a little complex but actually it is very simple and very powerful.

In fact - as I say to everyone although many users do not bother to do this - take some time to look through all the options as well.

1:19 pm
27 May 2008


Tirwin

Guest

60

making more sense of it as I go along, thanks very much for all the assistance.

12:24 pm
8 Jun 2008


Killazeek

Member

posts 13

61

Yellow Swordfish said:

Glad to hear it's working for you. It's already in the source code for the next update.


This is what I've been trying to do for so long I'm glad you guys got it to work I finally got it to work in my comments section of my blog posts, I have only one question left. What template tag do I use to display the default guest avatar for non members and the default member avatar for members who have no yet uploaded there own avatar in the comments?

This same way it works in the simple forum plugin.

1:34 pm
8 Jun 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

62

sf_show_forum_avatar() which requires the commenters email address as the argument.

1:55 pm
8 Jun 2008


Killazeek

Member

posts 13

63

Yellow Swordfish said:

sf_show_forum_avatar() which requires the commenters email address as the argument.


But now it only displays the default guest avatar even when I'm logged in…..

5:01 pm
8 Jun 2008


Mr Papa

Moderator

Arizona, USA

posts 1602

64

show us the code you used…  you must be passing it the commenter email address, so it must be in the comments loop…

8:06 pm
8 Jun 2008


Killazeek

Member

posts 13

65

Mr Papa said:

show us the code you used…  you must be passing it the commenter email address, so it must be in the comments loop…


<?php sf_show_members_avatar($comment->user_id); ?>

This is the code I'm using right now which works fine except that it doesn't show the default guest avatar for commenters who are not members.

Heres an example of a post that has members, non-members http://www.musicvideocast.com/2008/05/hot-styles-featuring-yung-joc-lookin-boy-video-2.html

8:59 pm
8 Jun 2008


Mr Papa

Moderator

Arizona, USA

posts 1602

66

you need to re-read the directioins from above… 

you are using the wrong function… that one is only for members… the proper function is

sf_show_forum_avatar($comment->comment_author_email)

and you must supply the commenter EMAIL ADDRESS, not the user_id.  again, in the comments loop…



Reply to Topic: Feature request: integration with cmdavatar

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 6 + 1        (Required)

Topic Reply:


 
 

About the Stuff at Yellow Swordfish forum

Currently Online:

10 Guests

Maximum Online: 71

Forums:

Groups: 3

Forums: 16

Topics: 2068

Posts: 14091

Members:

There are 1003 members

There are 837 guests


Yellow Swordfish has made 5252 posts

Top Posters:

Mr Papa - 1602

-Radio- - 558

ovizii - 114

jfv - 82

angelic007 - 72

Administrator: Yellow Swordfish | Moderators: Yellow Swordfish, Mr Papa, -Radio-


© Simple:Press Forum - Version 3.1.4 (Build 357)