WordPressor
Forum Replies Created
-
Forum: Plugins
In reply to: querying databaseThis is my code:
ini_set( display_errors, true );
require(‘wp-blog-header.php’);
$r = $wpdb->query(“SELECT * from LUM_Category”);
print ‘<pre>’; print_r( $r ); print ‘</pre>’;It prints ‘6’. It’s right, there are 6 records in that table (categories table of Vanilla forum).
Forum: Plugins
In reply to: querying databaseWhat is result of your queries to standart WP tables?
Forum: Plugins
In reply to: Admin Theme PluginResolved.
http://trac.wordpress.org/ticket/3123
AFAIK will be in 2.1 release.Forum: Requests and Feedback
In reply to: Style for login and register pagesThanks to moshu.
Resolved in http://trac.wordpress.org/ticket/3123
AFAIK will be in 2.1 release.Forum: Requests and Feedback
In reply to: Style for login and register pagesSorry, but.. any replies? Core developers, please, say just a two words.
Forum: Requests and Feedback
In reply to: Style for login and register pagesI emailed James Kelly (author of ‘Themed Login and Register’ plugin)and this is what he answered me:
You're exactly right. I'm actually planning on contributing that to the WordPress core, just haven't had the time. But I want to try and get it in there before the next release.
That makes my plugin obsolete, but I don't care. That kind of functionality should have been in there from the beginning.Thanks, James!
Forum: Plugins
In reply to: Category Permissions (Roles)Yes, ‘Limit Categories’ works. Thanks for pointing me, i don’run it by myself, and description in code of plugin says only about user levels, not roles.
But it’s not ideal: it could not create custom ‘capability’ to write or read specific category. Imagine that i have 2 categories: to manage access to them I must have 4 Roles (yes-no, no-yes, no-no and yes-yes). Next imagine that there are more categories..
Standart WP interface don’t let you select simultaneously 2 roles for one user (AFAIC WP core is ready for such sheme).
Some other plugins?
Forum: Requests and Feedback
In reply to: Posts, Pages and ‘Bits’??Pages are large data (content) blocks that are discrete.
Bits are smaller data (content) blocks that are also discrete.Your large could be small for me. And vice verse. What is more substantial difference?
Make specific category and hide it anywere on your site (‘Category Visibility’ or some other plugin may fit, or just custom template). Use this category posts as your bits.
The same could be done, but with pages approach. Hide part of them and use as needed to you bit purposes.
For me, even pages/posts separation is not necessary. BTW they are all records in the same DB table, if I remember correctly.
Forum: Plugins
In reply to: Admin Theme PluginJust found at least two relevant topics here:
http://wordpress.org/support/topic/10821
http://wordpress.org/support/topic/50583
Sorry for duplication 🙁 Strange that i didn’t found them by my first search.But it indicates that problems exists.
If it helps, i could write a (small) patch and corresponding plugin example.
Forum: Plugins
In reply to: Admin Theme PluginThe same problem. Would like to have login and register pades in same style as other site.
There is at least two plugins that trys to add such functionality. Both are not very attractive.
There are just one ‘shutdown’ hook, but it’s called after all the html is done, so your CSS link will be after </html>. Not the right way. You could see such how such method is used in ‘WP-Custom Logo’ plugin ( http://www.wiso.cz/2006/09/21/new-wordpress-plugin-wp-custom-logo-10/ ).
There are also ‘Themed Login and Register’ plugin ( http://www.jameskelly.org/wordpress-plugins/custom-login-and-registration-forms-plugin/ ), but it is also wrong approach: it replaces wp-login and wp-admin code completely. So it ‘doubles’ securiy risk and adds not really necessary code duplication.
In my instance of WP i just added custom stylesheet link in ‘wp-login.php’ and ‘wp-register.php’ pages. Declarations in that stylesheet file overrides standart ‘wp-admin.css’. You coul see it in http://OpFor.spb.ru/wp-login.php (it is localised in Russian, but it doesn’t matter here).
I don’t like that way (to patch WP core files). It would be mutch better if there will be action hook in WP code.
Dear developers! Could you add special hook to html-header code of wp-login.php and wh-register.php? It would be the best solution for login|register pages customization problems. The action hook must be in header code, right after all css (wp-admin.css link and the buil-in style addition).