News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Location Mod

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

Previous topic - Next topic

clarkkent93

I must have had an older version.   ::)

Quote from: siath70 on February 13, 2007, 08:27:01 PM
Quote from: Threepwud on February 12, 2007, 07:16:29 PM
Thanks Siath and Gobalopper :)

Clarkkent93, do you have all files set to be 'all writable' from within the forum's options? Just a guess.

OK, so mine is now up (thanks!!!!!!!!!) but in the who.php page I'm seeing each flag listed THREE times. Anyone know if this is meant to be the case?

Need some code pasting in?

Thanks!
Nope you should only see each flag once. Correct me if I'm wrong. It sounds to me like it got duplicated. If you want I can take a look at your code and see if I can fix it. Need the address for your board. I don't mean to step on Gobalopper toes, just trying to help if I can.


Siath

Siath, I'll take all the help I can get.  It finally works but I have two flags.  I just need to know where to look to fix the problem.  Also is the flag supposed to show up in the profile or just in the post?

New site address is listed in my profile but just in case, here it is: http://www.ussriverside.us
SMF 1.1.6

kat

Quote from: Gobalopper on February 15, 2007, 07:33:32 PM
And the link from the mod page should work now, it was going to a deleted version of the file before, thanks for pointing that out.

No problem. It sure works, now! Thanks!

I know you from your "Dune" forum, too! :D

sawz

i got this installed easily on a 1.1.2 but when i click Place Your Pin, it doesn't show the map. not sure why.
keep smiling, they'll always wonder what your up too.....

clarkkent93

Which file would I edit if I'm ending up with two of the same flags in a post?

Ideas?
SMF 1.1.6

Compton

I have 1.1.2 installed and the package installer will not allow me to install this MOD because the MOD says it is for version 1.2.  Please provide me with detailed instructions as to how to fix this problem.  I am not well versed in coding so please be explicit.

Thank you.
-Compton

kat

#1125
You need to open the "package-info.xml" file, that's in the archive, in notepad and find the line that says:

   <install for="1.1 RC2, 1.1 RC3, 1.1, 1.1.1">

and make it read:

   <install for="1.1 RC2, 1.1 RC3, 1.1, 1.1.1, 1.1.2">

and the one that says:

   <uninstall for="1.1 RC2, 1.1 RC3, 1.1, 1.1.1">

to

   <uninstall for="1.1 RC2, 1.1 RC3, 1.1, 1.1.1, 1.1.2">

and save it back into the archive, over-writing the original.

Simple as that.

You'll probably need to do the same to the xml file in the "WhoFlags" package.

babjusi

I installed all 3 packages, but I can not see the flags appera, can anyone please tell me what should I do in order that the flags appear next to the IP

kat

Is that using the SMF default theme, or all of them?

By that, I mean "Do they appear, if you use the default theme?"

babjusi

yeas, I am using the SMF Default Theme, and the flags still don''t appear next to the IP-adresses in the view on line list

kat

Have you got other mods installed that could affect it?

I'm thinking of, perhaps, the "Users online today" mod.

babjusi

Quote from: kat on February 25, 2007, 04:12:48 PM
Have you got other mods installed that could affect it?

I'm thinking of, perhaps, the "Users online today" mod.

Yes, I have installed the "Users online today" mod. I didn''t know that that could affect it. Thanks for the tip

kat

I'm not saying that it definitely IS that, but it's a thought.

Maybe Gobalopper will see this and comment, ay?

babjusi

Quote from: kat on February 25, 2007, 04:33:36 PM
I'm not saying that it definitely IS that, but it's a thought.

Maybe Gobalopper will see this and comment, ay?

I hope so

Gobalopper

When installing did you get any errors? Or did it say it couldn't apply certain parts of the mod?

babjusi

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?

No, it installed clean, no errror message. When I view the on line list, there is blank where the flags are supposed to appear.

kat

Gobalopper's good at this, is he not? ;)

Gobalopper

Hmm... maybe the HTML is there but your images are not in the correct spot? I suppose this could happen if you are using a custom theme.

babjusi

Quote from: Gobalopper on February 25, 2007, 11:06:26 PM
Hmm... maybe the HTML is there but your images are not in the correct spot? I suppose this could happen if you are using a custom theme.

I am using the default theme, SMF version 1.1.2. Could it be as kat sugested above, that they could be in conflict with some other mod?

trecool999

Uh...

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    ./index.php    Test successful
8.    Execute Modification    ./Sources/Display.php    Test successful
9.    Execute Modification    ./Sources/Load.php    Test failed
10.    Execute Modification    ./Sources/ManageMembers.php    Test failed
11.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
12.    Execute Modification    ./Sources/Subs.php    Test failed
13.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
14.    Execute Modification    ./Themes/default/Display.template.php    Test successful
15.    Execute Modification    ./Themes/default/index.template.php    Test failed
16.    Execute Modification    ./Themes/default/script.js    Test successful

That isn't good... is it? I'm running SMF 1.1.2...

kat

#1139
Those messages are usually caused by another mod having altered the file(s), so the thing that the install is looking for aren't where they think they are, or they've been modified.

If you look at install.xml, which is in the directory named "smf 1.1.x", or whatever version of SMF you're using (Inside the location mod package), it'll tell you what's being looked for and what modifications it's trying to make. You can make the alterations, manually, then.

Doing that, manually, can be a bit scarey, the first couple of times that you try it. It's not so bad, though, once you've done it a few times.

Just remember to back up the files that you alter, just in case.

What I do, in this kind of situation, is rename the original file to add a "0" at the end, so I can just rename it back to the original name, if it all goes wrong.

Advertisement: