Forum Replies Created
Sure thing! Like I said, new to BuddyPress community – not sure of what the best protocol was.
Woops, the backticks in my SQL query got converted into
andblocks inside the actual code block…
@boone discovered a problem with the plugin. Was unable to attach files to replies to an existing topic, despite seeing the form. Attachments only worked on the first post of new topics.
Dug around a bit, it seems that your JS-based enctype fix was not being loaded on single group forum topic views. When I updated the code to make sure the script was running on those pages, the plugin worked once again.
So, if anyone else is having this problem, check to see if the scripts.js file is loaded into the page and running properly. Hopefully this will save you several hours of searching through code and checking network transmissions.
Thanks for writing a great plugin, Boone Gorges. Hopefully this can be patched in future versions.
PS this is in regards to Forum Attachments Version 0.2.4 running on BuddyPress Version 1.5.1
I know this is pretty old, but the issue still exists. It may be “intended behavior”, but that doesn’t mean it’s “desirable behavior”.
I was working on a somewhat atypical install of BP that was using groups for membership/subscription control, and only using the main forum listing, not individual group forums. Not having stickies working here was a BIG problem!
Anyway, for all those interested in hacking out a solution, look no further. In the buddypress/bp-forums/bp-forums-template.php file, edit the defaults at the top of the bp_has_forum_topics function. (Line 268).
Change $do_stickies = false; to $do_stickies = true;
(This is in reference to version 1.5.1)