Forum Replies Created
-
In reply to: How does bbPress handel: double variables?
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…
In reply to: Plugin: Post NotificationHehe … 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-questionif(is_front() && is_topic())
Hope I’m not saying something wrong
In reply to: First Plugin AttemptI 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 AttemptHmm … 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 -.-
In reply to: Disallowing RegistrationMaybe add
<php header("Location: path/to/your/page"); ?>
to the top of your bbpress registration template?
Just a thought.
In reply to: Request: Posts since last visitHehe … 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 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.
In reply to: Request: Posts since last visitIf 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 )
In reply to: Request: Posts since last visitThanks 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!
In reply to: Request: Posts since last visitIt 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?
In reply to: Request: Posts since last visitThis 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
In reply to: Strange viewsBah … I’m sure it was to late… i forgot to add
global $topic;
to my function -.-“In reply to: Request: Posts since last visitI 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.
In reply to: Plugins and Templates SiteVery nice idea! Keep it up as good as it is so far! I’ve added it to my bookmarks.
btw: My Post Notification Plugin?
In reply to: Request: Posts since last visitAhh .. 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?!
In reply to: Links to Bozos and Blocked UsersThe 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 tobb_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 aif (in_array(...))
in the filter …?Just a thought…
In reply to: Sticking Topics to TagsIt’s a really good idea!! Never thought about it.
Maybe this is something for a plugin?
In reply to: profile_menu doesnt work on all pagesYeah … it’s called
profile_menu
because it’s for your profile and not for the whole boardYou 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
There is a way I think (correct me if it’s wrong).
Here’s an example:
In reply to: My post form conflicts with normal bbpress post formEhm … 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.
In reply to: problem with config file?I’d say change to
$bb->domain = 'http://www.kensavage.com';
Then it should work!
In reply to: Plugin: Post NotificationOh .. you’re right! … Didn’t think of this, sorry!
Got a new Version. Now it displays the posters Name, not the starters.
Download here:
In reply to: Plugin: Summon userUPDATE
Sorry … there was no ability to select “nobody”.
Download here:
http://la-school.com/2006/downloads/summon_1_0-fix.zip
Sorry
In reply to: Request: Topic title link to latest postI 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.
In reply to: Request: “Summon” pluginHehe … look here my friend: https://bbpress.org/forums/topic/465
merry christmas.