foo bar
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Send image to editor in Opera 9this is resolved
Forum: Fixing WordPress
In reply to: Send image to editor in Opera 9Forum: Fixing WordPress
In reply to: Send image to editor in Opera 9I will post a bugreport in trac.
Forum: Plugins
In reply to: Custom Permalink structureOkay, the solution was more or less my own stupidity. You don’t get the variables like you might expect in $_POST, $_GET or $_REQUEST. You have to include them as a global.
For the example I started out with it would be
function xyz()
{
global $gallery;//...
}And also sargant was completly right – don’t forget that!
Forum: Everything else WordPress
In reply to: Problems running SingaporeCheck back now. there is a plugin for it now.
Or check herE:
http://www.hackius.de/niels/index.php/sgwp03/geschrieben-am-08-10-2006/bevorzugte_sprache/enForum: Plugins
In reply to: Custom Permalink structureYou do this because you combine two arrays, rather than two strings kategasis.
And thank you qrof..I will read this and if it helps I will post a solution.
Forum: Plugins
In reply to: Custom Permalink structureNo ideas? :-[
Forum: Plugins
In reply to: [help] sink plugin hooks for $this references in WordPress 2.0 ?..well okay its kind of a solution.
The simple answer: The codex is wrong in this matter. You are actually suppossed to use register_activation_hook(__FILE__,$function) on this. Whereas $function can’t be the array(&$reference, $functionname) a reference to a class-variable. The solution to still sink $this in this hook is to call it in the constructor like this:
register_activation_hook(__FILE__,array(&$this,$functionname))Its not like it is described and like this wasn’t enough. IN 2.0 there are also errors in the register_activation_hook-function or at least in the plugin_basename-function which it uses.
So instead of register_activation_hook you will need to use
add_action("activate_{pluginname}",$function)And in case {pluginname} isn’t a plugin which is straight in the pluginfolder this is an example of usage:
FOLDEROFYOURPLUGIN/plugin.phpbe aware of the normal slash.Forum: Plugins
In reply to: [help] sink plugin hooks for $this references in WordPress 2.0 ?okay..it got solved on the mailing list. Anyone interessted in the solution should check here:
http://comox.textdrive.com/pipermail/wp-hackers/2006-January/004032.htmlForum: Your WordPress
In reply to: Music BlogsHow is this a support-issue?
Forum: Themes and Templates
In reply to: language declarationpuhh.. I think you have to do this in the wordpress index.php – right?
You should also check here:
http://codex.ww.wp.xz.cn/Installing_WordPress_in_Your_Language
and maybe here:
http://codex.ww.wp.xz.cn/WordPress_in_Your_Language#HebrewForum: Plugins
In reply to: [help] How to add one of the menus to the “Write Post”-PageHmm, thank you Viper, but “I don’t know” wasn’t exactly the answer I was looking for.
Forum: Plugins
In reply to: [help] sink plugin hooks for $this references in WordPress 2.0 ?‘add_action(‘activate_samba’,array(&$lbnh_installer_reference,”installer”));’
appears to work too, nice. However this doesn’t solve my problem at all.
the activate_{pluginname} action hook is described here:http://codex.ww.wp.xz.cn/Creating_Tables_with_Plugins#Calling_the_function
Thanks for the help.
Forum: Requests and Feedback
In reply to: codex … error 500no, because I am trying to create a plugin for wordpress 2
Forum: Requests and Feedback
In reply to: codex … error 500The codex appears to be pretty slow thats very true. Maybe there could be a torrent and inside of it a pdf-file with the whole codex?
Would be cool.