I’m gonna need this one in a hurry so if there’s nothing similar in existance, looks like I have a weekend project.
For now I’m going to keep it simple, add a text link somewhere in the template and that will popup a javascript query for a description why it should be moderated and then an email will be fired off to the admin. What I really want it to do is create a new post in the moderator forum so one of the mods will see it and take action, but that might have to wait until the next version.
Am I the only one (other than the few documented examples) who’s using bbpress for something other than a micro-forum and needs these kinds of tools?
ps. the examples page needs to be updated, over 200,000 registered members now
I’ve created couple of enhancements to the view count plugin which I’ve attached to the plugin’s page.
It’s very easy to edit the templates.
(Oh and xml-rpc is the first thing I disable in any blog configuration – it’s a spammer & evil hacker’s dream)
The WordPress (and bbpress) community is very dis-organized, which is probably to be expected given the nature of blogging itself, everyone just does their own thing and hopes someone else shows up and comes along for the ride.
Ooooh, I really hate that. What file are you trying to use as a plugin?
i did wht u said
file apear in plugin list but
when i try to actve it i see this error message:
Plugin could not be activated; it produced a Fatal Error.
Err. No-one here’s obliged to look through threads. People often do, though, but there’s just no guarantee that someone will have the time and will to help people *and* that they then know what to do or have _anything_ useful to say. I’m sorry if you haven’t been helped.
There’s a plugin that adds a view count. It’s not in the core. Maybe it should be. Why don’t you request it on trac?
I think you add fields to the table by editing the template file. W3Schools has a good guide to table HTML, and you can use PHP to fill it with a template tag or whatever. http://www.w3schools.com/html/html_tables.asp
It’s not a plugin. Add this to the top of the file, after the <?php:
/*
Plugin Name: Nerr
*/
How are you installing the plugin? Are you downloading it directly or are you using the ‘Plugin browser for bbPress’ plugin? If the latter, then I think it’s not downloading properly, you need to do it manually by downloading the current ZIP file, unzipping it and follow the instructions in the readme.txt
file.
Here is the Avatar Upload plugin in the bbPRess Plugin Browser, the newest version of the code is always to be found on that page:
https://bbpress.org/plugins/topic/46
Click on the link “Download latest version” — or just click the following download link for now:
https://bbpress.org/plugins/download/avatar-upload.0.7.zip
I’ve been struggling with trying to get information regarding a problem with xml-rpc in WP… more posts that I should have made, probably, but it just boggles my mind that apparently not one single person the WP community gives a rodent’s fundament about xml-rpc (or if such is given, lacks either knowledge or helpfulness). In the course of this effort, it became clear to me that what was (IS) really frustrating about it is that I have no idea whether people are even LOOKING at any of the questions, so in a brief discussion it seemed like a good idea to make it a feature request for bbpress – that is, to have an (at least optional) views count for each thread, so one can find out if anyone’s even taking a peek at it… which provides some feedback (is my Topic Title not good enough to get people to look at it? or are people looking and shaking their heads?).
Having just installed (only partially successfully, so far) bbpress, I don’t (yet) know where to look for the obvious place to add a field to the table and update it before displaying the thread… but I’ll bet someone knows, eh?
yeah that’ll work for now, thanks.
i am using 0.8.2.1 i upload the files but in plugins list in admin area it didnt appear!! any one know the reason?
That’s the maxlength
property of input fields.
You can still edit the HTML, though, and submit your crazy username. A serverside check is best.
Yes just edit the textfield (where you have to enter your username) and just let it except like 5 characters or less…
I have never coded sql, but i agree for some unknown reason that i don’t think it’s difficult to code. I’m just curious as to why noone ever did so before. In my opinion, this is the only obstacle in bbPress.
If anyone should decide to give this a go and try to make the plugin, i just have one (more?) request.. and that is that the plugin also indicates a new topic in the forums part, and not only in the latest discussions. The Indicate New Posts plugin fails to do this.
Who do i have to sleep with to get this plugin?
> update: actually this is not directly your fault, though you are trying to use a bb-admin function that was meant for local file access to do remote file access?
If you check the short “to do” list at the top of the plugin you’ll see that I plan to address that issue in the future. I might just copy and paste the code from that internal function and then hack in my own curl/fopen alternative function.
> If I am not mistaken, you just found a bbpress security loophole.
Explain your concerns, how do you think this would be exploited? If it can be we should patch it up.
> ps. any concerns about eventually 2,000-20,000 bbpress users hammering the svn with so many file downloads to examine all the plugin headers?
36 downloads so far, let’s start worrying at 1,000
try this if you want to change the number on the front page:
https://bbpress.org/plugins/topic/3
Right now bbpress appears to default to 15 post per topic before being paged. Where is the variable to reset this to another value?
What are the advantages of doing it this way?
Is there a way to either modify the “Indicate New Posts” plugin, or inspire someone to make a plugin, so that i can add something like this in my theme:
<?php if ($newpost) : ?>
NEW
<?php else : ?>
OLD
<?php endif; ?>
I have looked all over google – and on this site – for a plugin that allowed me to see new posts/topics when i visit my forum, but so far the only one i could find is the “Indicate…”. In all honesty, i can’t use bold marked topics for much.. i need something more CSS like, something not only affecting the topic.
I’ve coded themes for phpBB for years, but i recently found bbPress and i just love how simple and easy it is to code themes here. With a plugin to display new posts/topics (which in my own humble opinion SHOULD be standard in bbPress), i could gladly help spreading the word of a (relatively) new BB, by making some new themes.
If i could decide the function entirely, it should work in such way that both new topics as well as new posts would be affected, and they would continue to show as unread until i actually read them. Also, it should be database driven, so that i could log in to my account on another computer, and still see the posts/topics that would be new for me.
Please don’t make me go back to phpBB…
Actually, I just realized there is a cheat way to do zero extra mysql queries and link to the profile.
<td class="num"><a href="/forums/profile.php?id=<? echo $topic->topic_last_poster; ?>"><?php topic_last_poster(); ?></a></td>
untested but should work in theory
This will just use the stored last posted id # instead of forcing bbpress to lookup all their meta data and profile link in the database.
If your forum uses permalinks, it will just rewrite the url on display.
Mistainu, by “breadcrumb structure” do you mean that the family tree of a sub-forum should be displayed? That’s high on my wishlist.
In other words, right now a subforum’s breadcrumbs look like:
Food Forums – winesaps
When I wish they looked like:
Food Forums – fruit – apples – winesaps
I’m reluctant to use subforums at all if I can’t give the user good feedback about where they are in the forum structure.
So: does your breadcrumb code address this problem? And if so, is it coherent enough that I can glue it into place myself without being an expert about bbPress internals? (I do know enough PHP to be dangerous.)
is there a way to limit the maximum number of characters for a username?
I’ll link it. And it’s the same userid over at WP as here att bbpress.
Turning of/setting WP permalinks to default fixes it at my site.
May be worth linking that thread over to this one (I don’t have a WP forum account just now), as it does affect both systems (working together).
If I turn off permalinks on bbpress it seems to work though, same with you?
I have used MultiViews as well as the more in depth htaccess and it didn’t change anything.
fel,
Using a forum name instead of a number in the Write Post screen while the default is left blank also results in no post to the forum.
Anything I put in bbsync ~ forum box in the Write Post screen is overridden by what is in the default screen.
So a summary; no posts if default is empty on config screen; posts only if the default screen is filled in and then posts only to that forum, overriding anything in the Write screen.
BTW, I have two additional integration plugins running: in BBPress, I have WordPress Integration 0.7 by Michael D Adams; in WP I have bbPress Integration 0.74 also by Michael D Adams.