Search Results for 'code'
-
Search Results
-
I just deleted my previous work where I had grouped all my forums inside Categories and made all forums solo – no parent Forums anymore.
The only question I have is how do I manually query for forums based on ID’s.
On the forums-archive template ( forums index ) I would like to group all my forums manually together, fake ‘categories’ I will make of static HTML inside the archive-template and now i’m only searching for a piece of code how to list them.
Lets say:
Name fake cat. in HTML
– (forum_id = 23) forum_name – topics – replies
– (forum_id = 37) forum_name – topics – replies
– (forum_id = 15) forum_name – topics – repliesI wished this would work..
<?php if ( bbp_has_forums( array( 'forum_id' => 23 ) ) ) : ?> <?php bbp_get_template_part( 'loop', 'forums' ); ?> <?php endif; ?>After installing the plugin and view the topics, found in the Error Console
Error: TypeError: $(...).on is not a function Source: /wp-content/plugins/bbpress/templates/default/js/topic.js?ver=2.3.2 Line: 22Fixed bug with changing the .on to .live at line 22 and 27
Topic: Forum URL's
Hi,
I have my forum index pasted into a page via the shortcode, this page displays fine.
My structure look like this:
mysite.com/community/
The “community” page is one that has a fair bit of styling.
When i click on a forum to read, for example “rules” i get redirected to a crazy URL which looks something like:
mysite.com/forums/forum/rules/
How can i change it to, for example: mysite.com/commuinty/rules/
Thanks.
Topic: Trouble viewing profile
I’m running wordpress 3.5.1 and bbpress 2.3.2. I’m having difficulty viewing/editing a users profile.
When you click on the name of the person who started a topic, or on your own “Edit Profile” link, the site “spins” for quite awhile then displays a very large page that has a large number of that users profile displayed over and over again. If I click on one of the links in any of the profiles…like “Topics Started” all is well. I get the users profile with a list of the topics they have started to the right of it.
It’s just the first link that has the problem. It looks like thte code is caught in an infinite loop that just keeps returning the users profile over and over again.
I’m wondering if it could be the bbpress.php file causing the problem. I thought I had the default version with a few things commented out. Here’s what I have:
<?php get_header(); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <h1><?php the_title(); ?></h1> <?php // include (TEMPLATEPATH . '/inc/meta.php' ); ?> <div class="entry"> <?php the_content(); ?> <?php wp_link_pages(array('before' => 'Pages: ', 'next_or_number' => 'number')); ?> </div> <?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?> </div> <?php // comments_template(); ?> <?php endwhile; endif; ?> <?php //get_sidebar(); ?> <?php get_footer(); ?>Thanks in advance.
Hi there, I just upgraded my theme and bbPress (from old to current versions,) and after hours of reconfiguring, I have nearly everything in place. Except…
On my Forums page (http://www.trianglezclub.com/forums/), I’m using the shortcode [bbp-forum-index] to display the list, and for some reason there’s a weird search box appearing above everything on that page.
[bbp-forum-index] is the only thing I have in the editor for that page.
Thanks for any help!
Hello guys,
WHAT I WOULD LIKE TO DO 🙂
=======================Add facebook/twitter buttons in the [bbp-topic-index] (for each topic in the table) and then in the topic itself (when you are reading the topic, let’s say above the title)
WHAT I TRIED WITH NO SUCCESS 🙁
============================e.g. I embedded the facebook in loop-topics.php (quite don’t remember the file name, it’s the one doing the topics index) and the buttons are correctly positioned for each topic, but the TOPIC SHOWS THE PAGE SOCIAL COUNT, in other words, each topic in the index shows the same count, the page count.
HELP! – hooks? guides? example?
================================I read in other post (tags jetpack social?) a mention from John (bbPress) about hooking
bbp_get_topic_contentandbbp_get_reply_content, I have no idea what does hook mean. Has anybody implemented social buttons or could guide us on what to explore to do it ourselves?That would be amazing for many.
cheers
Ramiro.I have a multi-site installation of WordPress. I have created a local bbpress stylesheet in my theme that I want to load ONLY if the site administrator has activated the bbpress plugin. I am unclear on the conditional statement (e.g., “if(function_exists..”) to accomplish this as I do with other plugins that are optional. I have tried the following in my functions.php file but it throws an error. Please advise:
<?php //Load the bbpress styles if bbpress is installed // if (class_exists( 'bbPress' ) ) { ?> <link rel="stylesheet" id="bbpress_style" href="<?php echo get_stylesheet_directory_uri(); ?>/bbpress.css" type="text/css" media="screen" /> <? } ?>Any input would be appreciated. Thank you!
I’m looking for a widget or a php funcion for listing
latest repliesincludinglatest topicswidth its topic text.Because of limited space I don’t want two separate listings for recent created topics and then recent replies. For me the topic text is also some kind of reply to the topic title.
Hi,
This seems very simple to do but I couldn’t get it working. I want the default bbpress theme but wrapped with my theme.I added the CSS file in my theme and I added a forum index shortcode in the main forum page. Right now the forum index renders OK (the forum index is the content, everything is correctly wrapped by my theme, interpreted by page.php I guess).
But as soon I get to a topic page, it’s the single.php or page.php that is used, without any bbpress template file (no breadcrumbs, etc., there is only the post).
I don’t want to customize bbpress, just want the bbpress template to appear in my theme content templates. Any way to do this easily? I would like to avoid customize all pages one by one and keep built it theme integrity…