×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Hotspots plugin for CB not working on hotsposts 2.0

Hotspots plugin for CB not working on hotsposts 2.0 12 years 9 months ago #12542

  • Deltafidesign
  • Deltafidesign's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 23
  • Thank you received: 0
The hotspot plugin v 1.0.1 for CB doesn't work with Hotspots 2.0. Will be released a compatible version?

Thanks

Hotspots plugin for CB not working on hotsposts 2.0 12 years 9 months ago #12544

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
compojoom.com/forum/27-hotspots/53-installation/9909

I'm working on it already. I'll do my best to release the new version today.

Hotspots plugin for CB not working on hotsposts 2.0 12 years 9 months ago #12631

  • Deltafidesign
  • Deltafidesign's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 23
  • Thank you received: 0
I've installed the new plugin for v. 2.0 but on my site doesn't work, The tab do not display the map and the newest spots links (at right panel of the map) don't work.
(Joomla 1.5.23 - CB 1.4)

Any conflict?

Hotspots plugin for CB not working on hotsposts 2.0 12 years 9 months ago #12633

  • Deltafidesign
  • Deltafidesign's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 23
  • Thank you received: 0
Up to my previous post:

Just tested on a fresh Joomla 1.6 installation with CB 1.4 and I can confirm the same issue.

Hotspots plugin for CB not working on hotsposts 2.0 12 years 9 months ago #12635

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
May I see the site. I can confirm that on my local installation + demo site the plugin is working out of the box....

Hotspots plugin for CB not working on hotsposts 2.0 12 years 9 months ago #12641

  • Deltafidesign
  • Deltafidesign's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 23
  • Thank you received: 0
You have got e-mail. Thanks

Hotspots plugin for CB not working on hotsposts 2.0 12 years 9 months ago #12652

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
There is a js conflict on your page:
$ is not a function
[Break On This Error] this.mapContainer = $(mapContainer);

I saw that you are loading jquery before that and it is stealing the $ function... You should load jquery in non-conflict mode.

Regards,
Daniel

Btw this url is called 2 times a second index.php?option=com_jbolo&action=chatheartbeat&userno=0&_=1310132463106

I have no idea what it is, but I can imagine that on nonoptimized website with 100+ users logged at the same time it could lead to performance problems.

Hotspots plugin for CB not working on hotsposts 2.0 12 years 9 months ago #12656

  • Deltafidesign
  • Deltafidesign's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 23
  • Thank you received: 0
I've found the issue. It goes conflict with Super Activity plugin for CB; also it cannot work if another google map is already displayed in the same page from another plugin.

Any solution?

Hotspots plugin for CB not working on hotsposts 2.0 12 years 9 months ago #12658

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Well, it should actually work, no matter how many maps on the page. Could you enable the problematic map and I'll check again. Perhaps it is another js conflict..
Daniel

Hotspots plugin for CB not working on hotsposts 2.0 12 years 9 months ago #12665

  • Deltafidesign
  • Deltafidesign's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 23
  • Thank you received: 0
The other map displayed in the profile page is About Geocode Factory plugin for CB and is still active now.

Any idea about conflict with CB SuperActivity plugin?

Thanks

Hotspots plugin for CB not working on hotsposts 2.0 12 years 9 months ago #12667

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
So, my advise here would be to use firebug and to look at your site. Firebug's console shows a lot of network errors and still says: $ is not a function.

I think that you are outputting jquery.noConflict() to late. Here is a tutorial about firebug:

Hotspots plugin for CB not working on hotsposts 2.0 12 years 9 months ago #12747

  • Deltafidesign
  • Deltafidesign's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 23
  • Thank you received: 0
I have the same issue on a fresh installation with Joomla 1.6 and CB 1.4, no other 3th party extension installed,no other templates and the same issues.

Don't know what to do...

Hotspots plugin for CB not working on hotsposts 2.0 12 years 9 months ago #12751

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Ok, problem with joomla 1.6 confirmed! The joomla library was not loading mootools...
Go to components/com_profiler/plugin/user/plug_hotspots/hotspots.php

add this line to the begining of getDisplayTab function
JHTML::_('behavior.mootools');

it should start to look like this
function getDisplayTab($tab, $user, $ui) {
JHTML::_('behavior.mootools');
global $my;
........

After adding this line to my joomla 1.6 installation the map showed! However there is a problem with the map being in the second tab! If you place it in the first one - everything will be perfect, but in the second tab there is some kind of javascript conflict. I'll try to work with the guys from joomlapolis to solve this problem.

Daniel

Hotspots plugin for CB not working on hotsposts 2.0 12 years 9 months ago #12754

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
If you are too lazy to include this line in your files, you can download the updated version of the plugin from the download section :)

Hotspots plugin for CB not working on hotsposts 2.0 12 years 9 months ago #12812

  • Deltafidesign
  • Deltafidesign's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 23
  • Thank you received: 0
I've installed the version 1.2. At the end of installation it gave me an error (bot in Joomla 1.5 and 1.6): "Copy failed" but another massage says that "Upload showPlugins - Success".
The plugin seems to be correcty installed anyway. In Joomla 1.6 the tab seems work but not perfectly (maybe as you suggested about conflicts...)

In Joomla 1.5 still the same issues.

Thanks

Hotspots plugin for CB not working on hotsposts 2.0 12 years 9 months ago #12826

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Do you see any javascript errors with firebug?

Hotspots plugin for CB not working on hotsposts 2.0 12 years 9 months ago #12835

  • Deltafidesign
  • Deltafidesign's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 23
  • Thank you received: 0
Don't really know why, but today on Joomla 1.6 I don't see any error in the profile page and the tab correctly shows the map! I didn't do anything since yesterday, maybe when I've checked yesterday something was wrong even after refreshing browser several times!

Stil same issues in Joomla 1.5 but firebugs don't show me errors...

Hotspots plugin for CB not working on hotsposts 2.0 12 years 9 months ago #12836

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Firebug does show errors on your website!
And those errors are again related to jquery, because it is stealing the $ function.

$ is not a function
this.mapContainer = $(mapContainer);

try this. Go to media/com_hotsptos/js/moo/map.js change line 44 from:
this.mapContainer = $(mapContainer);
to
this.mapContainer = document.id(mapContainer);

Re: Hotspots plugin for CB not working on hotsposts 2.0 12 years 1 day ago #15868

  • CJ Disabled 4
  • CJ Disabled 4's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 50
  • Thank you received: 0
I am having a problem with my map not showing in CB Profile, the links are showing to the right but no map on the left.

Should i change the "com_hotsptos/js/moo/map.js change line 44" as you mentioned in this post or am i missing something on the CB side

Any help appreciated

Keith

Re: Hotspots plugin for CB not working on hotsposts 2.0 12 years 1 day ago #15869

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Keith, is the plugin published first??? It needs to be the first tab, otherwise the map won't function properly. I know that it is stupid, but the tabs in CB don't allow us to have the map in another position.

Daniel
  • Page:
  • 1
Time to create page: 0.161 seconds