(@kickerman360)

Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)

  • KICKERMAN360
    Member

    @kickerman360

    NightGunner5: I’ll test that when I get a chance, thanks!

    FinalWebsites: The plugin calls the image a certain name. If the user is “admin” the admin’s avatar will be “avatar.jpg” but could also be “avatar.gif” etc. This code hopefully will reduce the code.

    Thanks again!


    KICKERMAN360
    Member

    @kickerman360

    That Facebook type bar won’t work in Ie7 or prior since you used position:fixed, instead it gets pushed to the bottom… i think.


    KICKERMAN360
    Member

    @kickerman360

    <td class="num">
    <?php
    function gs_get_topic_last_poster_profile_link() {
    global $topic;
    if ($topic)
    return sprintf('<a href="%s">%s</a>', get_user_profile_link($topic->topic_last_poster), get_topic_last_poster($topic->topic_id));
    return false;
    }
    ?>
    </td>


    KICKERMAN360
    Member

    @kickerman360

    _ck_, I think they mean when making a forum a category (no posts), when starting a new topic it shows up (which i think is fine to index things properly. e.g. you might have to ‘General’ Forums in 2 Categories. Anyway then it takes them to a page stating the topic is closed, since there is no posts allowed there.

    With your second question, you could probably edit that out, messing with the theme.

    Why don’t you just update to version 1.0.1? Why stay on an unstable version where bugs are expected?


    KICKERMAN360
    Member

    @kickerman360

    You can use CSS to do this. Simply find the class or id of the tags (view source is the quickest way), probably enclosed in <p> tags, I can’t remember, then edit the style.css file in your theme. Find the class/id and add:

    ‘text-transform:capitalize;’

    More info can be found here: http://www.w3schools.com/Css/pr_text_text-transform.asp


    KICKERMAN360
    Member

    @kickerman360

    Make sure you have inserted the code.

    Refer to the installation notes you should have got with your download.


    KICKERMAN360
    Member

    @kickerman360

    Maybe this will work:

    <a href='<?php bb_uri(); ?>/profile/<?php topic_last_poster(); ?>"><?php topic_last_poster(); ?></a>

    Not 100% sure it would work since <?php topic_last_poster(); ?> grabs the display name, not the user name I think. Well there’s a start.

    In reply to: Plugin: Avatar Upload

    KICKERMAN360
    Member

    @kickerman360

    It would be awesome for _ck_ to help out, s/he (sorry) has been fixing bugs before! It’s an awesome plugin by the way, thanks for making it!


    KICKERMAN360
    Member

    @kickerman360

    Hey thanks _ck_

    I found this snippet of code

    <?php global $user_identity;

    get_currentuserinfo();

    if ($user_identity == ”) {

    echo(‘Welcome Guest’);

    } else {

    echo(‘<img src=”/forum/avatars/’ . strtolower($user_identity) . ‘” alt=”avatar” />’);

    }

    ?>

    Which doesn’t cause an error but doesn’t display an image. I don’t think a file type is being declared which results in a 404 and then the alt text is displayed.

    I did however come up with this, which is a modded version (to be used on a homepage)

    <?php echo(‘<img src=”/forums/avatars/’ . $current_user->user_login . ‘.jpg” />’); ?>

    <?php echo(‘<img src=”/forums/avatars/’ . $current_user->user_login . ‘.png” />’); ?>

    <?php echo(‘<img src=”/forums/avatars/’ . $current_user->user_login . ‘.gif” />’); ?>

    <?php echo(‘<img src=”/forums/avatars/’ . $current_user->user_login . ‘.jpeg” />’); ?>

    I’m not sure how to find out the file extension via php so I just created 3 extra lines of code for the 4 types of files the form should accept.

    If anyone wants to clean up my code I’d greatly appreciate it, I’m only just learning php (noob :D ) after playing with CSS and (x)HTML for a while. I know, the code will not be valid.

    Thanks again, _ck_ ( I didn’t realize there was 2 help forums for that plugin)


    KICKERMAN360
    Member

    @kickerman360

    Hey, thanks for the reply.

    I found a fix by placing my theme in the bb-templates folder (I know we’re not supposed to). Even placing the original templates in my-templates folder screwed up. I think it’s a chmod issue.

    Thanks anyway though.


    KICKERMAN360
    Member

    @kickerman360

    Thanks _ck_, nice work with your plugins as well, you’re basically building the other half of bbPress :D

Viewing 11 replies - 1 through 11 (of 11 total)