-
Website
http://www.dreinavarro.com/blog -
Original page
http://www.dreinavarro.com/blog/06272009/custom-yahoo-status-wpwidget/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
dreinavarro
3 comments · 1 points
-
jmvf
1 comment · 1 points
-
crigor
1 comment · 1 points
-
-
Popular Threads
in the installation notes its being instructed to copy to a folder named 'YmStatusPlugin'.alright, but if we are installing using WP's internal plugin installer, it fetch the plugin from the wp site and installs automatically, most importantly it cretaed the plugin folder name by slugging the plugin name. So in ur case the folder will be named as 'yahoo-messenger-status-plugin' instead of 'YmStatusPlugin'.
In the 'ym_status_settings.phtml' file lines 24 & 25 the hardcoded folder nam produces error.
another one is regarding the directory separator used allover the code.
'/' is for *nix and '\' is for Win platforms. So in Windows installations the code throws an error in 'ym_status.php'.
I fixed it by replacing all occurance of '/' with DIRECTORY_SEPARATOR.
for example
require(Y_STATUS_BASE_DIR. '/YmStatus.php');
becomes
require(Y_STATUS_BASE_DIR. DIRECTORY_SEPARATOR . 'YmStatus.php');
thats it. :)