WordPress.org

Ready to get started?Download WordPress

Forums

Plugin / Programming Assistance (3 posts)

  1. rwickham
    Member
    Posted 8 years ago #

    Hi, can anyone help me locate a plug-in or someone to create a plug-in for my situation?

    I have donated a WP site to a local soccer association.

    I am looking for a plug-in that will allow the admin to rate field conditions.

    It should work like this: There will be a list of seven soccer fields in the sidebar. Each field condition should default to “green? (it should be a green flag icon).

    On bad weather days, the admin could change the condition to “red?. There should then be an option to auto reset to green at end of day or leave red (for off-season).

    I have considered some of the 5-star rating plug-ins but do not know enough php programming to make the necessary modifications.

    Any assistance would be greatly appreciated.

    Thanks in advance.

  2. rwickham
    Member
    Posted 8 years ago #

    I would like to provide an e-mail address for anyone who can help with my request. rwickham@yahoo.com

    Thanks.

  3. davidchait
    Member
    Posted 8 years ago #

    Anything here requires programming, so I'm just giving an approach.

    Make a post for each soccer field, in a category called 'field conditions'. In each post, use a custom field ('condition' or something like that), and let the admin edit the post and fill in whatever text/state you'd like. In the sidebar, do a query for the posts in the conditions category, and for each post output the post title (field name) and grab the custom field and display it (or display a GIF or JPG that is say in wp-content/field-conditions/[custom].GIF). not too difficult, but takes a bit of time.

    The alternate is a completely custom plugin, that creates a new table, field name and condition (and other notes?) editing in a custom admin panel, and a one-shot function to grab and display the names and flags. the grab-and-display thing is pretty similar in both cases...

    -d

Topic Closed

This topic has been closed to new replies.

About this Topic