Title: killbert72's Replies | WordPress.org

---

# killbert72

  [  ](https://wordpress.org/support/users/killbert72/)

 *   [Profile](https://wordpress.org/support/users/killbert72/)
 *   [Topics Started](https://wordpress.org/support/users/killbert72/topics/)
 *   [Replies Created](https://wordpress.org/support/users/killbert72/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/killbert72/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/killbert72/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/killbert72/engagements/)
 *   [Favorites](https://wordpress.org/support/users/killbert72/favorites/)

 Search replies:

## Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Football Pool] Let users register for a league](https://wordpress.org/support/topic/let-users-register-for-a-league/)
 *  Thread Starter [killbert72](https://wordpress.org/support/users/killbert72/)
 * (@killbert72)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/let-users-register-for-a-league/#post-4403075)
 * Works perfectly. Thanks man!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Football Pool] Let users register for a league](https://wordpress.org/support/topic/let-users-register-for-a-league/)
 *  Thread Starter [killbert72](https://wordpress.org/support/users/killbert72/)
 * (@killbert72)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/let-users-register-for-a-league/#post-4403046)
 * Someone suggested I do this:
 *     ```
       <?php
   
       if(!isset($_POST['submit'])){
   
         //if the form has not been submitted yet, display the form
         echo "<form name='myform' action='' method='POST'>";
         //Get array of leagues
         $leagues = $pool->get_leagues(true);
   
         //Make a drop down
         echo "<select name='league'>";
   
           foreach($leagues as $league){
               echo "<option>$league</option>";
           }
         echo "</select>";
   
         echo "<input type='submit' name='submit' value='Submit'>";
         echo "</form>";
   
       }else{
   
       //If the form has been submitted, run the PHP function to update database
         $pool = new Football_Pool_Pool;
         $pool->update_league_for_user(get_current_user_id(), $_POST['league']);
         echo "Database updated!";
       }
   
       ?>
       ```
   
 * But now the question is: where to put this file and how to call it?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Football Pool] Let users register for a league](https://wordpress.org/support/topic/let-users-register-for-a-league/)
 *  Thread Starter [killbert72](https://wordpress.org/support/users/killbert72/)
 * (@killbert72)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/let-users-register-for-a-league/#post-4403028)
 * In addition Mike, your question is not the same: you are confusing what is referred
   to as ‘leagues’ in the context of this question.
 * Here ‘leagues’ are different groups of players all competing in the same pool
   for the World Cup. Like the Marketing Department League or a group of friends.
   They form a subset of the overall group of people playing.
 * What you are referring to is to have different sets of independent tournaments
   for which a player can submit his predictions. This is an interesting idea, but
   not what I am discussing with Antoine here 😉
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Football Pool] No content team pages](https://wordpress.org/support/topic/no-content-team-pages/)
 *  Thread Starter [killbert72](https://wordpress.org/support/users/killbert72/)
 * (@killbert72)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/no-content-team-pages/#post-4399454)
 * Found the real culprit! Did a search for add_filter( ‘the_content’ and found 
   this line in my Theme’s functions.php:
 *  add_filter(‘the_content’, ‘autoinsert_rel_prettyPhoto’);
 * I had that prettyPhoto script turned on but wasn’t using it. Switching in off
   in my theme option page solved the problem, even without the number in football-
   pool.php, so your plugin is back to standard!
 * Thanks man, your support is amazing!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Football Pool] No content team pages](https://wordpress.org/support/topic/no-content-team-pages/)
 *  Thread Starter [killbert72](https://wordpress.org/support/users/killbert72/)
 * (@killbert72)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/no-content-team-pages/#post-4399450)
 * Put in 90, worked like a charm! You are a star!
 * Duizend punten!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Football Pool] No content team pages](https://wordpress.org/support/topic/no-content-team-pages/)
 *  Thread Starter [killbert72](https://wordpress.org/support/users/killbert72/)
 * (@killbert72)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/no-content-team-pages/#post-4399442)
 * Yes, so that is the culprit….the pages display correctly in the standard themes
   like Twenty Twelve etc.
 * No, how do I find a solution? i’d hate to change my entire site’s theme…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Football Pool] No content team pages](https://wordpress.org/support/topic/no-content-team-pages/)
 *  Thread Starter [killbert72](https://wordpress.org/support/users/killbert72/)
 * (@killbert72)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/no-content-team-pages/#post-4399437)
 * team = theme…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Football Pool] No content team pages](https://wordpress.org/support/topic/no-content-team-pages/)
 *  Thread Starter [killbert72](https://wordpress.org/support/users/killbert72/)
 * (@killbert72)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/no-content-team-pages/#post-4399435)
 * I just checked to preview my site in another team, and there it displays the 
   pages correctly, so I am guessing that it must be my beloved U-design theme that
   is causing the problem after all….
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Football Pool] No content team pages](https://wordpress.org/support/topic/no-content-team-pages/)
 *  Thread Starter [killbert72](https://wordpress.org/support/users/killbert72/)
 * (@killbert72)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/no-content-team-pages/#post-4399425)
 * Just to be sure, shouldn’t the page -venues give an overview of all stadiums 
   on one page? Because that is not happening at the moment. But i am not sure if
   this should be the case.
 * I am using U-design as theme, but that is pretty robust and not causing issues
   in my opinion….
 * You mind if I grant you access to my site so you can have a look?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Football Pool] No content team pages](https://wordpress.org/support/topic/no-content-team-pages/)
 *  Thread Starter [killbert72](https://wordpress.org/support/users/killbert72/)
 * (@killbert72)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/no-content-team-pages/#post-4399421)
 * I have three pages that are a bit ‘special’ in as they have received a “-” sign
   before their name: -venues, -teams, -groups.
 * I did not put that “-” in front by the way…
 * the page “-teams”” has the slug:
 * [fp-link slug=”teams”]
 *  
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Football Pool] Widget with](https://wordpress.org/support/topic/widget-with/)
 *  Thread Starter [killbert72](https://wordpress.org/support/users/killbert72/)
 * (@killbert72)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/widget-with/#post-4397002)
 * I figured this out myself, I changed a few lines in the widget php file and it
   works.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Football Pool] Choose Knock Out Stage Winners](https://wordpress.org/support/topic/choose-knock-out-stage-winners/)
 *  Thread Starter [killbert72](https://wordpress.org/support/users/killbert72/)
 * (@killbert72)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/choose-knock-out-stage-winners/#post-4395787)
 * Thanks Antoine, after looking at the reasons why you set it up this way, I actually
   like it a lot!

Viewing 12 replies - 1 through 12 (of 12 total)