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

Gobalopper

Ok try again. Downloading the files that is, I put up new ones.

Aravot

New files worked, what was the change

LostProphecy

Quote from: Gobalopper on January 14, 2005, 12:08:24 PM
Just a note to those of you who had the old version the only database change can be upgraded by running this query:
ALTER TABLE smf_mm_maps ADD COLUMN visible TINYINT(1) NOT NULL default '1'

If you are going to install this mod and not the upgrade be sure to have the original source files.


I'm not quite sure how to do this... i assume you go into myphpadmin and into the query section, but i'm just starting to learn about databases so i'm not really sure how to submit this query... help please :)
Angelus Ex Quo Nox

lupus

Hi Gobalopper,

When i run the package manager i get this.

Installing this package will perform the following actions:  Type Action Description
1. Extract Tree ./Themes/default/images/flags 
2. Extract Tree ./Themes/default/images/maps 
3. Extract File ./Themes/default/images/english/mm.gif 
4. Extract File ./Sources/MemberMap.php 
5. Extract File ./Themes/default/MemberMap.template.php 
6. Execute Modification index.php Success
7. Execute Modification ./Sources/Display.php Success
8. Execute Modification ./Sources/Load.php Success
9. Execute Modification ./Sources/ManageMembers.php Success
10. Execute Modification ./Sources/ManagePermissions.php Success
11. Execute Modification ./Sources/Subs.php Success
12. Execute Modification ./Themes/default/languages/Modifications.english.php Success
13. Execute Modification ./Themes/default/Display.template.php Success
14. Execute Modification ./Themes/default/index.template.php Success
15. Execute Modification ./Themes/default/script.js Success
16. Execute Code install.php


It then ask's me for the ftp stuff to make changes.  I put the details in and hit proceed but nothing happens.  I've checked all the files that you've mentioned at the beginning and they are all have full permissions.

If i can get the package manager to do it for me great as i don't fancy doing te hand code on it...Though i may well have to if i want it on additional theme's...


Gobalopper

Quote from: Aravot on March 08, 2005, 04:06:02 AMNew files worked, what was the change

The versions supported was listed as "1.0,1.0.1-1.0.3" which I guess doesn't work properly... So I changed it to "1.0,1.0.1,1.0.2,1.0.3".


Quote from: LostProphecy on March 08, 2005, 04:37:29 AMI'm not quite sure how to do this... i assume you go into myphpadmin and into the query section, but i'm just starting to learn about databases so i'm not really sure how to submit this query... help please :)

Yes, just make sure that smf_ is your database prefix. It usually is as that is the default.


Quote from: lupus on March 08, 2005, 11:54:37 AMIt then ask's me for the ftp stuff to make changes. I put the details in and hit proceed but nothing happens. I've checked all the files that you've mentioned at the beginning and they are all have full permissions.

If i can get the package manager to do it for me great as i don't fancy doing te hand code on it...Though i may well have to if i want it on additional theme's...

Ya I wish the package manager would list beside the name what files have permission problems but it doesn't... Maybe thats another mod. :)

I will take another look at what files you should have writable and see if it has changed at all.

Kindred

part of the problem could be a DIRECTORY problem...   if your directory does not allow new files or new subdirectories to be created, then the mod will fail with a continual return to the "enter proper ftp info" screen.
Сл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."

Gobalopper

True, but I included the directories in the list of what has to have the proper permissions so I assume he has done that to.

Aravot

I was checking my "Forum Error Log" had 7 pages of the following error.



here is the code from line 212 (line 212=echo')


if ($context['browser']['is_ie'] && !$context['browser']['is_ie4'])
echo '
if (typeof(smf_codeFix) != "undefined")
window.detachEvent("onload", smf_codeFix);
window.attachEvent("onload",
function ()
{
with (document.all.supportVersionsTable)
style.height = parentNode.offsetHeight;
}
);
if (typeof(smf_codeFix) != "undefined")
window.attachEvent("onload", smf_codeFix);';

Gobalopper

What file is that from?

[Unknown]

Quote from: Gobalopper on March 08, 2005, 12:35:57 PM
Quote from: Aravot on March 08, 2005, 04:06:02 AMNew files worked, what was the change

The versions supported was listed as "1.0,1.0.1-1.0.3" which I guess doesn't work properly... So I changed it to "1.0,1.0.1,1.0.2,1.0.3".

Well, in 1.0 it was EXCLUSIVE, not inclusive.  1.0.0-1.0.4.  This was fixed in 1.1.

-[Unknown]

Webby

I've changed the code a bit and moved the member listing to beneath the map.  Already 173 members have placed their pin, so I thought it was better to swap the listing with the map :)

A great mod I must say !

Gobalopper

Ya, my board had them below too and I just realized the mod puts them above so I've moved it below the map for the next release.

Redeye

Which bit of code needs changing to show the listing underneath the map?

TIA

Aravot


Aravot

Quote from: Redeye on March 09, 2005, 01:31:51 PM
Which bit of code needs changing to show the listing underneath the map?

TIA

Me too

Webby

Membermap.template.php , download the modified version here :

http://www.salesplaza.nl/images/MemberMap.template.zip

lupus

Quote from: Gobalopper on March 08, 2005, 12:35:57 PM

Quote from: lupus on March 08, 2005, 11:54:37 AMIt then ask's me for the ftp stuff to make changes. I put the details in and hit proceed but nothing happens. I've checked all the files that you've mentioned at the beginning and they are all have full permissions.

If i can get the package manager to do it for me great as i don't fancy doing te hand code on it...Though i may well have to if i want it on additional theme's...

Ya I wish the package manager would list beside the name what files have permission problems but it doesn't... Maybe thats another mod. :)

Thanks bro, it would be a great help...Thanks for all the effort as well...



I will take another look at what files you should have writable and see if it has changed at all.

dthomas

I feel stupid here but I am running SMF 1.0.2 and had no problems installing the package but I only get one world map. How do I get the other maps? I had this feature on yabbse and it was very popular but the world map gets covered due to the pin size.  Am I missing something?

Aravot

Download maps and install through Package Manager from here > http://mods.simplemachines.org/index.php?mod=56

Redeye


Advertisement: