Search Results for 'code'
-
Search Results
-
Hi zaerl, hope you’ll be fine, doing good and still helping people here…
I’m using zaerl Visibility for private discussion. And I’m using one forum for per user. In other words, Whenever a user register, I create a forum for him….
So when a user enter in forums he can view latest discussion and his private forum in front page something like
Latest Discussion
1 – Lasted Topic one —
2 – Lasted Topic two —
3 – Lasted Topic three —
4 – Lasted Topic four —
25 – Lasted Topic 25 —
Main Theme
1 – Private Forum Name & Descirption —
So, Its a user view, but for Admin, I can see all forums
Like
Main Theme
1 – Private Forum Name & Descirption for user 1 —
2 – Private Forum Name & Descirption for user 2–
3 – Private Forum Name & Descirption for user 3–
4 – Private Forum Name & Descirption for user 4–
100 – Private Forum Name & Descirption for user 100–
So, for my view I can see a longest front page….. That’s why I want a pagination for forums, exactly like topics pagination…. Is it possible?
Something like
Main Theme
1 – Private Forum Name & Descirption for user 1 —
2 – Private Forum Name & Descirption for user 2–
3 – Private Forum Name & Descirption for user 3–
10 – Private Forum Name & Descirption for user 10–
Next 10 forums || Previous 10 forums
Also please see this screenshot for better understand what I’m taking about.
Thank you so much,
Kind Regards
S.
Hello,
I have the BBpress WordPress Plugin version installed on my WordPress site, and have found that from installation defaults, the lowest ranking user-role that can view the private forums is ‘Moderator’. The trouble with this, is that Moderators can edit other people’s posts, and I do not want all Users that can read and post in the private forums to be able to edit each other’s posts! Is there an easy way to change this? Ideally I’d want WordPress ‘Contributor’-level users and above to be able to view the private forums. I’d also like WordPress ‘Subscriber’-level users to be able to read the public forums but not post to them, but his is not as important, so no real problem if it cannot be done.
Sorry if this has been asked many times before, but I’ve read a bit about user-maps etc, but the discussions tend to be quite old and talking about the BBpress standalone, not the BBpress WordPress Plugin, so I am not sure if it works for the BBpress WordPress Plugin version(?). Just so you know, I am no kind of Coder – just an Animator – so am struggling with terminology etc. here.
I hope someone can help!
Thanks!
To get the HTTP authentication plugin running with bbPress 1.0.3 I had to do a few tweaks. Here is the diff from the original file and my modifications:
42c42,45
< global $bb_submenu;
---
> if (function_exists('bb_admin_add_submenu')) { // Build 794+
> bb_admin_add_submenu(__('HTTP authentication'), 'use_keys', 'http_admin_page');
> } else {
> global $bb_submenu;
44c47,48
< $bb_submenu['plugins.php'][] = array(__('HTTP authentication'), 'use_keys', 'http_admin_page');
---
> $bb_submenu['plugins.php'][] = array(__('HTTP authentication'), 'use_keys', 'http_admin_page');
> }
176c180
< $user_exists = bb_user_exists( $user );
---
> $user_exists = bb_get_user( $user, array('by' => 'login') );
226c230
< ?>
No newline at end of file
---
> ?>Hope this helps someone.
Regards,
Gerald
