Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '+.+default+.+'

Viewing 25 results - 5,526 through 5,550 (of 6,788 total)
  • Author
    Search Results
  • #83017

    In reply to: cannot post at all!

    chrishajer
    Participant

    Looks like you are using a modified template maybe? If so, please try the default, unmodified template.

    If you are already using the included kakumei template, make sure all the files were properly uploaded. It looks like some things are missing.

    If you haven’t done too much work yet (either modifications or posting) I would just save the bb-config.php and delete everything else, then reupload all the bbPress files and try accessing the forum again. It just doesn’t look complete.

    If you did anything other that just install the bare bones bbPress, please post here what you did. Things like integration, modifications, 1-click install from your host, anything interesting about your hosting setup. Thanks

    #82623

    In reply to: 1.1 feature poll

    chandersbs
    Member

    Guys,

    I’m really happy there is a thread like this. I voted ‘integration with WordPress’ but honestly, there are a LOT OF THINGS I wished, were by default.

    When I switched from SMF to bbPress, I didn’t know what I was getting myself into. The reason I switched was, because SMF is using this license that you can’t change the code or something. And because of that, plugins were hard to find.

    My users who visit my site, daily and already so many years, were totally used to the many features that SMF had/has. So the day I switched, they arrived at a forum who was completely empty.

    Sure there are plugins, but not all plugins work (well) and sometimes you need spent hundreds of hours to get a plugin working. Not everyone has the time for it.

    My forum doesn’t have a private message system, cause the plugins that are available, don’t work on it.

    The forum doesn’t have a build-in feature for users to upload their own avatar. I had to achieve that via a plugin and hundreds of hours spending on this forum.

    I don’t wanna sound like I’m complaining, I just want that it should be clear to some members that they should be a bit more open minded and not think that everything is fine and everyone can handle it. There are webmasters out there, that spent lots of time on bbPress forums and their own site to make it work like a normal forum.

    #82614

    In reply to: 1.1 feature poll

    Elias
    Member

    The one thing I love on bbPress

    The one thing I love on bbPress is: It is simple and fast. “Simple” means, its functionality is easy to understand and to use for a less experienced internet user and there are no features distracting from the one core thing in a forum, from that funny discussion thing. And “Fast” means, that the bbPress core is even faster than the rather minimalist PunBB on the virtual server I use bbPress on. These are the two “features” of bbPress I really want to see in the future.

    The things I hate on WordPress

    Following the current discussion reminds me on my own experience with the great WordPress blog software. I am a WordPress user since WP 1.5.x, and WP 1.5.x was the software making me a blogger. It was easy to use, had a clean and simple user interface for the blogger, could be extended easily and replaces my simple home-written system after one week of testing and comparing to s9y.

    Now, I do hate my long ago decision for WP sometimes. The current WP version 2.8.x is bloated, slow and without a good caching plugin not well-suited for a blog with readers.

    As an example, there is a tiny german blog filled by me and less frequent some other people. It is called “Blah”, and most of its postings are simply links to other internet resources, mostly political, conspirational and funny ones. Did I mention that the blog is called “Blah”? ;-) It is not really a “successful” one, in the last six months there were approximately 2,000 visits per day, that’s not much. The “average visitor” requests five postings, and only one percent of them ever leaves a comment. The blog’s database contains 4,300 posts at the moment, that’s not much too. If I deactivate the WP Super Cache plugin, the server fails to handle that little load, the response time of the tiny blog grow to 30 to 50 seconds, the apache processes accumulates and finally the server runs out of virtual memory, giving visitors that funny “Out of memory” PHP error messages or a plain white page.

    This is a situation totally unwanted for a bulletin board, which is a highly dynamic kind of website that can not be cached as easy as the less frequent views of a blog.

    From bbPress 0.9.x to 1.0.x, the number of database queries to view the same page has nearly doubled, and the execution time has grown by approximately 60 percent on the same server. From the user point’s of view, it was exactly the same page, and bbPress is at the moment still performant enough to be better than any other bulletin board software. But from my point of view it remembers me to the things I experienced again and again with many new WordPress versions in the past, reaching the current point of a blog, which isn’t made to have more than a handful of readers. But for a WP blog, I can work around with WP Super Cache, for forums this approach is nearly impossible.

    Some words about readers

    I’m looking at the statistics generated from the apache logfiles of the Blah-blog for the last six months. It is a blog in german language, and of course most readers are living in Germany, less in Austria or Suisse, some in the Netherlands, Danmark, Belgium, Poland, Russia or Hungary too. These are not readers from the so called “third world”. (There is only one world, and we all have to share it!) In the last six months, 19 percent of the Blah-blog readers used an old dial-up modem connection to access it. (Identified by the rather speaking hostnames given in germany for that kind of connection I can identify, there may be some more readers with a low-bandwidth connection.) For this fifth part of my readers (which may be a representative value for other websites in germany too, but most people seems not interested in this kind of information), every use of large JavaScript magic which has to be loaded via a low-bandwidth connection gives an impression of slowness, and this is something I do not want to give them. That’s a reason for the rather minimalistic design of this blog.

    Let me compare that 19 percent to another statistical number for the Blah-blog. 12 percent of all readers uses that fu… fine Internet Explorer 6.0 for surfing. (Identified by the user-agent string, which may be faked in rare cases.) The IE 6 is an old and ugly browser with many problems and a CSS box model interpretation giving a good headache to designers, and there are much better browsers out for free. But in many cases it is unwanted to exclude that 12 percent of website users or to give them a totally trashed design experience. It is also amazing, how many people are still using Windows 98 or ME or even Windows NT 4.0. I assume these people use rather old computers, still working for their personal requirements, so they don’t want to throw them to waste. Yes, there are people out there, which are poor and simply cannot spend a few hundred euros for new hardware every few years — me too. These are people I don’t want to exclude from any website I maintain, and especially I don’t want to exclude these from pages about political or cultural subjects. Every kind of bloat is wrong in my point of view.

    (I use bbPress for a small forum on an uncommercial artists’ webpage, and it is great for that. This usage is my reason why I’m maintaining an inofficial german translation of bbPress, there is simply no language file for German at the moment, and not to share this work is stupid.)

    Some words about the dashboard

    The current bbPress dashboard is fine, it is aesthetical appealing, easy to use (compared to other bulletin boards’ backends) and fast even via a low-bandwidth connection and on a not up-to-date computer. It can be used with all browsers, and it makes all administrative tasks easy. The current WordPress dashboard sucks. It is unuseable slow with the Opera browser, and even with other browsers needs an enourmeous transfer of data and an long initialization time before one can do that simple thing which is blogging: writing a new post. If someone uses an older computer (older than five years), it is unuseable with any browser, and it is unbelievable frustrating to use via a dialup connection. And no, that “Google Gears” stuff does not help.) The huge amount of features are overwhelming for an unexperienced user, and for the little artists’ site (with eight authors) I still have to help some people for every post they want to blog. Since I had to upgrade that site to WP 2.8.x (it used 2.0.x and 2.3.x for a long time), the other authors hate me. Some of them are poor people. I recommend the usage of BlogDesk for them, but sometimes there are tasks which cannot be done with BlogDesk, as deleting an unwanted idiot’s comment or declaring a post as sticky (to announce an action, happening, exhibition, sound vernissage, reading, party, etc.). Since WP 2.8.x, the posting frequency of some co-authors is reduced to zero, and if I had the possibility for it, I would create my own WordPress fork (a DietPress for people who wants blogging without bloat).

    And this is the way bbPress should avoid, in my opinion.

    The bbPress of the future I want

    bbPress is great! The bbPress core is good, and the features in an out-of-the-box installation are enough in many cases. But of course, there are things that could be improved, and there are many features often missed by people who wants a bulletin board. The probaly most wanted features are (list may be incomplete)

    • eMail notification for new posts
    • A kind of bbCode, which meets better the standard people expect in a BB software
    • An improved editor, helping the user to do the wanted markup (may be bloaty magic WYSIWYG, but even eight buttons with a little JavaScript are better than nothing for the inexperienced user)
    • An internal system of personal messaging (I hate it, but others love it)
    • Attachment of files to a post
    • Perhaps an avatar system independent from Gravatar
    • An easy to extend user profile with additional informations
    • A “who is online now” display
    • Counters how often a post has been read
    • A “terms of usage” statement which is required to be accepted by newly registered users
    • An extended search with criteria as forum, tag, date range, username. (The existing search is better than the WordPress search, but I can still be improved. In a support forum with ten thousands of topics, it would be good to have the accumulated information more “findable”.)
    • An interactive (and plugin-extensible and i18nable) help system for all core bbPress features, explaining the bbPress usage to inexperienced users and the concepts they cannot understand directly, especially tags. This is something I haven’t seen in any other BB software, but it is something really needed. It may even contain some words about netiquette…
    • Perhaps a “widget system” similar to WP as a simple way to modify the order of appearance of the displayed entities without editing in themes

    And of course, bbPress must remain performant, non-bloated and easy to integrate with WordPress. That’s a lot…

    Many of these frequently requested features are not a good “standard” functionablity.

    • The eMail notification is fine for spammers too. I am registered in some boards with this “feature”, and from time to time someone registers, writes spammy posts to various topics and the BB software dutifully and reliable sends that spam to a lot of users, before a moderator can do something. That’s why I am deactivating it always — one day, I received more than 100 mails “from my favorite forum”… aaargh!
    • An over-improved editor slows down the forum for people with old hardware and makes the forum unusable for blind people with their strange solutions for surfing. (Yes, some of my “readers” are blind.)
    • Personal massaging is a poor reinvention of good old internet eMail that sucks. For someone active on various boards, he has to check it messages in many places, which is ugly.
    • An extended user profile is exactly the thing spammers want. The links in approximately 5 percent of my eMail spam are going to user profiles in bulletin boards, which are misused in many ways.
    • Every upload possibility to the server can be a security problem, can be used by spammers to put spammy graphics in the internet or can consume execessive hard disc space on the server if heavily used.

    But of course these features are wanted in many cases.

    We should have a bbPress slogan for all future development. My suggestion is: Let’s make simple things easy, and let’s make complex things possible.

    Learning from that part of WordPress which sucks means: Doing it better in bbPress. The core system should kept as a small one, perhaps a little smaller than the actual core. (The current user profile is sometimes unwanted.) And all additional features should be implemented in plugins, that a forum administrator can activate and configure as needed.

    Core Plugins

    But plugins are a huge problem too. Using a plugin indenpendent from the core system means: Making the update of bbPress to a new version sometimes to a migraine upgrade, whenever the needed plugins do not work with the newer version. Sometimes, I have this problem with one of my sites based on WordPress. And if the plugin’s functionality does require editing in the themes, it excludes less-experienced forum-administrators with a lack of PHP knowledge from using the plugins, which is not exactly the way to make complex things possible.

    So there should be a set of plugins which are part of the bbPress release, which are developed together with the core system, let’s call them “core plugins”. It is not required to activate them to have a simple and basic bulletin board, but if someone do so, he will never have problems with upgrades. The “core plugins” are guaranteed to be delivered and to work with every release version and every security fix ever released. We have this kind of “core plugins” already, bozo users and Akismet. But it is a concept to be extended. A better post editor, a “terms of usage” page, a PM system, an internal avatar system, attachments to posts and all the administrative stuff around these features are good candidates for “core plugins”. If someone does not need them, he does not activated them. But if someone activates them and only them, this will never make the next bbPress release to a upgrade hell.

    There may be bbPress-tags which are implemented empty if a core plugin isn’t activated, to make it easy to program the default theme and any other theme independent from the activated set of “core plugins” and without that sucking lines of if (function_exists ('bb_great_feature')) bb_great_feature ();. This kind of interface can be defined long before the “core plugins” are stable, and it can be documented for theme developers to allow them making their themes future-proof. (Oh yes, we need some good themes, the default one is fine, but some people want a richer selection.)

    The bbPress features eighty percent of people want can be implemented in “core plugins”. Simple things will be easy. And if someone wants a small bbPress, that’s easier, he simply does not need to activate any “core plugin”. And there is still a plugin interface which makes complex things possible — sometimes a little editing in themes is required, but most people never needs to do so.

    That’s the way bbPress should go, in my opinion.

    (It may be a way for the future of WordPress too. But that’s not the topic here, and the WP developers do their work for a huge community of users and simply cannot change earlier decisions easily.)

    And excuse my english. My poetic german is much better… and shorter.

    #82611

    In reply to: 1.1 feature poll

    grassrootspa
    Member

    @ kevinjohngallagher:

    One doesn’t need bbpress to display Voices, but it’s built into the core.

    One doesn’t need bbpress to give every registered user a profile pic or gravatar, but it’s built into the core.

    One doesn’t need bbpress to display Tags, but it’s built into the core.

    One doesn’t need bbpress to allow users to ‘favorite’ posts, but it’s built into the core.

    One doesn’t need bbpress to display a user’s recent activisty, but it’s built into the core.

    One doesn’t need bbpress to display a user’s location, occupation, and interests, but it’s built into the core.

    We could go on, and on, and on. One could make the argument that those features above (as well as others) could easily just be offered as plugins (no one REALLY needs to use them) but they are there to make the software more robust, fun, and useful! Think about each one and how things like Tags, favorites, gravatars, profile pics could simply be kept as plugins. Thank God those features were incorporated into the core.

    Yes, bbPress could be the most barebone of all barebone bulletin board programs, with multiple plugins required to do anything more than throwing up a forum post, but for this software to become what WordPress is to blogging/CMS software it needs to offer a more robust list of core features that can be refined and further fleshed out with future plugins.

    Again, I’m not saying you NEED to have TinyMCE turned on, use bbPress widgets, show how many times a topic has been viewed, display how many users are online, or use (new) default topic icons, but build this stuff into the core so folks can optionally use it, develop plugins to flesh those features out (imagine plugins/themes built around customizing various icon sets), and this stuff can grow with bbPress.

    bbPress is like 1.93 MB is size. Plugins like mini-stats are 37.9 KB. You guys are killing me, like incorporating stuff like some of the more popular plugins is going to make bbPress too bulky and bloated to use? Someone isn’t going to go, OMG, bbPress is 2.20 MB in size, its just to bloated to download and install on my server and it offers too many optional features! Come on guys, this is getting silly. Let’s make bbPress more robust in features so it blows vBulletin out of the water.

    #82607

    In reply to: 1.1 feature poll

    grassrootspa
    Member

    @ timskii, great observations. re: “There’s a risk of being unable to upgrade because a key plugin won’t work anymore” and “Joanna Average forum reader doesn’t care about any of that, and is probably keener on things like WYSYWYG, email, etc”:

    This is exactly why some of the more widespread plugins and features should be incorporated into the core as optional features one can turn on or off. It seems silly to force someone to download a plugin and mess with the template to do basic bulletin board admin tasks like display how many times a topic has been viewed, throw an icon next to each forum topic, allow rich text for those posting.

    My only major complaint after a year of bbPress use is the lack of features/polish that exist in vBulletin. Simply put, its just too bare after initial install. I know this will be extremely unpopular to many of you, but over the past couple years there have been many great plugins developed, like private messaging, TinyMCE/rich text, topic views, Allow Images, Smilies, User Directory, Members Online, Related Topics, Reputation, Top Posters, Terms of Service, and some of these features should really be incorporated into the Core as OPTIONS that can be turned and off. So should stuff like the ability to set default topic icons, human test for signups (@$%@%$ spam users), widgets for the sidebar, ability to delete topics, Post Rating, etc. I’m not saying every single feature out there should be incorporated, but what is the hangup with more stuff that can be optionally turned on or off in the admin? If its in the Core, its not going to break when a new version comes out, and additional plugins can be developed to customize those features even more!

    Right now bbPress is VERY bare after initial install so multiple plugins are required to snazz it up…and you can’t even edit the css or template from inside the bbpress admin. And yes there are plugins for everything but the kitchen sink, but some of the older plugins don’t work in newer versions of bbPress! Not sure how many of use also use IntenseDebate, but bbPress software’s core admin should consider have some of the same stuff which can easily be turned on or off, like voting, reputation, smilies (http://intensedebate.com/features or http://intensedebate.com/plugins)

    How cool would it be for a brand new bbPress install to optionally display which users are online, how many views a topic has, or topic icons right out of the box with no fiddling with the css or template files/additional plugin installs? I’m not saying a Nintendo emulator or Weatherbug display should be built in, but if bbPress remains so barebone, it won’t fill the free-easy-to-install easy-to-use vBulletin alternative niche (it should).

    #82685

    In reply to: bbPress.org site copy

    Documentation needs:

    1) Definitive integration directions.

    1a) Integrate a new WP and BB install

    1b) Integrate existing WP with new BB

    1c) Integrate new WP with existing BB

    2) Better Theme directions

    Unlike WP, BB by default uses ‘child’ themes, so unless your first step in CSS is to wipe out all settings, you’re going to have weird legacy going on there, which throws people off.

    3) Upgrading

    The upgrade used to leave out things like ‘save your .htaccess’ but it looks like that’s finally be addressed so never mind

    Everything could use some screenshots. Like the upgrade says the upgrade button is really obvious, well, show us WHAT it is. A picture speaks 100 words.

    grassrootspa
    Member

    I honestly don’t get this sudden push to make bbPress a WordPress plugin rather than continue as standalone software. There is so much potential for bbPress to grow and succeed in the 2010 standalone bulletin board market. Disagree? Think about this:

    Remember back in 2004 when Movable Type pushed everyone away with their new pricing plan? The result: BLAM! WordPress REALLY took off, fitting the bill as a viable free easy-to-install, easy-to-use alternative.

    One can make a strong argument that vBulletin is currently doing the same exact thing Movable Type did with their pricing plan snafu! (http://www.technologyquestions.com/2009/10/28/vbulletins-visceral-price-structure-angers-clients/) Check out this comment by donnacha which says even more: (http://weblogtoolscollection.com/archives/2009/12/11/bbpress-lives/#comment-1321740)

    Throw in how complicated phpBB and vBulletin are compared to bbPress (not to mention how easy bbPress is to pickup for those familiar with WordPress) and there is a major bulletin board niche opening for Automattic.

    This current bbPress 1.1 development push can really provide a great vBulletin alternative if it is done right. Shine up bbPress so it has some of the default features vBulletin and other boards offer (as OPTIONS in the admin interface) and we will see an exodus a la Movable Type to WordPress in 2004.

    #81694

    @radovanx – if you want to use your own default custom avatar for users without gravatars, you can try this plugin

    https://bbpress.org/plugins/topic/bb-avatars/

    #82382
    Olympus
    Member

    Theme integration can still be performed without having to turn bbPress into a plugin, and in fact, it can be done via a simple CSS trick ( that means that the default CSS of bbPress should be rewritten so that it becomes more flexible, and every element ( forum tables, forms etc… ) should act as “objects” which can be automatically stretched vertically independently of their parents or I don’t know, where the parents will be objects in the WP stylesheet ) . So again, for theme integration, NO NEED TO TURN BBPRESS INTO A PLUGIN, because it’s just a CSS issue ( + little PHP coding, nothing serious ) !

    Connecting the Admin sides of WP and bbPress ? This can be easily done via an OPTIONAL plugin ( or via XML-RPC calls, so that you can handle your bbPress forum even if it isn’t in the same host ) .

    Turning bbPress into a plugin would be a nightmare, think of all the unnecessary WP calls … Why did I choose bbPress again ? To have a light forum or to have TWO frameworks ( WordPress and bbPress ) + unnecessary calls and files ?

    The reason I choose bbPress at the beginning ( 3~4 years ago ) is because it’s from the creators of WordPress, so I hoped that it will be as easy to customize as WordPress, and that’s what I got ( even though, at the beginning it was really hard for me because I had to guess the function names, as there’s no Codex for bbPress ) and I’m very satisfied . I had the choice between bbPress, PunBB and Vanilla ( the lightest forums out there, and at the time, Vanilla had a greater number of plugins than bbPress ), but I stick with bbPress because it’s the easiest one to customize . So for those who think that bbPress can’t compete in the light forums market, you’re wrong !

    #70685
    plutopsyche
    Member

    Thanks, I tried it with the default theme and it worked. I compared side by side and still couldn’t figure out what was causing the problem, but scrapping what I had and starting from scratch again seems to have resolved the problem.

    Can’t wait until there’s a codex. ;)

    Thanks!

    gerikg
    Member

    Try installing this: https://wordpress.org/extend/plugins/add-bbpress-default-role/

    for wordpress -> bbpress

    and

    the wordpress integration option in BBpress should take care of the other.

    #70684
    chrishajer
    Participant

    Can you reply when using the default theme? If you can, then the problem is with your theme.

    Also, are you integrated with WordPress? If so, what version of each did you install?

    And finally, what plugins are you using? Maybe one of them is causing this.

    #82375
    Olympus
    Member

    The problem is that some people ( me for example ) don’t want to install a blank WordPress blog integrated with the bbPress forum just for the Facebook Connect support .

    Oh and, I think it’s a really bad idea to make bbPress a WP plugin, if it’s gonna happen, there will be two choices for me : either leave bbPress and search for another easy to design forum software, or stick with the 1.0.2 or something like that and avoid to update . Because I can’t afford to install a WordPress blog just to use bbPress !

    So, I think Matt is wrong when he’s saying that bbPress can’t compete in the forum software market ! IT CANS ! Just do some little improvements like default theme rewriting ( so that newbies will be encouraged to use it ), and write a Codex so that everyone sees how easy it is to customize bbPress, then, when bbPress becomes mature, try to link the two sites wordpress.org and bbpress.org together ( well yeah, when I visit WordPress.org, I don’t see any mention of bbPress ! ) to have a greater user base .

    Matt had two choices :

    • Listen to the non-coders ( who are requesting to make bbPress a WP plugin, because they find it “too hard” to integrate in the WP theme ) .
    • Listen to the coders ( who are saying that bbPress should stay a standalone application ) .

    Matt made the wrong choice ( the first one ), so I think that many coders will leave bbPress .

    Sorry but… If someones wants a WP plugin, there are tons of them : SimplePress is a great example !

    So please, leave bbPress as a standalone application !

    #82055
    f1f
    Member

    OK, switching back to the default theme allows me to change user roles. If I then switch back to my current theme a user who I’ve changed to a moderator can still moderate posts.

    So I guess we’ve identified a couple of things:

    1. My custom theme is broken at the point where user profiles are being edited

    2. It also seems the WordPress integration is broken

    Any further pointers you can give me on how to correct these would be great, thanks for all your help so far.

    hpguru
    Member

    User with role in bbPress and without role in WordPress log in to WordPress and WordPress change role none to your WordPress default role.

    #82373
    Olympus
    Member

    I think the only things bbPress really needs are :

    • A better default theme . The actual theme is too Web 0.9 . Oh, and try to get rid of the green, or use it in a clever way like Technorati or Techcrunch .
    • Facebook, Twitter ( no plugins for the both until now … ) and OpenID ( there’s already a plugin by _ck_ ) integrated by default .

    #82439
    gerikg
    Member

    this is somewhat related: I noticed stats.php in the default template, how do you go to it?

    #82208
    chrishajer
    Participant

    It’s probably not the CSS, but my guess is it’s something related to this specific setup. Maybe the language in use or the RTL CSS or integration with WordPress. bbPress does this by default when you type something that looks like a URL. Here I will just type something and bbPress will just linkify it: http://www.google.com (I typed www google com but with the periods in it)

    #82357
    sockmoney
    Member

    I am also a fan of keeping bbPress as its own software entity. However, I would not care if it was available as a plugin to WP by default, but could be installed stand alone as well.

    It just might be a little more difficult to market it as a forum in the mainstream if it is hidden away as a plugin with an optional checkbox to just install as a forum and not a blog. Just my 2 cents on that.

    Oh, and not a big fan of TinyMCE myself. But I’m old school. I think the masses generally like crap like that… ;-) Making it optional would of course be the way to go.

    #82435
    fundomaat
    Member

    @ Michael888

    I’ve installed it propertly, maybe I should note that I’ve integrated bbpress with wordpress and that my wordpress installation is in a diffrent database then my bbpress. (And that wordpress doesn’t use the default prefix)

    My site is:

    http://somerandomlife.com/forum

    #32504
    bb-lover
    Member

    Dear Developers,

    I’ve recently use bbpages plugin.. its working fine..but i want one more thing in this plugin … here is url like my site

    http://www.example.com/bb-page.php?page_id=3

    i want to change it to

    http://www.example.com/my-own-keyword.html

    can any coder tell me how it possible?

    i’ll be great thankful to you

    here is plugins files


    1. bb-page.php for root

    <?php

    require_once(‘./bb-load.php’);

    $page_id = 0;

    bb_repermalink();

    if ( !$page )

    bb_die(__(‘Page not found.’));

    do_action( ‘bb-page.php’, $page_id );

    bb_load_template( ‘page.php’, array(‘bb_db_override’, ‘page_id’) );

    ?>


    2. page.php for template

    <?php bb_get_header(); ?>

    <?php if ( isset_id() ) : ?><?php if ( page_exist() ) : // Do not delete this ?>

    <div class=”top_box”>

    <h2><?php echo get_page_title(); ?></h2>

    <div class=”bbcrumb”>“><?php bb_option(‘name’); ?> » <?php echo get_page_title(); ?></div>

    </div>

    <div class=”post-content”>

    <?php echo get_page_content(); ?>

    </div>

    <?php else: // If there is no page with id=X in database ?>

    <div class=”notice_box”><div class=”notice_content”>404 – I’m sorry, but this page does not exist.</div></div>

    <?php endif; ?>

    <?php else: // If page ID is not specified or it equals 0 ?>

    <div class=”notice_box”><div class=”notice_content”>Page is not specified.</div></div>

    <?php endif; ?>

    <?php bb_get_footer(); ?>


    3. bb-pages.php for plugin

    <?php

    /*

    Plugin Name: bbPages

    Plugin URI: http://astateofmind.eu/freebies/bbpages/

    Description: Allows you to create static pages within your bbPress forum.

    Author: F.Thion

    Author URI: http://astateofmind.eu

    Version: 0.0.2

    license: GPL

    donate: http://astateofmind.eu/about/support/

    */

    function get_page_id() {

    if ( isset ( $_GET ) ) :

    $page_id = $_GET;

    return $page_id;

    endif;

    }

    function isset_id() {

    if ( $_GET > 0 ) :

    return true;

    else:

    return false;

    endif;

    }

    function page_exist() {

    global $bbdb, $bb;

    $id = get_page_id();

    $table_name = $bbdb->prefix . “pages”;

    $query = $bbdb->get_results(“SELECT page_id FROM $table_name WHERE page_id=”.$id.””);

    if ( $query == true ) :

    return true;

    else:

    return false;

    endif;

    }

    function get_page_title() {

    global $bbdb, $bb, $page_id;

    $id = get_page_id();

    $table_name = $bbdb->prefix . “pages”;

    $query = $bbdb->get_results(“SELECT page_title FROM $table_name WHERE page_id=”.$id.””);

    foreach ($query as $rk) {

    return $rk->page_title;

    }

    }

    function get_page_slug() {

    global $bbdb, $bb, $page_id, $page;

    $id = get_page_id();

    $table_name = $bbdb->prefix . “pages”;

    $query = $bbdb->get_results(“SELECT page_slug FROM $table_name WHERE page_id=”.$id.””);

    foreach ($query as $rk) {

    return $rk->page_slug;

    }

    }

    function get_page_content() {

    global $bbdb, $bb, $page_id;

    $id = get_page_id();

    $table_name = $bbdb->prefix . “pages”;

    $query = $bbdb->get_results(“SELECT page_content FROM $table_name WHERE page_id=”.$id.””);

    foreach ($query as $rk) {

    return $rk->page_content;

    }

    }

    function list_pages() {

    global $bbdb, $bb;

    $table_name = $bbdb->prefix . “pages”;

    $query = $bbdb->get_results(“SELECT * FROM $table_name ORDER BY page_order ASC”);

    $status = array(

    0 => ‘Draft’,

    1 => ‘Published’

    );

    foreach ($query as $rk) {

    echo ‘

    <tr>

    <td>’.$rk->page_id.'</td>

    <td>’.$rk->page_title.'</td>

    <td>’.$rk->page_date.'</td>

    <td>’.$status[$rk->page_status].'</td>

    <td>page_id.'”>Edit | page_id.'”>Delete | page_id.'”>View</td>

    </tr>

    ‘;

    }

    }

    function pages_panel() {

    $action = $_REQUEST;

    switch($action)

    {

    default:

    ?>

    <h2>Manage Static Pages <small>(Create new page)</small></h2>

    <table class=”widefat”>

    <thead>

    <tr>

    <th style=’width:5%;’>ID</th>

    <th style=’width:45%;’>Title</th>

    <th style=’width:20%;’>Creation Date</th>

    <th style=’width:10%;’>Status</th>

    <th style=’width:20%;’>Actions</th>

    </tr>

    </thead>

    <tbody>

    <?php echo list_pages(); ?>

    </tbody>

    </table>

    <h3>Please support the developer</h3>

    <img src=”http://astateofmind.eu/uploads/donation.gif&#8221; style=”margin-right:10px” border=”0″ align=”left” />

    Do you like this plugin? Do you find it useful? If so, please donate few dollars so I could keep develop this plugin and others further and further. Even the smallest help is greatly appreciated for a student in Poland ;).

    <form action=”https://www.paypal.com/cgi-bin/webscr&#8221; method=”post”>

    <input type=”hidden” name=”cmd” value=”_donations”>

    <input type=”hidden” name=”business” value=”wojciech.usarzewicz@gmail.com”>

    <input type=”hidden” name=”item_name” value=”bbPages Donation”>

    <input type=”hidden” name=”item_number” value=”bbPages Donation”>

    <input type=”hidden” name=”no_shipping” value=”0″>

    <input type=”hidden” name=”no_note” value=”1″>

    <input type=”hidden” name=”currency_code” value=”USD” />

    Type donation amount: $ <input type=”text” name=”amount” value=”1″ />

    <input type=”hidden” name=”tax” value=”0″>

    <input type=”hidden” name=”lc” value=”US”>

    <input type=”hidden” name=”bn” value=”PP-DonationsBF”>

    <input type=”submit” name=”submit” value=”Donate with PayPal!” alt=”PayPal – The safer, easier way to pay online!”>

    <img alt=”” border=”0″ src=”https://www.paypal.com/pl_PL/i/scr/pixel.gif&#8221; width=”1″ height=”1″>

    </form>

    <p>Want to know what I’m developing right now? Follow me on Twitter, ignore 90% of stuff and learn a lot you will ;). And thank you for using my plugin!</p>

    <?php

    break;

    case “add”:

    global $bbdb, $bb;

    if (isset($_POST))

    {

    $page_title = $_POST;

    $page_slug = bb_sanitize_with_dashes( “$page_title”, “” );

    $page_content = $_POST;

    $page_order = $_POST;

    $page_status = $_POST;

    $table_name = $bbdb->prefix . “pages”;

    $query = “INSERT INTO ” . $table_name .

    ” (page_id, page_date, page_content, page_title, page_status, page_slug, page_order) ” .

    “VALUES (0, NOW(), ‘”.$page_content.”‘, ‘”.$page_title.”‘, ‘”.$page_status.”‘, ‘”.$page_slug.”‘, ‘”.$page_order.”‘)”;

    $bbdb->query($query);

    ?><div class=”updated”><p>Page has been saved.</p></div> <?php

    }

    ?>

    <h2>Add new page</h2>

    <form class=”settings” method=”post”>

    <fieldset>

    <div>

    <label for=”page_title”>

    Page title </label>

    <div>

    <input name=”page_title” id=”page_title” type=”text” class=”text long” />

    <p>Page slug will be created automatically (don’t worry, it’s not useful for anything yet).</p>

    </div>

    </div>

    <div>

    <label for=”page_order”>

    Page order </label>

    <div>

    <input name=”page_order” id=”page_order” type=”text” class=”text long” />

    </div>

    </div>

    <div>

    <label for=”page_content”>

    Page content </label>

    <div>

    <textarea name=”page_content” id=”page_content” rows=”20″ cols=”80″ ></textarea>

    </div>

    </div>

    <input type=”hidden” name=”page_status” value=”1″ />

    <input type=”hidden” name=”page_id” value=”<?php echo $_GET; ?>” />

    </fieldset>

    <input type=”submit” class=”submit” name=”add_page” value=”<?php _e(‘Add page’, ‘add_page’) ?>” />

    </form>

    <?php

    break;

    case “edit”:

    global $bbdb, $bb;

    if (isset($_POST)) {

    $page_id = $_POST;

    $page_title = $_POST;

    $page_content = $_POST;

    $page_order = $_POST;

    $page_status = $_POST;

    $table_name = $bbdb->prefix . “pages”;

    $query = “UPDATE “.$table_name.” SET page_content='”.$page_content.”‘, page_title='”.$page_title.”‘, page_status='”.$page_status.”‘, page_order='”.$page_order.”‘ WHERE page_id='”.$page_id.”‘”;

    $bbdb->query($query);

    ?> <div class=”updated”><p>Page updated…</p></div> <?php

    }

    $table_name = $bbdb->prefix . “pages”;

    $query = $bbdb->get_results(“SELECT * FROM $table_name WHERE page_id=”.$_GET.””);

    foreach ($query as $rk) {

    $id = $rk->page_id;

    $title = $rk->page_title;

    $content = $rk->page_content;

    $order = $rk->page_order;

    $status = $rk->page_status;

    }

    ?>

    <h2>Edit page</h2>

    <form class=”settings” method=”post”>

    <fieldset>

    <div>

    <label for=”page_title”>

    Page title </label>

    <div>

    <input name=”page_title” id=”page_title” type=”text” class=”text long” value=”<?php echo “$title”; ?>” />

    <p>Page slug will be created automatically (don’t worry, it’s not useful for anything yet).</p>

    </div>

    </div>

    <div>

    <label for=”page_order”>

    Page order </label>

    <div>

    <input name=”page_order” id=”page_order” type=”text” class=”text long” value=”<?php echo “$order”; ?>” size=”10″ />

    </div>

    </div>

    <div>

    <label for=”page_content”>

    Page content </label>

    <div>

    <textarea name=”page_content” id=”page_content” rows=”20″ cols=”80″ ><?php echo “$content”; ?></textarea>

    </div>

    </div>

    <input type=”hidden” name=”page_status” value=”1″ />

    <input type=”hidden” name=”page_id” value=”<?php echo $_GET; ?>” />

    </fieldset>

    <input type=”submit” class=”submit” name=”save_page” value=”<?php _e(‘Save page’, ‘save_page’) ?>” />

    </form>

    <?php

    break;

    case “delete”:

    global $bbdb, $bb;

    $id = $_GET;

    $table_name = $bbdb->prefix . “pages”;

    $query = $bbdb->get_results(“DELETE FROM $table_name WHERE page_id=”.$_GET.””);

    $bbdb->query($query);

    ?> <div class=”updated”><p>Page deleted…</p></div> <?php

    break;

    }

    }

    function pages_admin_menu() {

    bb_admin_add_menu(__(‘Manage Pages’), ‘administrate’, ‘pages_panel’);

    }

    function bbpages_install() {

    global $bbdb;

    $table_name = $bbdb->prefix . “pages”;

    $bbdb->query(“CREATE TABLE IF NOT EXISTS $table_name (

    page_id mediumint(9) NOT NULL AUTO_INCREMENT,

    page_date datetime,

    page_content text,

    page_title varchar(255),

    page_status int(1),

    page_slug varchar(255),

    page_order int(11),

    PRIMARY KEY (page_id)

    )”);

    }

    bb_register_activation_hook( __FILE__, ‘bbpages_install’);

    add_action( ‘bb_admin_menu_generator’, ‘pages_admin_menu’ );

    ?>


    Note: I want to mention here that the author of this plugin is no more active. He make this plugin but something is wrong with this pluing. he tell us wrong path for plugins files. But I’ve little bit knowledge of php that’s why i correct its path now the path of the plugins files which I’ve mentioned above is totally correct and working fine.

    Now I really need to your help. If someone will not guide me then I’ll leave this software “bbpress” and I’ll move to vBulletin or phpbb after disheart….

    So I’m waiting for positive answers from developers… Thanks … And Love you all

    myfairmissy
    Member

    Hi all, needed some help with wordpress.

    my wordpress add is at http://www.myfairmissy.com/janie/

    my bbpress add is at http://www.myfairmissy.com/janie/forums

    followed instructions for the cookies and still resulted in me loggin in 1 side and auto-logout on the other.

    also would like to know which plug-in should i use for the wordpress if i want ,primarily to…

    – i want my wordpress homepage to show 5 columns x 5 rows of latest post image, which will be grabbed from a few specific forum in BBpress. i also need a few buttons to sort or filter results by recent,by view counts, by specific forum

    -i want my wordpress to have a few horizontal navigation bars at the header instead of the default ones at the side.

    -i want to be change the default header image to my own and able to make my left/right sides blank like this forum. the left/right sides should be easily customized with my preferred wallpaper.

    i hope i’m not asking for too much.

    thanks in advance

    #82066

    @jackey – maybe the problem is theme related. Did you try to activate the default Kakumei theme and see if bbPolls behave normally? This would help pin down the problem.

    #82065
    jackey
    Participant

    Tried re-installing it after an update to iBlogForum 1.02.

    But still the same. When I click to add a poll, nothing happens.

    When I try to alter the Polls’ configuration or reset it to default, it wipes my iBlogForum configuration.

    Another strange behaviour that I do not know if it is related… everywhere were I enter quotes, bbPress changes this to ‘ time over time so after a few edits you end up with \\\\\’

    #80392

    @arpowers – I deep integrated my local installation, just to test, and I have the same problem. All template tags work fine, but the Page Mash plugin is displaying all hidden pages, and the sidebar is only displaying the default place holder widgets, but not the other ones.

    I believe that the problem is that the plugin settings and other data are stored in the wp_options table, and this is not being pulled into bbPress. It seems like deep integration allows for the use of the wp template tags, but not much more beyond it… Maybe there is a way to make the wp_options table available to bbPress, by defining something in bb-config.php?

Viewing 25 results - 5,526 through 5,550 (of 6,788 total)
Skip to toolbar