News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Location Mod

Started by Gobalopper, November 19, 2004, 01:43:12 AM

Previous topic - Next topic

FJD

I had some issues with the mod not appearing in the correct matter in some themes. In the default themes it worked alright but for some other themes it did not work at all. I could nog add pins, I could not see the buttons (or at least the txt on the buttons) and the buttons were not even working.

The solution however was pretty easy. I had to copy al the mm text lines from modification.english.php from the default theme to the modification.english.php of the used theme. Then it's working again :) Perhaps you can profit from this information, it took me a couple of days to figure it out.

Great mod though :D

Kindred

depending on whta template.php files your theme has, you may have to do more...

As with ALL mods, this one changes the files in the default theme only. This means that you must make changes to any other themes by hand.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

perplexed

I have a problem (again) with my member map and all the pins displaying in the ocean instead of on the countries lol

I remember it happened before and I think its because of the position of the shoutbox.

I have the shoutbox at the top of the board again, below the user box/navigation tabs, so I think that is causing the member map to be displayed wrongly.

Last time this happened (from memory) I uninstalled the location mod and reinstalled it, and everything was ok.  Now when I went to uninstall I get errors in display template, index template and for the 'flags' in the who template

can anyone help with this?  would it be ok to go ahead with the uninstall with these errors?

~thanks

Dejv

#983
Hello  :) , I have the same problem with location mod installation using package manager :(

Quote from: fun4us on March 28, 2006, 05:55:12 AM

7.     Execute Modification     smf1.1.x/install.xml     Modification parse error
8.    Execute Modification    -    Modification parse error


When I click on Install, it reports:

QuoteFatal error: packageinstall(): Failed opening required '/var/www/..../forums/Packages/temp/./install.php' (include_path='.') in /var/www..../forums/Sources/Packages.php on line 534

where I find
Quoterequire($boarddir . '/Packages/temp/' . $context['base_path'] . $action['filename']);

Do you have any Idea what do I have to change?

Am using also 1.1 RC2

This change didn't help

Quote// get all the pins
$request = db_query("
SELECT p.ID_MAP, p.ID_MEMBER, p.xPin, p.yPin, p.country, p.city, mem.gender, mem.realName, c.name
FROM {$db_prefix}mm_pins, {$db_prefix}members AS mem
LEFT JOIN ({$db_prefix}location_country AS c, {$db_prefix}mm_pins AS p) ON (c.c2code = p.country)
WHERE (p.xPin BETWEEN {$context['maps'][$ID_MAP]['xStart']} AND {$context['maps'][$ID_MAP]['xEnd']})
AND (p.yPin BETWEEN {$context['maps'][$ID_MAP]['yStart']} AND {$context['maps'][$ID_MAP]['yEnd']})
AND p.ID_MEMBER = mem.ID_MEMBER
ORDER BY c.name, mem.realName", __FILE__, __LINE__);
while ($row = mysql_fetch_assoc($request))

Thank you very much

I will try to install it "step by step"
SMF 1.1.20

ketchup

Hi when trying to install the first file (locationmod.zip)


I get this error after clicking proceed

2: copy(index.php~): failed to open stream: Permission denied
File: /home/tgforums/public_html/yabbse/Sources/Subs-Package.php
Line: 1241

what should I do  :)

Bigguy

Are the permissions on your sources folder set right ???  Try changing them to 777

Breathwork

I have removed the location mod from my board as nobody was using it and I am now seeing the following errors in the error log from the board:


8: Undefined index: mm_mm
File: /home/ibfnetw/public_html/forum/Sources/Subs.php
Line: 2750


What need I do to remove this error please?
Peace in oneself, Peace in the world

Visit www.breathwork.be and www.emofree.be

Bigguy

There might have been some edits in the Subs.php file that were missed.

Breathwork

Quote from: Bigguy on June 27, 2006, 07:21:42 AM
There might have been some edits in the Subs.php file that were missed.

Thanks but how do I identify and rectify this problem?
Peace in oneself, Peace in the world

Visit www.breathwork.be and www.emofree.be

Bigguy

Look in the install.xml file that comes with the mod. It should have all the edits in it. BACKUP before playin around though.

Breathwork

Quote from: Bigguy on June 27, 2006, 09:23:20 AM
Look in the install.xml file that comes with the mod. It should have all the edits in it. BACKUP before playin around though.

Now ain't that the most user friendly solution you could read about!

Thanks, it might be easier just to re-install smf and re-apply the mods that are being used...
Peace in oneself, Peace in the world

Visit www.breathwork.be and www.emofree.be

JamesWC

Rather than sifting through 67 pages of the thread, can anyone confirm for me whether it works for 1.0.7? I ask because of the cyptic review mentioning this version.

PrizeLive.com

Quote from: JamesWC on June 28, 2006, 11:11:47 AM
Rather than sifting through 67 pages of the thread, can anyone confirm for me whether it works for 1.0.7? I ask because of the cyptic review mentioning this version.

It says it is:

Compatible With:     1.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.1 Beta 3 Public, 1.1 RC1, 1.1 RC2
Get Paid Instantly via PayPal (or other options) at PrizeLive.com!

JamesWC

Quote from: SurfExcelerator.com on June 28, 2006, 11:13:00 AM
Quote from: JamesWC on June 28, 2006, 11:11:47 AM
Rather than sifting through 67 pages of the thread, can anyone confirm for me whether it works for 1.0.7? I ask because of the cyptic review mentioning this version.

It says it is:

Compatible With:     1.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.1 Beta 3 Public, 1.1 RC1, 1.1 RC2
Thanks, but I'm just concerned by the review suggesting problems. As much as I'd usually trust the compatibility list, I was hoping someone who had tried it with 1.0.7 could tell me from their own experience.

Pat26

How do I add the additional maps?

fasterthanyours

I was wondering, are there additional maps available besides the ones that are there now.  I'd like to have more detailed versions of the US states.



Quote from: Pat26 on July 11, 2006, 01:08:29 PM
How do I add the additional maps?
Download the maps from the link on the first page of this thread.
Go to your Admin/Packages section.
Select Download Packages.
In the Upload Package section Click Browse and select the file from where you saved it.
Click the Upload button and wait a few seconds for the file to upload.
Then Apply the update.

PrizeLive.com

How can I edit the profile.template.php page to have a Member Map link in there? I'm trying to reduce the number of menu buttons I have....
Get Paid Instantly via PayPal (or other options) at PrizeLive.com!

guachiman

I have a quick question: The mod installed fine, and people have already started placing their pins, but the maps are too large for my webpage, they "spill" out of the space in joomla that I have. (I'm using SMF and a joomla bridge).  So, can I change the size of the maps? If I do it manually, would it screw up the coordinate system? Is there a setting for the scale of the maps?  Thanks!

40w

#998
Hi!

I have a little problem with the member map.
None of my members (or I) can't place a pin.
The map is simple not shown.

guachiman

I figured it out myself.  I had to go to the MySQL Admin page and manually play with the scales until the maps fitted in the space I allocated.  I think this "scale change" should be part of the admin page, so that it can be adjusted from the backend.  Just a suggestion.

Advertisement: