Wimsito
Forum Replies Created
-
Forum: Alpha/Beta/RC
In reply to: 3.0b1 custom post types and javascriptHello,
As far as I can see their is no clean way in 3.0b1 of doing this, but I’m not really a plugin/wordpress expert nor do I develop much.. Probably a more experienced developer could come up with a cleaner solution, but untill then you could use this :
Around the same line where you call the admin init hook you do
add_action("admin_enqueue_scripts",array(&$this,"testaddjs"));
(I’m assuming you’re using a plugin with class here)
In your pluginclass you put the function
function testaddjs($hook_suffix) { global $typenow; if ($typenow=="songtekst") { echo "<script src='../wp-content/plugins/test.js' type='text/javascript'></script>"; } }
where “songtekst” is your custom taxonomy’s slug. (for reference, hook_suffix is the page called, like post-new.php, and typenow is the post_type parameter in the url.
Good luck!
Edit : Interesting links :
3.0b1 /wp-admin/admin.php in svn
admin_enqueue_scripts as a 2.9 hook
add_action in the Codex Function ReferenceForum: Fixing WordPress
In reply to: WordPress 2.7 Visual Editor has Vanished on some PostsDowngrading to 2.6.5 might be a good temporary option.. The problem with my case is that I have made some modifications to wordpress to make a kind-of-bridge with PHPBB.
Forum: Fixing WordPress
In reply to: WordPress 2.7 Visual Editor has Vanished on some PostsI quite tried every thing listed here, but none of them worked. disabeling plugins, clearing cache… anyone other ideas?
Forum: Plugins
In reply to: Login to wordpress outside wordpressI found the solution : If you include wp-blog-header.php you can call wp_singon.php (see wiki for information)
Forum: Plugins
In reply to: share userlist between WP and phpBB?Hello,
I’m sorry for bumping this topic, but I’m in need of a bridge-like thing between PHPBB and WP. As stated above, WP-united is dead, and google woudn’t give me any usefull results, but I wonder if anyone has code for sharing the userlist, or even a complete bridge.
Thanks for your time,
Wim