Skip to:
Content
Pages
Categories
Search
Top
Bottom

customizing bbpress admin links

Published on July 7th, 2014 by Robkk

ok i just need help with creating a function

if i could use <?php echo bbp_get_topic_reply_link(); ?> to call the topic reply link

how could i make a function thats

if post type is topic echo bbp_topic_reply_link else echo bbp-reply-to-link

and another function that is if keymaster or mod echo trash topic , trash reply etc.

my goal with this is to call each admin link individually and make only 2 or 3 to be visible
(reply,edit,maybe quote link from gd bbpress tools)

while the others are inside of a dropdown menu with an icon to show the menu
kind of like twitter where it shows other options in the more button on tweets

if you guys could help me find another way to call the bbpress admin links instead of
<?php echo bbp_get_name_of_link(); ?>

Error on Embing Media

Published on July 7th, 2014 by Leonyipa

when user type something on the line together with link,
a link shows instead of a video.
How can I fix it?

For example:

and

https://www.youtube.com/watch?v=R137lZVIqEY with words

Reduce size of embed Media

Published on July 7th, 2014 by Leonyipa

After I checked

Embed media (YouTube, Twitter, Flickr, etc…) directly into topics and replies

My users are allow to post a link in a post, and it become a video immediately.
How to resize the youtube video and make it smaller?

This really helps a lot as I hope to reduce lag in my forum where people keep posting youtube videos.

Thanks!

Specific User Write Access

Published on July 6th, 2014 by JosiahW

I would like to create a forum that is readable by the public but only specific users can post in. How do I do this on a specific user base instead of a role base?

Long Query Error

Published on July 5th, 2014 by

Hi,

Looking at our error log, we get a recurrent error generated by bbpress which has led to 502 errors. We are using WordPress 3.9 and bbpress Version 2.5.4. would you please advise us on this:

Thank you. http://communication.org.au

The error log looks like this:
[Sun Jul 06 00:49:32 2014] [error] [client 124.191.29.124] LONG QUERY (1540 characters long generated in /nas/wp/www/cluster-1417/davidsless/wp-content/plugins/bbpress/includes/users/functions.php:1531):


SELECT 
COUNT(NULLIF(meta_value LIKE '%"administrator"%', false)), 
COUNT(NULLIF(meta_value LIKE '%"editor"%', false)), 
COUNT(NULLIF(meta_value LIKE '%"author"%', false)), 
COUNT(NULLIF(meta_value LIKE '%"contributor"%', false)), 
COUNT(NULLIF(meta_value LIKE '%"subscriber"%', false)), 
COUNT(NULLIF(meta_value LIKE '%"bbp\\_keymaster"%', false)), 
COUNT(NULLIF(meta_value LIKE '%"bbp\\_spectator"%', false)), 
COUNT(NULLIF(meta_value LIKE '%"bbp\\_blocked"%', false)), 
COUNT(NULLIF(meta_value LIKE '%"bbp\\_moderator"%', false)), 
COUNT(NULLIF(meta_value LIKE '%"bbp\\_participant"%', false)), 
COUNT(NULLIF(meta_value LIKE '%"shop\\_accountant"%', false)), 
COUNT(NULLIF(meta_value LIKE '%"shop\\_worker"%', false)), 
COUNT(NULLIF(meta_value LIKE '%"shop\\_vendor"%', false)), 
COUNT(NULLIF(meta_value LIKE '%"customer"%', false)), 
COUNT(NULLIF(meta_value LIKE '%"shop\\_manager"%', false)), 
COUNT(NULLIF(meta_value LIKE '%"s2member\\_level1″%', false)), 
COUNT(NULLIF(meta_value LIKE '%"s2member\\_level2″%', false)), 
COUNT(NULLIF(meta_value LIKE '%"s2member\\_level3″%', false)), 
COUNT(NULLIF(meta_value LIKE '%"s2member\\_level4″%', false)), 
COUNT(NULLIF(meta_value LIKE '%"s2member\\_level5″%', false)), 
COUNT(NULLIF(meta_value LIKE '%"s2member\\_level6″%', false)), 
COUNT(NULLIF(meta_value LIKE '%"s2member\\_level7″%', false)), 
COUNT(NULLIF(meta_value LIKE '%"s2member\\_level8″%', false)), 
COUNT(NULLIF(meta_value LIKE '%"s2member\\_level9″%', false)), 
COUNT(*) 
FROM wp_usermeta 
WHERE meta_key = "wp_capabilities", referer:

Communication Research Institute

Forum Structure error

Published on July 5th, 2014 by unicornoak

Hi,

I have 2 questions:

Ive created a forum then deleted and then created another one and it now says forum-2 instead of forum, if i edit it still stays at forum-2.

Also my i go to the forum, i have http://websitename.com/forums/forum/forum-2/ how can i change it to be http://websitename.com/forum/

Any help is much appreciated.

Thanks J

BBPress advise wanted

Published on July 5th, 2014 by parambyte

Hello

I am planning to install BBpress along with WP for my small film making community.
Before starting I wanted to know if its possible to:

1. create login in the wp home page for BBpress
2. allow only offline registered members to be registered as BBpress users
3. enable/disable users, and hence their profiles
4. allow users to create profiles with their filmography and perhaps a vimeo embed or two
5. can users have simple URLs for their profiles, like perhaps example.com/username?

Content Not Showing

Published on July 5th, 2014 by Michael Bryner

Okay, I had this working before on Avada Theme and now when after I took it off because site was too new. I decided to try it again, but it now won’t after from back end or front end creating topics, the content is not showing. It just shows reply to the topic with buttons and text area only. I tried on chrome and firefox and IE 11. Not any change. Here is list of things I did.

1. Deactivated bbPress and reactivated
2. Delete forums and topics, and recreated them
3. Did the tools>forums>repair forums
4. Did the tools>forums>reset and removed the forums and topics after and recreated
5. Added User Role plugin
6. Deactivated all plugins with out bbPress deactivated
7. Had at beginning wp super cache and deleted and took stuff of ftp leftovers before starting the troubleshooting, and even deleted cache by plugin before deleting it
8. I deleted the site cookies in browsers
9. logged out and logged back in
10. Did ipconfig /flushdns
11. deleted cache from browsers
12. purged cache on cloudflare

I think that is all I did. From what I remember. That is a lot, and I am at a loss of why it won’t work now, and it has before. I am using latest WordPress 3.9.1. I do not know what else to do. I have searched google to find nothing. It keeps sending me to these forums, and nothing works at all. I don’t know if it a very long delay in showing content or what. I don’t know what got screwed up, but I am at the point where I do not ever want to have a forum on my site ever again. This hassle is pissing me off. If I don’t get this going soon, then I will take it off. I am on Azure Websites with Project Nami to use MSSQL database for WordPress, but that should not be what is causing it, because what I said before it worked before.

So this makes no sense after all that I did it does not work at all now. Wasted hours of nothing in return.

Allow participants to trash their own topic and replies?

Published on July 5th, 2014 by Leonyipa

How to Allow participants to “trash” their own topic and replies?
like keymaster did?

I only want them to be able to trash, but not delete it.

Thanks!

add_role on my site and influence of bbpress

Published on July 5th, 2014 by sagive

i need to create a new top of user and want to give it “read=>true” capability only…

example

$cpar_capabilities = array(
    'read'	=> true
)
add_role('course_participant', 'Course Participant', $cpar_capabilities);

would this mean he / she cant publish on the forums and if so how can i add the right capabilities so those user can participate in the forums but have read only permission
or any type of other permissions on my site?

Skip to toolbar