Search Results for 'code'
-
AuthorSearch Results
-
October 4, 2011 at 4:46 pm #109672
In reply to: Desperatly in need help with newbie problems!
Per Carlen
MemberThat got the forum looking like I want it, but my mainpage is not a “page” so I can’t find where to chose another template for it?
For the other pages I just chose a template with left and right sidebar and they looked as before.
So, just the startpage is messed up now
Any ideas?
October 4, 2011 at 4:27 pm #109671In reply to: Desperatly in need help with newbie problems!
Themes Community
MemberAfter I seeing above source code, I think that my previous method (that I would like to suggest you) won’t be working as suppose.
So I download the Suffusion theme, trying on my Xampp and found simple answer. You just need to deactivate ‘Sidebar Layout’ into 0 (Zero).
Go to your site at
yoursite.com/wp-admin/themes.php?page=suffusion-options-manager&tab=theme-options-sidebars-and-widgets.php
You will have a sidebar layout options, try change the default views into 0 (Zero) or no sidebar at all. You can still manage others to have sidebar(s), just find another related options.
Default Views
The theme is set up with one sidebar (a two-column theme) by default. You could choose to have two sidebars (a three-column theme) or none if you want. Unless otherwise overridden in the subsequent options, this will be applied to your entire blog.
0 (Zero) -> choose this
1 (One)
2 (Two)
The save by clicking Save page ‘Sidebar Layout’
Suffusion is way to complex for code modification, and I hope above method working as suppose, since it work on my localhost.
Hit me if you still have trouble!
October 4, 2011 at 3:54 pm #40190Topic: Themes installation problem
in forum Themesspigi
MemberHello everyone
I’ve got a little problem with bbpress theme install. My dashboard looks like this:
http://img689.imageshack.us/img689/1038/bbpress.jpg
Where is my “Chenge themes” button? I create “my-templetes” in directory:
wp-content/plugins/bb-press and give 755 permission.
Any help, please?

PS. Sorry for my english
October 4, 2011 at 2:39 pm #95753In reply to: bbPress 2.0 – Updates
folgerj
ParticipantWell I went through and liked the plugin and then kept it plain vanilla but when I got to the theme change I was going to keep my theme but clicked save and finish and now I have a buddy press themed blog but with no way to get into the back-end of my site…
I take it back now I can’t get to the front end either… Oh fun… Now I have to do a rebuild from outside the system…Now I have to go and rebuild from last nights back up…
I get this error
John is this one of those other plugins conversations that I need to take elsewhere?
I reuploaded from last nights backup and it still won’t let me into the site. I can see it for a minute with the BBpress theme running but if I try to log in or anything It won’t let me go any further?
I would have thought when I overwrote all the files it would have changed back… Does the plugin change the database also?
October 4, 2011 at 12:00 pm #109670In reply to: Desperatly in need help with newbie problems!
Per Carlen
MemberYour english is fine dude! I’m from Sweden myself.
This is Suffusion’s template “no-sidebars.php”:
<?php
/**
* Template Name: No Sidebars
*
* @package Suffusion
* @subpackage Templates
*/
get_header();
?>
<div id="single-col">
<?php
suffusion_page_navigation();
suffusion_before_begin_content();
?>
<div id="content">
<?php
global $post;
if (have_posts()) {
while (have_posts()) {
the_post();
$original_post = $post;
?>
<div <?php post_class('fix'); ?> id="post-<?php the_ID(); ?>">
<?php suffusion_after_begin_post(); ?>
<div class="entry-container fix">
<div class="entry fix">
<?php suffusion_content(); ?>
</div><!--/entry -->
<?php
// Due to the inclusion of Ad Hoc Widgets the global variable $post might have got changed. We will reset it to the original value.
$post = $original_post;
suffusion_after_content();
?>
</div><!-- .entry-container -->
<?php suffusion_before_end_post(); ?>
<?php comments_template(); ?>
</div><!--/post -->
<?php
}
}
?>
</div>
</div>
<?php get_footer(); ?>October 4, 2011 at 10:20 am #109669In reply to: Desperatly in need help with newbie problems!
Themes Community
MemberMore explanation..
Your forums_index page is located at myblog.com/forum and displayed full-width or no sidebar. That is what you want and displays perfectly.
But when you accessing a topic or reply it will show sidebar, it happen due each forum specific page is using specific ‘page template’ that belong to bbPress theme.
Here example:
myblog.com/forums – default forums will using ‘single-forum.php’ page template
myblog.com/forum – your custom page that you use now (in my case I create custom template ‘page-forum-home.php’ to show page without sidebar. On your case just using ‘No Sidebar’ template page)
But when you browse into (forum)
myblog.com/forums/forum/general/ – it will using ‘single-forum.php’ page template
When you browse more (topic)
myblog.com/forums/topic/rules-and-ethics/ – it will using ‘single-topic.php’ page template
And that also applies when you edit something or doing something else, it will use different page template that belong to bbPress theme.
How to solve this?
I want you to understand that your WordPress theme (not bbPress theme) have page templates, such as
page.php - default page
page-full.php - page to show full width or no sidebar
page-blog.php
page-contact.php
page-gallery.php
page-login.php
page-search.php
page-sitemap.php
page-template-portfolio.php
etc ... (the number varries and depend on each WP theme)You need to copy page-full.php or whatever page to show full width or no sidebar content (html and php styles) and replace (about 75%) for your others bbpress theme.
That what I going to by owning your the content of “No Sidebars” page template of yours.
So your forum will display the same layout and styles.
October 4, 2011 at 9:33 am #109668In reply to: Desperatly in need help with newbie problems!
Themes Community
MemberI’m not sure I’m getting you. If I’m creating a new page I can chose “No Sidebars” as template, which I have done for the page where I’ve put my bbpress shortcodes (myblog.com/forum) That page looks fine.
Yes, that what I meant and you already do that.
The problem is when I click on a topic or whatever on that page and gets taken to another page. Like myblog.com/forums/forum/topic/
Then the sidebars show up.
Its using another page template that I will describe later if you can provide me the content of “No Sidebars” page template. It will be modified to suit another template for use in bbPress.
Did I just answer your question?

I really appreciate that you’re taking your time to answer me!
Please don’t give up on me yet
For your notes, English was not my mother language. I’m Indonesian and I do love to help, since it took my two days to understand bbPress (and I still confused a lots) and able to start my own forum site. I browse this forum, since this is the only help available.
October 4, 2011 at 8:46 am #109667In reply to: Desperatly in need help with newbie problems!
Per Carlen
MemberI’m not sure I’m getting you. If I’m creating a new page I can chose “No Sidebars” as template, which I have done for the page where I’ve put my bbpress shortcodes (myblog.com/forum) That page looks fine.
The problem is when I click on a topic or whatever on that page and gets taken to another page. Like myblog.com/forums/forum/topic/
Then the sidebars show up.
Did I just answer your question?

I really appreciate that you’re taking your time to answer me!
Please don’t give up on me yet
October 4, 2011 at 8:43 am #109330Themes Community
MemberIf your php code work and displayed the date as “THU JAN 1970”, it happen due php code ‘D M Y’
You should refer this page http://php.net/manual/en/function.date.php to change code that will suit your display need.
<?php global $post;
$lalaposttime = date( 'CHANGE THIS', strtotime( $post->post_id ) );
echo $lalaposttime; ?>
October 4, 2011 at 8:31 am #109666In reply to: Desperatly in need help with newbie problems!
Themes Community
MemberI’m not using Suffusion theme, so I not really sure if Suffusion have full-width page template. Do they have it?
How about trying to create empty page or with some dummy content and publish it. Do the published page have sidebar?
If yes, try change page template to ‘full-width’. If you don’t have it, post here just maybe I can help you create it. I will find Suffusion theme later, it’s free isn’t it?
If no, then you should be okay. Just replace the dummy content with shortcode.
October 3, 2011 at 8:00 pm #109181In reply to: No instructions = waste of time
tgiokdi
Memberperhaps in the bbpress installation, there should be a suggestion to add a page with the shortcode already on it, or create a link in the menu. It took me a while to figure out just where the ‘new’ forum was.
October 3, 2011 at 7:31 pm #109303In reply to: Problems Following Implementation Guide Lines
demonboy
ParticipantPermalinks doesn’t come into it as this was working before I started uploading a theme. However I think I have solved the issue, and of course it was very straightforward! Quite simply I had not copied the bbpress folder into my theme’s folder as I assumed this was a theme in itself.
Of course I wouldn’t have worked this out if I had not attempted to follow through your suggestions, so thank you for helping me work out my own stupid mistake
October 3, 2011 at 5:25 pm #109300In reply to: Problems Following Implementation Guide Lines
Themes Community
MemberI have version 2.0 but can’t for the life of me get my theme to be picked up. I have followed the guide here: bbpress.org/forums/topic/bbpress-20-theme-compatibility as best I could but there are some things not well explained. This is what I have done so far:
Great, you find that!
1. Copied all the files from /bbpress/bbp-themes/bbp-twentyten/ and placed into the root of my theme (wp-content/themes/mytheme/)
Correct, beware of replacing files by accident. Usually you will have 2 file left style.css and functions.php
2. Copied the .js and .css files from the /bbpress/bbp-themes/bbp-twentyten/css/ and /bbpress/bbp-themes/bbp-twentyten/js/ folders into the root of my theme (wp-content/themes/mytheme/)
Correct!
3. I also copied the content of style.css from the bbp-twenty-ten theme into my own css file, which also sits in wp-content/themes/mytheme/
Yes, add it at the bottom of the file.
4. I copied the entire contents of functions.php from the bbp-twenty-ten folder to my own theme functions.php, which also sits in the root of my theme folder.
Don’t do that. Just add this to your functions.php file:
add_theme_support( 'bbpress' );All that displays is the ‘Forums’ header but no content.
You need to make some forum first withing WordPress admin dashboard then you will have some content when you display the forum itself..
What am I doing wrong? Have I placed something wrong somewhere? Should I have copied the whole bbp-twentyten folder itself into the root of my theme folder? What is that first page that gets served up when hitting http://www.mywebsite.com/forums/? Is it page-front-forums.php and should that be sitting in the root of my theme as it is currently?
I’m also confused my the functions.php where it says:
// Setup the theme path
$this->dir = $bbp->themes_dir . ‘/bbp-twentyten’;
// Setup the theme URL
$this->url = $bbp->themes_url . ‘/bbp-twentyten’;
Following this, I’ve tried copying bbp-twentyten folder into the root of my theme, but still nothing.
Yours, quite confused.
Don’t do that. Skip this.
After you do above that I recommend, tell me the result.
October 3, 2011 at 5:18 pm #109299In reply to: Problems Following Implementation Guide Lines
Andre
ParticipantSo far I’ve only set up forums using shortcodes, but I’d guess you need to change the code listed
// Setup the theme path
$this->dir = $bbp->themes_dir . ‘/bbp-twentyten’;
// Setup the theme URL
$this->url = $bbp->themes_url . ‘/bbp-twentyten’;
to
// Setup the theme path
$this->dir = $bbp->themes_dir . ‘/mytheme’;
// Setup the theme URL
$this->url = $bbp->themes_url . ‘/mytheme’;
Again, I’m guessing and haven’t attempted what you are doing.
October 3, 2011 at 5:13 pm #109581In reply to: WordPress Newbie Installation/Integration question…
Andre
ParticipantPut [bbp-forum-index] as the content of the page if you want a list of forums displayed.
Put [bbp-topic-index] as the content of the page if you want a list of topics displayed.
Other shortcodes are listed at https://bbpress.org/forums/topic/bbpress-20-shortcodes.
October 3, 2011 at 5:11 pm #109580In reply to: WordPress Newbie Installation/Integration question…
Themes Community
MemberOk, I try to help.
You should read this https://bbpress.org/forums/topic/bbpress-20-shortcodes
Then if you still encounter problems, just reply again. I will be here.
October 3, 2011 at 3:13 pm #40138Topic: [bbpress 2.0] Changing Freshness to display the actual date
in forum Themesmiruru
MemberMost forum software displays the actual date for the freshness. I have used the following code as an example:
<?php global $post;$lalaposttime = date( 'D M Y', strtotime( $post->post_id ) );
echo $lalaposttime; ?>
This worked to a point, however it displays the date as “THU JAN 1970”.
I assumes that it will be different for the bbpress plugin itself.
Could anyone help get me started with this?
Thanks in advance.
October 3, 2011 at 3:02 pm #109322In reply to: Where is my Forum?
Themes Community
MemberHow to access your forum? (please create some forums first)
– After you installed bbPress, sitename.ext/forums/ will always display your forum site.
– If you are not merge bbPress theme with WordPress theme, you can create a page and use shortcode [bbp-forum-index] to show the forum index/archive
– If you are merge bbPress theme with WordPress theme, you can create a page and choose page template bbPress – Forums (index)
and you will see your forum.
October 3, 2011 at 2:51 pm #109663In reply to: Desperatly in need help with newbie problems!
Themes Community
Member..
I changed this in mypage.com/wp-content/plugins/bbpress/bbp-themes/bbp-twentyten
But I don’t use that theme. I use NO theme. So where do I remove the sidebars?
Hi, AFAIK every bbPress usage always use ‘bbPress default theme’ located within …/wp-contentpluginsbbpressbbp-themesbbp-twentyten folder (except you integrated it with your WordPress theme or you are using custom theme already).
So you are using ‘bbPress theme’ already and there are no sidebars within that default theme. Sidebars if from your WordPress theme, that you should edit.
Things looks okey so far! Now I want to remove the sidebars from the forum (not the page, I know how to do that) and I have read a couple of tutorials but still don’t get it.
Some theme have page template to display ‘full width page’, you must choose it. If your theme don’t have it try create it.
Here are sample of page using shortcode [bbp-forum-index]
-> http://themescommunity.com/forums-index/
I’m newbie too!
October 3, 2011 at 2:03 pm #40192Topic: Desperatly in need help with newbie problems!
in forum InstallationPer Carlen
MemberI have a blog with the Suffusion-theme on wich I just installed bbpress. I don’t need a fancy theme for bbpress.
* Created a new page for the forum (blablabla.com/Forum)
* Set up all the forums/subforum etc.
* Used the shortcode for showing the forum = [bbp-forum-index]
Things looks okey so far! Now I want to remove the sidebars from the forum (not the page, I know how to do that) and I have read a couple of tutorials but still don’t get it.
I don’t want to use a theme or childtheme, I want the forum to have the same coloring etc. as the Suffusion theme I use. So where do I remove the sidebars?
I have removed <?php get_sidebar(); ?> from:
* single-forum.php
* single-topic.php
* single-reply.php
as described in another thread in here. I changed this in mypage.com/wp-content/plugins/bbpress/bbp-themes/bbp-twentyten
But I don’t use that theme. I use NO theme. So where do I remove the sidebars?
Please let me know what I’m doing wrong here!
October 3, 2011 at 11:59 am #109643In reply to: Paid Subscriptions? And ease of use? QUICK QUESTIONS
amirsaam
MemberIf you wanna use bbPlugin (bbPress 2.0) you may want to make a plugin that do what you want. But by using bbPress you can use this plugin: Hidden Forums
October 3, 2011 at 9:34 am #109321In reply to: Where is my Forum?
thruxton
MemberHi BJ, I’m afraid I’m none the wiser and have had no success getting the link on the menu. When I create a new Forum, from the bbPress plugin menu, the option of selecting the homepage template is not available. I’m not sure which page to call ‘page-front-forums’. I’ve no idea about shortcodes and from what I’ve tried to find out there’s nothing related to bbPress that can help with this problem.
General Comment: I got rid of another forum plugin because bbPress seemed to get better reviews and simpler config. The one I got rid of took 5 minutes to install and configure and it worked but just not the way I wanted it to. bbPress seems weirdly complicated requiring levels of knowledge beyond that of the ‘common user’ to even get it visible!
October 3, 2011 at 5:53 am #109591In reply to: disabling breadcrumbs
John James Jacoby
Keymaster@binarymoon – nicely done! PayPal okay?
October 2, 2011 at 11:10 pm #95749In reply to: bbPress 2.0 – Updates
amirsaam
MemberBefore installing bbPlugin do you see activity stream?
Install WordPress again, then set up the BuddyPress. After that install bbPlugin on it.
If you saw issue again write it down again here
Maziyar is a Persian name. Are you Persian? Email me then…
October 2, 2011 at 10:30 pm #109590In reply to: disabling breadcrumbs
amirsaam
MemberI like that smile
)
-
AuthorSearch Results