Search Results for 'code'
-
Search Results
-
Hi there! I really need some help with finding some shortcode for a custom wordpress page. I need to display a post count by a user. I have been searching for days and I cannot get anything to work. Any help you can give me would be most appreciated!
We would like to completely hide the freshness column throughout the forums. Could you please point me to other documentation or to the code to remove/hide freshness?
WP version 3.5.1
bbpress version 2.3.2
http://www.swpp.org/forumsThanks
I’m trying to add a Twitter share button in the loop-single-reply.php so the button appears before each reply’s content:
…….
<?php do_action( ‘bbp_theme_before_reply_content’ ); ?>
**** [HERE the twitter share button code] *****
<?php bbp_reply_content(); ?>
……….using the Twitter data-url parameter as: data-counturl=”<?php echo bbp_get_reply_url(); ?>
PROBLEM=SHARE WORKS+COUNTER DOESN’T: The button is sharing the page but not COUNTING. I tried to check everything around the twitter button, but I want to ask for your help in case the place and data-counturl is not correct for BBPRESS.
Please help!
Thanks
Ramiro.Topic: Default login-form snippet
Just curious,
When I sneakpeak in the ShortCode section I notice you can call the login form by.
<?php bbp_get_template_part( 'form', 'topic' ); ?>This works great inside my templates and the bbPress login form pop’s up where I need him to be.
But now I need to add some classes for CSS reasons and I wandering where I can find the code-snippet of the default form used.
?
Topic: Ugly shadows on my forum :/
Hey all, i run this site, and im determined that it should all be ran by wordpress, its all going great etc. But, as soon as i installed my forum, i see that it uses this ugly style, with background color etc.
What id really like is no shadow on the text, no background, small border around the different forums and thats pretty much it.
Heres before: http://puu.sh/32WkF.png
Heres how i want it to be: http://puu.sh/32Wpf.pngI hope you understand my problem :/
Ive read this http://codex.bbpress.org/step-by-step-guide-to-creating-a-custom-bbpress-theme/ but i cant seem to find the necessary files.I hope you can help me out 🙂
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.