• 0

Looking for someone to help modify a Wordpress plugin


Question

I've been running a NASCAR league on the PlayStation forums for two years now and this year the particpants doubled. So manually updating points takes at good 30-45 minutes which leaves me prone to error(s). I've found a wordpress plugin I can run on my site that will allow players to enter their picks and update the points automatically. You can find the plugin here: http://wordpress.org/extend/plugins/motor-racing-league/ . I downloaded the plugin but know nothing about PHP, but this plugin is fairly close to what I need in terms of features, it's just the points system is nothing like what I need. The author of the plugin says you can edit the points system the plugin users (t's a PHP file) but with no PHP knowledge, I'm not really sure how to tackle this.

Here's a breakdown of our points system...

Players/participants are allowed three (3) picks per race. The points are handled as such;

Win = 50 points

Top 5 = 25 points (2nd-5th)

Top 10 = 15 points (6th-10th)

Top 15 = 10 points (11th-15th)

Top 20 = 5 points (16th-20th)

Most Laps Lead = 5 points

Picks finish 1-2-3 = 25 points

What I need...

Player A picks drivers #: 1,01,11.

Driver # 1 finishes 1st (wins the race)

Driver # 01 finishes 4th (top 5)

Driver # 11 finishes 21st (no points)

The points for this player would be 75 (50 for the win and 25 for 4th place).

As for leading the most laps (5 points), perhaps a check box next to the each driver for me to indicate this and the plugin would see that and add the 5 bonus points. If a players' picks finish 1-2-3 (1st, 2nd, and 3rd) then the plugin would need to see that and award 25 points accordingly.

Currently we have roughly 25 players/participants and I expect that to grow before next season so I can see it takign me at least an hour to update points each week, plus possible errors. If someone is interested in helping me, I would greatly appreciate it. If you require some form of payment (sorry fellas, sexual favors are out of the question...ladies...I'll have to think about it) we can discuss this if you're interested in helping.

5 answers to this question

Recommended Posts

  • 0
How different is the current plugin to what you need?

GE

The plugin mentions in the readme that you can link to a different php file for the points. Essentially you can take the default points php file and modifying it. I just don't know php.

  • 0
You dont need to know PHP to be able to edit a PHP file.

GE

True, but the 'if' statements really throw me for a loop (pun intended?) since I didn't write the plugin, I'm not really sure that the calls I make are/will be correct.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Anyway to download these versions without being on the Experimental builds?
    • Nothing is stopping you from continuing with your testing cadence. If updates are released every 2 weeks instead of 4, and you test once every 4 weeks, the exact same amount of patches will still be available for you in those 4 weeks. For example: Before 4th week - patch 1, 2, 3, 4 After 2nd week - patch 1 and 2 4th week - patch 3 and 4 Still the same amount after 4.
    • Everyone else has said it. I'm gonna say it - you don't know what you're talking about. I do. I have two laptops. One work, one personal. I have access to two more laptops - both personal. At home I manually update my personal laptop when I see on Neowin that there is an update - I carry on and only apply the updates when I am ready. My work one only updates when my workplace decides to send it - I carry on and only apply the updates (when they actually arrive, which is usually days after the release) when I switch off the laptop at the end of the day as usual. The two other personal laptops only get updated when I get to it which is rarely - the people who own them carry on using them until I get to it and update them. All of the browsers on all laptops are configured to restore the tabs when launched. Google and Microsoft have changed from 6 weeks to 4, and it looks like it's going to move to 2. None of these changes affect how any of these browsers on the laptops are used. Not one jot. My advice to you is stop panicking whenever you see an update. Just carry on with what you're doing. This even benefits you in a way - from your comment you sound like you don't like the changes or the frivolous new features - great - then carry on as before!
    • AMAZON needs to take total accountability for this.
    • Server Summit had a heap of announcements, ADCS changes are baller.
  • Recent Achievements

    • Week One Done
      Jeroen Wilms earned a badge
      Week One Done
    • Week One Done
      rolfus earned a badge
      Week One Done
    • One Month Later
      Leroy Jethro Gibbs earned a badge
      One Month Later
    • Conversation Starter
      flexorcist earned a badge
      Conversation Starter
    • One Month Later
      AndreaB earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      509
    2. 2
      +Edouard
      198
    3. 3
      PsYcHoKiLLa
      138
    4. 4
      ATLien_0
      90
    5. 5
      Steven P.
      81
  • Tell a friend

    Love Neowin? Tell a friend!