Search Results for '+.+default+.+'
-
AuthorSearch Results
-
January 29, 2013 at 3:48 pm #125734
In reply to: noob question how to change theme?
Lynq
ParticipantThe bbPress theme is inside the plugin and inherits your wordpress themes styling.
If you wish to change that then you need to copy the theme files out of the plugin and into your wordpress theme. The theme files are inside templates/default I believe.
Copy them out into your wordpress theme and then edit those files to get your preferred look, good luck!
January 29, 2013 at 10:32 am #125716rossagrant
ParticipantJust to update on testing too, I have fully tested this now and can recreate it on all of my installs and a brand new install of BP 1.6.3, WP 3.5 and BBPress 2.2.4.
Admin can post @mentions freely, but regular BP members (assigned participant role) can’t without that error in the log appearing.
The @mention still works as it should but I can’t for the life of me see why it’s throwing that error.
I’ve tried it and get the same result on 3 separate servers now too. I have tried it with BP-Default and NO plugins except for BP and BBPress.
If you guys need me to test anything else at all, please shout up.
Should I create a ticket in TRAC?
January 27, 2013 at 3:56 pm #125633In reply to: Forums not visible to logged in users
singitlow
ParticipantHi, I encounter the very same problem with my 3.5 installation. When logged in, the forum is not found anymore.
I already tried to “Remap existing users to default forum roles”, since it works when the role of a user is set to Keymaster, but that brought no solution. I also checked different browser. The same problem.
Well, I´d be happy for a hint. Thank you in advance,
singitlowJanuary 27, 2013 at 2:16 am #125620In reply to: bbPress 2.2.4 Released
Erlend
ParticipantWhen you you think images uploading problem will be fixed? I mean that default users can’t upload images now using TyniMCE editor.
I think that’s intentional for now. See this:
bbPress dev chat summary Jan 9, 2013January 26, 2013 at 1:56 pm #125590In reply to: TinyMCE plugins does not work with bbPress
Michael
ParticipantOkay, I think I figured this out on my own, though I don’t quite have the list of usable html matching what the default TinyMCE editor offers. I’ll have to play with that separately.
What I did was add a function in my functions.php file that changed the allowed markup for all bbPress (and blog) posts to include what I think is a reasonable list AND is still safe. I’ve added the IMG tag as well — for my Forum that’s a useful feature, and I’ll just have to monitor what people post in terms of image links.
Here’s the code I added to my functions.php file:
add_action('init', 'my_html_tags_code', 10); function my_html_tags_code() { define('CUSTOM_TAGS', true); global $allowedposttags, $allowedtags; $allowedposttags = array( 'p' => array( 'style' => array()), 'strong' => array(), 'em' => array(), 'i' => array(), 'del' => array(), 'h1' => array(), 'h2' => array(), 'h3' => array(), 'h4' => array(), 'h5' => array(), 'hr' => array(), 'blockquote' => array(), 'q' => array(), 'pre' => array(), 'span' => array( 'style' => array()), 'div' => array( 'style' => array()), 'ul' => array (), 'ol' => array ( 'start' => array()), 'li' => array (), 'a' => array( 'href' => array (), 'title' => array (), 'rel' => array()), 'img' => array ( 'src' => array(), 'width' => array(), 'height' => array(), 'alt' => array()) ); $allowedtags = array( 'p' => array( 'style' => array()), 'strong' => array(), 'em' => array(), 'i' => array(), 'del' => array(), 'h1' => array(), 'h2' => array(), 'h3' => array(), 'h4' => array(), 'h5' => array(), 'hr' => array(), 'blockquote' => array(), 'q' => array(), 'pre' => array(), 'span' => array( 'style' => array()), 'div' => array( 'style' => array()), 'ul' => array (), 'ol' => array ( 'start' => array()), 'li' => array (), 'a' => array( 'href' => array (), 'title' => array (), 'rel' => array()), 'img' => array ( 'src' => array(), 'width' => array(), 'height' => array(), 'alt' => array()) ); }January 26, 2013 at 12:12 pm #125587Topic: Bootstrap based Clean bbpress theme – released to public
in forum Themeschoibc
ParticipantI am pleased to release this clean theme for non-tech people.
It is basically bootstrap child theme and bbpress styling of default bbpress template.
I have hard time to figure out new bbpress plugin and theme. Now I have some clue…with lots of googling. One thing I couldn’t do is “Previous/Next Topic” navigation while seeing single topic.Please refer here to download theme.
WordPress Bootstrap + bbPressAny suggestion welcome.
January 26, 2013 at 12:23 am #125556In reply to: Vanilla 2 Converter
Stephen Edgar
KeymasterThe docs are now up also,
@brokentwig Key changes from your great work getting this started
- Topic tags are now included
- Once bbPress core converter is updated we can filter the users imported
- Added Topic Closed Status
- Inline docs consistent with other importers
- Whitespace and code formatting improved
- Uses parser.php to convert HTML & Smilies
- Reply status not needed, defaults are built into converter.php
- Reply Order removed, this is calculated during the import
The to do list:
- Remove the `callback_savepass` & `authenticate_pass` as you rightly point out they are not needed and Vanilla uses the same hash as WordPress for passwords so this is too easy.
If you see any bugs with the converter `Vanilla.php` please post these to the trac ticket here.
If there is anything else that needs doing before or after the import that I have not already listed in the codex docs if you could add/update these that would be great.
https://codex.bbpress.org/import-forums/vanilla
(Use the same bbpress.org username and password to login)January 25, 2013 at 4:14 pm #125536In reply to: Forum Adopting Parent Theme
mintertweed
ParticipantOkay, so I physically replaced bbpress.css located in bbpress/templates/default/css/ with the newly named style-forums.css and the styles are working fine. But I immediately replaced it with the original bbpress.css because my forums are still not appearing properly. So…first problem solved! Yay. Now, how do I make my forums appear once again? Thank you for your help thus far!
January 25, 2013 at 7:07 am #125520In reply to: bbPress 2.2.4 Released
PavelS
Participant@netweb When you you think images uploading problem will be fixed? I mean that default users can’t upload images now using TyniMCE editor.
January 23, 2013 at 4:11 pm #125458In reply to: 2.2.3 / WP 3.5 cannot create topics in groups
jeffacubed
Participant@wdfee Wow – I am SOO glad I stumbled across this y’day – as I was having the EXACT same issue related to the inability to post/create new (forum) topics within buddypress groups after I migrated all the group forums to bbpress 2.2.3.
My config is WP 3.5 multisite, bbPress 2.2.3, BuddyPress 1.6.3, using bp-default theme &/or Genesis Agency w/ Genesis Connect.
It was driving me bonkers trying to comprehend what could be wrong. Regardless, I de-activated bbpress on the root site (site 1), & re-activated bbpress ‘sitewide’ and now I can post new topics w/ buddypress group forums. Like you, I could always create new topics for group forums via the back-end & from the front-end via the sitewide forums, but the front-end was a no-go (w/in the actual group-forum) until I activated bbpress sitewide. As a test, I created a multisite ‘from scratch’ installation (WP 3.5 multisite, bbPress 2.2.3, BuddyPress 1.6.3, using bp-default theme) & activated both buddypress & bbpress from site 1 (root) and everything works 100% as expected from the start. I still don’t 100% understand the nature of this sol’n, but I’ll take it for now!
Anyways, THANKS for posting this, as this forum thread was the tipping point to get a major [buddypress x bbpress] open-innovation project launched ‘only x1 month late’ √
January 23, 2013 at 5:05 am #125450In reply to: How do I install bbPress to my wordpress?
captjones
ParticipantThere does not seem to be a step by step manual.
`To customize bbPress:
The directory “wp-content/plugins/bbpress/templates/default/” contains the directories “bbpress”, “css”, “extras”, and “js”, and the file “bbpress-functions.php”.“bbpress” contains template files; copy any you want to modify into a directory named “bbpress” in your theme’s root. eg. /wp-content/mytheme/bbpress/
“extras” contains optional page templates and things to make life a little easier when customizing; copy any you want to use or modify into the same ‘bbpress’ folder. eg. /wp-content/mytheme/bbpress/
“css” contains style sheets; copy any you want to modify into a directory named “css” in your theme’s root. eg. /wp-content/mytheme/css/
Edit the new files for complete control over bbPress display in your theme.`^ I did all this and the forum stopped working at all. No other option?
Thanks.January 22, 2013 at 10:07 pm #125448Erlend
ParticipantI prefer the way WPORG deals with per-project forums over the BuddyPress-bbPress way. As in, when I click on a thread from within a group forum, I want that link to be a default forum link, not a custom group forum link. I realize this can potentially cause some confusion for users when they’re taken away from the group. Thing is that I’m running a forum-centric community, not a group-centric one, so for us it’s problematic the other way around:
User discovers new thread via forum index, clicks thread, suddenly the user is in a group! And that’s what we’d like to avoid.
January 22, 2013 at 1:25 pm #125438In reply to: Awkward Permalink Problem causing 404 Errors
faeronsayn
Participant@netweb thank you for that answer it should help debug. But what I don’t understand is that even if the BBpress template is not loading, why are the thread links in the forum being changed to something pretty awkward. Nothing of that sort is defined in the CPT plugin …
The forum tries to point to this link for each thread
http://example.net/forums/topic/forum-category/forum-sub1/%post-name%/
If the bbpress templates are not loading, why are the links being defaulted to that exactly?
January 22, 2013 at 9:00 am #125430In reply to: Importing Mingle Forums into bbPress?
Stephen Edgar
KeymasterThese are the settings you should use:
Select Platform: Mingle
Database Server: localhost
Database Port: 3306
Database Name: My database name
Database User: My database user name
Database Password: My database password (which I use to login to phpMyAdmin)
Table Prefix: wp_The changes above are `localhost` for the database server which is the default and is what is needed for most web hosts, the table prefix `wp_` which matches the screenshot you linked to above.
If this does not work confirm with your webhost the correct settings for your database name, user & password.
January 21, 2013 at 10:48 pm #125405In reply to: Vanilla 2 Converter
brokentwig
ParticipantOf course, this is probably the easiest way to clean out deleted and un-confirmed users, but it would be cool to build it into the converter for others to use. Vanilla has no way of cleaning these by default.
`
DELETE GDN_User
FROM GDN_User
LEFT OUTER JOIN GDN_UserRole ON GDN_User.UserID = GDN_UserRole.UserID
WHERE GDN_UserRole.RoleID = 3 OR GDN_User.Deleted = 1
`January 21, 2013 at 12:42 am #125346In reply to: Vanilla 2 Converter
Stephen Edgar
Keymaster1) In the yellow status window of the importer if you right click in Firefox/Chrome ‘inspect element’ you can check the SQL queries that the importer ran, have a look at the SQL query for the user import and check if that is what the SQL query should be.
The from/join logic is in converter.phpL#777 and you can use that as a guide to how to translate your query to the fields you are mapping.
2) I would not worry about this option as once you have finished the import and start to run the ‘repair forums’ tools the last option is “Remap existing users to default forum roles” and that will set all users without a bbPress role to ‘participant’
Feel free to throw any questions you have here as I am trying to fix a join for the Invision.php importer as we speak and its being a pain also 😉
January 17, 2013 at 9:49 pm #125219In reply to: Fancy Editor always in WYSIWYG mode …
Erlend
ParticipantWhat about the other way around? I’ve run into a lot of problems with the fancy editor when I’m browsing with my mobile phone. Most elegant of all would be to default to text-editing when a mobile device is detected, but a global text-by-default would be a good start.
January 16, 2013 at 3:09 pm #125185In reply to: Unlimited edit time
Remi
ParticipantYou can edit the following to your functions.php (for example)
<code>
function no_edit_lock($retval, $cur_time, $lock_time, $post_date_gmt){
return false;
}
add_filter( ‘bbp_past_edit_lock’, ‘no_edit_lock’, 1, 4);
</code>
This will overwrite the default edit_lock behavior.
January 14, 2013 at 8:32 pm #125119In reply to: Importing Mingle Forums into bbPress?
Stephen Edgar
KeymasterNice… An extremely good first shot at mapping the MySQL database tables…
I have updated the file with a few things and it should now work…
If your WordPress database uses the out of the box `wp_` table prefix then for the Mingle.php converter we will use `wp_forum_` as the table prefix on the import setting.
- The forum slug is the same process as you did for topics & replies
- A couple of `id` vs `parent_id`
- Dates, WordPress stores four dates for a post in the `wp_posts` table, ‘post_date’, ‘post_date_gmt’, ‘post_modified’ and ‘post_modified_gmt’.
- Forums – In this case forum creation dates do not exist, this will default to the current date
- Topics – We map ‘date’ to ‘post_date’ & ‘post_date_gmt’ and ‘last_post’ to ‘post_modified’ & ‘post_modified_gmt’
- Replies – We map ‘date’ to all four ‘post_date’, ‘post_date_gmt’, ‘post_modified’ & ‘post_modified_gmt’.
So as I said, nice first go at it 🙂
You can view the changes inline I made here and download the full file from here.
January 11, 2013 at 4:15 am #125027Topic: BBpress plugin 404 on forums
in forum TroubleshootingRoy
ParticipantI’ve got a nasy little bug(ger). I’ve got a 3.5 WP installation with a forum using the BBpress plugin. Everything was running perfectly until I noticed that in my WP menus I could no longer drag and drop. I deactivated all plugins (which helped), reactivated them. So far so good. Then I noticed that my forums went funky.
The forum index works. I’ve got four forums, two public, two private. One of the forums works (one of the public ones), the other three give 404’s. The strange thing is that a newly created forum also gives a 404, but al subjects (or threads) work, also the threads in the malfunctioning forums.
So I thought: permalinks. Changed to default and back, no go. Edited the permalink of the forums manually to something ‘test’ (edit specific forum), no go. Edit the permalink for forums in the BBpress settings, no go.
Of course I also tried deactivating plugins again, use default theme, searched around a bit on the www and noticed people with htaccess problems. I’m sure it’s something there, but I can’t figure it out, especially not because one forum works and the rest does not.
Website monas.nl, see tab forums.Thanks in advance for your suggestions.
January 10, 2013 at 12:18 pm #125010carmelneta
ParticipantHere is the solution:
January 10, 2013 at 9:48 am #125001In reply to: Change permalinks on bbPress
jezza101
ParticipantI looked into this in the past and having read a number of existing threads on the topic it looks like there is no way to change this.
For aesthetic reasons I chose to change from the default as “/forum/forums/” doesn’t look great so you can change it to “/bb/forums” or “/forum/discuss/” or whatever. Not ideal but trying to hack this to work could leave you in a whole world of pain (prob tricky to get right, and may break with future releases).
January 9, 2013 at 4:17 pm #124980Topic: Change default editor style?
in forum Troubleshootingjoe.davola
ParticipantHi,
How do I change the editor style from “Visual” to “Text”. My theme is messing up the text area so that it is hardly visible to users. Using the “Text” version is a lot better.
Which file do I need to edit to change this default?
January 9, 2013 at 3:28 am #124953In reply to: bbPress SimplePress 5 Importer
shrewdies
ParticipantOK, here are the redirects, but first some background.
Your move takes some planning, and the redirects are specific to your old Simple:Press Forum structure and your new bbPress settings (Admin-Settings-Forums). I describe how I approached my conversion, but you may need a different approach. If you need specific help with a different set of objectives, then please just ask. I did not use tagging in Simple:Press, as it was more trouble to implement than the benefit it gave. None of this refers to tagging, and I notice that the r4638 version of SimplePress5.php has them commented out.
If your forum has little search and external referral traffic, then save yourself the bother of all this, and just get on with building your new forum.
Before I explain the permalinks, you need to be aware that I took this opportunity of simplifying my forum structure. I used to believe in different forums for different subject areas, but I’ve come to realize that most forum users do not understand my theme, so they cannot decide which forum to post in. I noticed the same thing here when I looked around for the best place to post. I decided to simplify my forums to two main choices, with the rest as child forums. I did this by manually editing the Forums parents in bbPress after the conversion. That explains my choice of Topic slug in bbPress settings, but redirects should handle any choice.
In Simple:Press, topics get permalinks in a hierarchy under their forum, and all forums lie within the WordPress forums page in the Simple:Press settings. Thus, a topic will be referenced domain/wp-forums-page/sp-forum-title-slug/sp-post-title
In bbPress, permalinks are built from your WordPress root, with prefixes set in the bbPress settings under slugs. Thus a topic will be referenced domain/bb-forums-base/bb-topic-slug/bb-post-titleThe post titles are the same in bbPress and Simple:Press, so redirects have to account for the changed forum slug structure.
The first bbPress setting, Forums base, is the equivalent of your Simple:Press WP page, so I used exactly that. If you made bad choices when setting up your Simple:Press forum, I guess you could change it with the redirects, by specifying different destination URLs. I kept it the same, and simply renamed my old Simple:Press page (be aware this auto changes in WP menus, so you may need to manually delete old forum menu pages and add new custom menu links)
In bbPress settings Single Slugs, the Forum Prefix should be left switched on.
Forum slug has no Simple:Press equivalent, so I opted for something theme related. The default is probably OK, but I’m slug-fixated as a result of a bad SEO upbringing. I have not redirected these pages, but I will assess the impact over the next few days, and come back with these if I see they are necessary.
I set topic slug to my most popular forum, which is very general, as per my introduction. Redirects will handle whatever you put here.
The rest of the bbPress settings do not affect conversion.
At last, @netweb here are the requested redirects. Are you glad you didn’t ask for my life story? 😉
The general construct is:
Old
^ begin with
/wp-forums-page
/sp-forum-title-slug
(.*) store the restNew
//domain
/bb-forums-base
/bb-topic-slug
/$1 whatever * storedRedirectMatch 301 ^/gout-pal-forum/gout-symptoms(.*) http://www.gout-pal.com/gout-pal-forum/please-help-my-gout/$1 RedirectMatch 301 ^/gout-pal-forum/gout-cures(.*) http://www.gout-pal.com/gout-pal-forum/please-help-my-gout/$1 RedirectMatch 301 ^/gout-pal-forum/gout-diet(.*) http://www.gout-pal.com/gout-pal-forum/please-help-my-gout/$1 RedirectMatch 301 ^/gout-pal-forum/colchicine-campaign(.*) http://www.gout-pal.com/gout-pal-forum/please-help-my-gout/$1 RedirectMatch 301 ^/gout-pal-forum/united-states-colchicine-sources(.*) http://www.gout-pal.com/gout-pal-forum/please-help-my-gout/$1 RedirectMatch 301 ^/gout-pal-forum/gout-related(.*) http://www.gout-pal.com/gout-pal-forum/please-help-my-gout/$1 RedirectMatch 301 ^/gout-pal-forum/uric-acid(.*) http://www.gout-pal.com/gout-pal-forum/please-help-my-gout/$1 RedirectMatch 301 ^/gout-pal-forum/your-gout(.*) http://www.gout-pal.com/gout-pal-forum/please-help-my-gout/$1 RedirectMatch 301 ^/gout-pal-forum/tech-stuff(.*) http://www.gout-pal.com/gout-pal-forum/please-help-my-gout/$1 RedirectMatch 301 ^/gout-pal-forum/wish-list(.*) http://www.gout-pal.com/gout-pal-forum/please-help-my-gout/$1 RedirectMatch 301 ^/gout-pal-forum/gouties-water-trough(.*) http://www.gout-pal.com/gout-pal-forum/please-help-my-gout/$1One potential complication lies with multi-page topics. I’m still assessing if it is worth bothering with these, as traffic rarely hits anything after the first page. Google WebMaster Tools is currently complaining, but experience tells me it will soon re-index unless there are other sites that link to specific pages.
Disclaimer: Before you try this at home, you might like to wait a month or so. I’ll be back to tell you if I killed my forum traffic or not. 😮
January 8, 2013 at 6:06 pm #124942Stephen Edgar
KeymasterSo close… Indeed you use bbp_has_replies to reverse order the replies
function custom_bbp_has_replies() { $args['order'] = 'DESC'; // 'ASC' (Ascending, Default), 'DESC' (Descending) return $args; } add_filter('bbp_before_has_replies_parse_args', 'custom_bbp_has_replies' );And use bbp_show_lead_topic to always show the ‘lead topic’ (More details here.
function custom_bbp_show_lead_topic( $show_lead ) { $show_lead[] = 'true'; return $show_lead; } add_filter('bbp_show_lead_topic', 'custom_bbp_show_lead_topic' ); -
AuthorSearch Results