Search Results for 'code'
-
Search Results
-
Hey again, Sorry 2 questions in one day 🙁
OK here is what i am thinking… Rather than using /forums/ for my main forum page i would like to create my own custom Forums page.. Now would this need to be done via a BBpress template or simply by creating a WordPress page and then using shortcodes to display specific forums..
Doing the above assuming it was possible.. i would call the WP page “Forums” but this would conflict with the BBpress Forums base which by default is “forums” so yeah i am at a little bit of a loss here.
Again as always THANKS in advance to anyone who takes the time to reply / assist me with this.
Regards, Darren
Hi guys,
I’d like to alter the ouput in the Freshness column, as you can see in the code below, bbpress knows the latest forum post in any one forum and links to it if you click the Freshness link, in this case ‘4days 2 hours ago’. Instead of it outputting 4 days 2 hours I’d like it to show the title of the post.
I think I need to edit the bbp-header but I don’t know where to find this.
Can anybody help me do this please?
Thank you!
`
`
Topic: Got a question here.
Hi there.
I’m using the latest plugin version of bbPress, WP 3.5.1, and BuddyPress 1.6.4 and I have a question for you:
Does the code I found here still work, as that was posted almost one and a half years ago?
Plus if it does work, how do I modify it to show only certain forums (cause I’m using the Membership plugin from WPMU DEV to control access to a few which are for premium members only)?
Thanks in advance for the help,
Nathan P.Hello everyone,
I would like to require tags for topics and replies. I managed to find some help.
Here is the code which you can have in your functions.php file./* @ Require tags for posting topics, replies */ add_action( 'bbp_new_topic_pre_extras', 'check_front_end_tags_wpse_82956' ); add_action( 'bbp_new_reply_pre_extras', 'check_front_end_tags_wpse_82956' ); function check_front_end_tags_wpse_82956(){ if( empty( $_POST['bbp_topic_tags'] ) ) { // WORKAROUND FOR LINKS WITH HASH TAG, e.g., topic/lorem-ipsum#post-91 // Necessary when posting multiple replies that generate hashed links // OTHERWISE A SIMPLE href="javascript:history.go(-1) WOULD WORK ?> function goBack() { if (window.history && history.pushState) { history.replaceState("", "", "?no-tags=true); history.go(-1); } } <?php wp_die( '<a href="history.go(-1)" rel="nofollow">' . __( '« « Please type at least one tag' ) . '</a>' ); } }But I would like to use AJAX and a modal dialog for displaying the requirements when someone creates a topic or replies and forgets to type in a tag.
How can I do this, can someone give me guidance here?regards
I am using buddypress 1.6.4, WordPress 3.5.1 and bbpress 2.2.4. My website is on the localhost xamp server. I am using bp-columns theme as my Buddypress Child Theme. Please I would like to know how to create a bbpress child theme. I followed the step by step guide on how to create a bbpress child theme and it have so useful to me. The problem I have with it is this line that says: go to bbPress’ theme folder. That is, go to wp-content > plugins > bbpress > bbp-themes > bbp-twentyten. Download all the files from this folder except style.css. These are the files that will style your bbPress theme.
I can’t find the bbp-themes and bbp-twentyten folders in my bbpress installation.
Any help on this will be deeply appreciated!Hi,
This is my first time trying to integrate bbpress on a wordpress site. I have purchased a premium theme from mojo theme but unable to get bbpress 2.2.4 to work on my page at all. If I switched the theme back to twentytwelve then the bbpress functions as normal. I tried running the forum using shortcode, however, only the shortcode page would work, and if I click on a topic nothing is showing up again.
I have been reading through different topics in this forum for the past 4 hours but result has been a little confusing.
Can someone please help?
Thanks,
DavidI noticed that bbpress has no option to apply style by adding class inside of iframe.
But, I’d like to do this way,<iframe class="span12 clearfix"…
Is there way to do without modifying bbpress source code?
Sorry for the ambiguous title. I have bbpress on a site, using the compatibility theme. The rest of the forums have always worked correctly and apart from a few css tweaks, have always looked good and matched the theme.
I recently noticed however, that the User Profile pages; profile, topics created, favourites etc, seem to ignore all the css and consequently have no layout/structure.
Here is a normal forum page on the site… Forums
The layout is correct, the sidebar is positioned correctly and has a PNG background creating the ‘shadow’. A title bar with page title is displayed below the header and navigation.Here is an example of a User Profile page… Topics Started
There’s no css structure, the sidebar is at the bottom, there’s no PNG background behind the sidebar, theres no title bar and page title. It’s as if the CSS is being ignored.As another example, on this page I have added the code below to user-profile.php and the sidebar is correct, but it still has no background PNG, title bar etc… User Profile
Any idea whats going on?
`
#sidebar { float: left; width: 230px !important; }
#main { float: left; width: 730px !important; }
`
