Search Results for '"wordpress"'
-
Search Results
-
Hi there
Using bbPress Version 2.3.2
We’ve got Premise member access module installed. It manages access to posts by adding meta tags to the wp_postmeta table. We then check member access levels against these meta tags to see if the user can access a post.We also use these member access levels to restrict access to our forums. Unfortunately the member access tags are only added to the forum categories and parents, and not to the individual replies and posts.
This means that restricted posts turn up in search results, and have to be excluded by checking the user access level against that of the forum category or parent.
I’ve managed to exclude the posts from the search results, by adding the following lines of code I found in these forums to the loop in loop-search.php just before get_template_part is called:
$parent = array_reverse(get_post_ancestors($post->ID)); // get an array of all the parent pages in order from most distant to closest. $first_parent = get_page($parent[0]); //get the first page in the array, which is the most distant parent $int = apply_filters(‘the_ID’, $first_parent->ID); //filter the $first_parent to get only the wordpress page/post ID, which is an integer like 49 or 565. store it as a variable $int //Skip post if user can't access it. if (!IQS_can_user_access_post($int)) { continue; }This code works, however the pagination results still show for all the excluded posts.
I’ve been trying to figure out how to modify the bbpress()->search_query results but I’m not very good with PHP.
Any advice on how I can exclude posts from a search query or fix my pagination?
Topic: Updating bbPress
Hi,
I got version 2.5.0 and could update and should.
I made some little changes in design, css and a few templates.I looked at this page: http://bbpress.trac.wordpress.org/browser/branches#2.5
and if I understand correctly, only the bbpress.php has changed (and readme.txt).
Would it be enough to just download that file and replace it or must it be done the official way, by installed plugins/update?Regards, Ron
Is it possible to display the RSS feed of the forum replies in a given group?
http://wordpress.org/plugins/bp-lotsa-feeds/
I tried this plugin but it seems to not work anymore. The section “Individual Group” is exactly what I’m looking for. Is there someone who can help me to display the RSS feed replies in a given group?Thanks
I’m not sure but I’m guessing this is not an intended effect or am I wrong? The voice count works as expected until one uses the forum repair tool and performs a Count voices in each topic which then excludes the guest topics and replies from the voice count. Also tested on a new bbPress install with other plugins disabled.
I’m using WordPress 3.7.1. and bbPress 2.5
I’m not sure but I think this only came up around the time I upgraded to bbPress 2.5Topic: Forum Custom Permissions
Hi guys over there!
I have a little problem with my forum… and I hope you can help me with it.
I’m setting up a new forum and I’m trying to set-up custom permissions for each forum
e.g.:
Forum A -> Access & View only to Group A
Forum B -> Access & View only to Group B
Forum C -> Access & View only to Group CTo solve this problem I have found two plugins:
Members -> http://wordpress.org/plugins/members
bbPress Permissions -> https://github.com/ZanderAdam/Tehnik-bbPress-PermissionsThe problem is that when i activate the second plugin (bbpress permission) I see all forums more than one time…
I see something like that:
FORUM A
FORUM B
FORUM C
FORUM A
FORUM C
FORUM B
FORUM AInstead of a simple:
FORUM A
FORUM B
FORUM CSomeone had this problem with the plugin?
Ty for response 🙂
Topic: layout changes
Hi!
I am choosing a suitable forum plugin to use on my wordpress site.
I wish my end product to look like this: http://www.tokyohive.com/forumsPlease advice if bbpress layout can be edited to look like this, and if yes, how difficult or easy is it?
I am really new to wordpress. Thank you everyone for all your help!
Topic: Adding profile fields
Hi there, I’m trying to add new profile fields to the bbpress profile screen. so far I’ve been able to add the profile items I want like so
add_action(‘bbp_user_edit_after_name’,’lp_add_profile_settings’);
question now is, how to I get the profile items to save properly. is there a bbpress hook or wordpress hook that I can use to get my user_meta settings to save?