I just finished up my first plugin for b2evolution. It adds the Google Analytics tracker code to the <head> section of your blog. Simple really, but there's some quirkiness to b2evo's plugin system I wasn't thrilled with. I'll save that rant for another post. If you're using the latest version of b2evo and use Google Analytics, feel free to use my plugin to add it to your skin instead of hacking the skin.
7 comments
I've downloaded the plugin, uploaded and unpacked it through Cpanel. It's showing in the list of files in the plugins folder. But I don't find it anywhere in the pluging in the Admin interface. We're running 1.10.3, the most recent stable release at the time the blog was born. I hesitate to attempt an upgrade because of possible loss of customization. Does this plugin work with 1.10.3? If not, do you know of one that does?
Hey Karen, I haven't tried it with 1.10.x so I'm not really sure. Looking at the docs for the Plugin class, it might, but then I don't know if the PluginSettings class stayed the same.
Is it SUPPOSED to show up in the list of available plugins?
Yes - it should be there. If it's not then I'd take that as the first clue it doesn't work in 1.10.x ;-D
Hi! Just one note: with b2evolution now being able to serve subdomains or various domains, it's needed that the plugin can set a different ID for each blog!
Thanks for the plugin, it's just what I was looking for! I did have one small problem that the plugin would not show up to be installed until I added an underscore in front of the name. Then it worked without a problem. I'm currently using 2.4.1
