kickerman360 (@kickerman360)

Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • @kickerman360

    Member

    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

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

    _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

    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

    Make sure you have inserted the code.

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

    @kickerman360

    Member

    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

    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

    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

    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

    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)