Forum Replies Created
thanks @boonebgorges for the mention
I’m not sure this is a bp-moderation problem, from the traces I see bpmod is calling bp_forums_get_topic_posts that load bbpress that tries to alter the db causing the error (the altered tables are not bpmod tables either), bpmod could just be the first to call something forum related and makes bp load bb.
@unwiredtech you could try disabling bpmod and see if the forums work correctly without errors, but I feel its more likely that something is wrong with bb db upgrading, maybe some corruption or wrong db version stored in the options.
Anyway if you narrow down the problem to bp-moderation please write to the plugin forum https://buddypress.org/community/groups/bp-moderation/forum/ or mention me, I’m not usually around here but I follow the plugin activities via rss.
which versions of wp, bp, and php are you using?
0.1.6 should work with php 5.2 too
@djpaul you are faster than the forum rss feed refresh thanks
@nysom you have this problem after installing/updating the bp moderation plugin? this is bp-moderation group, if you have a problem with bp please post to the general forum.
it was a bug with php 5.2, I missed it when testing because it’s only on activation/deactivation…I’m releasing a fixed version right now
what are your wp, bp and php versions?
You could try paying my uni professors to make me pass my exams, so I could stop studing and work on this (joking…of course)
Most of my time goes to the studies because I’m taking degree this year and I still have to catch up with past exams… yesterday I had time to work on 0.1.4 only because it was national holiday in Italy.
I’d like to have more time to work on bp but it’s hard to find it, if someone would like to contribute on bp-moderation I’ll sure be available.
@bowromir in 0.1.4 menu reapper and options are saved correctly
It’s not using WP settings API anymore because is broken for network plugins in wp3.1, now the plugin handles the saving of the options.
this is one of the features I’d most like to implement but I don’t have lot of time for dev’ing right now so I have no ETA
@stwc you may already have tried this but is not in the snippet you posted. That function returns, doesn’t print: either prepend echo or use bpModFrontend::link instead (same params).
if this is not the problem please post a larger snippet and info about your environment and I’ll try to reproduce it
it’s normal, you can see only content already flagged as inappropriate by someone
@stwc at first look it is correct, but remeber that $wpdb and $comment are globals variables, so you could access them trough $GLOBALS and $GLOBALS, or look for some wp function to get those info.
@MrMaz Yep you are right, on both.
I did not noticed bp activity had not-integer ids, and I also wonder why (maybe there’s a good reason, I just don’t get it), problem is that removing the casting would not solve anything because in bp moderation table are stored as int so there will still be casting somewhere else, making it compatible with non-int ids would mean a lot of refactoring.
There is some plugin that is currently using varchar as activity ids?
which content? give details and steps to reproduce
I don’t see any useful hook there, so you need to manually place it in the theme (better in a child theme). Check the WP codex on theme customization and the bpModFrontend::get_link() to generate the link.
Yes content moderation is sitewide
Those are static files so I can guess there are path errors or server misconfiguration: look if the files are there and check that the full path points to them.
If you can’t resolve it post details on your webserver, your site and how to reproduce.
@sulley it should already support localization from the first release, found some issues with it?
@renissancedesign I’ll consider it for future versions, in the meanwhile it’s something that can be easily achivied with filters
@mrjarbenne do you still have that problem with 0.1.2?
tagged 0.1.2 that should solve reported issues, please confirm and see if there are other problems
@rossagrant on links w/o icons: it is expected that there’s no icon there because I’m trying to follow style of the meta links of the default theme where possible.
Btw icon or no icon can be changed not only in php code but also with css, so it can be changed at different levels of site access and skills.
looking in the foreach error in hidden groups.
for other errors you need at least to say the specs of your server, how to reproduce them and any error you see, thanks
by default it place under the content because it’s the only hook I can be sure it’s in every theme.
How to move it depends on the theme and you’ll need either to:
-remove the content hook from content and use another hook you like(if your theme has it)
-edit the theme files
I don’t think is possible to do it with a shortcode and it’s not convenient too because you would have to use it in every post. If you have lot of themes in your community you would have to change every theme.
If you need more help you need to say the theme you are using and where exactly you would like the link.
Sorry for my absence latest weeks, had lot of uni exam.
Yep it seem that that constructor is broken, thanks for the fix, going to tag a fixed release.