thomasklaiber (@thomasklaiber)

Forum Replies Created

Viewing 25 replies - 26 through 50 (of 86 total)
  • @thomasklaiber

    Member

    Maybe using a array? Like

    $menu['FAQ'] = 'faq.php';

    Passing this through a filter so everybody can add his links via filter in his plugin…

    @thomasklaiber

    Member

    Hehe … it sends an email on EVERY new post if it’s checked in the users profile. Not just admins.

    I know what you mean with your plugin-request, this is something mine can’t do at the moment. But I think this is a great feature to be added and it could be done by plugin. “Add Forum to favorites” :)

    In reply to: If code-question

    @thomasklaiber

    Member

    if(is_front() && is_topic())

    Hope I’m not saying something wrong =)

    In reply to: First Plugin Attempt

    @thomasklaiber

    Member

    I think you should use a function like:

    function apply_author_title_image( $r ) {

    $r .= '<br>Your Image';

    return $r;

    }

    add_filter('post_author_title', 'apply_author_title_image');

    In reply to: First Plugin Attempt

    @thomasklaiber

    Member

    Hmm … which of the lines is line 82? I just can’t see any error, too.

    I also put it into my Code Analyzer, the only strange thing it said was that you dont’t use the function variable $id.

    I have no idea -.-

    @thomasklaiber

    Member

    Maybe add

    <php header("Location: path/to/your/page"); ?>

    to the top of your bbpress registration template?

    Just a thought.

    @thomasklaiber

    Member

    Hehe … which bbpress version are you using? Stable release or trac version?

    If you’re using the stable version (0.73), line 48 should look like this:

    add_action('init', 'online_update');

    Just a thought …

    The thing with the time, 5 minutes and 1 hour is something different :-D The 5 minutes are the timeout for inactivity … so if you inactive for more then 5 minutes, you’re not longer displayed as online.

    The one hour thing was to let the plugin work on my board, I think there seems to be a little problem with the timezones. Just try removing it … the -3600 and see if it works then.

    cheers.

    @thomasklaiber

    Member

    If you are inactive for more than 5 minutes, you’re marked as offline. So if you go to the forum again later your last_visit is the time when you were there the time before.

    (ehm .. sry… it’s hard for me to describe in english)

    d3x7r0:

    Strange … for me it works at the moment. Maybe some time problems … try removing the -3600 from line 53.

    Just remember, this is beta! (maybe… alpha :D )

    @thomasklaiber

    Member

    Thanks for this super great feedback Trent!

    1) This is something my plugin can’t do. You have to change the views-template, because this message is also missing in any other view without contents. Maybe something for a trac-ticket?

    Just add

    <?php else: ?>

    <p>Sorry, no matching posts found!</p>

    in front of the last <?php endif; ?> in the views template.

    2) I’ll implement a function for this :)

    3) Maybe like the latest discussions on the front-page? … Yeah, it’s a good idea instead of leaving it blank!

    4) Donno exactly. When I look at the views-code there seems to be paging functionality already?!

    5) I thought of this issue, too. It adds a few queries on every page refresh, but I have no idea how to optimize this.

    Thanks again man!

    @thomasklaiber

    Member

    It will definitly be an additional plugin. But it won’t work without the onlinelist plugin installed. :)

    It uses the Onlinelist db to retrieve the users last visit to the forum, this was the easyest method for me to handle it. This version of the plugin will be a super-simple version of this feature.

    If you want to take a look at it:

    http://la-school.com/2006/downloads/BETA_since-last-visit.zip

    By doing it I thought about doing a second plugin which uses cookies and wont need the onlinelist plugin?! If you haven’t started working on this, I’ll do it?

    @thomasklaiber

    Member

    This is just something a lot easyer to do. It requires just a small plugin, I’ll make one for this, ok? :)

    The posts since last visit plugin is getting a bit more complicated then I thought. I’m doing it as plugin for my onlinelist plugin, cause I think doing this database driven is better … so you can view the posts since your last visit anywhere.

    If you want to see how it looks like at the moment, go to

    http://la-school.com/bbpress/ (Test / test) … not sure if you can really try it :D

    In reply to: Strange views

    @thomasklaiber

    Member

    Bah … I’m sure it was to late… i forgot to add global $topic; to my function -.-“

    @thomasklaiber

    Member

    I think I’ll do it with cookies, too. I just played around a little bit with my onlinelist plugin and it isn’t a good idea to use it as base for this.

    If I use cookies it’s independet from the plugin and will work better.

    I’ll keep your idea with the seen posts in mind.

    @thomasklaiber

    Member

    Very nice idea! Keep it up as good as it is so far! I’ve added it to my bookmarks.

    btw: My Post Notification Plugin? :D

    @thomasklaiber

    Member

    Ahh .. didn’t think of this feature yet. But with my Onlinelist Plugin I think it’s easy to add this to the Views section.

    If somebody hasn’t started working on this, I’ll do it?!

    @thomasklaiber

    Member

    The next thing is, every Username links to the Website, too.

    But as i looked quickly throuh the functions I think this is something for a core change. The users website is passed from get_profile_info_keys() in an array to bb_profile_data(). This function generates the data-List and makes the Link clickable .. but there is no point where you can add a Plugin.

    The array from get_profile_info_keys() is passed trough a filter, maybe something like a if (in_array(...)) in the filter …?

    Just a thought…

    @thomasklaiber

    Member

    It’s a really good idea!! Never thought about it.

    Maybe this is something for a plugin? :)

    @thomasklaiber

    Member

    Yeah … it’s called profile_menu because it’s for your profile and not for the whole board =)

    You can add this function (with a new name like profile_menu_global) into a plugin so you don’t have to change the core files!

    Where are you from, Germany? I’m from Germany if you need more help ;-)

    @thomasklaiber

    Member

    There is a way I think (correct me if it’s wrong).

    Here’s an example:

    http://la-school.com/public/location-filter.txt

    @thomasklaiber

    Member

    Ehm … donno where exactly should I get errors?

    I installed this file .. I can post … I can login .. I can access the Portal-Configuration … =)

    Everything seems to work for me.

    @thomasklaiber

    Member

    I’d say change to

    $bb->domain = 'http://www.kensavage.com';

    Then it should work!

    @thomasklaiber

    Member

    Oh .. you’re right! … Didn’t think of this, sorry!

    Got a new Version. Now it displays the posters Name, not the starters.

    Download here:

    http://la-school.com/2006/downloads/notification_1_3.zip

    In reply to: Plugin: Summon user

    @thomasklaiber

    Member

    UPDATE

    Sorry … there was no ability to select “nobody”.

    Download here:

    http://la-school.com/2006/downloads/summon_1_0-fix.zip

    Sorry =)

    @thomasklaiber

    Member

    I think there is no plugin needed for this. It only requires a small template change in front-page.php.

    Just replace in line 37:

    topic_link();

    with

    echo get_topic_last_post_link($topic->topic_id);

    … I think it should work.

    @thomasklaiber

    Member

    Hehe … look here my friend: https://bbpress.org/forums/topic/465

    merry christmas.

Viewing 25 replies - 26 through 50 (of 86 total)