K
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: LeagueManager] No Fixtures Showingwhat does
echo LEAGUEMANAGER_PATH
give and does it point correctly to the plugin?
Forum: Requests and Feedback
In reply to: [Plugin: LeagueManager] Adding Another FieldYou mean a coach field for each team?
Forum: Plugins
In reply to: [Plugin: LeagueManager] Deactivating and Movingyes, you’d have to do this directly in your database.
With phpMyAdmin it is quite simple. The three tables that need to be exported are:* wp_leaguemanager_leagues
* wp_leaguemanager_teams
* wp_leaguemanager_matchesForum: Plugins
In reply to: [Plugin: LeagueManager] No Fixtures ShowingNo error messages?
Forum: Plugins
In reply to: [Plugin: LeagueManager] No Fixtures Showingdoes it work?
Forum: Plugins
In reply to: [Plugin: LeagueManager] No Fixtures ShowingOK, I think i got it fixed now. The problem was that i had forgotten to remove the upgrade process from the activation function. Thus, if you de- and re-activated the plugin, which is done in the automatic process, the plugin dbversion gets updated before you can get to the admin panel. That is why you never got the upgrade screen!
I removed that and changed the versioning numbers in 2.6.6. If you don’t see any upgrade screen, call for help.
Anybody who upgraded manually and did not re-activate the plugin before visiting the admin page was lucky. That’s why for some people it worked.
Updating may cause some error messages of duplicate column entries, don’t worry about them.
Forum: Plugins
In reply to: [Plugin: LeagueManager] Can’t create Match/the update didn’t mess up anything. it’s just showing the database errors!
Forum: Plugins
In reply to: [Plugin: LeagueManager] No Fixtures Showingyou commented the if-clause and no upgrade page was shown?!?! and no error message that upgrade.php was not found?
Forum: Plugins
In reply to: [Plugin: LeagueManager] No Fixtures Showingif the change of the if-clause does not work, you can simply comment it out:
//if( $options[‘dbversion’] != ‘2.6.5’ ) {
include_once ( dirname (__FILE__) . ‘/upgrade.php’ );
leaguemanager_upgrade_page();
return;
//}Then reload a LeagueManager Admin page. This should definetely work and the upgrade screen should be shown. Afterwards remove the comments or delete this whole part.
Forum: Plugins
In reply to: [Plugin: LeagueManager] No Fixtures Showing@aidanmcg33: use
[leaguestandings league_id=x mode=extend|compact]
where x is the league ID you want to display. mode is either extend or compact
Forum: Plugins
In reply to: [Plugin: LeagueManager] No Fixtures Showing@yukataninja: looking in the wp_options table doesn’t help, because these two numbers are the leaguemanager version and dbversion. The first is the plugin version whereas the second checks if there are any changes to the database (and should then display an upgrade screen on a leaguemanager admin page).
You can do the following. In admin/admin.php look for function display(). Change
if( $options[‘dbversion’] != ‘2.6.5’ ) {
into
if( $options[‘dbversion’] != ‘2.6’ ) {
Then go to the leaguemanager admin page or reload the page if you are already there. There should be an upgrade page displayed, telling you that your database is out-of-date. Do the upgrade.
Forum: Plugins
In reply to: [Plugin: ProjectManager] Error deleting a projectthanks for pointing this out. Fixed this in 1.9
Forum: Plugins
In reply to: [Plugin: LeagueManager] Deactivating and MovingThe database tables are not deleted upon plugin deactivation. Only if you use the uninstall method in WP 2.7.
You can simply export your database tables and import them to another wordpress installation. Maybe you have to rename them to match your database prefix.
I can change the varchar(25) to 50 for future releases. If you want to have it right now you need to change it in the database.
Forum: Plugins
In reply to: [Plugin: LeagueManager] No Fixtures Showingbefore that do:
<?php $options = get_option(‘leaguemanager’); ?>
Forum: Plugins
In reply to: [Plugin: ProjectManager] orderby in shortcodes?Hey,
I have implemented a possibility in the current development version. Here’s an example
[project id=1 template=simplelist cat_id=32 orderby=”ID” order=”ASC” ]
This would simply order datasets by id ascending. Same applies for name. If you want to order by a formfield ID you can use the following:
[project id=1 template=simplelist cat_id=32 orderby=”formfields-ID” order=”ASC” ]
Replace ID with the formfield id you want to order by. I have modified the formfields admin page to show the IDs. Hope it works, because I dont’t have time to test it now. 😉
You should maybe wait at leagst 15-20 minutes before you download the development version, because I have just committed the last changes 😉