Forums

Join
bbPress Support ForumsPluginsPlugin: Graphic Display Ranks

Info

Plugin: Graphic Display Ranks

  1. I have just finished my first plugin. It is, as they say, rough as a cob. It allows you to display an image with the author's name based on the number of posts they have made. You can download it here:
    http://www.brightandearlyblog.com/bbPress/downloads/display_rank_images.zip

    You can see it in action at http://www.brightandearlyblog.com/bbPress and then looking at any topic.

    Suggestions are greatly welcome. I have submitted it to the development center plugin repository.

  2. It has been added to the Plugin Repository

  3. Nice plugin Jim!

    Trent

  4. Thanks Trent. For me the best part was what I learned about making plugins as much as the plugin itself.

  5. This Plugin wont work for me.

    I downloaded from the repository and installed as instructed, but I get an error that it cannot find config.php in the ranks subdir.

    shouldn't it be looking for gdr_config.php ????

    I tried renaming that to config.php on my server, but it still caused errors.

    Does anyone have a working version of this they could send me?

  6. it's ok I fixed it. the gdr_config.php file in this zip should start with <?php
    and needs to be renamed config.php.

    Once that's done it seems to work.

  7. Someone else just mentioned this as well. I'll upload the "correct" zip when I get home from work. Thanks for pointing out the error.

  8. when accesing admin control panel this plugin returns this error;

    Warning: include(my-plugins/ranks/config.php) [function.include]: failed to open stream: No such file or directory in \wordpress\bbpress\my-plugins\display-rank-images.php on line 43

    what's wrong?

  9. Like medden said, presumably: gdr_config.php should be renamed config.php (and needs to start with <?php too).

  10. "Like medden said, presumably: gdr_config.php should be renamed config.php (and needs to start with <?php too)."

    -> I made all the corrections before trying ; renaming gdr_config.php, adding <?php and changing gif extensions.

    The plugin works fine but when you acces the admin control panel displays this error;

    Warning: include(my-plugins/ranks/config.php) [function.include]: failed to open stream: No such file or directory in \wordpress\bbpress\my-plugins\display-rank-images.php on line 43

    More people having the same problem here -> http://bbpress.org/forums/topic/665?replies=2#post-3964

    but I thought it would be better to follow the original thread here :)

  11. There should be a constant, BBPLUGINDIR, that you can use to add an absolute path. Lemme check.

    [Edit] BBPLUGINDIR you can use. You'd do something like this:

    include_once BBPLUGINDIR . '/ranks/config.php';

    I think. No linebreak, bb is being odd here. One line. [Edit once more] Nope, it's the CSS - it's changed to overflow: hidden; so it wraps. Why, Trent?! Purrlease can we have overflow: auto; back?

  12. I can't follow you, fel64 :(

    I tried to e-mail the plugin author but I didn't find his email address in his web

  13. Sorry. I meant, replace line 43 (the one that says include(my-plugins/ranks/config.php)) with this:

    include_once BBPLUGINDIR . '/ranks/config.php';

    and see how it works.

  14. Hey fel64, you made it again! Thanks a lot, now it works fine.

  15. BTW, if by chance the author dropped by I'd like to suggest a couple of ideas; displaying the post count and displaying a diferent avatar for the top poster. Just a way of increasing addictiveness :)

  16. plugin original does not work but with the modifications it does without problems. My problem is that I cannot cause that they work ranks special, anybody has some idea of like doing it?

  17. You must log in to post.