Search Results for 'code'
-
Search Results
-
Topic: I want the freshness in days
Apparently everybody wants the freshness to be displayed in months, days – I, however would like it to be displayed in days only.
I have been looking around quite a bit now and trying to change the code, but so far I managed just to mess up the page ….
Any ideas?
Thanx
V.
Hi there. I would like to show recent topics on my website homepage from my forum. I’ve accomplished this already by using the code below. What I can’t figure out is how to tweak this code so that it will display the forum name and topic title only, not the author and all the unnecessary wording (“Started by ___ in:”). What I would like it to look like is a long list with each item presented in the “Forum Name | Topic Title” fashion.
Example:
Italian Food | What’s Your Favorite Pasta Dish?
Japanese Food | Good Sushi Bars in NYC
<?php if ( bbp_has_topics( array( 'author' => 0, 'show_stickies' => false, 'order' => 'DESC', 'post_parent' => 'any', 'posts_per_page' => 8 ) ) )
bbp_get_template_part( 'bbpress/loop', 'topics' ); ?>
Hi
This topic is posted on 2 places :
– bbpress.org forum
– premium.wpmudev.org community support forum
While working on a site to be launched on the same day (= I had to have it working

I discovered something interesting
BBpress second level forum (= with a parent forum/category) also in the permalink, will result in page not found.
I searched for this issue and came across a few topics, where it was advised to reapply the permalinks, then save again the BBpress settings, where we set the slugs.
I tried everything there and still the same issue, but it was clearly an issue with rewrite.
So I begun to deactivate every other plugin I have and after every deactivation I tried if second level forums were loading. I thought specifically about security plugins such as Wordfence, Better WPSecurity, but nope.
Finally, it was when ******I deactivated wpmudev’s Pro Sites plugin, that the second level forums were loading.*******
I tried another forum plugin but really I will need BBPress (big amount of subforums necessary on this website)
now I made some tests, and to make short :
– if Pro Sites activated :
-> 1st level forum will work
-> 2nd level forum will not work
– if Pro Sites is deactivated :
-> 1st level forum will work
-> 2nd level forum will work and can be reached with those 2 url
A: example.com/forums/forum/level1/level2
B: example.com/forums/forum/level2
(forums/forum beeing the slugs set in Forums settings page)
is it normal we can reach with 2 different permalinks?
***** and as it changes automatically, is there a way to force (in BBPress code) a subforum permalink to stay 1st level even if in a sublevel? would be interesting also in the case a forum is moved to another category then it wouldn’t change url ***** (and at the same time it would solve/hide the issue with Pro Sites)
so cleary this is a rewrite stuff that goes beyond my knowledge, for info my permalinks are set to the second option /2012/06/07/exemple-article/ and .htaccess present with necessary change in it
I use also buddypress on that site but didn’t go until desactivate it as it worked when I deactivated Pro Site,
the site I was working on has buddypress, but not the groups and forum elements checked, forum beeing BBpress anyway (I also tried to check/uncheck forums in buddypress settings, really not related to the issue)
so I was thinking to install a testsite with only vanilla WP Multisite and buddypress, as I need all my tests done that way
+ for this issue : Pro Sites and BBPress
so if there is anything you tell me to try, it will be done

thank you very much in advance (anybody, eveybody
Topic: posting php and html code
This is probably a stupid question, but I can’t figure it out.
What is the proper way to post php and html code into a bbpress 2.0 forum post? I tried using < code > but when posting some html, it’s not displayed, tried using the little
like on wordpress.org but that didn’t work either.Hi!
I am encountering issues with a fresh install of bbPress 2.0 plugin:
http://squales.high-bridge.fr/forums shows 404 error.
Plugin settings are all by default. My permalinks settings are default : (i.e.: http://squales.high-bridge.fr/?p=123)
I created a page with the shortcode [bbp-forum-index] linked in my nav bar.
Forums show OK, but bbPress navigation link “Forums” shows a blank page.
Any help would be appreciated

Many thanks in advance!!
I’ve followed bbPress’ development off and on since it first came out (aww, when it was a wee thing). It’s made many, many functional improvements since (good job, everyone!), but it’s lacking in the documentation department, and documentation is what has always made WordPress so great and accessible. For bbPress to really become a part of WordPress, even just as a plugin, the documentation needs to be better.
After so many years in development, I expected there to be more documentation when I gave bbPress a try this time around. Instead, there was a lot of teeth grinding and guesswork on my part, mainly because there’s so much conflicting information about how things work, not to mention all the old information that’s no longer relevant. But I did figure it out (screenshot of my work to prove it!).
I know bbPress 2.1 is in development and (may be) coming out soon with many new bells and whistles in regard to themes, but I feel for anyone struggling to get the current version to work. As such, I wrote some documentation. Which may or may not be placed in the wrong location of the Codex because there were no instructions for it, either, that I could see. (Sorry, admins!)
bbPress is still geared to the web-savvy at the best of times, I’d say, so I didn’t try to go into minute detail with all my instructions; rather, I tried to make it clear what should be done for the current version. I hope it helps someone!
I just spent about 8 frustrating hours failing to accomplish a very basic task with bbpress.
I want my forums & their descriptions grouped grouped by category on the index page. A long jumble of forums on different topics, only ever displayed in “most recently updated” order, or alternatively without displaying the forum descriptions, is totally unusable. I don’t want people to have to hunt through subpages to find which forum is correct to post in for an issue.
I just want an index page that shows ALL the information: Forum titles, Categories, and Descriptions, for all forums, on a page. In some sort of order that isn’t going to leave the users scratching their heads as to where to find what they want. Is that really too advanced to expect bb software to do?
Some sort of organization, on the index page, or at least headings, is really a basic feature of, uh, every single forum I’ve ever seen. Organizing information into sensible sections been a fundamental part of information design since… the printing press? The written word? Hieroglyphics? I don’t know. But bbpress’s index page is an unfriendly, unusable mess, and the only feature you provide for grouping forums makes the situation worse, not better.
I went with a plugin based solution because I didn’t want to sit and code a solution myself. After spending all day on this problem, I am aware that there are complicated, far-over-my-head solutions which may or may not work, telling me I must do things I don’t understand, and which sound to me like they may be wiped out and need to be re-entered every time a theme or plugin is updated.
I can’t put any more time into this simple need. We have multiple users in my group who are going to be able to create new categories and forums, and it needs to _just_work_ , and display an index that makes sense to users, without hours upon hours of troubleshooting and administration.
any suggestions? Im’m not leaving bbpress i like it a lot just it’s not working out for soundhampton.com I guess…. Can some one advise me on a solution please?
now…. here I am.
lol