News:

Wondering if this will always be free?  See why free is better.

Main Menu

Location Mod

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

Previous topic - Next topic

Kindred

I modified the package-info.xml to include 1.1 RC3...

now the file tells me it can't even upload because it is not a valid package!

Quote
The package you tried to upload either is not a valid package or has become corrupted.
grumph...
Сл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."

Inflame

Im waiting for the RC3 modification

when does it come ?!

Kindred

I couldn't get my modificaiton of the install to work, so I went and did it by hand...
Сл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."

rebelminion

Ok Guys.

I was reviewing error logs and apparently clicked on one of the error links and somehow managed to double install the Location MOD by doing so.

I now have MEMBER MAP listed twice in my menu and whenever I try to access any layout that shows a map, I get the following error:

QuoteNot unique table/alias: 'pin'
File: /home/whitelr/public_html/thebetteragent/Sources/Load.php
Line: 783

So, I am getting this on the users online area and for every post since the flag is included there.

My first problem is to just get my site working again. Any suggestions?

The second problem is to get Location MOD completely UNINSTALLED.

Any help appreciated.

Thanks,
R

beemer

Quote from: rebelminion on September 01, 2006, 08:27:47 AM
Ok Guys.

I was reviewing error logs and apparently clicked on one of the error links and somehow managed to double install the Location MOD by doing so.

I now have MEMBER MAP listed twice in my menu and whenever I try to access any layout that shows a map, I get the following error:

QuoteNot unique table/alias: 'pin'
File: /home/whitelr/public_html/thebetteragent/Sources/Load.php
Line: 783

So, I am getting this on the users online area and for every post since the flag is included there.

My first problem is to just get my site working again. Any suggestions?

The second problem is to get Location MOD completely UNINSTALLED.

Any help appreciated.

Thanks,
R

Have a look in load.php around line 783 i am guessing its installed several times so you have some repetitive code.
Remove any duplicate strings
http://www.bmw7resource.co.uk
SMF 1.1 RC1
MKP 1.1 RC1
Helios Multi RC1
-------------------------------------------------------
http://www.thefishsheadnhorsesarse.co.uk
SMF 1.1 RC2
TinyPortal 0.8.6

rebelminion

Thanks, I will give that a shot.

To clarify a bit tho, the error I was getting is when I go to any screen where the FLAG is for the location mod is presented, not the MAP.

I have uninstalled the Location Mod. So at least now I only have 1 menu selection for Member Map and I have uploaded a back up of the Load.php file which has everything working, but now I am still left with a Member Map option that gives an error about a missing file (of course, it has been uninstalled! Grrr)

I will check my current Load.php for any duplicate code.

Thanks,
R

edi67

Quote from: Gobalopper on April 04, 2006, 10:16:54 PM
Ok disregard my last post. :)

I've finally gotten a server to test with MySQL 5 and the version I've just posted should work.

If you already have the mod installed then you can look for this:
FROM {$db_prefix}mm_pins AS p, {$db_prefix}members AS mem
LEFT JOIN {$db_prefix}location_country AS c ON c.c2code = p.country


and replace it with this:
FROM {$db_prefix}members AS mem
LEFT JOIN ({$db_prefix}location_country AS c, {$db_prefix}mm_pins AS p) ON (c.c2code = p.country)


perfectly work for that error

thx goba
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

pheasant_plucker

I have this installed on RC2 and it works fine. However I am trying to upgrade to RC3 and the member map doesn't work. I have modified the XML file to allow the package manager to work and the mod installs ok apart from the index.template.php file which is to be expected. However when trying to use the mod I get this SQL error
You 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 p.ID_MEMBER = mem.ID_MEMBER
ORDER B' at line 4
File: /home/dillan/public_html/Sources/MemberMap.php
Line: 101


I know sweet fa about sql, any ideas? i presume it's a problem with the syntax in membermap.php.

Gerry

Surferbird

I know here is clever people, could some nice coder fix this Location MOD to work coreectly in RC3. It can't be that hard to do when it worked very well in RC2.  8)
.:: Always something to ask - always grateful for assistance ::.

imranali

Can any one please tell me as to how does one place the pins on the map. Is it through the profile seetings or something?
Please reply. It's urgent.

DemonicInfluence

umm.. In the membermap display

guachiman

it seems that you don't see the Member's Map button in the main menu.  If you installed the mod properly should show automatically. If you have a different theme, you need to add the code for the button to appear.

plyons66

Greetings,

Will an installable version be coming that can install on SMF 1.08?

Or is a manual install recommended?

Best Regards, Phil


Kindred

I can pretty much guarantee you that this will be unlikely to be released for 1.0.8. The 1.0.x series is going away and all support for just about every mod is moving to the 1.1 series...

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

plyons66

Thank you Kindred,

Can I just modify packag-info.xml to install on 1.08?  I've only been working with SMF for a few months so don't know if that would work in this case.  Or, is a manual install possible? If so, I can search for instructions and get it done that way.

I'm hesitant to install the 1.1 series before it is oficially released.

Thanks again for the help!

Best Regards, Phil

pheasant_plucker

I originaly posted in this topic that I had an SQL error when trying this mod on rc3.
I can now happily report that the error was my fault and that this mod works perfectly on rc3. I had the error because before I upgraded I run a simulated forum on my server with a database backup from the real forum. On the real forum I had the location mod, extra flags and maps. On the test forum I just tried the location mod leaving the other two off thinking they were just additions to the main mod. It was this that caused the error.
All you need to do is alter the install file in the mod for rc3. I just changed one of the older ones!

Gerry

Gobalopper

Ok I have updated the install files so it will work on 1.0.8 and 1.1 RC3. I didn't change any of the code so if anyone has conflicts listed when trying to install please post here. It should be fine though.

Dayu

Cool! Now our member map at Fine Spot Network is back.
Thanks a lot.  :D
[nofollow]

Velairon

Hi!

I am using 1.1 RC3 and installed the location mod, but when i try to access the map i get the following error:

You have an error in your SQL syntax near '(smf_location_country AS c, smf_mm_pins AS p) ON (c.c2code = p.country)
WHERE ' at line 4
File: /kunden/74932_97082/Forum/Sources/MemberMap.php
Line: 101


(I used the latest version of location mod)

Any ideas?

DemonicInfluence

where did the whoflags and additional maps go?

Advertisement: