ThemeBoy
Forum Replies Created
-
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Event Block WidgetThanks for your question! The Event Blocks widget displays the actual event titles, so the solution would be to edit each event and make the titles shorter.
Glad to hear that 🙂
Looks like the requirements are met, so it might be unrelated. But it’s always a good idea to update anyway 🙂
Let me know if the issue persists after updating to version 2.5.
@bad-religion Could you check if your WampServer meets the minimum requirements for SportsPress?
- WordPress 3.8 or greater
- PHP version 5.2.4 or greater
- MySQL version 5.0 or greater
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Player Stats@saltandpepper Not yet, but we’ll definitely be adding a player stats shortcode in a future update 🙂
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Suggestion@opopop The shortcodes might be useful in this case. Since page slugs use root permalinks, you could create a page called “World Cup” which will have the permalink http://www.pvgf.org/wp/world-cup, then create child pages under that page.
There are several shortcodes you can use on this page like [event_calendar] and [league_table], which might be better than a simple taxonomy archive.
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Team link not available@opopop Thanks, we’ll consider adding this in the future.
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] CSV Import Issue@scooter1 Ah, apologies for that. It’s actually only “Outcomes” that can be separate by a vertical line. Multiple teams should be added as separate rows. The sample CSV file has an example of how you would add 2 teams to an event.
The formats select will apply a format to all events imported. “League” events count toward league tables and player statistics, and “Friendly” events will not count toward any of the league tables or statistics.
Event names are generated automatically by combining team names. The CSV importer is not able to assign unique event names, so you’d need to change these manually after import.
Regarding the date format, the CSV file itself has dates in the format yyyy-mm-dd, but some programs (like Microsoft Excel) seem to automatically change the way they are displayed. If you open it in a plain text editor, you’ll see the correct format. When using Excel or similar software, you can change the date format by selecting the date column, and either via the menu or right-click menu, applying a date format.
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Sort squad of players@diegoterrones Glad to hear that 🙂
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Games Behind@jacegoh Will definitely add that to our roadmap, although it might be a pro feature.
I’ll let you know when it becomes available 🙂
@bad-religion Are you able to activate the plugin without the theme? Try choosing another theme first (Twenty Fourteen, for example), then activating the plugin again.
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Team logos appearing twiceGlad I could help 🙂
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Sort squad of players@diegoterrones Thank you for the link. It seems that positions were ordered by slug only in our Premier theme and not in the plugin itself. I’ve fixed this and just released SportsPress version 1.1.8, which automatically orders positions by slug. You’ll see the correct order once you update to the new version 🙂
@ttemplate I’ll chime in here to help. When creating a list, select “Position” from the “Grouping” dropdown to display players in groups according to their position.
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] SportsPress with custom fields@ttemplate Glad to hear you’ve found the plugin useful 🙂
There is an SP_Player class that helps retrieve values for a specific player. If you’re using the loop inside player.php, here’s how to do it:
First, get the ID. You could also use $post->ID or just $post
$id = get_the_ID();Create a new instance of SP_Player.
$player = new SP_Player( $id );You will also need the ID for the league you want to display. Or loop through all leagues.
$leagues = get_the_terms( $id, 'sp_league' ); // Loop through each league if ( is_array( $leagues ) ): foreach ( $leagues as $league ):Get formatted data (performance & statistics).
$data = $player->data( $league->term_id );The first row of $data will contain column labels, and each row following will be statistics for a season within that league. See /templates/player-statistics.php for a complete example of how to use this data.
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] List Events by League Tables@scooter1 Looks like you found the answer 🙂
Regarding calendar titles, these will need to be added manually if you require them. It might help to wrap the titles with heading tags like this:
<h3>Calendar Title</h3> [event_list 99]