Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 19,451 through 19,475 (of 32,499 total)
  • Author
    Search Results
  • #98426
    zaerl
    Participant

    Zaerl, you must have :), if you are listening to me.

    http://dl.dropbox.com/u/15741404/za-highlight.php

    Change the 4 global vars:

    $za_highlight_topics = array();

    $za_highlight_topic_class = ”;

    $za_highlight_forums = array();

    $za_highlight_forum_class = ”;

    according to your needs. I do not provide support for this plugin.

    #103526
    zaerl
    Participant

    Zaerl, you must have :), if you are listening to me.

    http://dl.dropbox.com/u/15741404/za-highlight.php

    Change the 4 global vars:

    $za_highlight_topics = array();

    $za_highlight_topic_class = ”;

    $za_highlight_forums = array();

    $za_highlight_forum_class = ”;

    according to your needs. I do not provide support for this plugin.

    #98425
    Anonymous User
    Inactive

    Ok – here is a small “solution” :)

    For a specific forum you can use this code.

    Put this in the front-page-php:

    id="forum_<?php echo get_forum_id()?>"

    _________________________________

    Here is the example with the standard theme kakumei

    <?php if ( bb_forums() ) : ?>

    <h2><?php _e('Forums'); ?></h2>

    <table id="forumlist">

    <tr>

    <th><?php _e(‘Main Theme’); ?></th>

    <th><?php _e(‘Topics’); ?></th>

    <th><?php _e(‘Posts’); ?></th>

    </tr>

    <?php while ( bb_forum() ) : ?>

    <?php if (bb_get_forum_is_category()) : ?>

    <tr<?php bb_forum_class(‘bb-category’); ?> id=”forum_<?php echo get_forum_id()?>”>

    <td colspan=”3″><?php bb_forum_pad( ‘<div class=”nest”>’ ); ?>“><?php forum_name(); ?><?php forum_description( array( ‘before’ => ‘<small> – ‘, ‘after’ => ‘</small>’ ) ); ?><?php bb_forum_pad( ‘</div>’ ); ?></td>

    </tr>

    <?php continue; endif; ?>

    <tr<?php bb_forum_class(); ?> id=”forum_<?php echo get_forum_id()?>>

    <td><?php bb_forum_pad( ‘<div class=”nest”>’ ); ?>“><?php forum_name(); ?><?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 endwhile; ?>

    </table>

    <?php endif; // bb_forums() ?>

    So you can style with CSS the background and the font-color.

    eg. #forum_1 {background-color: #ddd; color: #333}

    #103525
    Anonymous User
    Inactive

    Ok – here is a small “solution” :)

    For a specific forum you can use this code.

    Put this in the front-page-php:

    id="forum_<?php echo get_forum_id()?>"

    _________________________________

    Here is the example with the standard theme kakumei

    <?php if ( bb_forums() ) : ?>

    <h2><?php _e('Forums'); ?></h2>

    <table id="forumlist">

    <tr>

    <th><?php _e(‘Main Theme’); ?></th>

    <th><?php _e(‘Topics’); ?></th>

    <th><?php _e(‘Posts’); ?></th>

    </tr>

    <?php while ( bb_forum() ) : ?>

    <?php if (bb_get_forum_is_category()) : ?>

    <tr<?php bb_forum_class(‘bb-category’); ?> id=”forum_<?php echo get_forum_id()?>”>

    <td colspan=”3″><?php bb_forum_pad( ‘<div class=”nest”>’ ); ?>“><?php forum_name(); ?><?php forum_description( array( ‘before’ => ‘<small> – ‘, ‘after’ => ‘</small>’ ) ); ?><?php bb_forum_pad( ‘</div>’ ); ?></td>

    </tr>

    <?php continue; endif; ?>

    <tr<?php bb_forum_class(); ?> id=”forum_<?php echo get_forum_id()?>>

    <td><?php bb_forum_pad( ‘<div class=”nest”>’ ); ?>“><?php forum_name(); ?><?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 endwhile; ?>

    </table>

    <?php endif; // bb_forums() ?>

    So you can style with CSS the background and the font-color.

    eg. #forum_1 {background-color: #ddd; color: #333}

    #98424
    Pomy
    Participant

    Markus Pezold take your time brother..

    It will be my pleasure to wait your next post.

    Well, I’m using a custom theme. Its not available on internet.

    But If you want from me to show off my template code, then please tell me.

    #103524
    Pomy
    Participant

    Markus Pezold take your time brother..

    It will be my pleasure to wait your next post.

    Well, I’m using a custom theme. Its not available on internet.

    But If you want from me to show off my template code, then please tell me.

    #98502
    _ck_
    Participant

    Thanks, I got the report.

    This is interesting.

    Do you find that WordPress fails this test too? Because it uses a very similar routine.

    I feel the problem should be addressed in function wp_sanitize_redirect which would solve it cross-platform.

    #103602
    _ck_
    Participant

    Thanks, I got the report.

    This is interesting.

    Do you find that WordPress fails this test too? Because it uses a very similar routine.

    I feel the problem should be addressed in function wp_sanitize_redirect which would solve it cross-platform.

    #98422
    Pomy
    Participant

    Markus Pezold thanks brother for your interest…

    I’m looking forward to that small php script, which you’ve mentioned.

    Can you write that code?

    #103522
    Pomy
    Participant

    Markus Pezold thanks brother for your interest…

    I’m looking forward to that small php script, which you’ve mentioned.

    Can you write that code?

    #92684
    spinhead
    Member

    If we read bbPress code, we can. What if we’d like to read it in English?

    Honest, I’ll bet there’s a one-sentence description of the difference between ‘key master’ and ‘administrator’

    #98420
    Anonymous User
    Inactive

    Hi Softinfo,

    i think it is possible to write a small php script to use the forum-id or the forum-name as css class.

    From the standard theme:

    <tr class="bb-category bb-parent bb-follows-niece bb-root alt "></tr>

    Here you can add the new class. Then you can use the CSS class analogous to the standard class “alt”.

    Greets Markus

    black-forever

    http://black-forever.de

    http://twitter.com/blackforever_de

    #103520
    Anonymous User
    Inactive

    Hi Softinfo,

    i think it is possible to write a small php script to use the forum-id or the forum-name as css class.

    From the standard theme:

    <tr class="bb-category bb-parent bb-follows-niece bb-root alt "></tr>

    Here you can add the new class. Then you can use the CSS class analogous to the standard class “alt”.

    Greets Markus

    black-forever

    http://black-forever.de

    http://twitter.com/blackforever_de

    #36604
    Anonymous User
    Inactive

    Hi,

    Does any of you the current “trunk”version of bbPress? Since the last version of 9 days (mdawaffe) shows my forum a PHP Warning: “Invalid argument supplied for foreach (@ 2718)”- caused by the file functions.bb-users.php. It seems as if the function expects an array, but not get!?

    A Google search for the error message brings up only my own forum. :) Has anyone found this problem, too?

    My forum url: http://www.mysteria3000.de

    I use the trunk version of bbPress with the Beta 2 of WordPress 3.1.

    Perhaps the reason is a change in handling users in WordPress?

    I am grateful for solutions. :)

    Greetings

    Markus Pezold

    black-forever

    http://black-forever.de

    http://twitter.com/blackforever_de

    #98419
    Pomy
    Participant

    Day Passed..Sorry for bumping

    Nobody have answer?

    Zaerl, you must have :), if you are listening to me.

    #103519
    Pomy
    Participant

    Day Passed..Sorry for bumping

    Nobody have answer?

    Zaerl, you must have :), if you are listening to me.

    #98474

    In reply to: Auto Log Off?

    zaerl
    Participant

    2 weeks if the user select the “remember me” button.

    2 days otherwise.

    The values are hardcoded in the core and I don’t think it’s a good idea to change them.

    #103574

    In reply to: Auto Log Off?

    zaerl
    Participant

    2 weeks if the user select the “remember me” button.

    2 days otherwise.

    The values are hardcoded in the core and I don’t think it’s a good idea to change them.

    #36586

    Topic: bb_new_user ?

    in forum Plugins
    moffes
    Member

    Hey,

    As I’ve just started a new project that will in in bbPress which I havent worked with I really need some help with this command.

    What im trying to do is to RTX-connect bbPress.

    Using this use

    `

    <?php

    // Below is a very simple PHP 5 script that implements the RPX token URL processing.

    // The code below assumes you have the CURL HTTP fetching library.

    global $bb_current_user, $bbdb;

    $rpxApiKey = ‘XXXXX’;

    if(isset($_POST)) {

    /* STEP 1: Extract token POST parameter */

    $token = $_POST;

    /* STEP 2: Use the token to make the auth_info API call */

    $post_data = array(‘token’ => $_POST,

    ‘apiKey’ => $rpxApiKey,

    ‘format’ => ‘json’);

    $curl = curl_init();

    curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);

    curl_setopt($curl, CURLOPT_URL, ‘https://rpxnow.com/api/v2/auth_info&#8217;);

    curl_setopt($curl, CURLOPT_POST, true);

    curl_setopt($curl, CURLOPT_POSTFIELDS, $post_data);

    curl_setopt($curl, CURLOPT_HEADER, false);

    curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);

    $raw_json = curl_exec($curl);

    curl_close($curl);

    /* STEP 3: Parse the JSON auth_info response */

    $auth_info = json_decode($raw_json, true);

    if ($auth_info == ‘ok’) {

    /* STEP 3 Continued: Extract the ‘identifier’ from the response */

    $profile = $auth_info;

    $identifier = $profile;

    if (isset($profile)) {

    echo $photo_url = $profile;

    }

    if (isset($profile)) {

    $name = $profile;

    }

    if (isset($profile)) {

    $email = $profile;

    }

    if ($email || $name ) { bb_new_user(“$name”, “$email”,””,0); echo “grattis $name du har registerat ett konto med $email”; } ยด

    The problem im getting is that it doesnt create any new user and im not even getting an error msg.

    Can someone help me get through this problem.

    Later on ill make it work just like openID does, so you dont have to login, but this is it for now. Also as the request is pretty high on facebook connect ill make this a plugin as soon as its ready.

    #98442

    bbPress #ftw

    all your mentioned needs can be satisfied easily by bbPress :)

    #103542

    bbPress #ftw

    all your mentioned needs can be satisfied easily by bbPress :)

    Please someone contact me on how to get this fixed ASAP,

    for example: It just stopped working here:

    http://www.wikileaksforum.net/topic/the-full-allegations-against-julian-assange

    but it still works here:

    http://www.wikileaksforum.net/topic/links-to-interesting-artices-in-the-world-press

    Please I have no clue what could be causing this, I tried disabling all plugins and recounts ect, no luck.

    I would really really suck if I can’t get this fixed very soon :)

    Thanks for reading

    #36583
    Double Stuff
    Member

    Hello All

    Happy Holidays

    I had my host install bbpress on url/forum and now I am stuck. They do not provide support.

    I have been able to login to bb-admin but see no administrative options. Just a “This Is Your First Post” and a test post the host did.

    I guess what I’m looking for is the manual and directions to set up and sync to the existing wordpress blog.

    I have put the integration plugin on my server in my-plugins but see no way to activate it or set up. The plugin read me only says “put in my-plugins folder”

    I have been reading the forum and docs for two days and just dont get it.

    Whats my next step/steps once install is complete.

    Feel free to list all the steps to follow.

    I’m not a coder, but know the wp files pretty well.

    Thanks in advance for your help

    —-

    #36582
    kamimado
    Member

    Hi. I run a community for several groups of people learning foreign languages and I NEED SOME ADVICE on which bb platform to use. The bb/forums are the most active part of our website, so this is a very important decision. I would greatly appreciate any advice or comments you can offer.

    1) I’m attracted to the fact that bbPress seems “lightweight” and that features are added as plug-ins. But is it EASY to add plug-ins? Can they be added automatically, through a wizard, or does it require knowledge of PHP and manual cutting & pasting of code?

    2) Is it popular enough that there is plenty of support available online?

    3) Is it secure? I used to run our forums on phpBB2 and they were eventually overrun with spam. No matter what anti-spam mods I installed, it never seemed to fix the problem.

    4) When I ran the forums on phpBB2 it was terribly difficult to install Mods, keep track of changes, and perform maintenance on the site unless I kept very careful records of what parts of code I was changing. Does bbPress make this easier and more user-friendly? Have any of you had issues with it, or been disappointed by it being overly complicated?

    THANK YOU VERY MUCH for your time. I look forward to your replies.

    Regards,

    R.S.

    (considering bbPress, SMF, and phpBB3)

    #97185
    zaerl
    Participant

    It would be great if you tell me the alternative or solution. :)

    Actually I can’t release the source code of my adaptation because of the GPL’s rules but I have modified the original plugin on the fly for you. Keep in mind that I have changed it but I haven’t tested it nor I have run it. So don’t install it in a production server but test if it functions first.

    In my bavatars mod every files are stored on the ‘avatars/’ folder. Obviously you need to transfer all existing images in the top directory and then delete all the folders (it can be a very very long operation if you access your server through FTP).

    http://dl.dropbox.com/u/15741404/bavatars.0.4.1-zaerl-mod.zip

    I can write a php snippet that copies the images in the top folder if you want.

Viewing 25 results - 19,451 through 19,475 (of 32,499 total)
Skip to toolbar