Uncle Nerdicus replied to the topic BuddyPress Errors when opening Update in separate page in the forum How-to & Troubleshooting 3 years, 12 months ago
Figured out the problem myself..
I am using a theme (apparently) not updated for 3.6, so I copied the file “wp-content/plugins/buddypress/bp-themes/bp-default/members/single/activity/permalink.php” to “wp-content/themes/frisco-for-buddypress/members/single/activity/” and it solved the issue.
Uncle Nerdicus started the topic BuddyPress Errors when opening Update in separate page in the forum How-to & Troubleshooting 4 years ago
I have tried updating to the latest version (1.8.1) and it still didn’t solve the issue. I am running WordPress 1.5.2 and BuddyPress 1.8. When clicking on an Activity Update (URL: “http://yn.yazzietech.com/users/nerdicus99/activity/18/”) the following error occurs and displays on the user’s screen.
The plugin has this setting, yes. (Screenshot at http://yn.yazzietech.com/data/Message_Attachment_Settings.jpg ) That is true, I am running on a Redhat Linux hosting account, so I figure block the scripts that could be executed on Unix and that would cover it. I suppose you could also change a file’s permission to 644 on Upload? What is annoying…[Read more]
@modemlooper Thanks for your reply 🙂 I believe what you suggested in the first place is possible, I just posted the entire PHP file at http://pastebin.com/WnpZsY1t – It’s the “actions.php” file from the “buddy press-messages-attachment” plugin. The code excerpt I posted was lines 47-50. Where would I embed the code you suggest to make this work out?
I have a piece of PHP code that gets a list of allowed extensions from the WordPress Database and only allows files uploaded that are those file extensions. What I would like to do is make the code allow ALL extensions but NOT allow only a couple of file extensions (executables like exe, shells, binaries, etc.)
Here is the code:
$allwd_ext =…[Read more]
@nerdicus99 Not recently active