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:


 




small probs with sf 3.1.3

UserPost

4:08 pm
12 Aug 2008


ovizii

Member

posts 114

1
  • I just noticed, if I skip the sidebar for my forum, i.e. make the forum use a template without a sidebar, there is no way for users to login…
  • could we maybe have a login form, on top of the forum, that disappears as soon as a user is already loged in?
  • also I noticed I cannot modify user profiles as an author, is that intentionally?
  • next observation, is that if I let the forum modify the page title, which I really want to have, it also corrupts the output of this: wp_list_pages inside my footer :-( which should generate a list of all pages…
  • I was just wondering if the auto refreshing template tag gives the same results as the widget?

any hints for me?

5:50 pm
12 Aug 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

2
  1. There is already a login button at the top of the page (look above-right). Maybe you have yours turned off in the options?
  2. You can't modify them where? From within the forum the only person who can modify a members profile is that member themself.
  3. Yes - it's an old WP bug that they can't be bothered to fix even though it causes endless problems. I raised a tciket way back in about 2.3 or something.
  4. yes - more or less. You can see the output on my own home page sidebar although it is not currently set to auto-refesh.

7:50 pm
12 Aug 2008


ovizii

Member

posts 114

3

1. sorry I overlooked that setting :-(

2. I meant I wanted to upload an avatar for one of the users, and noticed I can't

3. sorry for clarifying that I wasn't aware.

4. thx again, I just needed a simple small “notification” of new posts i nthe forum in my sidebar that do auto-refresh. If both do the same and auto refresh, I am happy with the widget, otherwise I'd have to hardcode those tags into the template, but I haven't really settled for a definite them for the particular site I am talking about right now.

8:00 pm
12 Aug 2008


Mr Papa

Moderator

Arizona, USA

posts 1602

4

#2…  correct, you cant do that…  only the user can upload their avatar…  of course, you could upload it via ftp and then make changes via phpmyadmin in the database if you really need to do that…

8:29 pm
12 Aug 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

5

Acxtually - I have been asked for this facility before - only once - but asked all the same.

8:47 pm
12 Aug 2008


ovizii

Member

posts 114

6

thats nothing really important, I was just playing around. regarding avatars and sf - I already asked about this, maybe you could have a look at this wp plugin: http://www.sterling-adventures.co.uk/blog/2008/03/01/avatars-plugin/

it extends the built in avatar capabilities of wp, maybe you can get some inspiration from it, maybe even take advantage of it… I am insisting in this avatar matter as it really confuses users to have two profile location, meaning two different locations to input their data, although they are mostly synchronized, but not when it comes to the avatar selection :-(

12:19 pm
13 Aug 2008


ovizii

Member

posts 114

7

I am currently playing around with a small website for friends and right now I am building the about page, will follow up with the authors pages later, but I hit the problem with the avatars:

http://www.die-kellerkinder.eu/about/

the code I am using looks like this:


<?php

// Get the authors from the database ordered by user nicename
    global $wpdb;
    $query = “SELECT ID, user_nicename from $wpdb->users ORDER BY user_nicename”;
    $author_ids = $wpdb->get_results($query);

// Loop through each author
    foreach($author_ids as $author) :

    // Get user data
        $curauth = get_userdata($author->ID);

    // If user level is above 0 or login name is “admin”, display profile
        if($curauth->user_level > 0 || $curauth->user_login == 'admin') :

        // Get link to author page
            $user_link = get_author_posts_url($curauth->ID);

        // Set default avatar (values = default, wavatar, identicon, monsterid)
            $avatar = 'monsterid';
?>

<div class=”entry”>
<div class=”post”>

    <a href=”<?php echo $user_link; ?>” title=”<?php echo $curauth->display_name; ?>”>
        <?php echo get_avatar($curauth->user_email, '96', $avatar); ?>
    </a>

does anyone have any suggestion on how to combine this script so that it is also able to pick up the locally uploaded avatar from the forum?

2:20 pm
13 Aug 2008


Mr Papa

Moderator

Arizona, USA

posts 1602

8

look in the online help or in the sf-tags.php file… 

sf_show_forum_avatar() is the function…

11:22 am
18 Aug 2008


ovizii

Member

posts 114

9

thx, that did the trick.




Reply to Topic: small probs with sf 3.1.3

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: 11 + 5        (Required)

Topic Reply:


 
 

About the Stuff at Yellow Swordfish forum

Currently Online:

7 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)