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

Kindred

Globalopper...

Odd occurance.
The mod works perfectly from within SMF (standalone).
If I link where SMF is the only thing in the address line, it comes up, no problem.

http://www.turtleshellprod.com/community/index.php?action=mm

However... under normal circumstances, my users are going to be hitting SMF through the mambo-bridge.

http://www.turtleshellprod.com/mambo/index.php?option=com_smf&Itemid=49&

appending ?action=mm to the line has no effect, although ?action=admin works just fine...

Сл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

Quote from: TheDel on November 24, 2004, 12:23:42 AM(now I really dont wanna go backwards and ask this) but do you have a manual mod for this with an install (for the dbase changes)?

So you just want the database changes? You can look at the install.php file for all the queries it uses.


Quote from: oschikhof on November 24, 2004, 08:30:16 AMI have installed a new forum (next to my existing forum) in another map and another prefix for the database. Here also the same modification parse error when I want to install the mod with the package manager..

Why doesn't it work? Has it to do with the php configuration of my provider?
For example: register_globals is Off in my providers config. ::)

I'm not sure what would cause that. Maybe it is something with the package manager code... Unknown do you have any idea?


Quote from: Redeye on November 24, 2004, 04:33:02 AMNo it was blank across from install.php

I presume the ?action=mm is placed after the normal URL to the forum? Just a screen refresh.

So did the install in package manager work or not then? What error did it give exactly? That has to all go ok before the ?action=mm would work.


Quote from: Ravey76 on November 24, 2004, 05:19:59 AMNo, unfortunately not. As soon as I upload the file by hand, the "package listing" doesn't work anymore > "Internal Server Error",
nothing works. If I delete the file from server, everything works well again ... I guess my server has a problem with the zipped file...

Check into what Unknown mentioned. You need to have zlib installed. You can do that by using phpinfo() or asking your host.


Quote from: kindred on November 24, 2004, 11:25:43 PMOdd occurance.
The mod works perfectly from within SMF (standalone).
If I link where SMF is the only thing in the address line, it comes up, no problem.

http://www.turtleshellprod.com/community/index.php?action=mm

However... under normal circumstances, my users are going to be hitting SMF through the mambo-bridge.

http://www.turtleshellprod.com/mambo/index.php?option=com_smf&Itemid=49&

appending ?action=mm to the line has no effect, although ?action=admin works just fine...

I'm guessing you will need to edit mambo's action array in order to get it to work... I'm not sure how that works though as I've never used it. Someone else might though.

Ravey76

@ Unknown & Gobalopper:

I had a look @ phpinfo, here's what it says:

Registered PHP Streams:    php, http, ftp, compress.bzip2, compress.zlib

zlib
ZLib Support    enabled
Compiled Version    1.2.1
Linked Version    1.2.1

Directive   Local Value   Master Value
zlib.output_compression   Off   Off
zlib.output_compression_level   -1   -1
zlib.output_handler   no value   no value

So zlib is installed. Which version of zlib is needed?

Kind regards,
Ravey76

oschikhof

I have read the install.xml and applied all modifications that are set it that file...
After that I tried to start the page with index?action=mm but this gives an error.

The page is building up normally but where the map etc. should be it says
that the page as caused an error..

What to do now?  ::)
It's getting unpleasantly complicated  :'( and I was so looking forward for this mod.


Kirk24788

I have the same Problem with the IE.
With Firefox it works just fine - which is no Problem for me  :D

Gobalopper

Is it a javascript error? If it is your javascript file is likely cached, make sure you clear your cache or somehow update it.

Ravey I'm not sure what version is required... I would think having it installed would be enough. Unknown might know though.

oschikhof

For me it doesn't matter Firefox or IE......it still doesn't work  :'(

oschikhof

I have tried it again on another website...but after a swift installation of RC2, the first try of installing the location mod went wrong
and now the package manager doesn't react at all...
(I am glad it's just a test site haha)...

Though I do not understand why so many people run this cool mod without problems and I am already trying to run this for several days  :'(

Gobalopper

Hmm... can you send me the url of the test site in an IM? I can take a look. Just create a test account with admin privileges to the package manager.

Ravey76

@ Gobalopper:

Hi Gobalopper,

I don't know why the automatic installation doesn't work ...
Can you explain me how do to this job by hand?

Thanks a lot,
Ravey76

Redeye

Quote from: Gobalopper on November 25, 2004, 12:48:21 AM

Quote from: Redeye on November 24, 2004, 04:33:02 AMNo it was blank across from install.php

I presume the ?action=mm is placed after the normal URL to the forum? Just a screen refresh.

So did the install in package manager work or not then? What error did it give exactly? That has to all go ok before the ?action=mm would work.


The mod had to be uploaded manually.
I then ran the install from pac-man.
Got the "Success" against all the changes apart from install.php

No error messages anywhere - just nothing happened.

Kirk24788

@oschikhof
Are you running a different language?
I had the same Problem with normal accounts.
/forum/Themes/default/languages/Modifications.english.php
needs to be copied (and changed, if you want ;) ) to:
/forum/Themes/default/languages/Modifications.xyz.php
where xyz is your selected language.

Then you should get the right error message
(indicating that you don't have the permissions)

After that you can change the Permissions for each groups to view
the member map and and the pins.

@Gobalopper
What kind of source image did you use for each region?
I'd like to have it, as I 'm using this mod for a forum with mostly german, austrian or swiss members
unfortunatly austria is cut off on the north-west-europe image.
I made a new entry to the SQL-DB, and used the europe image to get a central europe image....
but it just won't look good ;)

Is it possible to gate the source image  :D



Ravey76

@ Gobalopper:

Okay - there's something new:

- I unzipped the tar.gz-file and re-zipped it as an ordinary ZIP-file (*.zip)
- uploaded the file
- MOD was recognized correctly
- installed the MOD
- everything worked fine  :-)

BUT:
- started the Mod (index.php?action=mm)
- it ran just one time fine; I could place my pin
- now I receive everytime I start the Membermap (?action=mm) an error message "Es ist ein Fehler aufgetreten" ("An error occured")  *aargh*

Will check this tomorrow ...

Kind regards,
Ravey76

Dunrobin

#73
Great Mod, Gobalopper!  I just uploaded and installed it through the package manager (RC2) at ThreeStooges.net and it worked just fine.
"Quiet, knumbskulls!  I'm broadcastin'!"

The Three Stooges Online Filmography

Kirk24788

@Ravey76
I had the same Problem with normal accounts.
/forum/Themes/default/languages/Modifications.english.php
needs to be copied (and changed, if you want Wink ) to:
/forum/Themes/default/languages/Modifications.xyz.php
where xyz is your selected language.

Then you should get the right error message
(indicating that you don't have the permissions)

After that you can change the Permissions for each groups to view
the member map and and the pins.



And now the same in german ;)

Ich hatte das selbe Problem,
du musst einfach nur eine /forum/Themes/default/languages/Modifications.german.php
erstellen auf der Basis der /forum/Themes/default/languages/Modifications.english.php
Da musste halt wenn du willst die Texte ins deutsche übersetzen, danach funktioniert das eigentlich
alles einwandfrei ;)

Ravey76

@ Kirk24788:

*G R E A T *

THAT was exactly what I was looking for   :D

As you mentioned - I translated the Modifications.english.php and saved the file as Modifications.german.php. After that I could set in Admin Area all settings (Standard setting: denied for all) and now it works fine   :)

In german:

Hey - ich dank' dir herzlichst für den Tip, war genau das Problem, was mir Kopfzerbrechen bereitet hat! Jetzt funzts super!

Kind regards / Beste Gruesse,
Ravey76

oschikhof

#76
Hurrrah....it works....cool..
(Sometimes keep on trying, really pays off.)

Thanx to everybody for the help and specially to Gobalopper for making this cool mod  :)

Just one little thing....where can I modify permissions?
Now only the admin is allowed to see the map.. and in my package manager it says that I have no mods installed...this because I have installed all myself...

EDIT
I have found it after some extra modifications in my php source files..
THANX!
/EDIT

oscar2001

QuoteJust one little thing....where can I modify permissions?
Member controls on the far left collum in admin and then edit permissions(do each member group permissin seperatly)

Ravey76

@ Gobalopper:

Cool - now the mod works fine  :)


Following problem still existing:
- Member Map doesn't work with the actual Firefox version; Pins are somewhere off the map

Question:
- is it possible to place own maps in this mod? In the previous version I had a nice big map of germany and I'd like to use it again ...
- it needs some time to get used to this new "look and feel" and I liked the previous MemberMap-version very much;
   > is it possible to make some kind of "theme" for this MemberMap? Like "Member Map Classic" and "Member Map Default" ...?

Kind regards,
Ravey76

Gobalopper

#79
Hey guys, it looks like most of the problems are fixed now?

Ravey I think the pins being off the map is a javascript problem. So it might just be caching the file or something.

As for new maps I can make some but since the originals are 30MB Illustrator files I can't really send them. :)

For additional maps please see the second post in this thread.

Advertisement: