Boing!
Things that 've been said
MaSOn: file poli kali doulia .Den ime sinithismenos na xrisimopio wp alla ta themes sou...
Expressed on 1st of Nov 2007
Manali: what new sowftware should be indroduced in the ipod?
Expressed on 7th of Mar 2007
Rebecca: Cool blog, interesting information... Keep it UP »
Expressed on 1st of Mar 2007
Daniel2: i meant 3.000
Expressed on 23rd of Feb 2007
Daniel2: DANG! you sure doing a good effort, bloody 30,000 pounds!? this i dont see...
Expressed on 23rd of Feb 2007
Stories from the Past

Just working on this plugin. I get this message on the manage>definitions page in the admin:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/.milkyheater/poffutt/paulaoffutt.com/blog/wp-admin/definitions.php on line 28
The page finishes loading and there are places to add in a word (RSS). I tried that but it didn’t appear in the list.
So I made up a post and used the word there, got this error:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/.milkyheater/poffutt/paulaoffutt.com/blog/wp-content/plugins/wp-Define.php on line 15
What can I do to fix this?
test post: http://paulaoffutt.com/blog/archives/2005/09/26/playing/
September 27th, 2005 at 6:17 amHm, Thats strange, make sure you have the table ‘wp_Definitions’ on your db! It seems that the plugin can’t read from that table!
September 27th, 2005 at 6:25 amNo, that table is not there. What do I need to do to add it? And was I supposed to have already added it?
The definitions.php is in the wp-admin.
The wp-Define is in the plugins folder.
Does it make a difference that my wordpress is in paulaoffutt.com/blog/ vs paulaoffutt.com? I’ve had a couple of plugins where I’ve had to dig through and fix that.
September 27th, 2005 at 6:53 amThe plugin automaticaly creates the table when you activate the plugin! Try again to activate it and check if the table is created. Here’s the structure of that table in case you need to create it manualy
September 27th, 2005 at 7:08 amI tried the deactivate/activate route but nope.
When I tried doing the ‘SQL Query’ route, I get a syntax error. So I input it by creating the table by line and left the Default blank.
And it worked! Phew!
I seem to use a lot of “alphabet soup” and this will cut down on the tedious acronym titles.
September 27th, 2005 at 8:04 amNice, am glad you got that working! Keep up bloging (:
September 27th, 2005 at 12:59 pm[…] Plugin Site: http://www.zerohex.org/?page_id=35 […]
October 12th, 2005 at 3:48 am[…] 一直在找能在blog里自定义链接的插件,今天在Sunbean的blog看到了介绍。该插件的主页在这里:http://www.zerohex.org/?page_id=35。 该插件的安装十分简单,现在试试看它能不能正常工作。 测试一下:wordpress […]
October 20th, 2005 at 7:00 pmhi Marios Tziortzis,
Remember me?:)
i have one more advice for your wp-define:
if the one “defined” word appear many time in one post ,then wp-define will show the same defined words all time, for example,if i define “LCD”,and my post appear “LCD” 10 times,and these 10 “LCD” words will all show define style;BUT,i wish just show the first “LCD”.
for my poor PHP skill,i try replace ereg_replace to preg_replace,because preg_replace have this limited fuction,but no succeed…..
so i wish uyou can tell how can do this?thank u.
October 20th, 2005 at 11:35 pmok i know how to…….
change
$intext= ereg_replace(”/$dtd->name/”,”definition”>”.($dtd->name).”“,$intext);
to
$intext= preg_replace(”/$dtd->name/”,”definition”>”.($dtd->name).”“,$intext,1);
October 21st, 2005 at 12:33 amHey, glad you work that out! It’s also nice to hear that people are actually using my stuff (:
October 21st, 2005 at 1:16 amHi.
Found a little problem (Maybe it is one.)
I use SH-Autolink (http://www.rockschtar.de/wp-plugin-sh-autolink/) and Dynamic Text Replace (http://www.coffee2code.com/wp-plugins/) plugins for WP and SH-Autolink replaces the word “WoW” for example with the link to the World of Warcraft website. But I defined “WoW” as “World of Warcraft MMORPG” in WP-Define. The link will be shown from SH-Autolink, but the definition doesn’t pop up.
Any ideas? Same with Dynamic Text Replace by the way.
Bye
November 18th, 2005 at 4:32 pmMichael
Hello Michael,
November 18th, 2005 at 4:46 pmThe SH-Autolink plugin maybe replacing the string ‘wow’ with the link to wow’s website and this overwrites wp-define’s properties. You can’t use both of them at the same time!
Me again, made alittle enhancement for my site, maybe you could use it too.
In my main CSS i added:
a.define {
border-bottom: 1px dashed #FFF;
cursor: help;
color: #FFF;
}
In wp-Define.php I changed:
$intext= eregi_replace(” $dtd->name”,” definition”>”.strtoupper($dtd->name).”“,$intext);
to
$intext= eregi_replace(” $dtd->name”,” definition”>(”.$dtd->name.”)“,$intext);
At the moment, I try to find out, how I supress the underline from my a:hover CSS definition when I mouseover a definition. Like it is here. ^^
Bye Michael
November 18th, 2005 at 4:54 pmUah, me is a stupid boy for now.
Correctly it must be:
$intext= eregi_replace(” $dtd->name”,” definition”>”.strtoupper($dtd->name).”“,$intext);
replaced with
$intext= eregi_replace(” $dtd->name”,” definition”>(”.$dtd->name.”)“,$intext);
^^
And well, maybe I find a way to get wp-Define work with SH-Autolink.
November 18th, 2005 at 4:56 pmjust add to your css:
November 18th, 2005 at 4:57 pmtext-decoration: none;Uargh, looks like WP eats up the correkt styledefs, because its HTML. Sorry for doublepost. (-_-)’
This is the line I replaced the original with: Now with correct HTML char encoding.
$intext= eregi_replace(” $dtd->name”,” <a class=”define” title=”$dtd->definition”>(”.$dtd->name.”)</a>”,$intext);
Sorry for doubleposting again. (-_-)’
November 18th, 2005 at 4:59 pmLooks like I found the reason. Now I can make my brain smoking for the solution to get SH-Autolink working together with WP-Define.
SH-autolink uses the add_filter priority command.
add_filter(’the_content’, ’shautolink’, 1);
WP-define doesn’t
add_filter(’the_content’, ‘redefine’);
So, I have to change prioritys an work around the preg-replace that SH-Autolink uses. ^^ NARF and I’m a PHP newbie. I hate days like today.
Bye
November 18th, 2005 at 5:15 pmMichael
Good luck then, may the Force be with you! (:
November 18th, 2005 at 9:29 pmHi, great plugin. But I have a question.
Im using PreFormatted plugin -> http://vapourtrails.ca/wp-preformatted
It saves formatted versions of posts & comments to the database so that they are not formatted with every page view.
And when the plugin “PreFormatted” is activated the “wp-Define” dones not work.
Is there a way to use both ot the plugins and they work good?
Thanks
January 25th, 2006 at 2:42 pmHi,
January 28th, 2006 at 5:56 amgood plug in, but I have a problem actually a glitch… What happens is with any already created tag like were ever the word that is supposed to be defined is in the tag it still puts the abbr. So it kills the tiles and everything so is there a way for it to ignore already made tags ? Thanks…
Hey Joe,
Sorry but currently it doesnt support such features. A mod might do the trick but currently am out of ideas \:
Hey Pepe,
January 28th, 2006 at 2:42 pmThe plugin you are using most probably ignore my plugin since my script looks for unformatted text to replace. I don’t know exactly the functionality of your PreFormatted plugin but from what you’ve set thats what i understood.
O.K then any hacks or is there a way for it to ignore the tag only ? Thanks.
January 29th, 2006 at 5:01 amHi its perfect plugin. Bu if a write a bulgarian word in cyrillic the difinitions are not executed. Noting shown…
Im using this encoding:
Some help…
February 2nd, 2006 at 6:00 pmThe encoding:
charset=windows-1251″
February 2nd, 2006 at 8:24 pmHi I use another plugin called : FancyTooltips and when I put the mouse over the defined word (e.g. PHP) it shows a link called null how can I get rid of that ? Thanks…
February 3rd, 2006 at 4:12 amIt didn’t work with WP 2
Can you fix it?
February 18th, 2006 at 6:01 pmFixed it ! My moded version uses <abbr> now not <a href rel=”nofollow”> and it works well. That may be better then <a href rel=”nofollow”> but any way, good plugin…
February 20th, 2006 at 12:19 amJoe: yeah indeed <abbr> is a better method.
allmoney.ws: am currently moving to wp 2.0.1 When everyhting is set up i will have the wp2 version of the plugin ready
Greg: i really dont know why its not working on your charset. try using utf though. that might help
February 26th, 2006 at 3:27 amconcerning this neat plugin for WordPress 2.0.x, can i just add my email here and request an update when completed?!
jamjammo *at* g m a i l . c o m
thanks.
March 5th, 2006 at 3:20 amand it looks like an amazing plugin by all the above comments!
keep up the good work!
Is would be cool and good if the plugin looked for what do define with case too like :
March 11th, 2006 at 2:02 amAIM alone and in caps would have the added tag but
aim would not because if the defining word is in another word then it gets the abbr tag and that causes problems. But that may be just me.
Hi there,
June 17th, 2006 at 9:52 amI changed the tag abbr to acronym and it wors for me withIE now too.
Thanks for that nice plugin.
Karl-Heinz
Nice resource, very interesting reading… Good luck with your site in the future!!! May be you like my sites?
August 18th, 2006 at 3:44 amGood site !!! Interesting content!!! What do you think about my sites?
August 19th, 2006 at 7:35 amFantastic website… Good resources for learning, easy to follow… Keep up the good work!!! Make your opinion about my resources
August 19th, 2006 at 1:41 pmGruezi, Super Site betreibt Ihr hier!!! Das kann sich wirklich sehen lassen…
August 27th, 2006 at 1:51 pmI just like to say that your website is absoulutely brilliant!!! Do you think my sites too brilliant
?
August 27th, 2006 at 4:10 pmFantastic website… Good resources for learning, easy to follow… Keep up the good work!!! Make your opinion about my resources
September 8th, 2006 at 6:43 amGood site - you’re a pretty good writer….. Very creative…
October 6th, 2006 at 7:06 amGruezi, Super Site betreibt Ihr hier!!! Das kann sich wirklich sehen lassen…
October 12th, 2006 at 2:11 amVery creative… May be you make new design for my sites?
October 21st, 2006 at 10:07 amI will recomend this site… Excelent work!!! May I use your palette at my site?
October 21st, 2006 at 12:06 pmWhere did you find this guestbook by the way??? I’d like to have one like this on one of my sites!!!
October 21st, 2006 at 8:08 pmThis site truly amazing!!! I think my sites too.
October 23rd, 2006 at 10:09 amHi!!! Excellent resource you’ve got here!!! Will definately be back!!!
October 24th, 2006 at 4:07 amGreat and cool website !!! Keep it up… Best regards… Visit my sites
October 24th, 2006 at 8:08 amHi there!!! Signing your site… not bad at all!!! Simply and great!!! I wanna know your opinion about my
October 24th, 2006 at 10:07 amHi!!! Very nice design, by the way!!! I think … What do you think about my?
October 24th, 2006 at 12:09 pmGood job, here and there!!! Keep it up, I like your guestbook!!! Please add your comments at my
October 25th, 2006 at 8:12 amI suggest you take a look at the signup script…
November 16th, 2006 at 10:30 amNice plugin but after adding it to Wordpres 2.1 and clicking on the Definitions table under the Mangement sectin I receive the message “hmm..you are NOT an Admin!” on a white page.
February 14th, 2007 at 12:32 pm