Code

Discussion on Web 2.0 Directory plugin for WordPress

Discussion on Web 2.0 Directory plugin for WordPress

Cart 8,094 sales

Shamalli supports this item

Supported

This author's response time can be up to 2 business days.

10956 comments found.

Hi,

I have Ubermenu installed in my site and that seems to b causing some conflict with google map live search feature from front end. If i disable the plugin, everything works fine. I have even tried to hide the header altogether in the Submit listing page but as long s the ubermenu files load, the live search doesnt work. Here are 2 examples:

https://www.dealwithautism.com/autism-directory/arc-autauga-and-western-elmore-counties/

Above, Ubermenu is enabled, check the Get directions field

https://www.dealwithautism.com/submit-a-new-listing/ Here I have hidden the header, but because Ubermenu files still load, it is not working.

Since Ubermenu is among the most popular plugins in CodeCanyon, could you suggest a workaround?

Hello,

I’m not sure about Ubermenu, and why you think the problem is in conflicting with this plugin.

I see there is own inclusion for google maps API, this is from another plugin or your theme.
maps.googleapis.com/maps/api/js?ver=ab818b6f9147fc33f3bef5bb2320a603

It does not have inclusion of needed places library, also in console I see warning message “Google Maps API warning: NoApiKeys”

The best way to fix is to disable this inclusion (that is from another plugin or your theme), so directory plugin will make own inclusion with needed parameters and API keys.

Or you may try to add API keys through another plugin that makes such inclusion or your theme, if it has such option.

If someone signes up for a listing at $5 a year and then next year I change the the rate for the same listing level at $10/year, what is the advertiser who signed up under $5 charged when they renew? The original rate under which they signed up for, or the increased rate?

I do not understand the way you have worded your answer. If I raise the listings rates after they subscribe at a certain rate, will their rate increase upon renewal, or will they renew at the rate that they started out at?

OK, in your words: they will pay same rate all time.

Thank you.

Hello,

i have installed this plugin and trying to configure it however i can’t seem to get the “Submit Listing” function to work, i have added the short-code to a page but its not working.

As i try different short-codes listed on this page i noticed nothing is working

these short-codes are installed on

http://www.nolacamp.org/find-a-mortgage-professional/directory-login/ http://www.nolacamp.org/find-a-mortgage-professional/submit-listing/

Hello, first of all must mention that additional pages with [webdirectory-submit] and [webdirectory-dashboard] shortcodes must not have main directory page with [webdirectory] shortcode as parent.

Make them without parent page. If this will not help – contact me through contact form in my profile.

Hello, we’re getting to know your Web 2.0 Directory plugin. Question about the display of the directory categories for navigation:

1. After having selected a category, is there a link like “All”, to show all listings again?

2. Right now, we’re using a widget to navigate the categories. However, each selection triggers a new page load, instead of executing an intra-page filter (much faster). Is there a better way?

3. Many check the directory on mobile devices. The 1-column layout small screen shows the category list first before getting to the individual entries. For responsive design, Is there a way to have the category selector as a collapsible menu, like it work for websites?

Thanks, Arno

Found a solution: Actually, your plugin appears to manage menus, indirectly. In the MP menu management, you can add W2DC Listing Categories to menus.

So added a menu on top, which automatically responds as a mobile menus on narrow screens. http://bernalbernal.com/directory/

I moved the sidebar categories to the right, for now, as you suggested.

Directory plugin does not manage any menus.

If you can add directory categories into menu – this does not mean that Directory plugin does not manage menus.

Just trying to share a helpful solution. Over 50% of our website visits are now from a mobile device.

Hi. Thanks for creating an amazing plugin! We’re been working through configuring it all, and learning our way around the plugin – it’s coming together.

We have a field in the listing called “contact form email”. This is different to the email address they login into our site with, because we are permitting multiple listings under one login – like in your demo.

What we’re wanting to do is synchronize the email addresses to our mailing list provider via their API. We’ve got the synchronization of users working fine, and we’re happy to write custom code to trigger the synchronization of the listing’s email field too … but I’m hoping you can guide me as to what action we should hook into in your plugin to trigger our code.

I want to trigger our code to run every time a listing is created or edited. I’m just planning to use add_action() to run our code and hook into one of the plugin actions. I found these actions in your plugin:

  • personal_options_update
  • edit_user_profile_update
  • w2dc_listing_creation_front
  • w2dc_create_listing_metaboxes_pre
  • w2dc_edit_listing_metaboxes_post
  • w2dc_listing_process_activate
  • w2dc_listing_creation

Can you tell me which one you would recommend we use to run our code every time a listing is created or edited? Or maybe a different one not on this list?

Thanks. Josh

Hello, you may process w2dc_listing_creation_front action, it passes w2dc_listing object.

Email field value will be
get_post_meta($listing->post->ID, '_content_field_'.ID_OF_EMAIL_FIELD, true);

Great. Thanks. We’ll give that a go.

any way to add multiple listings in one plan i mean user can select a plan which offer 20 listings if not available any plugin suggestion please

i have fixed frontend issues mentioned previously and also in mail that was problem with javascript not php 5.5 compatibility issue if you are interested i can send you change log or modified files

Yes, there is only pay per listing system.

yes, you may send changes to email

is this possible to add this feature or any suggested plugin please

Hello,

I like your plugin, but I have a problem whit the directory url.

There is the Directory: http://www.arteposter.net/galleria-arte-online This is ok, but when I link a listing go in Blog page. What I can to do?

In general setting > Listing slug: galleria-arte-online and Listings permalinks structure: / listing_slug / postname / Thanks

My code is: d5a0f6aa-e024-4f2f-8348-4f9e701f5d67

Thank you, Vincenzo Buquicchio

Hello, did you create any page with [webdirectory] shortcode, as mentioned in installation instructions?

Hello Shamalli, thank you for your answer. I created this page http://www.arteposter.net/galleria-arte-online with this shortcode: [webdirectory-listings perpage=”20” order_by=”post_date” order=”DESC” levels=”1” listings_view_type=”grid” listings_view_grid_columns=”3”] this is a problem?

Thank you, Vincenzo

The problem is that there isn’t any page with [webdirectory] shortcode, as mentioned in installation instructions.

please consider to mention modified files with change log for better user experience,

as for as we can customize plugin by creating new files with-custom extention but we don’t know which files you have modified in update so we are not able to update code from custom files

Thanks for report. The plugin was not adapted for PHP 5.5 yet. You may roll back to PHP 5.4 or set error reporting to higher level in PHP configuration.

any quick fix

can not go back to php 5.4 please provide any quick fix if update regarding these issues is not yet possible thank you

This is with regards to my comment for Submit New Listing.

https://www.dealwithautism.com/autism-directory/

Wordpress username: directorysupport Password: directorysupport

Please ingore this. By mistake posted this to comment. I have deleted this user.

Hi.. The Submit New Listing Feature seems to be breaking my Avada Theme in Firefox and Chrome. In Safari, I see a blank page without any form? Is there anything I am missing. Here is the Directory url.

https://www.dealwithautism.com/autism-directory/

I have shared the wordpress access details as a private message.

Hello, I would recommend to look at errors log file, you may ask you hoster where it places.

Very strange but seems like the submit listing is not working if the All in One SEO Pack Plugin is enabled. If i deactivate the plugin, it works.. I tried to exclude the submit listing page from the All in One SEO Pack Plugin but didnt work. Any idea what might cause the issue?

I did the wrong exclusion. Excluded properly now and all working :-)

In case anyone else is having a problem with 404 pages for any link on the webdirectory page that uses a permalink and can’t seem to find a solution from the comments… :cry:

This was the solution: if you have WPML installed, you need to translate the [webdirectory] page to all languages.

The problem is caused by a bug in w2dc_addRules() in wd2c.php:

public function w2dc_addRules() {
        // adapted for WPML
        global $sitepress;
        if (function_exists('icl_object_id') && $sitepress && ($languages = $sitepress->get_active_languages()) && count($languages) > 1) {
            $rules = array();
            foreach ($languages AS $lang_code=>$lang) {
                if ($this->index_page_id = icl_object_id($this->index_page_id, 'page', false, $lang_code)) {
                    $post = get_post($this->index_page_id);
                    $this->index_page_slug = $post->post_name;
                    $this->listing_page_id = icl_object_id($this->listing_page_id, 'page', false, $lang_code);

                    $rules = $rules + $this->buildRules();
                }
            }
            $this->getIndexPage();
            return $rules;
        } else {
            return $this->buildRules();
        }
    }

Assuming several $languages are active in WPML, the following will happen:

Case 1: [webdirectory] page is not translated yet

Note that the first language in $languages is not necessarily the default language, in which case the if statement will be false (because the page is not translated) and $this->index_page_id will be set to NULL. The following passes of the foreach will also be NULL, since $this->index_page_id passed to icl_object_id() is NULL.

Therefore no rewrite rules will be added and clicking any listing or directory link on the index page will result in a 404 page. This was the case I reported above.

Case 2: [webdirectory] pages are translated for all languages

If the first language, is the default language, all is fine. If however it is not the default language (they are sorted alphabetically by language name), a rewrite rule to the wrong language (i.e. page_id) will be added, and only for one language.

This results in a 404 for the index page in the default language, since WPML in turn will rewrite the page to the default language based on the lang parameter in the request, creating a loop.

This is not exactly as you describe, and the bug is not in this code. But anyway, thank you for researching.

We already have find a workaround and will issue the fix in the next update.

Please do explain where it is not as I describe. This code creates the wrong rewrite rules, and only for one language.

Please confirm that you have tried and cannot reproduce this error using this version of the plugin combined with a standard WPML install.

Please provide a timeline for the fix. The plugin is currently unusable in combination with WPML.

Hello,

1. How can resize images in home page? http://prnt.sc/acs3th

2. How can I remove the image title? http://prnt.sc/acs480

Thank you in advance!

Hello,

1. there is such option “Listing thumbnail logo width (in pixels) in List View” on Pages & Views tab

2. this is possible only by custom CSS

Where and how to edit CSS?

If you need exact custom CSS code to implement this – sorry, we do not provide customizations.

I’m getting the following error on WP 4.4.2 and PHP 5.5.30

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /Library/WebServer/Documents/how2/wp-content/plugins/codecanyon-6463373-web-20-directory-plugin-for-wordpress/addons/w2dc_payments/classes/invoice.php on line 24

Thanks for report. The plugin was not adapted for PHP 5.5 yet. You may roll back to PHP 5.4 or set error reporting to higher level in PHP configuration.

Hi, We’re interested in purchasing your plugin. It’s perfect for our project. One question: Is there a way for the search result listings to be divided by categories (for example: Arizona, Florida, New York, etc)? We’d like results to be under their own category headers. I’ve attached an example: http://maurergraphics.com/wp-content/uploads/MapPresentation_USA2.pdf. Thanks in advance.

Unfortunately, there isn’t such functionality.

Hi,

in the sidebar search widget, the keywords option…why can’t i search any of the tags i loaded onto my listing there? If I type in one of the tags I added into the keyword search it gives me 0 results and i know for a fact there are at least 3 listings with that same tag.

Hello, directory search is based on native WordPress search, it does not search in tags. If you wish to search in custom taxonomies, like directory tags – you need to install this plugin https://wordpress.org/plugins/search-everything/

Love the product! Our client has asked us if we can have a different map marker depending on the user that has left a review. So, if it’s our ‘expert’ user, they will get a gold star but normal users just get a red one, for example. Thanks!

Unfortunately, there isn’t such functionality.

If i have 3 listing levels but want to hide one from the main page where you can see the 3 main listing levels is this possible. Thanks

Hello, I understand you absolutely correctly and provided the only way to use [webdirectory-listings levels=”IDS_YOU_NEED”] shortcode

on another page you may place [webdirectory-listings levels=”ANOTHER_IDS_YOU_NEED”]

The page with [webdirectory] shortcode still required.

Doing that just gives me “Found 0 listings”, when my shortcode on that page is [webdirectory-listings levels=”ID1,ID2,ID3”]

ID1, ID2, ID3 – are just examples, it must be real IDs of needed levels. Look at DIrectory Admin -> listing levels table.

levels – comma separated string of levels IDs. Here you may filter which listings to display by its levels.

http://www.salephpscripts.com/wordpress_directory/demo/shortcodes/

Hi, I would like to know what is the possibility to ad Sout African Rand (ZAR) to the currentcy list? Is there a way I can do it in the code?

Never mind, I found where to add the currency, but now I get these error:

Warning: Cannot modify header information – headers already sent by (output started at /home/peridemo/public_html/specserv2/wp-content/plugins/codecanyon-6463373-web-20-directory-plugin-for-wordpress/addons/w2dc_payments/w2dc_payments.php:1) in /home/peridemo/public_html/specserv2/wp-admin/post.php on line 197

Warning: Cannot modify header information – headers already sent by (output started at /home/peridemo/public_html/specserv2/wp-content/plugins/codecanyon-6463373-web-20-directory-plugin-for-wordpress/addons/w2dc_payments/w2dc_payments.php:1) in /home/peridemo/public_html/specserv2/wp-includes/pluggable.php on line 1228

And I cant access my Media Library…

If you are trying to modify any files – save them in UTF8 charset

Hello

I can not have map icon customize your w2dc file / resources / images / map_icons / icons google map I do not see how to select the map icon .I a purple .I made ??FTP as in your document but nothing works. Help me !

Hello, from the documentation: Custom markers on google map – whether listings of this level may own custom marker icons on the map. http://www.salephpscripts.com/wordpress_directory/demo/documentation/#listings_levels

You have to enable this option in each listings level.

Hi Shamalli

Did you have some time to look at my problem with WPML? I have messaged you all logins to check via envato message system

Thanks 4 support EXCON

done :-)

The problem was that both translations of pages ‘Classified Listing’ with [webdirectory-listing] were as draft.

OMG im sorry to waste your time on this…. so sorry

thanks for such awesome support

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey