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

brando1972

I have members only from a particular state. Is there a way that i can show a state specific map?

bbmtalk

A member asked me to remove himself from the member map, how can I do that?  

dl75

This is an awesome mod- Thanks so much for it- However, can someone explain how to take the flags from the posts. I wouldn't want them showing on every single post of the members. Thanks  

kat

#1143
This is the change made to display.template.php file in the default theme's directory, NOT the one in "Sources":

</file>


<file name="$themedir/Display.template.php">
<operation>
<search position="before"><![CDATA[
', $message['member']['group_stars'], '<br />';]]></search>
<add><![CDATA[

if (!empty($message['member']['flag']['country']))
echo '
<img src="', $settings['default_images_url'], '/flags/', $message['member']['flag']['country'], '.png" alt="', $message['member']['flag']['name'], '" title="', $message['member']['flag']['name'], '" /><br />';]]></add>
</operation>
</file>


You just need to reverse that.

Namely, find these lines and remove them:

if (!empty($message['member']['flag']['country']))
echo '
<img src="', $settings['default_images_url'], '/flags/', $message['member']['flag']['country'], '.png" alt="', $message['member']['flag']['name'], '" title="', $message['member']['flag']['name'], '" /><br />';]]></add>


Keep a backup of display.template.php, just in case I'm wrong.

dl75

#1144
Excelent! That worked perfect - and you were right!
I'm sure it's been said somewhere in this thread about this, but I'll ask anyway. Could you tellme why some of the pinns are red and some are Green?? Thank you

I just found my answer. Thanks so much anyway!  :)

kat


OutofOrder

#1146
Hello, i had installed this mod in my forum : http://ligaworms.org/foro ("Mapa de usuarios" link)
I installed it before updating to 1.1.2, then i upgraded, and it was working fine.
But i had it on a temporary folder (because the website wasn't ready to launch). We've now opened it to the public, which means i moved all the files to the respective folder "/foro/", but now when i click on the button i made it isn't working. It just redirects to the main forum index. Doesn't return any errors at all.

The mod was working fine, even on Bloc's "leviathan" skin. Until i moved all the files. What might be happening?

Thanks in advanced for your help, this is a terrific mod :) I'd really like to get it working asap.

kat

I would assume that all your paths are screwed.

You'll need to reinstall the mod, I'd imagine. Or, manually edit the files to make them point to the right directory.

OutofOrder

#1148
Why would that be, everything else is working fine :P And which files would i have to edit? I've checked the only two .php's brought with the mod, none uses absolute paths. I dont get it :o
Also, the administration link to users map config redirects to the main index. Without any errors.


EDIT: solved. the problem was i had uploaded an outdated index.php... so it wouldn't reckognize the 'mm' action.
sorry! ;)

wk38

Anyone have a zip of this mod that will install with 1.1.2?

ckgb

Great Mod.

A couple issues I came across.

1. When a new member posts himself on the map, a ll the member dots go up to the header area. The fix for this is to refresh a page. After refreshing all the dots go to where they are supposed to be.

2. Mod addition when you can see country flag on "who" page stalls my server. And I have only 2 websites on a very powerful machine. Any ideas on how to get those fixed?

Bigguy

If you go into the package-info.xml file and add 1.1.2 to the install line, then repackage the mod it may install but watch out for errors.

Quote from: dklassen on March 14, 2007, 04:20:41 PM
Anyone have a zip of this mod that will install with 1.1.2?

ckgb

I think it would be beneficial to add number of users from a particular country to the left of the flag

bbmtalk

Quote from: bbmtalk on March 07, 2007, 10:27:59 PM
A member asked me to remove himself from the member map, how can I do that? 

Anyone please help. thanks.  

bbmtalk

Quote from: bbmtalk on March 07, 2007, 10:27:59 PM
A member asked me to remove himself from the member map, how can I do that? 

Never mind. I found the solution.

Click "Place Your Pin" - it will show the option of removing.

cixus

Sorry, I new in SMF.... and all that stuff

as I like to implement a country map and no world map.
where do I find the additinal maps for Location maps?

sofar my search in here for that addition brought no result.





SMF 1.1 RC3
TP 0.9.5

Kindred

The additional maps are attached to the first post as well as downloadable form the mod download page
Сл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."

naitram

probally missing somethinf obvious here but:


Installing this package will perform the following actions:  Type Action Description
1. Execute Code install.php 
2. Extract Tree ./Themes/default/images/flags 
3. Extract Tree ./Themes/default/images/maps 
4. Extract File ./Themes/default/images/english/mm.gif 
5. Extract File ./Sources/MemberMap.php 
6. Extract File ./Themes/default/MemberMap.template.php 
7. Execute Modification smf1.1.x/install.xml Modification parse error
8. Execute Modification - Modification parse error

DHC

Quote from: Gobalopper on February 25, 2007, 05:15:22 PM
When installing did you get any errors? Or did it say it couldn't apply certain parts of the mod?

Can you please confirm this mod is compatible with SMF 1.1.2 ?

Thanks!

Surferbird

Same question: Can you please confirm this mod is compatible with SMF 1.1.2 ?

Thanks!  
.:: Always something to ask - always grateful for assistance ::.

Advertisement: