• 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

    • AMAZON needs to take total accountability for this.
    • Server Summit had a heap of announcements, ADCS changes are baller.
    • Nice, hope they *finally* fixed the issue with the NTFS driver where the system would completely brick during large file copies using the built in driver. It's been broken for years requiring me to use the older, slower, NTFS-3G FUSE driver.
    • Windows 11 KB5094126 BSODing, freezing, forcing BitLocker lockout, breaks OneDrive, and more by Sayan Sen Microsoft released Windows 11 KB5094126 and KB5093998 last week as the latest Patch Tuesday updates. Following that the company also published the accompanying dynamic updates under KB5094149, KB5095971, and KB5094156. While Microsoft has so far not acknowledged any major problems with the release, some users online are running into problems. These range from OneDrive and Dropbox access issues, BitLocker recovery lockouts, to blue screens and BSODs. The most common one seems to be happening with HP systems wherein affected users say they hit 0xc0430001 BSOD (blue screen of death) error code after the KB5094126 update. We wonder if this could be related to the recent bug we covered on HP devices wherein the ongoing Secure Boot certificate updates are leading to similar issues. While we are not certain, users affected by this issue likely need to ensure that the boot.stl file is included on the installation media (such as a USB installer or ISO), if the above-mentioned dynamic updates are deployed. If this file is missing, computers may fail to boot from the installation media and could display the error 0xc0430001. This STL file is used by Secure Boot to verify that the boot files are trusted, so it must match the same Windows version and system architecture. To ensure the file is included, Microsoft recommends using the Update WinPE script, which automatically updates the image and handles the required files. Alternatively, you can manually copy the boot.stl file from the Windows\Boot\EFI folder on a Windows device and place it in the matching folder on your installation media before deploying the updated image. Aside from blue screening some users also note their systems have been freezing following the update. This could be happening to Lenovo PCs specifically. In the case of the OneDrive and Dropbox access issues, a user figured out that there could be a conflict with UAC. He explained: "Okay, so I did some digging, and in our environment KB5094126 breaks OneDrive and Dropbox in Explorer. I went through all our GPOs and found out that the combination of disabling UAC and having my user being a local admin breaks OneDrive in Explorer. ... If I enable UAC again, then it works, even with KB5094126 still installed." Hopefully, Microsoft will look into these issues. Source: Microsoft forum (link1, link2, link3, link4), Reddit (link1, link2, link3, link4)
    • It is when it's a desktop in my house though for a PC that's lightly used and not really important when it is. If it was a laptop, it would be a different story. The real solution is varied and begins starting at post #22 in that thread.
  • 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
      508
    2. 2
      +Edouard
      197
    3. 3
      PsYcHoKiLLa
      138
    4. 4
      ATLien_0
      90
    5. 5
      Steven P.
      80
  • Tell a friend

    Love Neowin? Tell a friend!