bbPress

Simple, Fast, Elegant

bbPress support forums » Plugins

Plugin: Graphic Display Ranks

(17 posts)
  • Started 1 year ago by actorjiml
  • Latest reply from Omegacool
  • This topic is not a support question
  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.

    Posted 1 year ago #
  2. It has been added to the Plugin Repository

    Posted 1 year ago #
  3. Nice plugin Jim!

    Trent

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

    Posted 1 year ago #
  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?

    Posted 1 year ago #
  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.

    Posted 1 year ago #
  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.

    Posted 1 year ago #
  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?

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

    Posted 1 year ago #
  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 :)

    Posted 1 year ago #
  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?

    Posted 1 year ago #
  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

    Posted 1 year ago #
  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.

    Posted 1 year ago #
  14. Hey fel64, you made it again! Thanks a lot, now it works fine.

    Posted 1 year ago #
  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 :)

    Posted 1 year ago #
  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?

    Posted 10 months ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.