bbPress Showcase » Plugins by Others

Graphic Display Ranks Plugin Active Problem

(6 posts)
  1. luckydost

    member
    Joined: Sep '08
    Posts: 17

    offline

    Hi Friends,

    I have upload graphic-display-ranks (0.6) plugin in latest bbpress. But when i try to active. i have received following error.

    "Plugin could not be activated; it produced a Fatal Error."

    Plz help me....!

    Plugin URL: http://bbpress.org/plugins/topic/grapic-display-images/

    waiting for reply...!

    Posted 1 year ago #
  2. _ck_

    senior admin
    Joined: Jul '06
    Posts: 685

    offline

    The way to find what the actual error is in a plugin that fails to activate is to try accessing it directly and see what PHP says.

    ie.

    example.com/forums/my-plugins/display-rank-images.php

    This is a demo of the bbPress Signatures plugin!
    If you use my plugins, please considering donating to help continue their development.
    Posted 1 year ago #
  3. luckydost

    member
    Joined: Sep '08
    Posts: 17

    offline

    Hello _CK_ ,

    Dear I have spend enough time to fix this but error not fixed. Please edit plugin and try to fix. Because, you are PHP Programmer .....! Please...!

    Waiting For Reply.

    Posted 1 year ago #
  4. _ck_

    senior admin
    Joined: Jul '06
    Posts: 685

    offline

    There are so many things wrong with this plugin I am not sure how it ever worked. In addition since there is no caching and it has to lookup posts for every user, every time, it will bring an active forum to a crawl.

    However if you insist, change these two lines...

    $path_to_subdirectory= bb_get_option('uri') . "my-plugins/ranks/";
    $get_config = $path_to_subdirectory . "config.php";


    to this:

    $path_to_subdirectory=bb_get_option('uri').trim(str_replace(array(trim(BBPATH,"/\\"),"\\"),array("","/"),dirname(__FILE__)),' /\\').'/ranks/';
    $get_config=rtrim(dirname(__FILE__),' /\\').'/ranks/gdr_config.php';


    Then you have to edit gdr_config.php
    and put the opening and closing for php inside at the top and bottom:
    <?php and ?>

    Then then the plugin will load.
    How it's supposed to run I have no idea.

    In theory I could add this ability to my Post Count Plus fairly easily, however I have no time to do that presently and based on the (lack of) donations, it's not going to happen any time soon.

    Posted 1 year ago #
  5. luckydost

    member
    Joined: Sep '08
    Posts: 17

    offline

    Yes Dear, It's very helpful. But "Graphic User Ranks" not displayed. shit.

    Posted 1 year ago #
  6. _ck_

    senior admin
    Joined: Jul '06
    Posts: 685

    offline

    Like I said, there's a great deal wrong with that plugin and I doubt it ever worked.

    Try Post Count Plus instead.

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

keep _ck_ coding >> donate $5 <<     Theme Switcher:
15 users online from in the past 30 minutes. 11 bots 4 guests
329 views today 3,983 yesterday 9,585 peak. Most at once 20 today 77 yesterday 115 peak.
1,783 posts in 296 topics over 44 months by 344 of 1,173 members. Latest: juanmanolo, marcosgdf, fil.diesel