Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 25,276 through 25,300 (of 32,468 total)
  • Author
    Search Results
  • #73006
    Dave
    Member

    Thanks ck, much appreciated. I’m glad you like it. Thanks for all the great work on bbpress.

    It very nearly works :-) The polls show up correctly, but also this error:

    Warning: Missing argument 1 for bb_polls_pre_poll(), called in /home/content/b/l/o/blogdave/html/forums/bb-templates/blank2rbbpress/topic.php on line 11 and defined in /home/content/b/l/o/blogdave/html/forums/bb-plugins/bbpress-polls/bb-polls.php on line 47

    #73005
    _ck_
    Participant

    Very nice clean layout, I like it alot.

    The poll puts itself by default wherever the topicmeta is, however you can change that. Just a guess, untested, try putting this near the top of your topic.php template:

    <?php  remove_action('topicmeta','bb_polls_pre_poll',200); bb_polls_pre_poll(); ?>

    #5160
    #72989
    chrishajer
    Participant

    svn is short for “subversion” a version control system:

    http://en.wikipedia.org/wiki/Subversion_(software)

    “The latest SVN” means checking out the latest version of the code using the software called subversion. You can do that instead of downloading and unzipping, and it makes upgrades and modifications easier as well.

    #72893
    _ck_
    Participant

    There isn’t any site “larger than recommended” for bbPress ;-)

    There is a bbPress site with nearly 2 million posts and another with 8 million users, so there aren’t any limits.

    I’ll look at the approve plugin and see how hard it is to make work with 1.6

    #72869

    Thanks _ck_,

    It worked perfectly!

    #57461
    bruinfelix
    Member
    #72839

    Awww Jeeeaaaah…. :D

    #72977
    _ck_
    Participant

    A fixed list of avatars would be easy to do, you just upload them yourself into a folder you decide and then have php do a glob of the files in that directory and present them to the member as a form with a radio select. Whatever they chose gets written by name to the user metadata.

    Then you just need simple code in the display post template to show their chosen avatar.

    It would be much safer and faster than other avatar methods.

    #72966
    bruinfelix
    Member

    I started with the ‘default’ buddypress theme, that comes with the package, as i may think it is more generic and easier to study on how things are done ;)

    And thats why i choose the ‘blue’ things .. ;)

    But, first thing first .. Just altering and tweaking the buddypress them a lot right now, and the next step whould be the bbpress theme, so it matches ;)

    #72965
    zeronix
    Member

    Thats great to hear.

    I also love the original theme but selected the Facebuddy because it looks more professional.

    Maybe you try it out and use it too.

    Anyways, if you´d convert one of these themes you´d be my god :)

    #72964
    bruinfelix
    Member

    Currently i’am working on a own BuddyPress theme, based on the original theme provided by the BuddyPress developers. And yes, it will include a matching bbPress theme ;)

    http://wordpress-blog.nl

    #72868
    _ck_
    Participant

    I’ve hardcoded it in the javascript.

    edit it and change

    function edOver(element) {element.style.color="#000080"; element.style.backgroundColor="#ddd";}
    function edOut(element) {element.style.color="#000000"; element.style.backgroundColor="buttonface";}

    to whatever color you’d like

    _ck_
    Participant

    Merlin that code looks vaguely familiar ;-)

    deadlyhifi
    Participant

    …it does keep the paging intact but counts for all the forums (fora?), even the excluded one(s).

    To get round this requires amending the function bb_latest_topics_pages() in functions.bb-template.php.

    $bb_latest_topics_count = $bbdb->get_var('SELECT COUNT('topic_id') FROM '' . $bbdb->topics . '' WHERE 'topic_open' = 1 AND 'topic_status' = 0 AND 'topic_sticky' != 2 AND 'forum_id' != 3;');
    // AND 'forum_id' != 3 - filters out forum 3 on front page paging count.

    #72892
    deadlyhifi
    Participant

    Thanks for the reply _ck_.

    I’m actually using it on a larger site than recommended ;) and we have pretty strict forum policies so ban people for 24 hours when they slip up using the Ban-Plus plugin. The problem is people just set up another account and instantly start posting again.

    We recently had a spammer, a human one who would deliver actual advice to a discussion, but then follow it with links to escort agencies and the like. We banned him but he just signed up again – 5 times in a row!

    The 24 hours approval rate would solve all these problems. Just need to find some time!

    #5125

    I’m trying to customize bbcode buttons on one of my sites (I’ll provide the link upon request for fear of offending anyone).

    My questions…

    I set the text color to grey and would like it to hover black. I’m not sure how to do this without a style sheet.

    Also, when I click one of the buttons – this / appears beside it. How can I make that not happen?

    Thanks,

    The plugin is really great and I look forward to using it more.

    #5155
    alehawk
    Member

    Hi!

    I normally use VBulleting forum, several of my sites runs it but I algo use wordpress in some sites and for a new one I was looking for something in the middle betweeen forum and blog and I thing I got it with bbpress.

    I know it isnt like WordPress but I like it.

    To the point, in VBulletin I got a automatic thread tagger, it will add tags automatically to the posts, it works just fine, you can exclude words like TO, FOR, THE, etc.

    I guess something like that is missing here. I dont know how to code it.

    Tnx!

    #72939

    Still got them.

    I’m not a php newbie.

    Not an expert, but in a comfortable place in the middle :D

    I think I’ve pretty much got over all the bugs in the system.

    If anyone wants my style of integration – this is what I did:

    Installed bbPress in root/forums/

    in header.php of forum template put the following before everything else:

    <?php include('../lib/includes/header.php');//Website template ?>

    in header.php of your own website:

    $forumexplode = explode('/', $_SERVER);

    if($forumexplode == "forums")

    {

    bb_feed_head();

    ?>

    #You can also put in here you own, relative path style sheets from the main website.

    <link rel="stylesheet" href="<?php bb_stylesheet_uri(); ?>" type="text/css" />

    <?php if('rtl' == bb_get_option('text_direction')) : ?>

    <link rel="stylesheet" href="<?php bb_stylesheet_uri( 'rtl' ); ?>" type="text/css" />

    <?php endif;

    bb_head();

    }

    else

    {

    ?>

    Anything you want to load from normal relative path (if not forums)

    <?php

    }

    ?>

    </head>

    <body id="<?php ($forumexplode == "forums" ? bb_location() : ""); ?>">

    in footer.php of forum template put the following after everything else:

    <?php include('../lib/includes/footer.php');//Website template ?>

    I also prefixed all the forum template’s XHTML id tags with forum_ so they won’t mess with my website’s structure.

    After you’ve done all that, you’re free to style your forum via the css file in the templates directory like you would normally, as well as the structure via the other files.

    And your website, via your own stylesheets.

    Or you can load everything from either stylesheet as long as you remember to load them from their relative path in the header.

    Hope this helps someone ;P

    Peace everyone, hope bbPress will release a version soon which will be easier to integrate.

    Because my system doesn’t really allow for easy user authentication integration on the rest of the website. Can be circumvented via regular user auth integration but that’s more work.

    SMF (Simple Machines Forum) has ssi.php file which you just load into any page and everything is integrated right there and then. Maybe in future versions?

    Me.

    #72942
    Vizworld
    Member

    No luck, still redirects with the ?123412341234 added… Deleting cookies hasn’t helped either.. Tried it about 6 times now :-(

    #72941
    _ck_
    Participant

    First see if it’s just your browser remembering the old redirect by adding something like ?123 on your /bb-admin/ url

    ie. http://example.com/forums/bb-admin/?123

    also try deleting the cookies again for your site

    #72908
    johanh
    Member

    @mypop It’s interesting to note in the way you write that you share my frustration and out of your frustration grew the energy to tell me what I need to do. I did that and this is the first time that I got the drop down menu as per the instructions https://trac.buddypress.org/browser/trunk/bp-forums/installation-readme.txt

    3. On Step 3 enter anything you like for your site name and first forum name. Select “Admin” from the

    35 dropdown to use as your keymaster user.

    But then I got this *minor* error:

    DB Error in BB_Install::process_form_finalise_installation: Table ‘johanhor_johanmu.wp_options’ doesn’t exist

    SELECT option_value FROM wp_options WHERE option_name = ‘auth_salt’ LIMIT 1

    DB Error in BB_Install::process_form_finalise_installation: Table ‘johanhor_johanmu.wp_options’ doesn’t exist

    SELECT option_value FROM wp_options WHERE option_name = ‘secure_auth_salt’ LIMIT 1

    DB Error in BB_Install::process_form_finalise_installation: Table ‘johanhor_johanmu.wp_options’ doesn’t exist

    SELECT option_value FROM wp_options WHERE option_name = ‘logged_in_salt’ LIMIT 1

    This may be a minor error by the installation program but it seems Greek to me.

    Hope you can help.

    #72935
    zeronix
    Member

    I tried to include my Header.php content (some codes of it) to my bbpress header.php but always got trouble with the scripts.

    It seems the codes are different and wont work together.

    Maybe someone can help us because i am a beginner too.

    Maybe there´s a way to create a new Page in WP and include bbPress there?

    I hope so.

    #65710

    In reply to: Intergrating the theme

    zeronix
    Member

    Is there a wayy to get this Tool you talked about in your Tutorial?

    I´d also love to integrate my WP theme to my forum but the link you posted is down :(

    PS:

    I run WPmu and the latest bbPress release

    I hope this tool will work with it (if you could send me).

    Best regards, Sebastian

    #72924
    Tecca
    Participant

    From ctsttom:

    Can we see your front-page.php code as its possibly part of the html as mine uses a different template and it only has one dash.

    <?php bb_get_header(); ?>

    <?php if ( $forums ) : ?>

    <div id="contentleft">

    <div id="login">
    <?php login_form(); ?>
    </div>

    <h2><?php _e('Forums'); ?></h2>
    <table id="forumlist">

    <tr>
    <th><?php _e('Forum Categories'); ?></th>
    <th><?php _e('Topics'); ?></th>
    <th><?php _e('Posts'); ?></th>
    </tr>

    <?php foreach ( $forums as $forum ) : ?>
    <tr<?php alt_class('forum'); ?>>
    <td><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a> — <small><?php forum_description(' '); ?></small></td>
    <td class="num"><?php forum_topics(); ?></td>
    <td class="num"><?php forum_posts(); ?></td>
    </tr>
    <?php endforeach; ?>
    </table>

    <?php if ( $bb_current_user->ID ) : ?>

    <?php endif; else : // $forums ?>

    <div id="contentleft">

    <h3 class="bbcrumb"><a href="<?php bb_option('uri'); ?>"><?php bb_option('name'); ?></a></h3>

    <?php post_form(); ?>

    <?php endif; ?></div>

    <div id="discussions">

    <?php if ( $topics || $super_stickies ) : ?>

    <h2><?php _e('Latest Discussions'); ?></h2>

    <table id="latest">
    <tr>
    <th><?php _e('Topic'); ?> — <?php new_topic(); ?></th>
    <th><?php _e('Posts'); ?></th>
    <th><?php _e('Last Poster'); ?></th>
    <th><?php _e('Freshness'); ?></th>
    </tr>

    <?php if ( $super_stickies ) : foreach ( $super_stickies as $topic ) : ?>
    <tr<?php topic_class(); ?>>
    <td><?php _e('Sticky:'); ?> <big><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></big></td>
    <td class="num"><?php topic_posts(); ?></td>
    <td class="num"><?php topic_last_poster(); ?></td>
    <td class="num"><small><?php topic_time(); ?></small></td>
    </tr>
    <?php endforeach; endif; ?>

    <?php if ( $topics ) : foreach ( $topics as $topic ) : ?>
    <tr<?php topic_class(); ?>>
    <td><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></td>
    <td class="num"><?php topic_posts(); ?></td>
    <td class="num"><?php topic_last_poster(); ?></td>
    <td class="num"><small><?php topic_time(); ?></small></td>
    </tr>
    <?php endforeach; endif; ?>
    </table>
    <?php endif; ?>

    <div id="search">
    <?php search_form( $q ); ?>
    </div>

    <br />
    <img src="http://teccahigh.com/wp-content/themes/revolution/images/divide.png"><br />
    <h2>Members Online</h2>
    <small>Online now:
    <?php do_action('members_online_now',''); ?></small><br />
    <small>Online today:
    <?php do_action('members_online_today',''); ?></small>

    </div>

    <?php include 'sidebar.php'; ?>

    <div style="clear:both;"></div>

    <?php bb_get_footer(); ?>

Viewing 25 results - 25,276 through 25,300 (of 32,468 total)
Skip to toolbar