Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 8,951 through 8,975 (of 11,591 total)
  • Author
    Search Results
  • #56568
    anandasama
    Member

    Somehow both of your codes doesnt work.

    anandasama
    Member

    In WordPress you need to Rewind posts for faking multiple loops but it doesn’t exist in BbPress?

    @tom thanks for the core hack. I will try it, and then write a custom query for forum 17 with no pagination.

    #77396
    Jim R
    Participant

    Not sure I’m changing both the cookie keys, but I am making sure they match. BTW…I’m using WPMU. Latest versions of both products.

    #76672
    anandasama
    Member

    That is navigation for the front page, not topics.

    My topics navigation works fine with permalinks but I also have the same problem with permalinks on the latest discussion (like on endrant.org).

    I use Plugin: “Topics Per Page” .. I Added the replace in htaccess with no luck.

    Using bbpress 1.0.1

    Is there any other plugin or built in function that do the same trick for latest discussions?

    Seems bbpress.org works with permalink / latest discussion pagination.

    How do their code look like?

    #31350
    tanmccuin
    Member

    I’m beginning to experience an issue where-by when a certain arbitrary number of posts (or pages it seems) is reached, bbpress stops a) going to the latest page/post and brings you to the last full page. When you post a new post, it gets posted, but there is no way view this post unless you manually change the url to /[pagenumber]

    if you go to our forum and follow the following link (which is the link from the mainpage to the most recent post) http://www.aethereverywhere.com/discuss/topic/what-are-you-listening-to-right-now/page/8#post-736 you’ll see that it takes you to page 8, and to the bottom of that page – but in fact there are more pages than 8 as if you change the url manually to http://www.aethereverywhere.com/discuss/topic/what-are-you-listening-to-right-now/page/9

    you’ll be taken to the actual latest post.

    I’m completely lost. I noticed that if i change the number of posts to display per page, it sort of resets the forum and lets you view the last posts, but once it reaches the next arbitrary page number, once again you top being able to view pages and posts after that.

    If anyone can please help i would be so grateful i’m afraid this is beyond my area of expertise. PS. i do know for a fact that posts and posters are not getting moderated, though it may be related to askimet somehow.

    deadlyhifi
    Participant

    Have a look here on how to exclude a forum from the front page loop, whilst keeping the post limit intact.

    limit forums included in latest discussions

    Note the core hack required to keep the paging numbers correct.

    Maybe you then need to write another small custom query to bring out just forum 17, as I’m not sure you if you can have two loops. (perhaps the WP multiple loop info would give some insight into this: https://codex.wordpress.org/The_Loop#Multiple_Loops)

    r-a-y
    Participant

    Just looking at your code, it looks like you’re ending your “if” statement a little early.

    Try this:

    //Show latest discussions with all forums except id 17
    <?php if ( $topics ) : foreach ( $topics as $topic ) : if( $topic->forum_id != 17 ) : ?>
    <!-- your output stuff here -->
    <?php endif; endforeach; endif; // $topics ?>

    //Show latest discussions but only forum 17
    <?php if ( $topics ) : foreach ( $topics as $topic ) : if( $topic->forum_id == 17 ) : ?>
    <!-- your output stuff here -->
    <?php endif; endforeach; endif; // $topics ?>

    Not sure if that’s causing your problems… but try it out and see what happens.

    anandasama
    Member

    One thing I have an issue with is the first page; I want to make an own “Latest Discussions” loop with all forums EXCEPT one forum. And then an own “latest discussions” With only the entries on that one forum (It’s linked in RSS posts) on the same page.

    Problem is When i used this inside the loop

    //Show latest discussions with all forums except id 17

    <?php if ( $topics ) : foreach ( $topics as $topic ) : ?>

    <?php if( $topic->forum_id != 17 ) { ?>

    codeblock

    <?php } endif;?>

    <?php endforeach; endif; // $topics ?>

    //Show latest discussions but only forum 17

    <?php if ( $topics ) : foreach ( $topics as $topic ) : ?>

    <?php if( $topic->forum_id == 17 ) { ?>

    codeblock

    <?php } endif;?>

    <?php endforeach; endif; // $topics ?>

    The pagination gets an error (Shows me fewer posts than the actual limit), and I cant use the same loop (With different conditions) twice.. Then I get a blank page. :S

    So how should I do? Have any Idea? Im not so used to the bbpress loop yet..

    #77169
    anandasama
    Member

    R-a-y: Thank you! The theme is a heavily modified version of Scoun.

    Although I am soon to write a new template because of the css/html isnt that great on it. ;)

    Just my way of learning the ropes.

    About the RSS feeds: I use feedwordpress plugin to feed it into my wordpress. In wordpress then, I put in some arguments to filter out the RSS feed so it won’t show up there. Somehow it still shows up in my WordPress RSS so I need to find a way to filter it out from the RSS too.

    The RSS syndication plugin can hold a number of RSS feeds with alot of options and automatically post articles.

    Then I use BBpress WordPress Synchronization plugin and when bbpress finds a new post in WordPress it automatically syncs and creates a post in one of my bbpress subforums.

    Somehow i dont want all my stuff to go into BbPress so when I write some new article in WordPress I can choose manually wether to sync this to BbPress or not.

    One thing I have an issue with is the first page; I want to make an own “Latest Discussions” loop with all forums EXCEPT RSS. And then an own “latest discussions” With only RSS forum.

    Problem is When i used this inside the loop

    //Show latest discussions with all forums except id 17
    <?php if ( $topics ) : foreach ( $topics as $topic ) : ?>
    <?php if( $topic->forum_id != 17 ) { ?>
    codeblock
    <?php } endif;?>
    <?php endforeach; endif; // $topics ?>

    //Show latest discussions but only forum 17
    <?php if ( $topics ) : foreach ( $topics as $topic ) : ?>
    <?php if( $topic->forum_id == 17 ) { ?>
    codeblock
    <?php } endif;?>
    <?php endforeach; endif; // $topics ?>

    The pagination gets an error (Shows me fewer posts than the actual limit), and I cant use the same loop (With different conditions) twice.. Then I get a blank page. :S

    So how should I do? Have any Idea? Im not so used to the bbpress loop yet..

    #77377

    In reply to: Why integrate BB & WP?

    chrishajer
    Participant

    AFAIK, there are just a couple reasons to want integration.

    1. If you want users to be able to log in once, and comment in WordPress and participate in the forums, then integrated user data is useful.

    2. Some people want to integrate their WordPress footer, sidebar and header, so access to WordPress functions get_sidebar(), get_header() and get_footer() are useful.

    3. Sometimes people want to share data between the forum and the blog. Maybe a list of latest forum topics in the blog. Maybe they want a new topic created in the forum for every blog post. Integration is useful for that.

    I don’t use integration, but I can understand why some people want it.

    anandasama
    Member

    I posted this elsewhere but this works for me on the frontpage:

    <a href="<?php user_profile_link($topic->topic_last_poster) ?>" ><?php topic_last_poster(); ?></a>

    #77108

    In reply to: Topic paging issue

    _ck_
    Participant

    I’ve now made a plugin to do a few kinds of fast recounting much faster than bbPress does it and with only a few queries vs the hundreds or thousands bbPress can do.

    I highly recommend you backup your database first since I’ve only barely tested it (in theory if it went wrong you could do the recount the long way via the regular functions)

    http://bbshowcase.org/plugins/fast-recount.zip

    The new recount selections will appear under the regular recount menu.

    DO NOT use this plugin under bbPress 1.0, it’s assumes bbPress 0.9 table structures.

    #77105

    In reply to: Topic paging issue

    deadlyhifi
    Participant

    So to use just one of the recount functions on a forum with a half million topics, you currently pull an array of the topic id’s several megabytes in size into ram, then proceed to use 500,000 x 3 = 1.5 MILLION QUERIES to update the meta.

    that’s me! Thanks _ck_.

    Is this the same issue that’s causing the paging to be wrong? The user has just reported:

    It commonly happens with the 41st post on a thread, where you if you click on “latest post” link you get sent to the 40th post at the bottom of page 1, with no link to page 2 (note in the example I sent you “latest post” sent you to the bottom of page 3).

    #28864
    deadlyhifi
    Participant

    I’ve just had a report from one of my forum users saying that occasionally the topic will not return the actual number of posts, and therefore the last page link doesn’t show up.

    In the example there was a topic with 122 posts over 4 pages. The forum stated there were 120 posts over three pages. Latest reply listed the last person who posted but had a link to the last post on page 3 (post 120), and not post 122 on page 4.

    I deleted one post and then undeleted it. This solved the problem.

    I’m not sure what caused it, or how to replicate it. Could this be a bug in bbP or perhaps something I’m doing?

    #28351
    DebraWomen
    Member

    I have just set up WPMU with BuddyPress and BBPress. When I try to post a test message to a group from BuddyPress, I get “There was an error posting that topic.” I have followed all the instructions in the set-up. Can anyone give me any ideas about what is going wrong?

    #76728
    gravitydk
    Member

    Hi smf, I tested Simple forums (I also tested Joomla with Kunena and ccborad, and phbb, and Vanilla).

    In the end, I am settling for bbPress for forums because I need single-user sign on with my content system, and I settled on wordpress for that (Joomla was too slow and I wanted a very fast, responsive site).

    So if you need forum integration with something, you have more factors to consider than just the forum software itself.

    Simple Forums does provide single-user signon with WordPress, but it’s UGLY and there are no good-looking themes. That said, simpleForums is a highly functional forum system and seamless integration with both user and menu-system.

    #28005
    Perry
    Member

    Hey.

    I was clearing my test forums on my bbPress install, I deleted all forums and when I try to load my forums I get this message;

    Oh dear!

    Please complete your installation before attempting to include WordPress within bbPress

    bbPress is already installed.

    Perhaps you meant to run the upgrade script instead?

    What on earth has gone wrong? All I have done is deleted forums?

    Thanks.

    #27996
    QuickD
    Member

    Is this possible? This is what developer said that plugin shuts down and then forum posting cannot be viewed. Have to go in and reactivate plugin to make forum work. Also I cannot activate plugins saying that it is activated at the top but not in the list where it remains as deactivated. I am using the latest version of 0.9.

    chandersbs
    Member

    I think this:

    <?php if( $topic->forum_id == 9 ) { ?>

    Is not working actually :(

    chandersbs
    Member

    Hi,

    How can I number the topics displayed in the Latest Discussion section?

    I know that by adding this code:

    <?php if( $topic->forum_id == 9 ) { ?>

    I get to choose which forum topics will be shown ONLY. I just want to know what exactly I should add so I can decide by giving a number which section will have how many number of topics.

    Thanks.

    #56567
    deadlyhifi
    Participant

    In fact, it’s important to do it the way I mention, because just checking for forum id when outputting will still count the topics, therefore the number of topics appearing on the page will be inconsistent.

    e.g. If you have 5 topics in the forum you are not showing, and output the latest 50 on the front-page (Reading Settings > Items per page). You’ll actually get 45 listed.

    #56566
    deadlyhifi
    Participant

    you can do this with a plugin if you like.

    function filter_front_page_topics($where){
    $exclude_forums=array ("3"); // enable this to manually specify specific forums by id #
    if ( is_front() ) {foreach($exclude_forums as $forum) { $where.=" AND forum_id != ".$forum." "; }}
    return $where;
    }
    add_filter( 'get_latest_topics_where', 'filter_front_page_topics');
    add_filter( 'get_latest_posts_where', 'filter_front_page_topics');

    If you have front page paging (1,2,3,4 etc) then the paging count will be wrong. You need to edit the bb-includes/function.bb-template.php file

    function bb_latest_topics_pages() {
    global $page;
    static $bb_latest_topics_count;
    if (!$bb_latest_topics_count) {
    global $bbdb;
    $bb_latest_topics_count = $bbdb->get_var('SELECT COUNT(<code>topic_id</code>) FROM <code>' . $bbdb->topics . '</code> WHERE <code>topic_open</code> = 1 AND <code>topic_status</code> = 0 AND <code>topic_sticky</code> != 2 AND <code>forum_id</code> != 3;');
    }
    echo apply_filters( 'bb_latest_topics_pages', get_page_number_links( $page, $bb_latest_topics_count ), $bb_latest_topics_count );
    }

    Note the addition of AND "forum_id" != 3 to the query.

    EDIT: just noticed that use of backticks in the code has been turned into <code>, so amend as necessary.

    #56565
    chandersbs
    Member

    This still works! I’m using 1.0.1

    This is how my code looks like:

    <?php if( $topic->forum_id != 29 ) { ?>

    <tr<?php topic_class(); ?>>

    <td><?php bb_topic_labels(); ?> “><?php topic_title(); ?><?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”>“><?php topic_time(); ?></td>

    </tr><?php }?>

    Thanks

    grassrootspa
    Member

    Not sure if its just me but there creates an error.

    #76731
    incirus
    Member

    Thanks for the answer but that’s the problem.I just couldnt pull that out. I am actually trying to configure the rss feed with the author image. This way I can publish latest posts out of WP or forum in a nice way with the author pictures and posts.

Viewing 25 results - 8,951 through 8,975 (of 11,591 total)
Skip to toolbar