wp_joe_
Forum Replies Created
-
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Filter by competitionno worries, I figured it out.
Just had to look through the Sportspress code and read the wordpress docs to find the right taxonomy queries.
Omg, please never use the above query for anything.
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Filter by competitionahh… this question was supposed to go a template author… but anyway.
Thanks Gator, you can do that, but what I really want is just to get the next (upcoming) game in a specific competition. A calendar, won’t update automatically.
The template I am using has queries like this
get_posts(array(‘post_status’ => ‘future’, ‘posts_per_page’ => 9999, ‘post_type’ => ‘sp_event’, ‘order’ => ‘ASC’))
and then iterates through the array to match a given team name.
I was really hoping that there is a sportspress function or built in code that is more efficient!
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Field maps not showingGday Roch,
You can see in the screenshot that the full address is entered, I have also entered latitude & longitude.
The map appears on the event report post (front end) but does not appear at all in the backend.
Is there any way to use a more customised map from another plugin?
Also, on the results calendar, when viewed in list mode, the field is shown as a map pin and the field name which makes it look like it should link to a map. There is no link though. Am I able to make this link to a custom map?
Thanks, Joe
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Field maps not showingscreenshot here
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Event import only 41 eventsRoch, FYI.
It was a PHP.ini config issue,
max_input_vars was set to 1000 which limited the size of the array that could be passed from the input table.
Increasing max_input_vars to some larger number fixes the problem.
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Event import only 41 eventsI’ve tried it with a few different files, including just copying down the sample file a few times to bump over the limit.
I can see in Developer Tools that the entire table and all lines are POSTED to the import function.
It may still be a server issue, but I can’t see where.
I can only import the first 29 games from this file.
https://s3-ap-southeast-2.amazonaws.com/sydney-downloads/FutsalOz/tmp/events-sample1.csvForum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Event import only 41 eventsSome extra info:
There is no problem uploading the full file, all events are displayed in the import event table.
However, once I click on Import Events, only the first 83 lines are read from the csv file (including the header line). This means that the maximum number of games able to be imported is 41, less games are imported if any of the games have players stats included.
Can anyone else replicate this issue? I don’t think this is a server config problem.
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Event import only 41 eventsThanks Roch,
I have modified PHP.ini so that
max_execution_time = 300
memory_limit = 128M
post_max_size = 32M
upload_max_filesize = 32Mand confirmed that is this now active, but I still cannot import more than 41 events.
Do you have any other suggestions?