Code

Discussion on Web 2.0 Directory plugin for WordPress

Discussion on Web 2.0 Directory plugin for WordPress

Cart 8,093 sales

Shamalli supports this item

Supported

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

10956 comments found.

Hello

I have a compatibility issue with wpDiscuz plugin (replaces WP core comments). I found out that this is because (comments_open($post) || $post->comment_count) returns false on a listing page in the following code:

public function isLoadWpdiscuz($post) { if (!$post || !is_object($post) || (is_front_page() && !$this->optionsSerialized->isEnableOnHome)) { return false; } $form = $this->wpdiscuzForm->getForm($post->ID); return $form->getFormID() && (comments_open($post) || $post->comment_count) && is_singular() && post_type_supports($post->post_type, 'comments'); }

Why is it so? wpDiscuz plugin perfectly works with other post types…

Thanks (in particular for any fix ;)

OK, I got it. The code I refered to in my first message is executed outside the loop you are mentioning. And some other wpDiscuz code is too.

I will try to hack this code. What would be the most simple code allowing me to determine:

1- If I am on a single listing page

2- What is the post ID of this listing (or having a $listing variable equivalent to $post for the listing)

Thanks

You can use w2dc_is_listing() function, it returns actual listing object on success.

Then $listing->post->ID value

Thank you. For anyone interested, I was able to have wpDiscuz work with Web 2.0 Directory by adding the following to the functions.php of my WP theme:

function wpdiscuz_frontEndStylesScripts() { global $wpdiscuz, $post; // If we are on a single listing page, make $post temporary point to listing if ( $listing = w2dc_is_listing() ) { $post_identifier = $post; $post = $listing->post; $wpdiscuz->frontEndStylesScripts(); $post = $post_identifier; } else { $wpdiscuz->frontEndStylesScripts(); } } remove_action( 'wp_enqueue_scripts', array( &$wpdiscuz, 'frontEndStylesScripts' ) ); add_action( 'wp_enqueue_scripts', 'wpdiscuz_frontEndStylesScripts' );

Also, using wpDiscuz [wpdrating] shortcode and Directory w2dc_listing_title_html hook, you can add wpDiscuz average rating (with stars) on listing page.

Finally, so that average rating also appears on listings archive page, you should add the post ID of your post holding the [webdirectory] shortcode to the following option in your wpDiscuz form: Display comment form for post IDs

A bit tricky sometimes, but not that complicated all in all!

In the Backend, on the WP Plugins page, when you click “security check” the url links to a 404 page https://wpvulndb.com/plugins/codecanyon-6463373-web-20-directory-plugin-for-wordpress Maybe you can fix that in one of the next updates.

Sure, but how is it related to our plugin? There isn’t such option in the directory plugin.

Hello

Is there a shortcode to display all listings on the page seems our load more button does not work http://demo.ipage.se/anslutna/

Best regards

Peter

Hello, you can manage number of visible listings on the page in directory settings.

As I see sometimes it works fine. I’d recommend to look into php errors log file to find any related error messages.

I have a small question for you. I currently have several clients still under trial listings however I dont want any new trial listings. How can I turn this feature off so that new visitors cant see it but the current tril listings dont get lost.

Yes the free listings, i want to remove this from allowing any more free listings but i still have people on this for a few months. If i delete the free listing level will it delete all the listings that are still on this level?

Yes, but you can move these listings to another level before delete.

ok no worries.

I am interested in an eCommerce theme that is multi vendor compatible, and using the theme as a Classified Ads portal as well, and the author told me that I need to install a a Wordpress classified ads plugin to be able to accomplish what I want. Will your plugin be able to do what I want?

I want all my site visitors to be able to submit and post classified ads, but I want to make sure it can be done with this specific theme I am interested in because I love the layout of the theme. It is an eCommerce theme, so right now site visitors cannot post and submit ads.

I will email you now

It is possible for site visitors to be able to submit and post classified ads.

Unfortunately we did not test this theme with our plugin and can not say what is possible to change in the layout.

I want to report some weirdness on this new site. If I have a child page under the listings page, the child page will not render; it just shows the parent page. I removed the child page and made it’s own parent and the content renders.

Simply do not use child pages for listings pages.

Hi. Is there a way to set location based categories? For example, when someone goes to a category list, he will only see listings posted from that area and not all the listings posted from all locations in categories.

Hello, no, there is no way.

Thanks for the recent update. Question about listing tags. On my other site, if you click one of the listing tags, it will sort all listings with that particular tag. My new site does not do that and I cannot figure out what to toggle that. Also, for both sites, when I click a tag, it generates a page with a world map at the top, a section below with all categories, and then the sort below. How do I hide the map and the total listings and just populate listings with the tags only?

Do you have 2 licenses for these both sites?

I have purchased two licenses, one for each site. Where do I assign those licenses to each domain?

Brand new website install with latest version of WP & Web 2.0.

When user tries to submit from front end, they get an error:

SyntaxError: Unexpected Token <

Screenshot here: https://cl.ly/0X1g440Y0Z0O

They can submit listing only without images.

Users used to be able to upload images. Do I now need to change my default new user permissions? Wont this give them access to more than I want them to see via the WP dashboard??

Would appreciate your help. My friend is having the same problem on her website. Have checked plugin conflicts and host also cannot see issue.

Just tested on your site – works quite fine for me in all browsers.

By the way, looks like it is not the latest version of the plugin.

The image shows up in the back end (even when I get the error) but I cannot move past the upload stage unless I do it without images. :\

I can see your images worked ok, but I still get the error message.

I also get it on this website: www.swsydneymums.com.au – can you try this one?

Do you have 2 licenses for these both sites?

I removed “city” from locations and when i added it back, it no longer appears on the listing form. I am trying to use this plugin for a local directory and want to know if its possible to default to a state and city and not let users change that?

You can fill in “Default country/state for correct geocoding” field on Maps & Addresses settings tab for such purpose.

Your support has expired. We would recommend you to renew it for getting further assistance from our team.

Have you included rich snippets with this plugin?

What is “rich snippets”?

Rich Snippets is the term used to describe structured data markup that site operators can add to their existing HTML, which in turn allow search engines to better understand what information is contained on each web page.

In this meaning – yes, but it is called microdata markup.

Hi

I am getting the invalid API message. I do have another plugin that uses Google maps without an API key.

Is this a problem. They both seem to be working OK, it’s just this annoying message popping up all the time in the dashboard.

Is it actually causing a problem having another plugin without an API, or is there a way just to stop this message popping up?

Hello, contact us from your purchase account, please.

Hi, I’ve got the Web 2.0 Directory plugin (6463373) and there is no direct update i can do from my wordpress dashboard. When the new version is avaible, i have to upload and install it everytime. Can you give me a solution please ?

My email is info@alternatis.ch

Thx for the attention. Best regard, Renzo

Hi,

I think you have a major issue / bug with the latest version of your plugin as I am also getting the below error when I try and test / install your plugin on two different servers never had any issues with your plugin before. I tried to install an older version 1.14.8 on the same server and it works fine. Maybe you’d like to look into it and release another update?

Fatal error: Uncaught Error: Call to a member function getDefaultDirectory() plugins/codecanyon-6463373-web-20-directory-plugin-for-wordpress/functions.php on line 378

Regards,

Jim Isles

Hello, you can update the plugin to the latest version.

Thanks for releasing the fix so quickly that seems to have fixed it.

I have a small question for you. I currently have several clients still under trial listings however I dont want any new trial listings. How can I turn this feature off so that new visitors cant see it but the current tril listings dont get lost.

Contact us from your purchase account, please.

Please see this video of the issue I’m having with your plugin:

http://net.evsuite.com/web-20-directory-issue-9-28-17-1/

My Order Number: 68057953

My Email: jimmie@nextevolutiontechnologies.com

Sorry, but I’m not sure what’s your problem.

Missing permalink? if yes – did you create pages with directory shortcodes which you pointed some times in the video? Especially for all languages?

I’m using the “Search form” widget that works in Visual Composer. It mostly works well, however the number count appears to be off.

In the “List of locations” field, the hierarchy looks like this. USA > CALIFORNIA > SONORA > HISTORIC DOWNTOWN.

Only some of the businesses end up in the HISTORIC DOWNTOWN location and the rest of the businesses are in the SONORA location.

So, for example, there is a Category of “Lodging” which has 9 total listings, but only 8 of the listings are in HISTORIC DOWNTOWN and 1 of the 9 is in the broader range of SONORA. The Search box shows (9) which should only be (8). The correct results are produced however when the user selects the “Search” button and gets the results page.

Thanks Shamalli. Is there a way to just disable the count display?

Yes, both settings are on Search settings tab in Directory settings.

Terrific! Thank you!

Hello

Just purcased your web directory plugin but i get fatal error when trying to activate it

Fatal error: Call to a member function getDefaultDirectory() on null in /home/ipage/public_html/demo/wp-content/plugins/web-20-directory-plugin-for-wordpress/functions.php on line 378

Hello, please, update the plugin to the latest version v1.14.13. We just released a fix for this issue.

http://www.salephpscripts.com/wordpress_directory/demo/documentation/#update

Hi,

I think you have a major issue / bug with the latest version of your plugin as I am also getting the below error when I try and test / install your plugin on two different servers never had any issues with your plugin before. I tried to install an older version 1.14.8 on the same server and it works fine. Maybe you’d like to look into it and release another update?

Fatal error: Uncaught Error: Call to a member function getDefaultDirectory() plugins/codecanyon-6463373-web-20-directory-plugin-for-wordpress/functions.php on line 378

Regards,

Jim Isles

Hello, contact us form your purchase account.

Hi just written the same message from the purchase account although my support has expired I don’t need support I’m just letting you know I think there is a more common problem.

Hi, i found another bug. I am using the Genesis Framework with a child theme. Now i’d like to add a category within the main navigation and thats not possible – it only shows categories from Directory Plugin but no WordPress blog Categories. How can i fix that? Thanks and greetings, Peter

Hello, did you try to contact authors of this theme? I’m not sure it is related to our plugin. The plugin was built according to wordpress coding standards and does not effect on other parts of the system.

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