Search Results for 'code'
-
Search Results
-
Hi I am having an issue with my forum URL rewrite rules/slugs/permalinks.
At the moment I am testing this in my dev environment.
I have a page that is called FORUM and contains my recent topic and forum shortcodes. This page is located at localhost/sitename/forumMy slug settings are:
Archive Slugs
Forums base: forum
Topics base: topicsSingle Slugs
Forum Prefix ticked
Forum slug: forums
Topic slug: topic
Topic tag slug: topic-tag
Reply slug: reply
User slug: user
Topic view slug: viewWhen I navigate to a forum the URL looks like this:
When I navigate to a topic inside that forum, the URL looks like this:
When I reply to a topic, the URL rewrites to this:
http://localhost/sitename/forum/forums/butterflies/#post-158277
So obviously this is an incorrect URL and just takes me back to the forum home page with the list of recent topics.
How can I make the URL format be consistent? Something like:
http://localhost/sitename/forum/forum-name/test-topic/#post-158277Thanks
I’m having a problem where a number of our users are sending around URLs to discussions in private forums to other users, when those URLs are clicked, if the user is not logged in they get a 404.
I want to write a plugin that directs users to the login page if they are not already, and only then return a 404 if they don’t have ‘read_private_forums’…
Can anyone familiar with the bbPress code base point me to where bbPress evaluates this access?
Topic: Importing bbpress forum
I’d like to import my bbpress forum(with user, topics and replies) from one site to another.
Is it possible?
Both domain are in the same server. So, I see the database is same for both domain on the server.
http://codex.bbpress.org/import-forums/
I’m not very clear about that. And It doesn’t work for me as well.
Can anyone help me ASAP.
I’m in A SERIOUS trouble.
Please.I have the “Members”-plugin installed. After updating bbPress and changing all roles of the users from “(wordpress-)”participants” into “subscribers”, the “participant”-roles of bbPress were empty. Now all subscribers can participate in the private forums. Not what I’ve had in mind…
But in my functions.php I have a script to notify users of their updated capabilities. It starts with:
function user_role_update( $user_id, $new_role ) {
if($new_role == 'bbp_participant') {
But that doesn’t seem to work anymore. Did the name of the bbPress participant role change? Will
function user_role_update( $user_id, $new_role ) {
if($new_role == 'participant') {
work?Greetings all, I hope everyone is having a safe holiday season.
When I upgraded to 3.5 and I go to the page that houses bbpress forums, these are the error messages my browser is displaying…
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0; .NET CLR 2.0.50727; .NET4.0C; .NET CLR 3.5.30729; InfoPath.2; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; .NET CLR 3.0.4506.2152; BRI/2; BOIE8;ENUS)
Timestamp: Mon, 17 Dec 2012 01:41:19 UTCMessage: Object required
Line: 191
Char: 1
Code: 0
URI: http://joseph.heavenboundministry.com/jjblog/?forum=discussion-forumMessage: ‘length’ is null or not an object
Line: 2
Char: 14331
Code: 0
URI: http://joseph.heavenboundministry.com/jjblog/wp-includes/js/jquery/jquery.js?ver=1.8.3Message: ‘length’ is null or not an object
Line: 2
Char: 14331
Code: 0
URI: http://joseph.heavenboundministry.com/jjblog/wp-includes/js/jquery/jquery.js?ver=1.8.3Message: ‘length’ is null or not an object
Line: 2
Char: 14331
Code: 0
URI: http://joseph.heavenboundministry.com/jjblog/wp-includes/js/jquery/jquery.js?ver=1.8.3Message: ‘length’ is null or not an object
Line: 2
Char: 14331
Code: 0
URI: http://joseph.heavenboundministry.com/jjblog/wp-includes/js/jquery/jquery.js?ver=1.8.3Message: ‘length’ is null or not an object
Line: 2
Char: 14331
Code: 0
URI: http://joseph.heavenboundministry.com/jjblog/wp-includes/js/jquery/jquery.js?ver=1.8.3Thank you all for helping me fix my web site, Thanks and happy holidays…
Joseph
In any theme file (preferably header.php), how can I check if the current page is a bbp-user-page, the pages that show info regarding the bbp-user. Using
bbp_is_user_home()I can see if the current user is on his user-page, but I need to check if the user-page is current regardless of who is viewing it. Anyone know how? Thanks