Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 20,176 through 20,200 (of 32,517 total)
  • Author
    Search Results
  • #88150
    DKB
    Participant

    I have solved it now: the BBcode Lite plugin was interferring. Had to deactivate it.

    #35184
    Syrehn
    Member

    I recently installed bbpress and completed deep integration using the:

    bbpress integration 1.0 wordpress plugin and the zaerl wordpress 3 fix plugn.

    everything appears to be running ok,

    when i’m in the admin panel on the dashboard screen, it’s posting the following errors at the top:

    Warning: Division by zero in /support/bb-includes/functions.bb-statistics.php on line 214

    Warning: Division by zero in /support/bb-includes/functions.bb-statistics.php on line 194

    Warning: Division by zero in /support/bb-includes/functions.bb-statistics.php on line 174

    Warning: Division by zero in /support/bb-includes/functions.bb-statistics.php on line 244

    i’m not sure what caused this, and i’m not sure how to get rid of it or if it’s even affecting anything?

    anyone seen this before or have any ideas?

    #92817

    In reply to: Automatic in Textbox

    zaerl
    Participant

    There’s no need for a <br /> cause you can specify a margin-bottom:1em; in the CSS.

    .post p { margin-bottom:1em; }

    #35075
    Vasbinder
    Member

    I don’t know if I’m missing something. This seems to be important yet I cannot find anything about this subject in any forum about bbPress.

    When you press Enter twice in a reply in this forum, it brings you down to start a new paragraph. I’m assuming it also automatically adds a <br> tag in the post. My forums, however, do not do this.

    http://raremob.com/forums/

    How do I make it so when there is a gap between paragraphs on my forum replies that it automatically adds the <br> tag? Currently, I have to manually edit everyone’s posts who make any sort of separations between paragraphs by typing this tag in between them. I know it has nothing to do with my plugins because it was having the same problem from the start.

    #35174

    Hello.

    I’m using _ck_’s plugin for showing unread posts, but I’m trying to attach an icon for the status as well.

    I have the two pictures that I want (last_login.png and unread_posts.png) in a folder called “icons” inside the folder of the plugin.

    I’m highlighting the new forums with posts and the unread posts since last login here:

    $unread_posts['indicate_forums']=true;
    $unread_posts['indicate_last_login']=true;

    I’m also using the entire row class instead of the title cell, since without this option I cannot get the forum to show the new posts at all.

    $unread_posts['use_row_class']=true;

    Here is my attempt to attach the pictures:

    $unread_posts['style']=".unread_posts {color:#FF0000; padding-left: 20px; background: url(".$unread_posts['icons']."unread_posts.png) 1px 0px no-repeat;}"
    .".unread_login {color:#FF4500; padding-left: 20px; background: url(".$unread_posts['icons']."last_login.png) 1px 0px no-repeat;}"
    .".unread_posts_row a {color:#FF0000; padding-left: 20px; background: url(".$unread_posts['icons']."unread_posts.png) 1px 0px no-repeat;}"
    .".unread_login_row a {color:#FF4500; padding-left: 20px; background: url(".$unread_posts['icons']."last_login.png) 1px 0px no-repeat;}";

    I’ve also posted here, on _ck_’s forum, but I haven’t received a reply yet.

    Any help greatly appreciated.

    Regards,

    Bob

    #90693

    In reply to: WP-Forum

    #49994
    phillcross
    Member
    915     function phpbb_username($id) {
    916 global $phpbb_tables;
    917 $sql = "SELECT username FROM " . $phpbb_tables['users'] . " WHERE user_id=$id";
    918 $result = mysql_query($sql);
    919 if ($row = mysql_fetch_object($result)){
    920 return $row->username;
    921 } else {
    922 return false;
    923 }
    924 }

    What am I missing??

    #49992
    phillcross
    Member

    I read through all this here are my errors:

    1.Connected to the phpBB database host
    2.Selected the phpBB database
    3.Exporting forums...
    4.Exporting users...
    5.Exporting user metadata...

    Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/singer/public_html/phpbb2bbpress.php on line 920

    6.Exporting topics...

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 33030274 bytes) in /home/singer/public_html/phpbb2bbpress.php on line 373

    How do I increase my allowed memory? That should resolve # 6

    What supplied argument is invalid??

    I appreciate the assistance.

    #92253
    minervaa
    Participant

    You are s superstar CK ! It’s workig perfctly now :)

    I have gone through every single line of my forum.php and your code, didn’t find anything (perhaps I missed something) then I just replaced them as you advised. Now they are working :)

    Thanks a million!

    #92252
    _ck_
    Participant

    It’s possible the template for the forum page has a bug or missing code, I vaguely remembering one of my themes having this problem in an old copy.

    You are using “the-hybrid” theme?

    Does your forum.php template look like this?

    http://pastebin.com/raw.php?i=CLpMG0UF

    (if not replace it)

    #55409
    minervaa
    Participant

    I had the same problem with pretty permalink.

    Background:

    Main site = http://www.site.com

    Blog = http://www.site.com/blog (WP 2.8)

    Forum = http://www.site.com/forum (bbPress 0.9.06)

    I installed the blog few weeks ago and didn’t touch apart of posting a “hello world”. Wp gave me a message on that time to enter this on root htaccess –

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /blog/

    RewriteCond %{REQUEST_FILENAME} !-f

    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule . /blog/index.php [L]

    </IfModule>

    I must mention that the htaccess had already

    Options +FollowSymLinks

    RewriteEngine on

    Then I installed the forum today. After activating the name based permalink it gave me 404 message. I deleted the “+FollowSymLinks” from the htaccess and put –

    Options +Multiviews

    It worked fine for few hours but it started showing 404 again. After going through various posts in here I decided not to change the Multiviews as my hosting already mod_rewrite enabled.

    I made another htaccess just for the forum,which look like this –

    Options +FollowSymLinks

    RewriteEngine on

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /forum/

    RewriteCond %{REQUEST_FILENAME} !-f

    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule . /forum/index.php [L]

    </IfModule>

    The pretty permalink is working at the moment. Hopefully it will be working in future too.

    #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!

Viewing 25 results - 20,176 through 20,200 (of 32,517 total)
Skip to toolbar