topquarky
Forum Replies Created
-
Hi Rob,
Thanks for sending the file. It looks like you just zipped the files. Can you try using
winrar
to zip the directory instead?Thanks
TrevorHi Rob,
Would you mind sending me your ZIP to [email protected]. I’ll take a look and see what I can see.
Cheers
TrevorHi Rob,
Yes, it turns out that Self Hosted Plugins has difficulty with ZIP files created with WinZip. It looks for the readme.txt file based off of the first entry in the zip, which in *nix based systems is the directory name. On WinZip (or right-click send to Archive) zips on Windows, that’s not the case, so Self Hosted Plugins can’t find the readme.txt. I’ll work on fixing this issue in a future release, but in the meantime, I’ve heard that
winrar
works properly for zipping the files on Windows. I think command linezip
would work too.Hope this helps.
Cheers
TrevorForum: Plugins
In reply to: [Self Hosted Plugins] [Plugin: Self Hosted Plugins] Just wanted to say thank!Hi jquindlen,
Just saw this message. Thanks for the love! Where are you using it? I’d love to check out your plugins.
Cheers
TopQuarkyForum: Plugins
In reply to: [Top Quark Architecture] broken admin pages.Hi Chuck,
Glad you got it working. Best of the season to you!
Cheers
TrevorForum: Plugins
In reply to: [Top Quark Architecture] broken admin pages.ABSPATH is a constant that gets set to the directory that wp-config.php “normally” is in. Your case is different obviously.
So, I’d recommend keeping that code in there, but adding a filter to another plugin (some plugin that is network activated, maybe you have to make a new one) and put the following in it:
add_filter('topquark_path_to_wp_config','my_path_to_wp_config'); function my_path_to_wp_config($path){ $path = '/home/mydomain/wp-config.php'; return $path; }
That should then tell Top Quark where to find your wp-config.php file.
Forum: Plugins
In reply to: [Top Quark Architecture] broken admin pages.Hmmmm…
I haven’t seen that setup before. What is your ABSPATH constant set to? /home/mydomain/ or /home/mydomain/public_html/?
You could change the offending line in env.php:
include_once(dirname(__FILE__).'/../../../../wp-config.php');
to…
$path_to_config = apply_filters('topquark_path_to_wp_config',ABSPATH.'wp-config.php'); include_once($path_to_config);
Then, if you need to you can use a filter to properly set the path. I’ve made that change in the plugin and will release it in a future update, but I’d like to make sure you’re up and running (maybe there will be other issues with your setup).
Cheers
TrevorForum: Plugins
In reply to: [Top Quark Architecture] broken admin pages.Hi Chuck,
Does the file /home/mydomain/public_html/wp-config.php exist in your setup? That’s the file it’s trying to load.
Those two issues are definitely related. The second causes the first (how’s that for causality!).
If that file does indeed exist, then we’ll need to figure out why it doesn’t get included. If it doesn’t exist there, then I need to learn about your WP setup, as I thought that file being there was a certainty.
Cheers
TrevorNo worries.
I’ve switched the topic to resolved. Happy poMMo’ing.
Cheers
TrevorHi Simon,
Under Top Quark in the left nav, you should see poMMo, which will get you to the familiar poMMo admin. Then Setup > Configure.
That’s for the admin who installed the plugin. The same admin can/should use Top Quark > Permissions to grant permissions to other users.
Cheers
TrevorHi Diane,
At what point do you get that error?
Thanks
TrevorForum: Plugins
In reply to: [The Events Calendar] Datepicker not workingI’m unable to use the Pretty Permalinks on my site for some reason. With Pretty Permalinks turned off, I experience the same problem as @smallwebsolutions.
The problem is in the file the-events-calendar/views/datepicker.php.
If you replace this:
if( '' == get_option('permalink_structure') || 'off' == eventsGetOptionValue('useRewriteRules','on') ) { $link .= '&eventDisplay=month&eventDate='; }
With this:
if( '' == get_option('permalink_structure') || 'off' == eventsGetOptionValue('useRewriteRules','on') ) { // TopQuarky - updated just in case $link doesn't have a '?' $sep = (strpos($link,'?') !== false) ? '&' : '?'; $link .= $sep.'eventDisplay=month&eventDate='; }
The datepicker now works without Pretty Permalinks.
Forum: Plugins
In reply to: [Self Hosted Plugins] Is there Support for Authenticate Before Update?Thanks @jquindlen!
Forum: Plugins
In reply to: [Self Hosted Plugins] Is there Support for Authenticate Before Update?Hi @jquindlen,
Yes, the latest version has support for authentication, though it’s not built into the plugin itself. It’s something that you would have to add yourself using a third-plugin and available filters.
I’ve just posted an article on my site about one way to do this. See https://topquark.com/blog/2011/07/08/adding-authentication-to-self-hosted-plugins/.
I don’t actually have plans to add Authentication to the plugin itself as I think that developers are all going to have different ideas on how they want to do authentication – maybe charging for plugins, maybe using a third-party membership plugin (as I do on my own site, topquark.com).
Cheers
TopQuarkyForum: Plugins
In reply to: [poMMo for WordPress] Stoped workingOk, good to know there’s a conflict with Picassa. File in my brain for later investigation.
Glad it’s working for you again.