langdonx
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-United : phpBB WordPress Integration] Installation issues.I got this as well, it seems like the zip package linked on the plugin setup page has an error in it.
I went into mod_parser.php and above the call to set_file, i did
echo $fileor whatever the variable is. It’s trying to parse a file that doesn’t exist. Theinstall.xmlfile inside.store/mods/wp-united-release-phpbbpoints to a directory that is not valid (I believe “contrib/” was left off of the “0.9.2.5_or_v0.9.2.6-fresh-install” one).Forum: Plugins
In reply to: [WP-United : phpBB WordPress Integration] Blank forum pageI’m having the same issue… the page gets created with just “<!–wp-united-phpbb-forum–>” in the body, but it doesn’t actually do anything. Is it supposed to be a short code? Or is there some JavaScript that’s supposed to find that comment and replace it with phpBB?
Using the Theme Integration seems to work OK though, which I’m guessing serves the same purpose?
Forum: Plugins
In reply to: [Q and A Focus Plus FAQ] Restrict search to FAQs onlyI kind of hacked it in, except now when I search for something that doesn’t exist within the FAQs section, the “search again” feature will remove the search_link parameter and subsequent searches will search every post type.
Any ideas?
In functions.php, here’s what I added:
/* * faqs search filter */ function searchfilter($query) { if ($query->is_search) { if (strpos($_GET['search_link'], 'faqs') !== false) { $query->set('post_type',array('qa_faqs')); } } return $query; } add_filter('pre_get_posts','searchfilter');Forum: Plugins
In reply to: [WooCommerce] contact_form short codeAhh, that makes sense. Thanks for the clarification!