Places (Events + Business integrated) Mod Support - part 2

2 Feb 2015

@TravelNotes - I had already double checked the Places module and confirmed with you that it is not the source of your 'Browse' action. 'sys_page_compose_pages' and 'sys_acl_actions' tables have absolutely no relation. One has to do with which pages are in the page builder and the other stores actions for membership levels. If you wish you can PM me your site details and I will troubleshoot it (for free) and tell you exactly which module or feature on your site is utilizing this action. I will assure you again that it is not coming from the Places module.

In Dolphin 'browse' has to do with the page showing all items (like all profiles or all reviews for a particular place). On the other hand, 'view' deals with a specific item (like viewing a specific profile page or a specific review page)

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
2 Feb 2015

I have a question about the "here now" action button. We work with a custom button for this( which is placed outside the action block ), but he isn't working without the action block on the "location view" page.

Below the code we used to create the button:
<button class="heavnprofilebutton composebtn" onClick="getHtmlData (\'ajaxy_popup_result_div_'.$sLocatieID.'\', \''.BX_DOL_URL_ROOT.'m/location/here/'.$sLocatieID.'\');return false;"></button>

Below a code we use on another page as example to place the notification in ( in the "here now" button case here must be "You are flagged as here now" in the popmessage div):

$(\'#heavnpopmessage\').addClass(\'ns-show\'); $.post(\'greet.php\', { sendto: '.$idprofile.' }, function(sData){ $(\'#heavnpopmessage\').parent().find(\'.heavnpopmessage-content\').click().html(sData) } );setTimeout(function() {$(\'#heavnpopmessage\').removeClass(\'ns-show\')}, 5000);return false;'

Hopefully you could help to point us in the right direction, to get the "here now" button work without the action block, because we don't use that on the page. We like to get the notification in the same popmessage as the rest of the site uses. 

2 Feb 2015

Sorry to be a pain.

When viewing a location's accomodation (m/location/hotel/browse/) we get:

Parse error: syntax error, unexpected ',' in ...../modules/modzzz/location/classes/BxLocationHotelPageBrowse.php on line 51

TravelNotes.org - The Online Guide to Travel
3 Feb 2015

I found the extra comma at the end of this line:

 

$this->oDb->getParam('modzzz_location_perpage_browse_subitems'),

 

and removed it.

 

TravelNotes.org - The Online Guide to Travel
3 Feb 2015

@bellhophil - That is something that you would have to get done as a custom job.

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
3 Feb 2015

@TravelNotes - Thank you, that is the solution.

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
3 Feb 2015

Ok.

3 Feb 2015

 

@TravelNotes - Thank you, that is the solution.

 Don't forget to fix your own version of the mod - Euronet.

Cool

TravelNotes.org - The Online Guide to Travel
4 Feb 2015

Is there an way to show some custom fields in block_subprofile_info.html? Now it places all the info with __fields__, but we want only to show prices, credit cards, hours and cuisine for example in a food sub location. Can we import that separately as for example 'prices' => $aData['prices'] etc.?

21 Feb 2015

Hey Modzzz,

Just Updated this plugin and now the homepage is blank? I just downloaded and over written all files.. The did the SQL update.. But still the 

http://truckingspace.com/m/location/home/

is a white screen..

 

Thanks for your help..

James

1 Mar 2015

 The issue has been resolved on your site.

Hey Modzzz,

Just Updated this plugin and now the homepage is blank? I just downloaded and over written all files.. The did the SQL update.. But still the 

http://truckingspace.com/m/location/home/

is a white screen..

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
1 Mar 2015

Thank you Modzzz. As always, great help and work.

1 Mar 2015

An issue with the integration with the Boonex Events module is resolved. The following file is updated :

modules\modzzz\location\classes\BxLocationPageMain.php

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
3 Mar 2015

Hey Modzzz,

I am getting this error now?

 

Database error in TruckingSpace Social Network

Query:

INSERT INTO `modzzz_location_main` SET `title` = 'South Coast Yachts',`desc` = '<p><span style=\"color: #474747; font-family: Ubuntu, Arial, sans-serif; line-height: 24px;\">South Coast Yachts is the Award-winning Beneteau Authorized Dealer for Power in all of Southern California and Arizona, and Sailboats in Orange County, San Diego &amp; Arizona, with offices and show docks in San Diego &amp; Newport Beach. South Coast Yachts provides the top customer satisfaction in the industry for a true on-the-water boating experience. They offer new and previously-owned yachts, commissioning, repair, warranty, preventative maintenance, and instructional and social events.</span></p>',`tags` = 'marina,boats,harbor,california,bay,ocean,truckingspace,trucking,loads',`parent_category_id` = '132',`category_id` = '143',`country` = 'US',`state` = 'CA',`city` = 'San Diego',`address1` = '955 Harbor Island Drive',`zip` = '92101',`telephone` = '619) 224-7784',`fax` = '(619) 224-7285',`website` = 'http://scyachts.com/',`email` = '',`video_embed` = '',`allow_upload_photos_to` = 'a',`allow_upload_videos_to` = 'a',`allow_upload_sounds_to` = 'a',`allow_upload_files_to` = 'a',`allow_view_to` = '3',`allow_view_fans_to` = '3',`allow_comment_to` = 'f',`allow_rate_to` = 'f',`allow_post_in_forum_to` = 'f',`allow_sub_section_to` = 'f',`membership_view_filter` = '',`created` = '1426972119',`uri` = 'South-Coast-Yachts',`status` = 'approved',`author_id` = '2'

Mysql error: Unknown column 'telephone' in 'field list'

Found error in the file '/home/trucking/public_html/inc/classes/BxDolForm.php' at line 181.
Called 'db_res' function with erroneous argument #0.


Thank You for your Help..

21 Mar 2015

@TruckingSpace - The error is suggesting that you did not apply patch 2.1.3

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
22 Mar 2015

WOW, Ok sorry for bothering you..

22 Mar 2015

I apologize for the large font in my previous response. I did not intentionally post it like that. Not sure what happened there.

WOW, Ok sorry for bothering you..

 

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
25 Mar 2015

I have an urgent question. In the Places ( Location ) module it shows the uploaded images of an location in the boonex photo gallery. Only the photo's aren't resized to one format, so every photo is different. For example their are 2 images uploaded of an location. 1 is uploaded with dimensions 700px x 700px the other one is 700px x 1400px. How can I let them be resized to 450px x 450px automaticly.

1 May 2015

Photo uploading and cropping is handled by the default Photos module. You can go to the settings section in that module to change the size of uploaded Photos. Please note that this will take effect in every module that uses Photos (not just Location)

I have an urgent question. In the Places ( Location ) module it shows the uploaded images of an location in the boonex photo gallery. Only the photo's aren't resized to one format, so every photo is different. For example their are 2 images uploaded of an location. 1 is uploaded with dimensions 700px x 700px the other one is 700px x 1400px. How can I let them be resized to 450px x 450px automaticly.

 

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
1 May 2015

That already stands on 450px x 450px. But it doesn't make them all the same size.

1 May 2015

BTW. Could it be that the Places module doesn't work well with the default Boonex search pages? When members type a city in the search bar ( or search.php ) they don't get the locations in that city placed in the search results. They need to search for the exact name. 

Is it possible to search also on city? 

1 May 2015

Currently the search is similar to other Boonex mods. It is based on title, tags and description. I will consider adding city when the mod is next updated.

BTW. Could it be that the Places module doesn't work well with the default Boonex search pages? When members type a city in the search bar ( or search.php ) they don't get the locations in that city placed in the search results. They need to search for the exact name. 

Is it possible to search also on city? 

 

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
1 May 2015

I'm struggling with the "add review" section on a location view page. Instead of opening a new page where the member can review a location, We wanted to open that form in a pop-up box.

I created a button with this code:
onclick="showPopupAnyHtml('__popreview_link__')" 

In BxLocationTemplate.php we added this code:
'popreview_link' => BX_DOL_URL_ROOT.'m/location/review/add/main/'.$sLocatieID,

Only the pop-up isn't working. When you click on it there happens nothing. Do we need to add some code for showPopupAnyHtml somewhere in your module files? I thought it's defaultly in Boonex? Other modules and sections also use that.

9 May 2015

Right click on the page and view page source or use the 'inspect element' feature of firefox to see how the code is actually being displayed in the browser.

I'm struggling with the "add review" section on a location view page. Instead of opening a new page where the member can review a location, We wanted to open that form in a pop-up box.

I created a button with this code:
onclick="showPopupAnyHtml('__popreview_link__')" 

In BxLocationTemplate.php we added this code:
'popreview_link' => BX_DOL_URL_ROOT.'m/location/review/add/main/'.$sLocatieID,

Only the pop-up isn't working. When you click on it there happens nothing. Do we need to add some code for showPopupAnyHtml somewhere in your module files? I thought it's defaultly in Boonex? Other modules and sections also use that.

 

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
10 May 2015

After some searching in Firebug, I found out that the review section appears on the page only he isn't working correctly as why as he isn't showing up.

Below the div that appears when clicking on the button. When I set the display value on block, it appears, but not as the other pop-ups. 
<div id="login_div" style="display: none;"></div>

This is code from another page / module:
<div id="dolPopupFog" style="position: fixed; top: 0px; left: 0px; width: 1928px; height:…ty: 0.7; background-color: rgb(255, 255, 255); z-index: 999;"></div>
<div id="login_div" class="dolPopup" style="visibility: visible; z-index: 1000; position: fixed; top: 228px; left: 739px;"></div>

What am I doing wrong, because I only see <div id="login_div" style="display: none;"></div>?
I used the same code on the same way. 

10 May 2015

I searched around and your Credit module also uses the showPopupAnyHtml function. I searched all the PHP files if there's some code added for handeling it, but didn't find it.

Below the code that you used in member_credits.html:

<button class="bx-btn bx-btn-small bx-btn-img bx-btn-ifont" onclick="showPopupAnyHtml('__buy_link__')">
<bx_text:_modzzz_credit_form_caption_purchase />
</button>  

10 May 2015

The code of the button I created:
<button class="heavnactionbutton heavnreview" onclick="showPopupAnyHtml('http://heavn.lab43.nl/m/location/review/add/main/101')"></button>


The code of the button you used in the credits module:
<button class="bx-btn bx-btn-small bx-btn-img bx-btn-ifont" onclick="showPopupAnyHtml('http://heavn.lab43.nl/m/credit/buy_credits')">Purchase Credits</button>

10 May 2015

While you may end up getting the form to popup, it will not work as desired. Popup forms are designed differently as they have to handle to submission in a different manner etc. so it is not a simple matter of placing the link in showPopupAnyHtml . You can look at the actionBuyCredits function in modules/modzzz/credit/classes/BxCreditModule.php to get an idea of how this form should be re-designed.

I searched around and your Credit module also uses the showPopupAnyHtml function. I searched all the PHP files if there's some code added for handeling it, but didn't find it.

Below the code that you used in member_credits.html:

<button class="bx-btn bx-btn-small bx-btn-img bx-btn-ifont" onclick="showPopupAnyHtml('__buy_link__')">
<bx_text:_modzzz_credit_form_caption_purchase />
</button>  

 

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
10 May 2015

The design is not the problem, because we have that already covered. We redesigned everything from the ground up. It's the fact the code that seems not working to open it properly. See the differences.

10 May 2015

Also somewhere needs to be deleted that he makes a full page for it instead of only showing the form in the pop-up. Now you get a full page in the pop-up. Maybe when the template of that add review page is altered the pop-up shows correctly?

10 May 2015

I explained above that the code as it is will not work for popup. You will need to rewrite the actionReviewAdd function found in modules\modzzz\location\classes\BxLocationModule.php so it is in a similar form to the actionBuyCredits function I mentioned previously. You will need a working knowledge of PHP to accomplish this task.

The design is not the problem, because we have that already covered. We redesigned everything from the ground up. It's the fact the code that seems not working to open it properly. See the differences.

 

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
10 May 2015

Ok, My colleague shall look at that to let it work. Is it only actionReviewAdd or also the _addReviewForm function?

As for now could you point me in a direction to let appear the pop-up at least? Otherwise we spend hours on something that maybe isn't appearing at all. If the pop-up appears than we can work to let the form work in the pop-up.

10 May 2015

He is looking at the code as we speak. He changed some values and now only the form appears, instead of the whole page incl. menu's and header etc. He made an back-up in case something went wrong. Now we need only a way to let appear the pop-up normally.

10 May 2015

Strange thing btw...

If you enter the review on the location view page with firebug he doesn't post your review. If you open the add review url that normally needs to open in a pop-up in your internet browser the review does get posted. Normally they need to work the same right?

If you posted your review the old way ( with the special page, for example http://heavn.lab43.nl/m/location/review/add/main/97 ) you get redirected after clicking submit to the review page of that location. But the form on the location view page ( inside #login_div ) only reloads the page.

10 May 2015

 Did you find a solution or the error why now the pop-up isn't working in this module?

While you may end up getting the form to popup, it will not work as desired. Popup forms are designed differently as they have to handle to submission in a different manner etc. so it is not a simple matter of placing the link in showPopupAnyHtml . You can look at the actionBuyCredits function in modules/modzzz/credit/classes/BxCreditModule.php to get an idea of how this form should be re-designed.

12 May 2015

This is not a module error but a programming error on your part. showPopupAnyHtml works fine but the form that it is calling has to be specially designed. I gave you an example above. The form submission and processing is handled differently than for the non-popup version. Your programmer needs to look carefully at the example I gave to see how it should be done.

 Did you find a solution or the error why now the pop-up isn't working in this module?

While you may end up getting the form to popup, it will not work as desired. Popup forms are designed differently as they have to handle to submission in a different manner etc. so it is not a simple matter of placing the link in showPopupAnyHtml . You can look at the actionBuyCredits function in modules/modzzz/credit/classes/BxCreditModule.php to get an idea of how this form should be re-designed.

 

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
12 May 2015

Our programmer can look at it, but then he needs to know where the problem is. As explained earlier is it only actionReviewAdd or also the addReviewForm function? Or maybe even other functions in that file?

13 May 2015

We are creating a new function. For profiles you have the short_profile_info function that creates a div with profile info on a mouse over of the members thumbnail. We duplicated the files for that end renamed them for the location module. This function needs to give some info about the location before you click on it, to go to the full page ( view location page ).

If you look in your dolphin root, you have the short_profile_info.php file. In our duplicate file we need to add some code to make a connection with the location module, I think? As of code to load the id of the location. Which code do we need to use to make a connection with your module and pull the id?

You would help us tremendously if you could offer us a solution to make connection with your location module, to make this work.

17 May 2015

I have a critical error in the places, meetings and premium events module. If a member adds / edits a location, meeting, or event I get the error "location is undefined". This happened when we updated these modules. Could you please take a look asap?

I send you login credentials via PM 

27 Jun 2015

Error is not from the modules but due to integration you did with Geo Locator module. Contact Geo Locator developer for assistance.

I have a critical error in the places, meetings and premium events module. If a member adds / edits a location, meeting, or event I get the error "location is undefined". This happened when we updated these modules. Could you please take a look asap?

I send you login credentials via PM 

 

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
27 Jun 2015

When will this be update for 7.2?

ManOfTeal.COM a Proud UNA site, six years running strong!
6 Sep 2015

 That's a good question... I have a lot of your modules and not everything is updated yet for 7.2.
 

When will this be update for 7.2?

 

6 Sep 2015

This module is now compatible with Dolphin 7.2 . For those upgrading from Dolphin 7.1, please check the upgrade folder for instructions.

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
7 Sep 2015

Version 2.1.5 released. (See patches/version 2.1.5 folder)

Added missing subscription email.

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
24 Nov 2015

How to adjust the opening hours section on the location (sub) pages?

A lot of restaurants / clubs etc. have different opening hours per day. We get a lot of feedback, that the hours as they are now are not good.

It would be nice if we could set different hours per day, just like on fb pages.

 

There you could set a from an to hour and then select different days. After that you could add more hours and select then saturday / sunday for example for other hours in the weekend.

13 Dec 2015

Version 2.1.6 released. (See patches/version 2.1.6 folder)

Hours section added as a separate block on relevant sub-sections. Also the input field for Hours has been modified to a textarea to allow more freedom in posting hours.

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
16 Dec 2015

Missing language keys have been added plus other cosmetic adjustments. Re-upload files and recompile the language for the module.

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
31 Dec 2015

Is there any how to set category order??

I want to change display order but I have no how.

20 Jan 2016

When upgrading from 2.1.3 to 2.1.6 do we have to do everything in steps, like a Dolphin upgrade?

TravelNotes.org - The Online Guide to Travel
17 Mar 2016
17 Mar 2016
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.