Search Results for 'code'
-
Search Results
-
Until now I had a problem every time a participant wanted to unsubscribe from forum or topic notifications using buddypress profile (forums/subscriptions).
Since the unsusbscribe buttons on his buddypress profile did not work.
And he had to go to the forum/topic in question to perform the operation.I modified the plugin code to fix the problem and it works. You can review my code and include it in your plugin for future updates.
Thanks:/wp-content/plugins/bbpress/includes/users/engagements.php
line 840~ (depends version)
// Bail if actions aren’t meant for this function
if ( ! in_array( $_GET[‘action’], $possible_actions, true ) ) {line 870~ (depends version)
/** No errors *************************************************************/
if ( ‘bbp_unsubscribe’ === $_GET[‘action’] ) {/wp-content/plugins/bbpress/includes/users/template.php
line 1375~
$html = sprintf( ‘%s<span id=”subscribe-%d” %s>%s</span>%s’, $r[‘before’], $object_id, $sub, $url, $object_id, $object_type, wp_create_nonce( ‘toggle-subscription_’ . $object_id ), $text, $r[‘after’] );Hi everyone,
I have had no end of trouble with PopularFX support on this issue!
I managed to get the forums to display within the theme using a shortcode here:
But as you look at an individual forum (i.e. Feedback) the forum is no longer incorporated within the theme. If you then click a thread, neither is that.
PopularFX changed a margin, somehow thinking that would fix the issue, but instead made containers for all the text on my website 10 pixels wide!
They then reverted that back and replied a few days ago saying “change your page slugs.” – so ended their support, and replies to my support ticket!
So are they right in saying changing my page slugs will somehow incorporate the forums into the theme? And if so, how do I go about doing so?
I’m using Popular FX, Scoops.
Thanks in advance!
sc00tTopic: Multisite doesn’t show forum
I want to use bbpress in sub-site network.
I was able to install it, create a forum and display it on [bbp-forum-index], but when I click on the permalink to display it, I get an error that not even wordpress itself is loaded. Please let me know if you know a solution.(I cheked it run correctly in main site)this is the code what I can show the forum page
<html>
<head></head>
<body></body>
</html>Hi everyone,
global-wrestling.com/forum – I’ve embedded the forums here using the shortcode. however, if you click for example the ‘wrestling’ forum, you’ll note that it isn’t picking up the website layout.
I’ve tried editing topics, forums, login and newtopic in the pages section of WordPress in pagelayer, and it just comes up blank.
Can anyone help advise me how I embed the sub forums (i.e. wrestling, OOC, etc) into the website template?
Thanks,
Sc00tI’ve created a page with bbpress shortcode for login, users will need to give their name and email information, but when they are directed to the registration page I set for them, they need to give the password, as a matter of fact, there is a no process when they have required a password, and no emails will be sent to their mailbox, I am confused.
The page needs support is https://eventmelt.com/
Hi
I have 6 forums. I’d like to display 3 of them on one page and the other 3 on anoter page in WordPress. I thought that I could use the shortcode [bbp-single-forum id=32] but when using this, the single forum is added to the page but it’s already expanded showing all the topics within that forum. Is there a way to show single forums but in a collapsed format?Thanks for any help that you can offer (I’m not a programmer, so please keep replies easy for a non techie ๐)
Thanks – David
I don’t get this.
Look here:
I am getting a message under the TinyMCE toolbar. My two icons are now showing either.
My code is very basic:
<?php /** * Plugin Name: Add AutoSave | Fullscreen to TinyMCE * Description: This will install the TinyMCE AutoSave | Fullscreen Plugins (version 4.9.11) and register them with TinyMCE. * Version: 2.1 * Author: Andrew Truckle * Author URI: https://www.trucklesoft.co.uk/ **/ /** * Add the TinyMCE AutoSave and Fullscreen Plugins. * * @param array $plugins An array of all plugins. * @return array */ function aaft_custom_plugins( $plugins ) { $plugins['autosave'] = plugins_url( 'mce/', __FILE__ ) . 'autosave/plugin.min.js'; $plugins['fullscreen'] = plugins_url( 'mce/', __FILE__ ) . 'fullscreen/plugin.min.js'; return $plugins; } add_filter( 'mce_external_plugins', 'aaft_custom_plugins' );
Recently upgraded to WP 6.1 and this plugin bbPress Advanced Statistics gives deprecation warnings when I have debug mode enabled:
The official website for the plugin seems dead now.
The warnings:
Deprecated: Required parameter $version follows optional parameter $file in /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-content/plugins/bbpress-improved-statistics-users-online/includes/core/class.utils.php on line 25 Deprecated: Required parameter $version follows optional parameter $file in /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-content/plugins/bbpress-improved-statistics-users-online/includes/core/class.utils.php on line 64 Deprecated: Required parameter $version follows optional parameter $file in /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-content/plugins/bbpress-improved-statistics-users-online/includes/core/class.statistics.php on line 153 Deprecated: Required parameter $version follows optional parameter $file in /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-content/plugins/bbpress-improved-statistics-users-online/includes/core/class.statistics.php on line 332 Deprecated: Required parameter $version follows optional parameter $file in /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-content/plugins/bbpress-improved-statistics-users-online/includes/core/class.activity.php on line 98 Deprecated: Required parameter $version follows optional parameter $file in /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-content/plugins/bbpress-improved-statistics-users-online/includes/public/class.online.php on line 86 Deprecated: Required parameter $version follows optional parameter $file in /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-content/plugins/bbpress-improved-statistics-users-online/includes/public/class.extras.php on line 47
One example:
public function __construct ( $file = '', $version ) { $this->init(); } // End __construct ()
I understand what it means, and I see that the parameter is ot used in the function. Dos that mean we just delete the parameter?
Another example:
public static function instance ( $file = '', $version ) { if ( is_null( self::$_instance ) ) { self::$_instance = new self( $file, $version ); } return self::$_instance; } // End instance ()
Problem here is that the version value is being used.
Advice appreciated.