dound
Forum Replies Created
-
Forum: Plugins
In reply to: revision.php — make accessible to all users?I’ve also noticed that the revision list is different for an admin user versus and subscriber. In particular, it seems the subscriber can always see just the last two revisions while the admins can see all revisions.
Ideally I’d like to show all the revisions. Any ideas? Thanks in advance for your thoughts!
Forum: Plugins
In reply to: [Plugin: AJAX Login Widget ] Future Work (from v1.0.1)More good ideas — I’ve updated the homepage of the plugin with these … now to start hacking on them :).
[signature moderated Please read the Forum Rules]
Forum: Plugins
In reply to: [Plugin: AJAX Login Widget ] Show users gravatar/avatar ?I like the idea; I’ll look into it now.
Sounds exciting, I’ll make sure to check back on your page and see how it is going.
[signature moderated Please read the Forum Rules]
Forum: Plugins
In reply to: [Plugin: No Comments On Pages] Fix for “Parse error when activating”Great, thanks Jaka!
Forum: Plugins
In reply to: Plugin stats seem a bit offStrange that it is a secret :). Oh well.
[signature moderated Please read the Forum Rules]
Forum: Plugins
In reply to: [Plugin: AJAX Login Widget ] Future Work (from v1.0.1)Great ideas! I’ll definitely keep these in mind and try to work them in. “[insert-login]” is a very nice idea; the customization ideas are the trickiest, but very worth addressing. As for #9, this is definitely a cool possibility — the info is in the database, so there’s no reason we couldn’t provide it.
Thank you!
Forum: Plugins
In reply to: [Plugin: AJAX Login Widget ] Future Work (from v1.0.1)PS. As I get suggestions, I’ll keep track of them on the plugin’s page.
Forum: Plugins
In reply to: [Plugin: WP-DownloadManager] Missing: good permalinks, download pages2) Oops, I did not realize this option existed — it doesn’t seem to be on the usage page though maybe I overlooked it somewhere else.
Forum: Plugins
In reply to: [Plugin: AJAX Login Widget ] regarding stylingThanks!!
I definitely understand your concern here — I was just wondering about that for others’ plugins which I had tweaked (here).
I’ll do my best to provide a clean upgrade, keeping in mind that people have probably modified the
alw_template.php. Your careful tweaking prevent you from upgrading, promise :).Here’s an alternative most people probably are not interested in but I’ll write a little about it for completeness. It probably will not work cleanly if you make substantial changes to a file. Anyway, one way to upgrade plugins you’ve modified — if you are comfortable with subversion and a command-line — might be to make subversion do the work for you: check out the code (for the version of the plugin you have) from here, copy in your
alw_template.php, and then dosvn updateto have it do the merge.Forum: Plugins
In reply to: [Plugin: AJAX Login] stopped developing?Check out the new version of the plugin at http://ww.wp.xz.cn/extend/plugins/ajax-login-widget/ (or here).
Enjoy,
Forum: Fixing WordPress
In reply to: Log In Form?You might want to try this plugin. It lets you add a login form to your custom sidebar or anywhere else on your site with just one line: AJAX Login Widget++
Here’s the one line of PHP code you’ll want to use after you’ve activated the plugin:
<?php add_ajax_login_widget(); ?>[signature moderated Please read the Forum Rules]
Forum: Plugins
In reply to: [Plugin: WP-DownloadManager] Missing: good permalinks, download pages1) Cool, that’s great news. Will a download’s category be included in the permalink (optionally perhaps)? That would be pretty cool.
2) I did; it seems it requires php code which isn’t something I can just paste into the middle of a regular word-press page. I could just add a new php file and use it I guess, but that seems a bit more difficult.
Thanks for your thoughts!
Forum: Plugins
In reply to: [Plugin: No Comments On Pages] VIRUS WARNINGDitto. It is just fine as far as I can tell …
I looked into the code and it is a pretty simple fix. The problem is that the RewriteRule being output to .htaccess assumes the wordpress URL is the URL where the wordpress files reside themselves. In my case (and yours it sounds like) we have our root directory serve wordpress files located in a subfolder (named ‘wp’ in my case). The incorrect RewriteRule which is currently generated is (assuming the pretty permalink url is ‘files’):
RewriteRule ^files/(.*)$ wp-content/plugins/download-monitor/download.php?id=$1 [L]
The correct rule for a wordpress installation in the ‘wp’ folder should be:
RewriteRule ^wp/files/(.*)$ wp/wp-content/plugins/download-monitor/download.php?id=$1 [L]
And finally, Mike could probably write something more elegant, but here is a temporary patch to fix the code:
--- original/download-monitor/wp-download_monitor.php +++ fixed/download-monitor/wp-download_monitor.php @@ -1823,11 +1823,16 @@ function wp_dlm_rewrite($rewrite) { $url = get_option('wp_dlm_url'); $blog = get_bloginfo('wpurl'); + $base_url = get_bloginfo('url'); + if(strlen($blog) > strlen($base_url)) + $offset = substr(str_replace($base_url, '', $blog), 1) . '/'; + else + $offset = ''; $rule = (' Options +FollowSymLinks RewriteEngine on -RewriteRule ^'.$url.'(.*)$ wp-content/plugins/download-monitor/download.php?id=$1 [L] +RewriteRule ^' . $offset . $url . '(.*)$ ' . $offset . 'wp-content/plugins/download-monitor/download.php?id=$1 [L] '); return $rule.$rewrite; }