Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 20,151 through 20,175 (of 32,481 total)
  • Author
    Search Results
  • #90224
    chrishajer
    Participant

    It is not on the development road map. bbPress is on its way to becoming a plugin for WordPress and will therefore rely on whatever database technology is used by WordPress.

    You can read more about the database choices for WordPress here:

    https://codex.wordpress.org/Using_Alternative_Databases

    #34563
    majidazimi
    Member

    Hi guys.

    I want to add postgreSQL support for bbpress. But i don’t know php. The only thing that i can do is to provide a sql script containing postgreSQL table configuration.

    is it possible to add postgreSQL support or it is not in your developing road map?

    if yes which file contains table configuration in source code? i have searched but i didn’t find.

    #34423
    matthewkris
    Member

    Hello,

    I’m looking to tack bbPress onto one of my non-WordPress sites. The site was hand coded in php and is a very basic static site. I’d like to use the bbPress login throughout the entire site to enable commenting and a few other social features.

    Are there any resources out there that have to do with integration on a non-WordPress site? I’m just looking for a place to start.

    Thanks!

    #93068

    In reply to: Irony?

    Rich Pedley
    Member

    I adapted an older plugin for use on punBB/fluxBB. Those forums have a report function, I made it so that after x reports the post got automatically hidden until reviewed by a moderator.

    I’ll probably write a similar plugin for the bbPress plugin when it is released, as I have found it particularly useful along with the other restrictions that it also included:

    – ability to limit new posts to x characters

    – ability to limit new posters to x links

    and a a few other things. Admittedly it wouldn’t have helped with the recent spam, for that I blame akismet ;)

    #93000

    In reply to: Cannot access bb-admin

    Anonymous User 6443559
    Inactive

    I fixed it. I proceeded to do more digging following the link from chrishajer then following more links, followed by a google search. THis is what I eneded up doing.

    I tired so many things idk if it was just one of the things or the combination of both of these that fixed it.

    But first I went to https://api.wordpress.org/secret-key/1.1/salt/ and got new keys for wordpress, I replaced all the old code in wp-config with the ones this script generated. Next I went to bb-config and copied these keys there, overwriting what was previously specified. I then added “BB_” to the begining of the name of what I was defining.

    Next I added

    define( ‘COOKIEPATH’, ‘/’ );

    to both wp-config and bb-config.

    #92999

    In reply to: Cannot access bb-admin

    try bbpress integration plugin on WordPress side. It will tell you to add some lines in your wp-config.php, do so and see if that resolves it.

    #35141
    scotnery
    Member

    ….I really tried to look for documentation and plugins for this, but no luck. could you guys help me out with some code to do this?

    PROBLEM: I want to show the forums with the 4 most recent topics in each on the front page

    like this….

    forum 1

    – forum 1 topic 1 — willie — jan 12th

    – forum 1 topic 2 — bob — jan 4th

    – forum 1 topic 3 — sue — jan 2nd

    – forum 1 topic 4 — matt — jan 1st

    forum 2

    – forum 2 topic 1 — paul — feb 10th

    – forum 2 topic 2 — mike — feb 9th

    – forum 2 topic 3 — rob — jan 20th

    – forum 2 topic 4 — hank — jan 5th

    NOT SOLUTION: i tried writing this code, but it shows the most recent topics over all

    
    

    <?php if ( bb_forums() ) : ?>
    <!-- <h2><?php _e('Forums'); ?></h2> //-->
    <table id="forumlist">
    <?php while ( bb_forum() ) : ?>
    <tr class="titletext titlebar">
    <td><?php bb_forum_pad( '<div class="nest">' ); ?><a>"><?php forum_name(); ?></a><?php forum_description( array( 'before' => '<small> – ', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?></td>
    <td class="num"><?php forum_topics(); ?></td>
    <td class="num"><?php forum_posts(); ?></td>
    </tr>
    <?php if ( $topics ) : ?>
    <tr>
    <td colspan="3">
    <table class="small">
    <?php
    $i = 0;
    foreach ( $topics as $topic ) : ?>
    <tr<?php topic_class(); ?>>
    <td><?php bb_topic_labels(); ?> <a>"><?php topic_title(); ?></a><?php topic_page_links(); ?></td>
    <td class="num"><?php topic_posts(); ?></td>
    <!-- <td class="num"><?php bb_topic_voices(); ?></td> -->
    <td class="num"><?php topic_last_poster(); ?></td>
    <td class="num"><a>"><?php topic_time(); ?></a></td>
    </tr>
    <?php
    $i++;
    if($i>4) break;
    endforeach;?>
    </table>
    <?php endif; ?>
    <?php endwhile; ?>

    it displays….

    forum 1

    – forum 1 topic 1 — willie — jan 12th

    – forum 1 topic 2 — bob — jan 4th

    – forum 1 topic 3 — sue — jan 2nd

    – forum 1 topic 4 — matt — jan 1st

    forum 2

    – forum 1 topic 1 — willie — jan 12th

    – forum 1 topic 2 — bob — jan 4th

    – forum 1 topic 3 — sue — jan 2nd

    – forum 1 topic 4 — matt — jan 1st

    Thank you in advance for any help. Even pointing me to template tags reference point!

    #93046

    May be its a simple problem that I have encountered some times. Try Ctrl + F5

    #93028
    _ck_
    Participant

    There is a possiblity they are redirecting to WP for login even via bbpress and because there is no ?re (or whatever wordpress uses these days) it plops them right into the admin menu, which is typical WP insanity.

    #35129
    Vasbinder
    Member

    I’m going to be honest: I tried other forum technologies before this one. Every website I saw with bbPress looked so drastically simple that it turned me away for the longest time. I tried many different popular forums but none of them worked, nor integrated, the way I wanted them to.

    I decided to give bbPress a whirl. When I first set it up, I almost gave up because none of the features I truly wanted were there, or at least not in place. That’s when I decided to look up the coding itself. Talk about flexibility!

    Anywho, after days of work and editing, I think I finally have a functional gaming-related forum to go along with my newly-created gaming-related website. I’m fairly proud of what I’ve accomplished thus far, but I wanted to hear from you guys, the forum that I have visited more than any others the past week. Take a look after the jump below!

    Oh, and sign-up on the main website if you like games! ^_^ More forum features are well on their way!

    Rare Mob Online Gaming Community

    #35125
    Anonymous User 6810465
    Inactive

    can someone tell me how to add the piano black theme to bbpress?? I’m a newb and dont know how to code…

    my site: http://www.tgxn.net/pw (/forum)

    if that isn’t easy then I would like to know how to add links to the bbpress navigation bar…

    #93001

    In reply to: Mystique Theme Port

    Gautam Gupta
    Participant

    I have uploaded it to the SVN here – http://code.google.com/p/bb-mystique/source/browse/trunk

    The 1.0 beta version can be downloaded from here – http://code.google.com/p/bb-mystique/downloads/detail?name=bb-mystique-1.0-beta.zip

    #35120

    Topic: Mystique Theme Port

    in forum Showcase
    Gautam Gupta
    Participant

    Hello,

    Just wanted to tell that I have just ported Mystique theme to bbPress – I would be soon releasing it. Till then you can check out the live demo of it here:

    http://www.cubetripods.com/forum/

    Some notes:

    • It currently doesn’t have a settings page but some settings can be set by editing the PHP files
    • Requires avatars to be active
    • Right now only works with trunk version of bbPress (didn’t check on 1.0, but it should work fine there except a few things which would be fairly easy to fix).

    Thanks! :-)

    #35113
    zememe
    Member

    Hi,

    I’m trying to instal bbpress and so far I managed to instal but I fail to integrate with WordPress

    So I have WP in http://www.sitename.com/wpfolder, then inside wpfolder i added new one so my BBPress is instaled in http://www.sitename.com/wpfolder/bbfolder

    And now I don’t know how to integrade

    I’m getting this msg

    Deep Integration With WordPress Required
    It appears your WordPress installation isn't deeply integrated which is required for iBlogPro Forum to work correctly (it needs access to WP functions).

    Please see Deep Integration With WordPress

    so everytime when I call BBPress http://www.sitename.com/wpfolder/bbfolder I can’t see dashboard only this msg.

    So I know that I need to add

    Functions (optional)
    bbPress will not have access to WordPress’ functions unless you manually tell bbPress to load WordPress first. This integration step is also known as “deep” integration, it is a totally optional part of integration and is not required to get shared cookies and logins working. In order to do it, you need to put require_once(dirname(__FILE__) . '/path/to/wp-load.php'); in bbPress’ bb-config.php (wp-load.php is in the same directory as WordPress’ wp-config.php file, so if your bbPress folder is directly inside your WordPress folder, the command becomes require_once(dirname(__FILE__) . '/../wp-load.php');).

    but I don’t know where to add, I tried in bb-config.php but I get some errors, to be hones and don’t know where to past code

    require_once(dirname(__FILE__) . '/../wp-load.php');

    so can somebody help me, or link me to some resources with answers?

    Thanks in advance!

    #92920

    Hello again.

    It worked like a glove. Thank you chrishajer. And thank you Kevin as well.

    For posterity’s sake now, this is what one should modify in their style.css in order to achieve a vertical scrollbar for their tag list:

    #topic-tags {
    border-left: 1px solid #ccc;
    float: right;
    padding: 0 0 0 1em;
    overflow:auto;
    height: 240px;}

    I sometimes wonder where should one start if one wanted to build a solid foundation in PHP? For I only use (basic) logics and ask for help when I’m stuck.

    Nevertheless, thank you all once again.

    Regards,

    Pastor Bob

    #92968

    In reply to: Permalinks Error

    zaerl
    Participant

    This is the way relative URLs function. You must modify your template and put on the absolute URL.

    <a href="<?php bb_uri('/videos.php'); ?>">video</a>

    #92948

    In reply to: can't access bb-admin

    xtremetoonz
    Participant
    #92939
    chrishajer
    Participant

    If you want to reinstall, you will need to drop all the bb_ tables from the database. You will get this “upgrade” notice when there are bb_ tables in the database.

    It almost looks like you used main_ for your bbPress database table prefix? I hope that is not the table prefix for your WordPress installation. If it is, then using the same prefix for bbPress means the bbPress installer tried to install into your WordPress tables.

    #92938
    Zauxst
    Member
    Oh dear!

    bbPress is already installed, but appears to require an upgrade.

    Perhaps you meant to run the upgrade script instead?

    This is what showes now when the Database Table is active with the current error. Clicking on the Upgrade Script does nothing only refreshes the web-page.

    #92937
    Zauxst
    Member

    Ah yeh i’ve forgot to mention that i use sub-domain for bbPost and not a URL like www.example.com/forum

    My main blog and website is www.nightheaven.co.cc and the forum is located at www.forum.nightheaven.co.cc so might that be a problem?

    #35111
    Zauxst
    Member

    I get these strange errors after trying to install bbPress

    Forum could not be created!
    Key master email not sent!

    Referrer is OK, beginning installation…
    >>> Setting up custom user table constants

    Step 1 - Creating database tables
    >>> Database is already installed!!!

    Step 2 - WordPress integration (optional)
    >>> WordPress address (URL): http://nightheaven.co.cc/
    >>> Blog address (URL): http://nightheaven.co.cc/
    >>> WordPress cookie keys set.
    >>> WordPress "auth" cookie salt set from input.
    >>> WordPress "secure auth" cookie salt set from input.
    >>> WordPress "logged in" cookie salt set from input.
    >>> User database table prefix: main_
    >>> WordPress MU primary blog ID: 1

    Step 3 - Site settings
    >>> Site name: forums
    >>> Site address (URL): http://forum.nightheaven.co.cc/
    >>> From email address: address@yahoo.com
    >>> Key master role assigned to existing user
    >>>>>> Username: username
    >>>>>> Email address: me@yahoo.com
    >>>>>> Password: Your existing password
    >>> Description: Just another bbPress community
    >>> Forum could not be created!
    >>> Key master email not sent!

    There were some errors encountered during installation!

    #92919
    chrishajer
    Participant

    You *do* need to set the height, at least, to create the vertical scrollbar. So what size do you want to constrain it to? Can you show an example of a page where the tag list is too long that you want to add the scrollbar to?

    Maybe this page?

    http://www.pastorbob.co.uk/forum/bible-study/are-we-invincible

    Add this to the topic-tags CSS right where you added the overflow: auto

    height: 110px;

    That will make it about as tall as the information to the left (at least on this page, with the amount of information there.)

    #92916

    Hello.

    This is what I’ve done with my topic.php:

    <div style="overflow:auto"><?php topic_tags(); ?></div>

    No result. Also, shouldn’t I set a width and a length somewhere?

    I’ve also tried:

    #topic-tags {
    border-left: 1px solid #ccc;
    float: right;
    padding: 0 0 0 1em;
    overflow:auto;}

    No result.

    Suggestions?

    Regards,

    Bob

    #92905

    In reply to: Favicon

    Could you give us a link?

    Could you tell us what version of the browser you’re on?

    (did you google, cos FF3.6 had this issue from 3.6.2 to 3.6.6)

    http://support.mozilla.com/tiki-view_forum_thread.php?comments_offset=0&comments_threadId=0&comments_parentId=562600&comments_threshold=0&thread_sort_mode=commentDate_asc&forumId=1&time_control=3600

    Is your favicon in the root?

    Is your favison called via code?

    It’ll be a nice quick fix if you could give us some more info :)

    #90519

    Hi Bob,

    Finished is not quite the word i’d use to describe it, but it works as intended.

    I generally like to scope out all of the thing I want a plugin to do, and then I can add to it incrementally, which is why there are 4 functions with no code in them (but they’re never called, it’s more placeholders).

    The code isn’t released under a GPL yet, not that I’d try submitting them here anyway given past horrors with the system, but please feel free to use it on your forums Bob, and shout me if you’ve any issues.

Viewing 25 results - 20,151 through 20,175 (of 32,481 total)
Skip to toolbar