[MODDB] Milestone Congratulations 1.2.8

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Scam Warning
User avatar
MartectX
Registered User
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: [RC] Post Congratulations

Post by MartectX »

darkonia wrote:how can i make it, that the next milestone is not 1000?
i want only 250
OPEN root/set_congrat_goal.php (from the mod's archive)

FIND

Code: Select all

$goal = $config['num_posts'];
while ($goal % 1000 != 0) $goal++;
REPLACE WITH

Code: Select all

$goal = 250;
Upload to root directory and execute.

You will also need to change the steps in which the mod increments the counter. Do this:

OPEN index.php

FIND

Code: Select all

$config['congrat_goal'] - 1000
REPLACE WITH

Code: Select all

$config['congrat_goal'] - 250
OPEN includes/functions.php

FIND

Code: Select all

$config['congrat_goal'] + 1000
REPLACE WITH

Code: Select all

$config['congrat_goal'] + 250
Next goal: 250 and new step size: 250.
User avatar
darkonia
Registered User
Posts: 1901
Joined: Tue May 13, 2008 1:10 pm
Location: Munich, Germany
Contact:

Re: [RC] Post Congratulations

Post by darkonia »

thx a lot :D
MMOG-Heaven - Das Gaming Portal
Community bedeutet Gleichgesinnte finden - MMOG-Heaven ist Deine Community! Von Spielern für Spieler bietet Dir dieses Portal genau das, was ein Spieler braucht. Bleibe ständig informiert, finde die neuesten MMORPGs, oder suche die frischesten News aus der Welt des Online Gamings - dieses und vieles mehr erwartet Dich auf MMOG-Heaven.
User avatar
Sunka
Registered User
Posts: 566
Joined: Wed Mar 26, 2008 2:48 pm
Location: Croatia, Zvoneca

Re: [RC] Post Congratulations

Post by Sunka »

Looking good. Thank you for your time to creating this MOD :mrgreen:
Muzet
Registered User
Posts: 189
Joined: Tue Mar 18, 2008 9:42 pm
Location: POSTER_FROM
Contact:

Re: [RC] Post Congratulations

Post by Muzet »

Very very nice MOD. Thanks. :D
User avatar
MartectX
Registered User
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: [RC] Post Congratulations

Post by MartectX »

1.0.1
- Small change in /contrib/congrat_history.xml
- Small change in /contrib/colorize_username.xml
- Changes in the language variables
- Make use of language variables in /root/install_post_congrat.php (cause of mod denial)
- You asked for it: Now supporting custom goal increments!

Good news: Custom Goal increments! :D
Bad news: If you want to update you have to redo the whole thing (read: uninstall 1.0.0) because every little replace and insert action has changed. :| But 1.0.0 is not buggy, so if you want to keep that you're good to go! :)
User avatar
Jaga
Registered User
Posts: 140
Joined: Mon Jun 23, 2008 5:10 am

Re: [RC] Post Congratulations

Post by Jaga »

Heh, I wasn't updating - just watching - for this reason. Mod is looking better, keep up the momentum and add more good stuff! ;)
User avatar
MartectX
Registered User
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: [RC] Post Congratulations

Post by MartectX »

Jaga wrote:Heh, I wasn't updating - just watching - for this reason. Mod is looking better, keep up the momentum and add more good stuff! ;)
Keep the suggestions coming, I say! :lol:
User avatar
Jaga
Registered User
Posts: 140
Joined: Mon Jun 23, 2008 5:10 am

Re: [RC] Post Congratulations

Post by Jaga »

Alrighty then.. if you want a truly unique and fresh idea:

Make another milestone, this time for Topics started. i.e. the person with the most new topics in the forum this month, also gets a line with their name in it on the Index, and a separate page which tracks all the milestones (just like you have for posts). Try to combine the queries with what you already have, to keep down the DB overhead.

What inspired the idea: there's a mod out by nickvergessen called "NV user topics 0.1.1", which I think is a really great idea. It adds the number of topics the user has started next to their postcount in their Profile and Viewtopic pages. People stop obsessing about post count, and start thinking about topic count too. i.e. more people will be trying to start new conversations on a forum, instead of just jumping in a topic and posting a few smilies or a "lol".
User avatar
MartectX
Registered User
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: [RC] Post Congratulations

Post by MartectX »

Jaga wrote:Make another milestone, this time for Topics started. i.e. the person with the most new topics in the forum this month, also gets a line with their name in it on the Index, and a separate page which tracks all the milestones (just like you have for posts).
It is no problem at all to extend the functionality to topics and even registered user # (to be consistent with the existing statistics box); but I'll keep it to milestones and not monthly records.

Due to increased complexity I'll make an ACP module, though. This may take some time, never done this before. *g*

Thanks for your suggestion!
User avatar
Jaga
Registered User
Posts: 140
Joined: Mon Jun 23, 2008 5:10 am

Re: [RC] Post Congratulations

Post by Jaga »

Sounds good, I look forward to seeing it in action. :ugeek:

Edit: As I type in another topic, I think back to the feature suggestion here, and have to do a "doh!". Of course, your mod is concerned mainly with milestone posts and not top posters (like the other topic has). In that regard yes, you'd need to add the Topic Milestone and poster name, and not the top poster. I put that suggestion in the other mod's thread for that author to consider.

Cheers.
User avatar
MartectX
Registered User
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: [RC] Milestone Congratulations 1.2.0

Post by MartectX »

Version 1.2.0
  • Changed name to reflect new functionality: "Milestone Congratulations"
  • Integrated /contrib/*: "History" and "Colorized Usernames"
  • Expanded mod to include topics and users, as well
  • Created module for Admin Control Panel
  • Keep changes to core phpBB files to a minimum
  • Change next milestone without changing currently displayed milestone
  • Included history output page for proSilver and subSilver2 with option to be admin-only
User avatar
Jaga
Registered User
Posts: 140
Joined: Mon Jun 23, 2008 5:10 am

Re: [RC] Milestone Congratulations 1.2.0

Post by Jaga »

Very nice additions. As soon as I get done debugging this Joomla extension I'm working with, I'll give it a test drive. :ugeek:
User avatar
MartectX
Registered User
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: [RC] Milestone Congratulations 1.2.0

Post by MartectX »

Version 1.2.1
  • Fixed small quirk in the ACP module
  • Changed logged installation message
Capion
Registered User
Posts: 13
Joined: Sat Feb 15, 2003 11:40 pm
Location: Denmark

Re: [RC] Milestone Congratulations 1.2.1

Post by Capion »

Where the SQL to create the table "milestones" ?
User avatar
MartectX
Registered User
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: [RC] Milestone Congratulations 1.2.1

Post by MartectX »

Capion wrote:Where the SQL to create the table "milestones" ?
It's automatically created once you install and open the Admin Control Panel module. I code for the lazy! :D
Locked

Return to “[3.0.x] MODs in Development”