Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Map component in JomSocial Groups Page

10 years 3 months ago
  • Sriram's Avatar
    Topic Author
  • Sriram
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 1
Licenses:
JomSocial Expired

Hi,

I want to place a map module/ component "only" on Jomsocial Groups page so that group members are able to view a map (with multiple locations) placed similar to current placement of Members, Events, Photo Album modules in the right section. Map component to be shown under/ after Events and before/ above Photo Albums. Map displays group members location/ address and updates dynamically based on the group selected.

Planning 2 scenario:

1) Use Google maps: What module/ component/ plugin can I use to accomplish the requirement if using Google maps?

2) Use Custom maps: If am using a proprietary country-based map (not Google maps), how do I create a module/ component placeholder for such a map, and place it correctly at the desired location.

Can you pls. let me know what PHP files need to be hacked to get the 2 scenarios working (perhaps #1 doesn't require much hack). Is there any sample Joomla component creation code that I can use as baseline to get started for scenario #2?

tks in advance for your help.

10 years 3 months ago
Licenses:

Hi, Sriram.

You may try those extensions:

extensions.joomla.org/profile/extension/...jomsocial-member-map
www.nordmograph.com/extensions/index.php...icle&id=20&Itemid=89

Or ask their developers if extensions could be customized to fit your needs.

Adding module just for certain groups is a different case and could be easily introduced by hacking group template (creating override). Or even better by using this extension: check pt. 1 in my answer here: www.jomsocial.com/forum/photos-videos/22...m-and-not-all#114349


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 3 months ago
  • Sriram's Avatar
    Topic Author
  • Sriram
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 1
Licenses:
JomSocial Expired

Thanks Michael.

To qualify my request further, I want to display Google map module on all groups pages [js_side_top position] and populate map with member locations. Such that all post code locations for members appear as pins on the map. How do I accomplish this?

I'm testing some concept so not necessarily ready yet to engage a developer to code functionality. Are there specific files I can hack? Should I be using "Friend Location" module to implement this functionality? If yes, any suggestions on how/ where to get started.

Cheers.

10 years 3 months ago
Licenses:

Hi, Sriram.

I'm sorry but your request is beyond technical support. What you need here is to build totally new feature... and you couldn't achieve that without core files to hack. Posts doesn't have locations so you'll need to create field with fully functional feature - add some tables in database to store data and finally bind it with module.

Core hacks are not recommended nor supported as they may not working with future JomSocial releases and/or cause issues that will be not supported. Users with core files hack refuse to upgrade their installation to keep those hacks and they are stuck with outdated and unsupported versions.

But if you insist - consider to hire a professional developer that could build such a feature on your site: www.jomsocial.com/jomsocial-developers


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 3 months ago
  • Sriram's Avatar
    Topic Author
  • Sriram
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 1
Licenses:
JomSocial Expired

Hi Michael,

All I'm trying to do at the moment is to test a functionality. Perhaps not the right time to hire jomsocial developer just yet.

I just need to display Maps module under groups. At the moment Groups page displays "Members", "Events", "Photo Albums". I've downloaded BT Google Maps module and want to display either after "Members" or after "Photo Albums".

I checked the instructions here - documentation.jomsocial.com/wiki/Built-in_Module_Positions . It seems straight forward however when I set custom position "js_groups_side_bottom", nothing happens and module doesn't display. Using Advanced Module Manager.

Tried "js_side_frontpage" position but the module still doesn't display. Tried specifying URL as well. Still the module doesn't display.

I wonder if "displaying an additional module in groups" requires core file hacks. Perhaps there's something I'm not doing right.

Tried adding the following code hack as well (groups.viewgroup.php) after line 489

<?php if (($group->id) == '19') { ?>
<?php $this->renderModules( 'mod_bt_googlemaps' ); ?>
<?php } ?>

That doesn't work as well.

Appreciate help.
Regards.

10 years 3 months ago
Licenses:

Hi, Sriram.

Your code is fine so check your module assignment settings.
There is also other way to display different module on certain group pages:
Read here point 1: www.jomsocial.com/forum/photos-videos/22...m-and-not-all#114349


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW