Title: polimehr's Replies | WordPress.org

---

# polimehr

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Football Pool] Add Column to ranking list based on user ID](https://wordpress.org/support/topic/add-column-to-ranking-list-based-on-user-id/)
 *  Thread Starter [polimehr](https://wordpress.org/support/users/polimehr/)
 * (@polimehr)
 * [8 years ago](https://wordpress.org/support/topic/add-column-to-ranking-list-based-on-user-id/#post-10244103)
 * Amazing. This worked really well.
 * Here is what I did (for future reference)
 *     ```
       class FootballPoolExtensionRankingRowTemplate {
       	public static function init_extension() {
       		add_filter( 'footballpool_ranking_ranking_row_template', array( __CLASS__, 'new_template' ), null, 2 );
       		add_filter( 'footballpool_ranking_ranking_row_params', array( __CLASS__, 'custom_value' ), null, 2 );
       	}
   
       	public static function new_template( $all_user_view, $type ) {
   
       		$ranking_template = '<tr class="%css_class%">
       								<td class="user-rank">%rank%.</td>
       								<td class="custom-cell">%custom_value%</td>
       								<td class="user-name"><a href="%user_link%">%user_name%</a></td>
       								<td class="user-score ranking score">%points%</td>
       								</tr>';
       		return $ranking_template;
       	}
   
   
   
   
           public static function custom_value( $params ) {	
       	$params['custom_value'] = 'custom value with:'.$params['user_id'];		
               return $params;
           }	
   
   
   
       }
   
       add_filter( 'plugins_loaded', array( 'FootballPoolExtensionRankingRowTemplate', 'init_extension' ) );
       ```
   
 * And yes, the search function sucks 😉
 * Cheers and thanks again
    Sascha
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Postie] Posts are “pending” although they should be published](https://wordpress.org/support/topic/posts-are-pending-although-they-should-be-published/)
 *  Thread Starter [polimehr](https://wordpress.org/support/users/polimehr/)
 * (@polimehr)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/posts-are-pending-although-they-should-be-published/#post-10059079)
 * Thanks. I will look into that. 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Postie] Posts are “pending” although they should be published](https://wordpress.org/support/topic/posts-are-pending-although-they-should-be-published/)
 *  Thread Starter [polimehr](https://wordpress.org/support/users/polimehr/)
 * (@polimehr)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/posts-are-pending-although-they-should-be-published/#post-9976631)
 * Hi, thanks for your reply. Shouldn’t it be “planned” if it is a date/time issue?
 * Anyway I’ll send you a debug output as soon as a mail behaves like this again.
 * Sascha

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