http://www.siouxfallsbusinessnews.com/
Under the Local Sioux Falls Businesses I have the Biz Directory and it will not display any of the phone numbers.
http://www.siouxfallsbusinessnews.com/
Under the Local Sioux Falls Businesses I have the Biz Directory and it will not display any of the phone numbers.
I seem to be having a similar issue with version 0.8.5 Beta. Only the Orgs and the websites links are showing up. The email addresses and the phone numbers no longer show up on the BizDir page.
Is anyone else having the same issue? I sent an update to the developers; we'll see what shakes out.
I have the same problem. I am using WP 2.9.2 and the latest version of Biz Dir (0.8.5). My directory only shows the company name and the discription - no contact number or email address.
http://redbournbusinesscommunity.co.uk/directory-listing/
Anyone got any ideas?
Nafink - your directory appears to be working or have you just listed them manually?
G
I have the same problem, hopefully there will be a fix soon.
I am not getting the address showing which is quite key for this plugin to be of value to me. I have users who are looking for directory entries based on location so if the location is not shown its pretty much of no value.
Hope the developers fix these small issues. They have done some good work so far, would like to see it get release fit.
I have the same problem and have mailed a couple of times. No answer, so lets hope they are OK and busy working on it.
I am also having the same issues with the 0.8.5 beta - phone numbers and addresses are not showing up.
I am also having this issue and have contacted Square Compass, am awaiting a reply which I hope will come soon as this is urgent for me.
fantastic - everyone, please keep the thread informed if you hear of any response.
I am also having a problem with the contact info not showing up on the listings -- it is currently working as a 'link exchange' only. Thanks for the plug-in. It has worked on other sites I've used it on, just not this one with the most updated version of WordPress. Looking forward to an update. :-)
--Heidi
Someone posted a hotfix at http://gist.github.com/281865 :-D I am VERY happy!
Thank you everdawn!
What a pain it was trying to figure that out. The hotfix for the functions.php file at http://gist.github.com/281865
worked perfectly. For others using this extract for the functions.php file, note that the cut and paste instructions mean for you to KEEP the lines above
// CUT FROM HERE (around line #250)
and below
// TO HERE (about line #258)
and put the replacement code in between those lines that you are keeping.
The hotfix isn't working on my site, running latest version of WP and a StudioPress theme. Plug-in has great potential but right now it's just a link maker.
Could you copy the whole function code with the hot fix here? Thank you.
I get this error with the fix if this helps anyone.
Parse error: syntax error, unexpected $end in /home/HIDDEN/public_html/DOMAINAMEGOESHERE.net/wp-content/plugins/business-directory/functions.php on line 809
It's easy to get a character wrong (like your $ error) when cutting and pasting. So I am including a section that might be easier to copy and paste. It was in this section that I made the hotfix changes described above. I include everything between the commented title for the Listing section, down to the next commented title. You can search for
* Listing/Searching Functions
and
* Managing Functions
in your file to perhaps more easily find a section to cut out and replace with the code I have below.
NOTE THAT I AM USING THESE MODIFICATIONS TO Version 0.8.6.1 Beta of Business Directory and the section below needs to go into wp-content/plugins/business-directory/functions.php
[ pasting code here doesn't work; see my next post ]
I did not want to fix the code I tried to enter so I created a text file.
Look at/use this instead: http://www.dawg-demo.com/dawg-design/functionsFix.txt
It's a plain text file.
Thanks artsmo! Your fix helped me a great deal!
starvinartist,
I am happy to hear that.
Lynn (arstmo)
It didn't work for me. :( Made my whole site disappear but I thank you for posting what you did!
Cynderella,
I said in a previous post:
I AM USING THESE MODIFICATIONS TO Version 0.8.6.1 Beta of Business Directory (http://wordpress.org/extend/plugins/business-directory/). NOt sure if you are using the same version or are using 0.8.5?
I also see a line with double slashes in your source code:
<script type='text/javascript' src='http://businessdirectorylistings.net/wp-content/plugins/business-directory//main.js?ver=3.0.1'></script>
I can still read the file in Firefox and Safari, but I really don't know if all browsers/servers are as forgiving?? Might not be relevant, but just something I noticed.
I also tried to read your Business Directory plugin config file, but got this error message:
Fatal error: Call to undefined function get_option() in /home/bestva/public_html/businessdirectorylistings.net/wp-content/plugins/business-directory/config.php on line 5
Wish I could be helful here. All I did was take the hotfix (http://gist.github.com/281865) referred to above by everdawn and make that snippet easier to use w/o having to hunt through code and risk pasting errors. I do see on another thread that someone suggests just fixing a variable in the 0.8.5 functions.php file to handle an array:
----
from a comment about 0.8.5 beta on http://businessdirectory.squarecompass.com/2010/new-version-released-v08-5beta/:
The issue people are having with phone numbers and other contacts not showing is a BUG in the way the fields are referenced.
The 0.8.5beta is using $l->company_url format which is not correct as the $l is an array, not an object.
$l["company_url"] is the correct format. Lines 251 – 256 of Functions.php is where this code needs to be changed.
-----
It has been a while since I worked with this plugin and I don't have time now to mess with comparisons between 0.8.5 and 0.8.6.1, but maybe IF YOU ARE USING 0.8.5 the change from $l->company_url $l["company_url"] will help you ? ? I'd just be sure to backup the functions.php file before messing with it.
I have the same version you do but I'll check out what you found. You're a doll, thank you!
Thanks a million Lynn.It worked like a charm.
I also added (for displaying address)
if(!empty($l["company_phone"]))
$directory .= "<li><strong>Address:</strong> ".@$l["company_street1"].@$l["company_street2"] .@$l["company_city"]."</li>";
This is looking great. Will post the ink after i tweak with the css. The font sizes displayed are vague for e.g the name of company is small while the address and the website, email details are in bigger font.
Thanks again.
Thanks to Everdawn for the original hotfix.
Thanks you this works great except how would I get a space between the address and the city?
also any idea how to get an image in the directory?
Thanks
This topic has been closed to new replies.