Search Results for '\"wordpress\'
-
Search Results
-
Hi. My site has a custom WP_Query (outside the main loop) in the header (in header.php), and another in the footer (in footer.php). On all/only my bbPress pages, the paragraph breaks in this content are missing, because wpautop is not applied as it normally is.
That’s because bbPress REMOVES THE FILTER “the_content”. I tracked it down to bbp_remove_all_filters( ‘the_content’ ); in bbpress/includes/core/theme-compat.php, line 633.
In that same file, I also see bbp_restore_all_filters(), which looks like it should fix the problem. But it’s not actually working on my custom queries.
So how can I apply bbp_restore_all_filters() to my custom WP_Query calls?
Thanks for any help here!
MY WORDPRESS INFO:
Wordpress v3.4.2
bbPress v2.2.1RELATED POST:
I also had a similar issue a month ago (http://bbpress.org/forums/topic/conflict-with-custom-wp_query-in-header-php/) where bbPress conflicted with these same WP_Query calls in my header and footer. But in that case, the main content from bbPress was REPLACING the content from my WP_Query. I somehow solved that problem by just changing my slugs. But I now see it was probably caused by add_filter( ‘the_content’, ‘bbp_replace_the_content’ );, also in this theme-compat.php file.So I made the update to 2.2.1 (everything was working fine on 2.2), and the plugin successfully installed and activated. However, when I went to look at the forums, they looked like this
I deactivated bbpress and re-activated it, and now it gives a 404 page, like so
Direct links to posts go to wordpress “pages” with a stream of text.
Any ideas? Anyone else having this happen to them?
Hi,
I’m upgrading my forum from a standalone installation to the newer wordpress plugin. The URL structure is a bit different:
Old bbPres (v1.03):
Main page: domain.com/forum
Forum pages: domain.com/forum/forum/{forum-name}
Subforum pages: domain.com/forum/forum/{forum-name}
Topic pages: domain.com/forum/topic/{topic-name}New bbPress (v2.2.1)
Main page: domain.com/blog/forums
Forum page: domain.com/blog/forums/forum/{forum-name}
Sub-forum page: domain.com/blog/forums/forum/{parent-forum}/{forum-name}
Topic pages: domain.com/blog/forums/topic/{topic-name}So the main issue I have is that the forum is now in the wordpress directory, whereas I’d rather it was outside. The other issue is that now sub-forums have the parent forum in the url.
I’d like to do two things:
-> Remove the /blog/ from the forums url
-> Redirect old sub-forums to the newer domains.Does anyone know the htaccess/mod_rewrite to do this?
Once can check “Use the fancy WordPress editor to create and edit topics and replies”, yes.
However, the problem is such editor confuses people.
(I don’t suppose majority of my audience recognise, not to mention knowing how to use HTML)1) “Visual” and “HTML” what the heck?
2) They don’t intuitively know that they need to switch to the “HTML” editor to insert images.The editor used here is not fantastic but it is much better than the default WordPress one, for forums.
Topic: Custom login Page
If you love your website you will do anything to make sure it looks more welcoming
I have been looking for a custom login for my website, searched everywhere… The only thing i got was the same login style page, with just only a logo changed, you just have to install the plugin and given an option to upload a logo. Then i figured how to make my login page something that i want. I took firebug edited css style.
I pasted all my custom css-style in a notepad and opened wp-admin.css and inserted the code. It take less than 10mins to do this, If you are looking for a custom login page do not look any further, just take you 5 to 10 mins and customise your login.
Take note: when you update you WordPress it will overwrite your edition, so for you not to loose you styles, after editing make a copy of wp-admin.css and save it in the same folder, you can do that by Zipping the file, that creates a zipped-copy. If you want to do this here is a bit of steps to help:
1. before anything just creat a copy of wp-admin.css and rename it, you can rename it wp-admin.css.Tempo, just for incase you mess up everything you can always restore…
Then OPEN public_html/example.com/wp-admin/css
You might loose hope, or your brain might hurt when you look at the code arrangement, trust me its pretty much easier to edit. Anywhere at the end of “}” create a space where you are going to insert your custom css code.
The code looks something like this:1. | dashboard_browser_nag a{color:#fff}#dashboard_browser_nag.browser-insecure a.browse-happy-link,#dashboard_browser_nag.browser-insecure a.update-browser-link{text-shadow:#871b15 0 1px 0}#dashboard_browser_nag a.browse-happy-link,#dashboard_browser_nag a.update-browser-link{text-shadow:#d29a04 0 1px 0}
At the end of each “}” its the beginning of new style code, so by creating space it will be something like:
1. | dashboard_browser_nag a{color:#fff}#dashboard_browser_nag.browser-insecure a.browse- happy-link,#dashboard_browser_nag.browser-insecure a.update-browser-link{text-shadow:#871b15 0 1px 0}
—–>>[[[space here]]] then insert you codes here ( this is just to make you see what you are editing much better)
2. | #dashboard_browser_nag a.browse-happy-link,#dashboard_browser_nag a.update-browser-link{text-shadow:#d29a04 0 1px 0}
Your custom css style will overwrite the main css style, it might look a bit weird at first, just hold on.
2. Open wp-login.php , first make a copy of it just for incase…
Just after
1. “” Insert
1. php get_header()Now your login should look like any of your pages.
Then remove this line:
1. |
<a href="” title=””>
Just after
2. |You can now refresh your login page:If you love your website you will do anything to make sure it looks more welcoming. I hope this helps, I am new to WordPress, just that i love testing things up.
Here is an example: [www.royaltweet.com/wp-login.php]
Regards
Lesego Keikabile
Have a beautifulDay 🙂I’ve been working on a MMORPG guild site with 3 distinct levels of Membership with posting rights:
– guests/potential members who can post on PUBLIC forums
– full member who can post of the guild’s PRIVATE forums
– officer/moderators who can post of HIDDEN forums.I chose to use WordPress and bbPress instead of a dedicated guild-hosting solution to make the site different from most other guild sites, taking advantage of WordPress’s theming and bbPress’s simplicity.
bbPress 2.2.1 only seem to expect only 2 levels of membership – there is no option to have a “guest/registered” user who can post on public forums. However, I did manage to create 3 levels of member by making a small change to a core file, found here:
bbpress\includes\core\capabilities.phpGo to where the Spectator role is defined (lines 134 to 169) and change them to have the same capabilities as for the participant role (lines 225-260). Then change line 146 ‘read_private_forums’ back to ‘false’.
The problem with this approach: Your “spectator” role is now no longer merely a spectator. And, of course, this amendment would be overwritten by updating bbPress. Alternatively, you could create another role here (would be good addition for bbPress 2.3) but you need to edit other parts of the file to do so…
Another issue: I wanted custom titles to appear on topic posts beside member’s avatars. To do this, I had to create new WordPress roles using Justin Tadlock’s Member plugin. I copied the WordPress default permissions for the “Subscriber” role and gave it the name “Guest”. I did the same for the “Member” role, and I copied the default Editor roles for the guild “Officer” role – because I wanted them to be able to edit pages and posts too.
The solution seems to work although it is not ideal… I thought I’d pass it on in case there were other people in a similar position who wanted more flexibility in terms of roles. Please, please, please could making it possible to change forum roles and titles a priority update for the next major update to bbPress.
Thanks,
Andy