Search Results for 'code'
-
Search Results
-
Hey All,
I have installed the bbPress plugin on a few wordpress instances and tend to favour a vanilla install coupled with CSS overrides to provide the look & feel I need.
On a recent install I have spotted an issue with user profiles. When I try and navigate to the user’s profile (typically yoursite.com/users/<username>) I am receiving a 404 page from WordPress.
I can browse to another users profile and it resolves fine. The only difference I can see is that the profile which is not working has a username which has spaces e.g. FirstName LastName as opposed to FirstNameLastName.
Has anyone else had this issue and know if its a genuine bug or a “feature”?

Cheers, Matt
Topic: Contents of bbp-topic-index
I currently use the shortcode bbp-topic-index quite heavily to display the top list of topics currently being discussed. What I want to do is be able to manipulate how the information is displayed inside of that shortcode.
Specifically, I want to change the links in the topic title to have the same function as “freshness” (so that when you click on the topic subject it takes you to the most recent post). It’s a feature my users have been asking for…
Unfortunately I’m having some trouble discerning exactly WHICH file to edit. I’m sure I can take it from there.
Thanks!
Topic: I want to browse for apps
I want to browse for apps
Many “community” forums available on the internet have attempted to create a list of apps that are available for android tablets for sale but they all have on thing in common, poor execution. The list is unintuitive and uninteresting. A very bland list of apps with no description or screenshots-that’s not how I want to browse for apps. starzmart
I’ve got a bbpress install which I run as support forum. I sometimes post links to zip files in there with patch fixes on them.
I was looking at my webstats and noticed :
a) A huge number of hits on my zip files
b) A huge increase in bandwith against my website from my own server
Checking my access logs I see:
192.168.0.1 - - [10/Nov/2011:06:37:13 +0000] "HEAD /wordbooker/wordbookerdebug200401.zip HTTP/1.0" 200 - "-" "bbPress/1.0.3"
192.168.0.1 - - [10/Nov/2011:06:37:13 +0000] "GET /wordbooker/wordbookerdebug200401.zip HTTP/1.0" 200 818430 "-" "bbPress/1.0.3"
192.168.0.1 - - [10/Nov/2011:06:37:29 +0000] "HEAD /wordbooker/wordbookerdebug200402.zip HTTP/1.0" 200 - "-" "bbPress/1.0.3"
192.168.0.1 - - [10/Nov/2011:06:37:29 +0000] "GET /wordbooker/wordbookerdebug200402.zip HTTP/1.0" 200 818550 "-" "bbPress/1.0.3"
192.168.0.1 - - [10/Nov/2011:06:37:40 +0000] "HEAD /wordbooker/wordbookerdebug200402.zip HTTP/1.0" 200 - "-" "bbPress/1.0.3"
192.168.0.1 - - [10/Nov/2011:06:37:40 +0000] "GET /wordbooker/wordbookerdebug200402.zip HTTP/1.0" 200 818550 "-" "bbPress/1.0.3"
192.168.0.1 - - [10/Nov/2011:06:37:46 +0000] "HEAD /wordbooker/wordbookerdebug200403.zip HTTP/1.0" 200 - "-" "bbPress/1.0.3"
192.168.0.1 - - [10/Nov/2011:06:37:46 +0000] "GET /wordbooker/wordbookerdebug200403.zip HTTP/1.0" 200 832241 "-" "bbPress/1.0.3"
192.168.0.1 - - [10/Nov/2011:06:37:46 +0000] "HEAD /wordbooker/wordbookerdebug200403.zip HTTP/1.0" 200 - "-" "bbPress/1.0.3"
192.168.0.1 - - [10/Nov/2011:06:37:46 +0000] "GET /wordbooker/wordbookerdebug200403.zip HTTP/1.0" 200 832241 "-" "bbPress/1.0.3"
192.168.0.1 - - [10/Nov/2011:06:38:29 +0000] "HEAD /wordbooker/wordbookerdebug200401.zip HTTP/1.0" 200 - "-" "bbPress/1.0.3"
192.168.0.1 - - [10/Nov/2011:06:38:29 +0000] "GET /wordbooker/wordbookerdebug200401.zip HTTP/1.0" 200 818430 "-" "bbPress/1.0.3"
192.168.0.1 - - [10/Nov/2011:06:38:45 +0000] "HEAD /wordbooker/wordbookerdebug200402.zip HTTP/1.0" 200 - "-" "bbPress/1.0.3"
192.168.0.1 - - [10/Nov/2011:06:38:45 +0000] "GET /wordbooker/wordbookerdebug200402.zip HTTP/1.0" 200 818550 "-" "bbPress/1.0.3"
192.168.0.1 - - [10/Nov/2011:06:38:50 +0000] "HEAD /wordbooker/wordbookerdebug200402.zip HTTP/1.0" 200 - "-" "bbPress/1.0.3"
192.168.0.1 - - [10/Nov/2011:06:38:50 +0000] "GET /wordbooker/wordbookerdebug200402.zip HTTP/1.0" 200 818550 "-" "bbPress/1.0.3"
192.168.0.1 - - [10/Nov/2011:06:38:55 +0000] "HEAD /wordbooker/wordbookerdebug200403.zip HTTP/1.0" 200 - "-" "bbPress/1.0.3"
192.168.0.1 - - [10/Nov/2011:06:38:55 +0000] "GET /wordbooker/wordbookerdebug200403.zip HTTP/1.0" 200 832241 "-" "bbPress/1.0.3"
192.168.0.1 - - [10/Nov/2011:06:38:55 +0000] "HEAD /wordbooker/wordbookerdebug200403.zip HTTP/1.0" 200 - "-" "bbPress/1.0.3"
192.168.0.1 - - [10/Nov/2011:06:38:55 +0000] "GET /wordbooker/wordbookerdebug200403.zip HTTP/1.0" 200 832241 "-" "bbPress/1.0.3"So why is bbPress doing this? I did wonder if it was one of the plugins but surely they’d show as external IP addresses.
WordPress 3.1.4, bbpress plugin 2.0
I want role Participant to view forum/topic/reply with Hidden attribute but not Private,how can I do?
I try to change some definition manually in bbp_get_caps_for_role() like this:
case $participant_role :
$caps = array(
// Forum caps
‘read_hidden_forums’,
// Topic caps
‘publish_topics’,
‘edit_topics’,
// Reply caps
‘publish_replies’,
‘edit_replies’,
// Topic tag caps
‘assign_topic_tags’,
);
break;
and reinstall wordpress and bbpress, create a Participant account and it works.
Everything seems OK but only when I access pages like: http://localhost/?forum=a-hidden-forum, it returns a 404 page, not a topic list.
Other pages like “http://localhost/?topic=a-topic-in-a-hidden-forum”, “http://localhost/?post_type=forum” and widges in sidebar return the right contents.
I also try adding both
// Forum caps
‘read_hidden_forums’,
‘read_private_forums’,
to Participant and as a result, every pages are displayed even “http://localhost/?forum=a-hidden-forum” and topics in Private forum.
It seems have something to do with actions in “bbp-init” in which return a wrong string when reaching for perameter “forum”.
Sorry for not viewing all previous QoA but the most similar topic I’ve found is “Forum Participant role cannot view private forum” but it doesn’t help.
Is there any way to solve my problem?
Thanks for any help
Coming to bbPress from WP, I am looking for a way to style a thread on a client 1.03 bbPress forum.
In WP when using categories, one can set up a category-13.php page.
This becomes a dedicated template page for all posts with a category ID of 13.
Is there a way to do the same for forums.php?
Would love to be able to create forums-13.php so that I can style it as required without breaking other things.
Is there another way to achieve this sort of thing?
I have a WordPress with WPML plugin and it works ok in all the pages, menus, widgets and plugins.
Now I added the bbpress 2.0 plugin, and there is no way that WPML can read the language .mo files of bbpress.
I tried with CodeStyling Localization (another translate plugin) but the bbpress language files are not available. Localization section of WP shows this:
Textdomain: bbpress
Versión: 2.0
Estado: active
Descripción: bbPress is forum software with a twist from the creators of WordPress.
Compatibility: Loading Issue: Author is using load_textdomain instead of load_plugin_textdomain function. This may break behavior of WordPress, because some filters and actions won’t be executed anymore. Please contact the Author about that.
How can I make bbpress 2.0 will be multilingual as the entire content?
Thanks!
Topic: Import Failure
I’m trying to import one of my standalone forums to the plugin. I use bbpress 1.1 and latest bbpress plugin. I ran the importer and got this error:
Fatal error: Cannot redeclare class BPDB in /home/forum/bb-includes/backpress/class.bpdb.php on line 39I found this thread:
http://bbpress.org/forums/topic/where-is-the-importer
Following scribu’s lead, I added this to my bb-config:
define('BB_DATABASE_CLASS', 'BPDB');define('BB_DATABASE_CLASS_INCLUDE', false);
I got the same errors that he did:
Warning: Missing argument 2 for BPDB::__construct(), called in .../forum-svn/bb-settings.php on line 197 and defined in .../plugins/bbpress/bbp-admin/importers/bbpress.php on line 29Warning: Missing argument 3 for BPDB::__construct(), called in …/forum-svn/bb-settings.php on line 197 and defined in …/plugins/bbpress/bbp-admin/importers/bbpress.php on line 29
Warning: Missing argument 4 for BPDB::__construct(), called in …/forum-svn/bb-settings.php on line 197 and defined in …/plugins/bbpress/bbp-admin/importers/bbpress.php on line 29
Fatal error: Cannot redeclare bb_cache_users() (previously declared in …/plugins/bbpress/bbp-admin/importers/bbpress.php:103) in …/forum-svn/bb-includes/functions.bb-users.php on line 39
When I went back to the importer I see “It looks like you attempted to convert your bbPress standalone previously and got interrupted.” I chose “Continue Previous Import” and still get the error. I went back to bb-config and removed the items that I had added. Now I get this error:
Fatal error: Cannot redeclare class BPDB in /forums/bb-includes/backpress/class.bpdb.php on line 39I believe I tried deep integration at one point and abandoned it. I was running the bbPress Integration plugin, not sure if that has anything to do with it:
http://wordpress.org/extend/plugins/bbpress-integration/
Any ideas? I’d be happy to let a developer (JJJ) take a look at things if they’d like to troubleshoot it.
Hello, shortcodes works well when I put them on the pages, but when Im trying to put them on the sidebars, its not working.
Heres the example: http://warezjasz.cal24.pl/
shortcode: [bbp-forum-index] is on the page and on the sidebar, but working only on the page.
I tried this on many templates, and its always the same.
ps: I also have another site, and the whole bbp shortcodes works there very well, even on sidebars, I have no idea what is the reason.