CopperRank - The First Ranking System For Coppermine. CopperRank - The First Ranking System For Coppermine.
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

CopperRank - The First Ranking System For Coppermine.

Started by just_some_guy, November 02, 2007, 09:32:32 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

just_some_guy

    CopperRank
    CPG 1.4x
    DEMO

    This plugin will create fully customizable ranks for your gallery, all ranks are based on the number of uploads made by the user. The rank name, value (number uploads required to achieve the rank) and the rank images can all be changed through the plugin config page.

    The default ranks are -


    • Newbie                     10
    • Member                    25
    • Extreme Member         35
    • Power Member           45
    • Addict                      50+

    The default images are blue squares; 1 for 1st rank, 2 for 2nd rank, etc.

    Everything is customizable and doesn't need to be changed if you would like to keep the default settings.

    Installation -

    • Upload the attached archive via the plugin manager.
    • Install the plugin.
    • Follow the instructions in instrutions.txt.
    • (optional) configure the plugin using the config page.

    Languages

    • English.
    • German (by Farnsi).
    • Dutch (by Hein).
    • Italian (by Lontano).
    • Spanish (by/por ksawery)
    • Translations welcome.

    CHANGELOG

    • 04/11/07 - 15:40 - Added German lang files. (by Farnsi)
    • 04/11/07 - 16:35 - Added Danish lang file. (by Hein)
    • 04/11/07 - 19:35 - Added Italian lang file. (by Lontano)
    • 19/05/08 - 13:14 - Added Spanish lang file. (by/por ksawery)
    • 19/05/2008 - 22:08 - V2 released including a change to a database query and init.inc.php by Nibbler
    See the attachments for a demo picture.

    Thanks to Sami and Frantz for the help!

    Hope this proves useful,

    just_some_guy

    Could a Dev Team Member please move this to the plugins section.

    Thanks,
    [/list]
    Tambien, Hablo Español      PHP - Achieve Anything
    "The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
    Windows 7 Forums

    just_some_guy

    Tambien, Hablo Español      PHP - Achieve Anything
    "The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
    Windows 7 Forums

    Farnsi

    Nice Plugin, thank you!
    Enclosed you'll find the german translation.  :)
    Regards,
    Farnsi

    just_some_guy

    Tambien, Hablo Español      PHP - Achieve Anything
    "The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
    Windows 7 Forums

    Farnsi

    Regards,
    Farnsi

    just_some_guy

    Tambien, Hablo Español      PHP - Achieve Anything
    "The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
    Windows 7 Forums

    Hein Traag

    Nice work , dutch translation wil be posted asap, but do not forget to upgrade your site to 1.4.13  ;)

    just_some_guy

    It is upgraded, i used the manual method. :-\ I know its not the best thing but my cpg is highly modded.

    Thanks,
    Tambien, Hablo Español      PHP - Achieve Anything
    "The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
    Windows 7 Forums

    Hein Traag

    Dutch language as promised. Looks very nice for sites who's members can upload new art work for example.

    just_some_guy

    Thanks Hein, i added it to the first post. Yeah, my CPG is a big community where users can upload their files etc. so i thought a ranking system would be a nice feature.
    Tambien, Hablo Español      PHP - Achieve Anything
    "The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
    Windows 7 Forums

    Davide Renda

    Interesting plugin. As a matter of curiosity, may this ranking system interfere with other systems for bridged galleries?

    PS. attached to this post italian translation; shortly I will announce this plugin in the italian board too.

    just_some_guy

    Thanks Lontano, I will add that to the fist post.

    About the bridged gallery. My gallery is bridged, but not using the coppermine bridging mode. So im not sure what the bridged coppermine enviroment is like. I would assume that the uploaded files would still be inputed into the pictures table, as this plugin counts the number of rows in the pictures table that belong to the user it is calculating the rank for. By other systems do you mean the forum ranks depending on the number of posts?

    To be honest im not really sure. Maybe someone who is familiar with bridging system could clarify this.

    Thanks,
    Tambien, Hablo Español      PHP - Achieve Anything
    "The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
    Windows 7 Forums

    ksawery

    I have translated the plug-in into Spanish, but I've noted that's necessary change another parts of the code for a complete translation (I'm sorry. My English is not very good).

    Halfhidden

    I get an error message when I install this plugin.
    Fatal error: Cannot redeclare todaysdate() (previously declared in /home/my_domain/public_html/anycontent3.php:45) in /home/my_domain/public_html/anycontent3.php on line 43.
    I've removed the multiple anycontent and the error continued.
    any ideas would be appreciated.
    Regards,
    Steff

    just_some_guy

    #14
    I think this plugin is clashing with whatever you have in your anycontent3.php, not the anycontent plugin itself. Besides, there is no function created or used in this plugin called "todaysdate()".

    @ksawery - Gracias por tu contribución, agregaré al me primero post. Hablo español y olvide este traducción. :D.
    Tambien, Hablo Español      PHP - Achieve Anything
    "The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
    Windows 7 Forums

    Halfhidden

    I removed anycontent 2 and 3 from the config panel and commited the changes. I then removed both files from the server temporarily and then tried to install the plugin once more. I then had this error in Coppermine:

    Critical error

    There was an error while processing a database query.
    Sorry to be a pain.
    Regards,
    Steff

    just_some_guy

    Delete the news table from the database, then install. Then, add the anycontent plugin. What did you have in the anycontent?
    Tambien, Hablo Español      PHP - Achieve Anything
    "The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
    Windows 7 Forums

    Halfhidden

    In one was a shout box (anycontent3) and the other dynamic Html adverts>
    Hope this helps.
    Regards,
    Steff

    just_some_guy

    Ok, did you reinstall this plugin? if so, what was the result? Have a search in the anycontents for a function called "todaydate" as that is most likely where the error is coming from and make sure you are not include a file twice (example - include a file in custom footer and then again in anycontent).
    Tambien, Hablo Español      PHP - Achieve Anything
    "The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
    Windows 7 Forums

    Halfhidden

    Ok. looked for the table news in sql but it wasn't in the database. I uninstalled extra anycontent plugin through the pluin manager and removed the extra anycontent files from the server. Tried the plugin again and got There was an error while processing a database query.
    I have only have two other plugins: CPG MiniCMS v1.6 and Contact Us Mail Form v1.1

    Regards,
    Steff