Fri 19 May 2006
First Public Release of WP BianHuan Plugin Version 0.1.0
Posted by liucougar under BianHuan , ProjectA brand new WordPress Plugin is available for public comsumption now: let me introduce WP BianHuan Plugin. It is designed to be a framework for all sorts of possibilities in regards to the Transformation of the rendered DOM. Currently it provides autolink and link indication features among others. Please see the project page for more details and download.
If you have feedbacks or suggestions please leave comments below.
RSS feed for comments on this post. TrackBack this post
May 19th, 2006 at 4:05 pm
Do I need to copy all files and folders or just bianhuan.php? because there are a lot of files there…
May 19th, 2006 at 4:13 pm
You need all of them: they are TagBianhuan library which BianHuan makes use of.
May 19th, 2006 at 4:18 pm
Looks like it doesnt work only with bianhuan.php, but it all blows apart when I copy the rest of the files, wp-admin shows errors and I cant access even the dashboard…
May 19th, 2006 at 4:27 pm
What\’s your version of WP? And do you copy all the content of the bianhuan folder?
If you can tell me the error message shown in your admin when you copied them all, it would be helpful for me to debug
May 19th, 2006 at 11:26 pm
Interesting… but you seem to be using regular expressions? How are you doing the DOM transformations part? I’ll download and diff it against my latest version. BTW which version did you use to base your plugin?
I’d suggest a name change to make it more “commercial” =)
May 19th, 2006 at 11:55 pm
Yes, regular expression is more powerful. Of course it also supports other methods as well.
As I said in the project page, DOM transforming is based on ezxml from eZ system.
The diff is very large, I changed a lot, really. Besides making use of the new DOM parser, I also split option/manage code into a seperate file.
Hehe, what do you think about the current name?
June 2nd, 2006 at 9:17 am
I would like to know if there are guidelines on how to actually use the functions of this plug in. I was using autolinks until but this looks great, but a bit over my head without guidelines.
How do I change the look of the links? I guess I need to know what the css code would look like for a few different examples and where to place or edit the css code.
Thank you.
What is the ‘regular expression’ link code for? How do I use it?
And why is there a submit changes button as well as a update DB button. I assume both must be pressed every time a change is made?
June 2nd, 2006 at 2:39 pm
have a look at the generated code in this site, and the configuration page, you will have an idea.
as to where to place the css instructions, I edited the css file of the theme currently used. You can also find that out in the source of this website. About the link icons, I downloaded them from: http://www.sw-guide.de/wordpress/link-indication-plugin/
In fact, update DB is enough if you want to commit the changes. OTOH, submit changes only save the changes temporary.
if I have some time, I will probably add more details.
October 3rd, 2006 at 12:56 pm
Hey there.
Tried to activate the plugin, and got the following error:-
[Tue Oct 03 20:13:03 2006] [error] [client 218.208.218.79] PHP Parse error: syntax error, unexpected T_CLONE, expecting T_STRING in /usr/home/myuu/public_html/wordpress/wp-content/plugins/bianhuan/tagbianhuan/lib/ezxml/classes/ezdomnode.php on line 87, referer: http://www.bangsar.net/wordpress/wp-admin/plugin-editor.php?file=wpg2/g2embed.php
Googling doesn’t give any answers, except an indication of some version incompatibility.
October 3rd, 2006 at 12:57 pm
which version of PHP do you use?
October 3rd, 2006 at 1:23 pm
Version 5.1.6 with the following extensions:-
dom
mysql
pcre
session
tokenizer
xml
I just had dom and xml installed thinking that might fix it, but it didn’t work.
October 3rd, 2006 at 1:40 pm
it should work with php 5, but I did not test it
if you can fix it, patch is welcomed
October 3rd, 2006 at 2:41 pm
well, i’m not smart enough for that. :\ but looking at the ez publish website, it seems that their cms has yet to be ported to php5.
perhaps there are other php5 based users who have figured this out. otherwise we might have to wait for ez to come out with new versions of ezxml.
November 30th, 2006 at 10:43 pm
I receive this error as well when I try to activate the plugin. What can I do to fix this?
error: syntax error, unexpected T_CLONE, expecting T_STRING in /home/techdel6/public_html/wp-content/plugins/bianhuan/tagbianhuan/lib/ezxml/classes/ezdomnode.php on line 87
October 18th, 2007 at 3:54 am
I’m using WP 2.3 and unziped the plugin to my plugins folder but when I click “Activate” an error message appears: Plugin could not be activated because it triggered a fatal error.
Any ideas?