Contact Form DB
Creating a leaderboard from several entries and joining them with a shortcode (2 posts)

  1. patrikberz
    Posted 3 years ago #

    I'm new to Contact Form DB, but it looks incredible from what I can see.
    I need some help with the following.

    1. Why can not visitors to my website see the results from my shortcodes?
    I can only see the results when I'm logged in. What am I doing wrong here?

    2. I'm filling in scores from a golf tournament in a form, where I select the player in a select menu, course from a select menu and then type in the score.
    The week after I select the same player from the select list, but choose a different course.
    How can I display a leaderboard from this?
    I would like to have one line for each player that adds the score all together and sort on Score. Is this even possible or do I need to use PHP...which I really don't know.

    3. Is it possible to get a 1, 2, 3 in front of each line that displays the name and score?

    appreciate any help I can get here.


  2. Michael Simpson
    Plugin Author

    Posted 3 years ago #

    1. Admin page, Contact Form DB -> Options -> See Submission when using shortcodes
    Set to "Anyone"

    2. Kind of hard to follow. If you don't want to do PHP, then you might create a table with the info, then use [cfdb-value] to compute the sums. I'm not sure that can get what you want.

    3. Not without doing a custom short code with PHP.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form DB
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic