Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 18,301 through 18,325 (of 32,573 total)
  • Author
    Search Results
  • #106448
    Anonymous User
    Inactive

    Is “fi” the exact language code you have set in your wp-config.php? It’s not “fi_FI” or “fi_SF” or whatever it might be?

    #81492
    Lazza
    Participant

    I have the same problem right now with bbPress 1.0.3. If you’re interested, you can put this piece of code before the “if ( $relevant ) ” line:

    <?php
    foreach ( $relevant as $elementKey => $bb_post ) {
    if(!($bb_post->post_text)) unset($relevant[$elementKey]);
    }
    ?>

    This deletes the relevant posts which are already in the recent posts, and so are broken.

    Gautam Gupta
    Participant

    Yes, you can get the standalone version to use the WP user tables and then also integrated the cookies for single log-on. Please consult the docs. :)

    ideoplasm
    Member

    There are 2 ways of replying to topics in the bbPress plugin:

    1) To go to the themed page and reply there in the box under the topic-creating 1st post. This works fine, but there are no buttons to easily embed images in your replies, so you have to create your html in a separate editor then paste the code into the reply. And worse, there is no upload buttons (I want my users to be able to upload images/vids to post into their replies).

    2)You use the grey panel at the top with ‘Add’>’Reply’ and it takes you to the white, unthemed, admin-looking area (what is this area called please, just so i now!?!), where you do indeed have access to embed and upload buttons WHICH IS GREAT AND DOES INDEED UPLOAD AND EMBED….but, despite choosing the topic it is to link to in the top right dropdown named ‘Reply Attributes: Parent Topic’, doing it this way results in an orphaned reply which sits somewhere obscure on my webspace and does not appear under the topic it was meant for.

    Is there a way to solve ‘2)’? Or will my users who i want to be able to put images and stuff in their topic replies have to stick to pasting in code? Have i broken my admin-looking area making it unable to link replies to topics? Could a conflicting plugin have caused this?

    Please help!

    #95522
    Patrick Daly
    Member

    Is <?php do_action( 'bbp_template_after_forums_index' ); ?> working for everyone else. I can’t find any other complaints about it.

    The action is being called in archive-forum.php and should output the latest topic replies in chronological order of freshness.

    http://devpress.com/forums/ <– no forum index appearing.

    Francesco Bigiarini
    Participant

    Hi there,

    but still any help on why the [ ] tags aren’t working

    my plugin uses html tags and not BBCode.

    #106697

    In reply to: Forums in the root

    Francesco Bigiarini
    Participant
    <VirtualHost *:80>
    DocumentRoot "your-htdocs/forums.example.com"
    ServerName forums.example.com
    </VirtualHost>

    <VirtualHost *:80>
    DocumentRoot "your-htdocs/example.com"
    ServerName example.com
    ServerAlias www.example.com
    </VirtualHost>

    on *apache-config-dir*/sites-available/default (*apache-config-dir*extrahttpd-vhosts.conf on windows) (or somewhere else)

    #38760
    agent6
    Member

    Is it possible for some one to show me how to do site integration with php

    sudocode:

    If (!loggedin){

    echo “Login”;

    }else{

    echo UserId;

    echo Username;

    echo UserDisplayName;

    }

    I want bbPress to do all the authentication I just need to know how to pull that information. Or at least the userId. and I need this on the server side so I can do some other stuff. Thanks

    #105759

    In reply to: bbPress 2.0 – FAQ

    thenbrent
    Member

    @anointed a how-to guide on theme forum integration would be very helpful, thanks in advance if you publish one. :)

    #100659

    In reply to: bbPress 2.0 – FAQ

    thenbrent
    Member

    @anointed a how-to guide on theme forum integration would be very helpful, thanks in advance if you publish one. :)

    ashdavies
    Member

    I’ve now installed the Zaerl editor which works, and the normal html tags are working for images and text effects.

    My question isn’t as urgent anymore, but still any help on why the [ ] tags aren’t working will be appreciated :)

    ashdavies
    Member

    Hi

    I’m putting together a forum over at http://forum.photoguides.net

    It’s yet to be launched and I’ve been having some trouble with plugins.

    The plugins Allow Images, BBcode Lite, BB WYSIWYG Editor don’t seem to be working.

    Take a look at http://forum.photoguides.net/topic/test-thread where I’ve tried some tags. When logged in and with the reply form visible there is no editing panel for the wisywyg plugin.

    These three plugins all seem to be correctly installed in the my-plugins folder and are active. I’m assuming that because all three aren’t working, there’s some fault with the setup of the site.

    Any help would be greatly appreciated :)

    Thanks,

    Ash Davies

    #106604
    janoochen
    Member

    @ideoplasm Adding a voting or rating system into bbPress 2.0 is extremely easy.

    You can use this plugin: https://wordpress.org/extend/plugins/wp-postratings

    or this one: http://www.gdstarrating.com/

    Then just add the rating function in loop-topics.php (inside the loop).

    You can do the same for loop-replies.php

    I’m working in a voting forum myself.

    This is an example:

    <div class="topic-rating-count">
    <h4><?php if(function_exists('the_ratings')) { the_ratings(); } ?></h4>
    <span><?php _e( 'rating' ); ?></span>
    </div>
    <div class="topic-reply-count">
    <h4><?php bbp_topic_reply_count(); ?></h4>
    <span><?php _e( 'replies' ); ?></span>
    </div>
    <div class="topic-freshness">
    <h4><?php bbp_topic_freshness_link(); ?></h4>
    <span> <?php bbp_author_link( array( 'post_id' => bbp_get_topic_last_active_id(), 'size' => 14 ) ); ?>
    </span>
    </div>

    #38731
    The 12th Doctor
    Participant

    Can the plugins on the site be used on the 2.0 beta forum as well? Do i just do as i normally would and upload them to my plugins folder?

    Thanks

    Jon :)

    #38727
    janoochen
    Member

    This is how I start a custom loop for a WordPress loop:

    <br />
    <?php $custom_posts = new WP_Query(); ?><br />
    <?php $custom_posts->query('post_type=post&category=Uncategorized&order=ASC'); ?><br />
    <?php while ($custom_posts->have_posts()) : $custom_posts->the_post(); ?><br />
    <div class="project"><br />
    <a>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_post_thumbnail(); ?></a><br />
    <h2><a>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2><br />
    <p><?php echo get_post_meta($post->ID, 'rw_services', true); ?></p><br />
    </div><br />
    <?php endwhile; ?><br />

    How to start a custom loop in bbpress 2.0, For example, topics from a certain forum or category? (and even show the reply count?)

    #106622
    Anointed
    Participant

    It is really hard to troubleshoot the problem with a link to the site itself. Need to read the code output to see what is happening

    #106631
    Anointed
    Participant

    edit the buddypress.css file line 1218

    table.forum {
    margin: -9px 0 20px;
    width: auto;
    }

    If you are using a child theme then it is better to make the change there, as every time buddypress is updated you will loose the rule above.

    #38714
    freque.unce
    Member

    Hi, I’ve just installed bbpress and I’m having problems with table spacing. The first few letters get cut off in the main index, I’m left with “opic Title” instead of “Topic Title”, and the thread titles are missing the first 2 letters as well. I’ve done a string search for “topic title” in the bbpress directory, but I can’t seem to find the related code. Any advice on how to fix this problem?

    http://www.noisechannel.org/forums/

    Wordpress 3.1.3

    BuddyPress 1.2.8

    BP-Framework 0.3.6

    Thank you! :)

    tooltrainer
    Member

    Cool, glad to hear there might be a fix for this even if it is somewhat obscure.

    And yeah, “too quickly”… I was gonna give you a pass on that one though… ;)

    Jonathan

    Probably should say “too quickly” but who’s counting? :)

    I’ll take a look. I imagine it’s a current_time() gmt issue. Might not make it into Beta 3, but it’s on the radar.

    tooltrainer
    Member

    OK, turns out he’s in Israel! So whatever timezone that is, I’m not sure. He’s an American so I had assumed he’s in the US but, obviously not.

    Any idea how this could be causing the speed errors?

    Also the grammar in that error message needs a little fix… “to” instead of “too”. :)

    Jonathan

    #106250
    Nate
    Participant

    i’d like to add to this if possible, as i think i’m encountering the same problem as leemon. if my custom theme is doing a bit’o hijacking with the css, where would i find and disable this body class code?

    #38703
    valked1n
    Member

    SQL ERROR!

    >>> Database: xxxxxxxxxxx (localhost)

    >>>>>> CREATE TABLE IF NOT EXISTS bb_posts (

    post_id bigint(20) NOT NULL auto_increment,

    forum_id int(10) NOT NULL default 1,

    topic_id bigint(20) NOT NULL default 1,

    poster_id int(10) NOT NULL default 0,

    post_text text NOT NULL,

    post_time datetime NOT NULL default ‘0000-00-00 00:00:00’,

    poster_ip varchar(15) NOT NULL default ”,

    post_status tinyint(1) NOT NULL default 0,

    post_position bigint(20) NOT NULL default 0,

    PRIMARY KEY (post_id),

    KEY topic_time (topic_id, post_time),

    KEY poster_time (poster_id, post_time),

    KEY post_time (post_time),

    FULLTEXT KEY post_text (post_text)

    ) TYPE = MYISAM DEFAULT CHARACTER SET ‘utf8’;

    >>>>>> You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘TYPE = MYISAM DEFAULT CHARACTER SET ‘utf8” at line 16

    Key master email not sent!

    I am using XAMPP and I tried to integrate it with WP which I installed it into the same database.

    can anyone please help me ?

    Pomy
    Participant

    zaerl you didn’t say anything for my sad mood..?

    OK, your solution is really difficult for me… Can you make it more easy? I cannot write a plugin, that’s why I’m here to looking for your kind help… can you do it for me? I’ll really appreciate.

    I’m also frustrated from bbPress as Plugin like other senior bbPress developers. But I hope there will always remain a good space for bbpress standalone lovers. Matt cannot ignore it. I hope :)

    — OK, let me ask above question with another angle…

    Is it possible to make pagination just for forums on a custom page? if it is difficult to show on front page? something like

    http://www.blog.com/forums/view-all-forums.php ? – just an idea?

    —

    And I just thought that I’ll also need pagination for forums in admin setting and for zearl visiblity setting near future when I’ll have thousands of forums. (user/forum)

    Please see the following screenshots, to understand what I’m taking about..

    — For Forums Pagination in Admin Setting — Screenshot

    — For Forum Pagination in Zaerl Visibility setting — Screenshot

    —

    I know its a little big job for you. But can you do it for me? It’s really important, I’ll really appreciate your kindness if you will make a plugin or easy script for this solution.

    — and I also know your time is really precious, And time is money… can you give me your personal contact email? So that we can discuss about it further?

    I hope I’ll try to mange your time. Thanks Again.

    #106602

    I’d use a custom taxonomy, and a creative UI. Seems it could be done pretty easily with the right developer. :)

Viewing 25 results - 18,301 through 18,325 (of 32,573 total)
Skip to toolbar