• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

[SurreyForum] XenKingDir: Link / Business Directory (Directory)

Status
Not open for further replies.
yes, it will now.

I use the following when within install.php:

Code:
    public static function tableExists($db, $tableName)
    {
      if ($db->query('SELECT table_name FROM information_schema.tables where table_name = "'.$tableName.'"'))
        {
            return true;
        }
        return false;
    }

So that if the table "sf_xenkingdir_directory_node" exists, it knows it's an upgrade and doesn't insert the default data (keeping your existing modified directory catagories)
 
Cool. Will upgrade and then see if I can reenable it on our site. Once we get a bit of cash again, I'll make a proper donation :)
 
the google maps feature will actually use the xf maps feature? or is it hardcoded to google?

Do you mean the user profile link to google maps, can you give an example of what you mean by "xf maps feature"?

It's possibly functionality that I dont know about, since I don't know what you mean by "xf maps feature" but from what I've seen, the user profile only links to the map "http://maps.google.com/maps?q="+<Location Params>
 
You can change the text "Business Name" by updating the phrase: business_name

Go to the ACP >> Appearance >> Phrases

then update the phrase "business_name"

This is also true for many of the other phrases used:

XF_Phrase : Text
address_line_1 : Address Line 1
address_line_2 : Address Line 2
add_listing: Add Listing
business_name : Business Name
contact_this_business : Contact This Business
create_listing : Create Listing
etc...

Perfect :) Thank you for the instructions. I think I can make this work for me now!
 
Do you mean the user profile link to google maps, can you give an example of what you mean by "xf maps feature"?

It's possibly functionality that I dont know about, since I don't know what you mean by "xf maps feature" but from what I've seen, the user profile only links to the map "http://maps.google.com/maps?q="+<Location Params>
google maps is the default admincp option, although others can be used, such as wow, secondlife, whereis, etc. i havent seen an addon yet that didnt hardcode google rather than simply using the acp external service provider option.
Home > Options > External Service Providers
 
Got this error when making a new directory post. Running 1.1 beta 3 and the latest release of this add on.
Screen shot 2011-10-19 at 10.35.49 AM.webp
 
I tested updating a listing, but not creating a new one... that's what happens when you rush out a fix for a new version

Fixed: XenKingDir_v1.0.8.zip
 
Hi dude,

The upgrade worked, but now the google map is not showing up on listings. I am running beta3.

Thanks.
 
Hi dude,

The upgrade worked, but now the google map is not showing up on listings. I am running beta3.

Thanks.

Can you show me a link so I can see what's going on, I've tried this in beta 3 and it seems to work fine

Edit:
Ah, I know what it is. The google map is turned off by default.
Go into the acp >> options >>
[SurreyForum] XenKingDir

and tick the option to "Allow Google Map"
 
It looks like you took away the line to add a phone number on a directory entry. How can I add that back?
 
Status
Not open for further replies.
Back
Top Bottom