News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Location Mod

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

Previous topic - Next topic

Aravot

Quote from: giba_choo on July 21, 2005, 11:21:47 PM
This mod is not compatible with 1.1 beta 3 public. I changed the package-info.xml file, but unfortunately, there must be some other incompatibilities :(

http://www.simplemachines.org/community/index.php?topic=20168.msg299034#msg299034

PopLife

Thanks for that Aravot. I thought that the author had abandoned the mod, and no one else was working on it.

PopLife

I have another few problems. I am using the Aquasoft theme. It had no script.js file, so I just copied the one from the default theme after I had installed the mod. That fixed the pin placement. But the flag isn't appearing on the postindex. What file will I have to change for that to come into effect?

Kindred

display.template.php
Сл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."

PopLife

Ok thanks, I can do that by myself.

But, I have one final question. Why doesn't the member map allow access for members or moderators, only admins?

PopLife

Sorry once again. I worked it out by myself  :D

Kindred

giba...


please don't double post like that.  If you have an additional comment to add (especially before someone else posts), just use the modify button...
Сл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."

PopLife

#487
OK. Point taken  :D

I can ask another question right?  ;) I checked the display template, and all is in order. I checked that the flag code was in the display template, and it was. What is preventing the flag from showing underneath usernames?

Kindred

maybe your theme uses a different display.template.php?
Сл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."

PopLife

#489
I fixed it finally. Thanks for your patience Kindred


Miraenda

You will need to resize the map to zoom in for it to be larger keeping it to scale (so you don't have to bother with recoordinating everything), then change the scale variable in the code per this:

-If you want to have a map that is more zoomed in from the original base world map you would increase the scale variable. Hence some of the maps have a scale level of 4.

guider

Hi,

Quote
change the scale variable in the code per this

That's the part I don't get. How do I know what scale to pick for what measurements?

florho

Hi all,

Here is the modification I made in the install.xml to have the mod in french.
It all went fine. Great Job to the developpers.

Hope it helps someone.

Ciao


<file name="$languagedir/Modifications.french.php">
      <operation>
         <search position="replace"><![CDATA[Modifications]]></search>
         <add><![CDATA[Modifications

// MM - Text
$txt['mm_mm'] = 'Carte des membres';
$txt['mm_place_pin'] = 'Mettre votre position';
$txt['mm_view'] = 'Voir';
$txt['mm_click_highlight'] = 'Cliquez pour selectionner un position';
$txt['mm_city'] = 'Ville';
$txt['mm_user_listing'] = 'List des utilisateurs';
$txt['mm_savepin'] = 'Enregistrer position';
$txt['mm_removepin'] = 'Effacer position';
// MM - Admin Text
$txt['mm_id'] = 'ID';
$txt['mm_image'] = 'Image';
$txt['mm_name'] = 'Nom';
$txt['mm_xstart'] = 'xDebut';
$txt['mm_xend'] = 'xFin';
$txt['mm_ystart'] = 'yDebut';
$txt['mm_yend'] = 'yFin';
$txt['mm_scale'] = 'Echelle';
$txt['mm_visible'] = 'Visible?';
$txt['mm_which_default'] = 'Quel carte voulez vous par defaut?';
$txt['mm_current_maps'] = 'Cartes disponibles';
// MM - Errors
$txt['mm_error_placepin'] = 'Vous devez cliquer qq part pour placer votre position.';
$txt['mm_error_coordinates'] = 'Erreur avec les coordonnes. Essaie encore et soit sur que ta position est sur la carte.';
$txt['mm_error_nomaps'] = 'Il n y a aucune carte disponible';
// MM - Permission Errors
$txt['cannot_membermap_view'] = 'Vous ne pouvez pas voir la carte des membres.';
$txt['cannot_membermap_edit'] = 'Vous ne pouvez pas editer la carte des membres.';
// MM - Permissions
$txt['permissiongroup_membermap'] = 'Voir et editer des positions sur la carte.';
$txt['permissionname_membermap_view'] = 'Voir des positions sur la carte.';
$txt['permissionname_membermap_edit'] = 'Editer des positions sur la carte.';
// MM - Who's Online
$txt['whoall_mm'] = 'Voir la carte des membres.';]]></add>
      </operation>
   </file>

^Raven^

I've a quick question.  I know there are other maps besides the main world map.  Is it possible to have them included with the mod via the Package Manager so that they're installed when we use the Package Manager to install the mod?  Additionally, with SMF 1.1 around the corner will this mod be updated for compatibility with 1.1 and if so, will the other maps be included for that?
Jon Reinhart

Owner, CWF GameCast

Public Relations Coordinator, Battlestar Galactica Wiki

Miraenda

An update for 1.1 was already provided:

http://www.simplemachines.org/community/index.php?topic=20168.msg299034#msg299034

It isn't on the mod site, though, you have to download the files in that post. I used this for my forum and it works fine for 1.1 Beta 3.

^Raven^

Miraenda, does the update cover the feature I asked about?  Just curious because although I don't have 1.1 yet, I'm waiting for it to get out of beta and then David is going to install it for me since it'll be a manual installation, I want to be sure for when I do get 1.1.
Jon Reinhart

Owner, CWF GameCast

Public Relations Coordinator, Battlestar Galactica Wiki

colonelk

#497
Hi there,

Hope this isnt a stupid question, have checked through the last few pages but cant see an answer.

-Recently upgraded to SMF 1.0.5
-Had to re-install the Location Mod
-Edited the .xml file so it would install through the package manager
-Package manager showed no errors

Now when I try and access the member map, I get this error

QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND )
AND (p.yPin BETWEEN AND )
AND hxxp:p.id [nonactive]_MEMBER = hxxp:mem.id [nonactive]_MEMBER
ORDER B' at line 4
File: /www/t/totalcarlton/htdocs/forums/Sources/MemberMap.php
Line: 101

My board is at hxxp:www.totalcarlton.com/forums [nonactive]

It worked fine before the upgrade.

Any help?  :(


EDIT

Dont worry! Im an idiot!  ::) Id forgotten to re-install the "additional maps" Mod at the same time!

All sweet and dandy now :D

1948Pal

Quote from: Miraenda on July 27, 2005, 03:26:40 PM
An update for 1.1 was already provided:

http://www.simplemachines.org/community/index.php?topic=20168.msg299034#msg299034

It isn't on the mod site, though, you have to download the files in that post. I used this for my forum and it works fine for 1.1 Beta 3.
Hi.
I know my vision is not that good any more now that I am so old, but I don't seem to find those files any more, did they get removed, or am I just blind? :)
"No matter how long the river, the river will reach the sea".
Eugene Fitch Ware

JustJa

Hi, my SMF is 1.0.5.
I tryed to install it via cpanel but it is impossible.
I uploaded it to the server via cpanel then when I click on apply mode it comes this error
2: mkdir(xxx\forum/Packages/temp/gobalopper.locationmod/flags/): No such file or directory
File: xxx\forum\Sources\Subs-Package.php
Line: 413

I have tried everything I could!
But I can not so much  :-\

Was trying to make it by hand, but I do not understand the steps, for example how to create new tables.
Plus i keep trying to chmod 777 and it keeps comming  back to 644.

any idea of how to solve this?

Thanks!

Advertisement: