Ashish Kumar (Ashfame) (@ashfame)

Forum Replies Created

Viewing 25 replies - 901 through 925 (of 938 total)
  • @ashfame

    Participant

    There must be someone who is using bbPress on Nginx or maybe Sam can share!

    @ashfame

    Participant

    Looking forward to it. :)

    @ashfame

    Participant

    Pretty weird! Instead of copy-paste from the browser, I copy-paste it from another integrated setup and it worked!

    @ashfame

    Participant

    Integration is pretty well. I have just lost access to bbPress admin panel and can’t get it back.

    @ashfame

    Participant

    I am talking about the “Fix Admin Access” plugin and you probably are talking of something else.

    @ashfame

    Participant

    I have already integrated bbPress 0.9.0.5 with WordPress 2.7.1 by using the same instructions but not it seems that its not working. Why the hell bbPress is overwriting the value in the db? Should I file a bug?

    @ashfame

    Participant

    I tried integrating again and again got the same problem. Weird!

    @ashfame

    Participant

    Actually I need to do that because admin fix access doesn’t work when custom table prefixes are used. So I directly update the plugin work via Mysql.

    And regarding the second quote, I have written over there that one needs to change the lines as per the table prefix being used.

    I am using rocking_users and rocking_metadata only.

    @ashfame

    Participant

    Are you having the problem just when you login from bbPress? What is your problem exactly? Not being able to delete topics & posts when you login from bbPress? Can you do that when you login from WordPress?

    @ashfame

    Participant

    Use this in header :

    <?php
    // URL location of your feed
    $feedUrl = "http://feeds2.feedburner.com/ashfameblog?format=xml";
    // Replace the above URL with yours
    $feedContent = "";

    // Fetch feed from URL
    $curl = curl_init();
    curl_setopt($curl, CURLOPT_URL, $feedUrl);
    curl_setopt($curl, CURLOPT_TIMEOUT, 3);
    curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
    curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($curl, CURLOPT_HEADER, false);

    // FeedBurner requires a proper USER-AGENT...
    curl_setopt($curl, CURL_HTTP_VERSION_1_1, true);
    curl_setopt($curl, CURLOPT_ENCODING, "gzip, deflate");
    curl_setopt($curl, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3");

    $feedContent = curl_exec($curl);
    curl_close($curl);
    ?>

    Use this to show :

    <?php
    $count=0;
    // Did we get feed content?
    if($feedContent && !empty($feedContent))
    {
    $feedXml = @simplexml_load_string($feedContent);
    if($feedXml)
    {
    ?>
    <ul>
    <?php foreach($feedXml->channel->item as $item): if($count==6) { break; } ?>
    <li><a href="<?php echo $item->link; ?>"><?php echo $item->title; ?></a></li>
    <?php $count++; endforeach; ?>
    </ul>
    <?php }} ?>

    @ashfame

    Participant

    @mparker12345

    Login and open their respective dashboards. You can see the version there in footer.

    @ashfame

    Participant

    BUMP!

    Man I know this can be real geeky but what if I want to know? Any pointers?

    @ashfame

    Participant

    Although I havn’t tested it but it should work:

    <ul>
    <?php
    $count=0;
    if ( $topics )
    {
    foreach ( $topics as $topic)
    {
    $doof = $topic->forum_id;
    if ($doof=="1")
    {
    if($count<3)
    $count++;
    else
    break;
    ?> <li><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a> | <?php topic_page_links(); ?></li>
    <?php } } } ?>
    </ul>

    @ashfame

    Participant

    You need to have the Forum ID for this. i am giving you a code snippet in the other thread. Just hang up for a few minutes.

    We will continue discussion here in this thread : https://bbpress.org/forums/topic/how-do-i-loop-through-each-forum

    @ashfame

    Participant

    I really don’t know how it could be done but you should be looking for a function with which you can return the current forum category, match it with something you want and then selectively display content as per it.

    like :

    for each topics

    |

    —-check category

    |

    —-if music then music list

    —-else if code then code list

    —-else if network then network list

    Hope that helps. :)

    @ashfame

    Participant

    • Initialize a variable as zero.
    • Increment it every time you display a topic (every iteration) if the value of variable is less than 3.
    • As soon as it grows >3, breaks out of the loop.

    @ashfame

    Participant

    Where are the settings of “User role map” stored? I think I may have selected it to make WP admins to be a bbP member and it may be a bug? :/

    Wait, is it that User role maps are just updated once when they are asked to do so? Hmm.. Makes sense! So where can be the problem?

    Sam, you there?

    @ashfame

    Participant

    Don’t you have a backup? Things are definately possible to resolve here but it would be simpler if you can restore backup and then integrate them. I havn’t tried integrating WP 2.7.1 with bbPRess rc 1 as it makes no sense to me doing that on a live site. WP 2.8 and bbPress 1 will have integration features that will work out of the box.

    Consider integrating the stable releases of both WP & bbPress only. I have written a tutorial on this on my blog : http://blog.ashfame.com/2009/05/integrate-bbpress-forum-wordpress-setup/. Let me know if you need more help.

    @ashfame

    Participant

    Don’t you have a backup? Things are definately possible to resolve here but it would be simpler if you can restore backup and then integrate them. I havn’t tried integrating WP 2.7.1 with bbPRess rc 1 as it makes no sense to me doing that on a live site. WP 2.8 and bbPress 1 will have integration features that will work out of the box.

    Consider integrating the stable releases of both WP & bbPress only. I have written a tutorial on this on my blog : http://blog.ashfame.com/2009/05/integrate-bbpress-forum-wordpress-setup/. Let me know if you need more help.

    @ashfame

    Participant

    If you are using the stable release of bbPress (0.9.0.4), then my guide should be enough : http://blog.ashfame.com/2009/05/integrate-bbpress-forum-with-your-wordpress-setup/

    Let me know if you need more help.

    @ashfame

    Participant

    @grmedsite

    Happy to help. Also change the topic status to “resolved” once the problem is solved. Thanks :)

    @ashfame

    Participant

    @superbison

    Are you trying the stable release of both or the latest development ones?

    @ashfame

    Participant

    Yes, you need to login with a account which has rights to access admin panel to access it.

    If you have lost it, then you can fix it in PhpMyAdmin, open table “wp_usermeta” or “bb_usermeta” or whatever your case may be. Change the value of “bb_capabilities” (as per your table prefix) to “a:1:{s:9:”keymaster”;b:1;}” of your user.

    @ashfame

    Participant

    Both bbPress & WordPress can work alone

    @ashfame

    Participant

    I am sorry. I found my problem. I developed the theme for alpha release and then I used it on stable 0.9.0.4 version. Mah bad!

Viewing 25 replies - 901 through 925 (of 938 total)