News:

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

Main Menu

Google Member Map

Started by TLM, December 18, 2005, 08:43:52 PM

Previous topic - Next topic

allotments4all

Re Joomla Portal Problem ...

Thought I was going mad, I don't have Sources/GoogleMap.php, I have MemberMap.php, but don't worry I am using the google membermap - very confusing!

But using your pointer I realised I needed to change the 'href' entry in Sources/Load.php, I realise this is a very local solution to my website (as it requires a manual entry of the joomla component) but if anyone wants a pointer to how I've fixed it let me know.

I'm sure everyone is screaming you can't change that function - but I have, and can't see any problems it could cause.

Thanks

Dan

TLM

#281
Quote from: allotments4all on January 31, 2006, 03:25:46 PM
Thought I was going mad, I don't have Sources/GoogleMap.php, I have MemberMap.php, but don't worry I am using the google membermap - very confusing!
You sir have an old version, theres newer out there!  I update often for right now, about every 2wks or so I get urges to code like made then theres calm for a while, repeat.  Example, I think I did 3 or so versions just this past weekend adding features and one to fix some bugs.  I might be doing another lookin at the IE problem...

Quote from: allotments4all on January 31, 2006, 03:25:46 PM
But using your pointer I realised I needed to change the 'href' entry in Sources/Load.php, I realise this is a very local solution to my website (as it requires a manual entry of the joomla component) but if anyone wants a pointer to how I've fixed it let me know.

I'm sure everyone is screaming you can't change that function - but I have, and can't see any problems it could cause.
Sources/Load.php Line ~842,

// Loads the user's basic values... meant for template/theme usage.
function loadMemberContext($user)

Thats the start of the function you will want to edit in that case.
Sources/Load Line ~894

// What a monstrous array...
$memberContext[$user] = array(

Here is where you will wanna really look at.  I see nothing wrong with editing it, the mod does, and you will see it in the array there. ;)
Again joomla wise, I think there is a specific way to call it, so your on your own there, im sure theres a variable for that info but that again up to you to find out.

oscar2001

QuoteThis one should do it, works on TPF in IE and FF.  Although I am not to happy with this fix, but its a must for IE likes to complain more than FF...

Cool, fixes it :) thanks...

antracit


PhatTyres

#284
Quote
* TLM smacks face....
Duh... functions that are inside another function wont be able to be called....

*Goes about fixing the fix...*

This one should do it, works on TPF in IE and FF.  Although I am not to happy with this fix, but its a must for IE likes to complain more than FF...

Works on both IE and FF but it seems to slow the map loading to a crawl on FF.  Could be me but it loads quicly in IE now but really slow to not at all in FF

Must have been something else...works great thanks TLM
OTB and Runnin Down The Hill

SMF 1.0.5  MKp1.0                                Clip'd In Cycling Community

TLM

I was about to say... the only reason there is a delay on loading of map now is for crappy old IE likes to start the javascript before it has all the HTML loaded/rendered causing issues.  Anyone try this on IE 7 yet?  Dont run windows much anymore so I hardly ever use IE, its FF or links for me.  I might accauly just make that an IE only thing on the timer, who knows, I am tired and need to finsh this ip scheme for a class project.

ArkServer

4.     Execute Modification     .\Sources/ModSettings.php     Test failed

rc1.1 rc2

TLM

Quote from: ArkServer on February 02, 2006, 10:57:08 AM
4.     Execute Modification     .\Sources/ModSettings.php     Test failed

rc1.1 rc2
Yeah, my mod does not play well with others... I know about that one.

iivel

I'm a big dummy methinks, but where do I put the code in the "fix"?

I don't see div="map" anywhere helpful.  I appreciate the input.

Thanks.

TLM

Quote from: iivel on February 02, 2006, 04:39:38 PM
I'm a big dummy methinks, but where do I put the code in the "fix"?

I don't see div="map" anywhere helpful.  I appreciate the input.

Thanks.
Which fix? What are you tring to do?

ArkServer

Quote from: TLM on February 02, 2006, 02:54:08 PM
Quote from: ArkServer on February 02, 2006, 10:57:08 AM
4.     Execute Modification     .\Sources/ModSettings.php     Test failed

rc1.1 rc2
Yeah, my mod does not play well with others... I know about that one.

When i go to the Features and Options"it gives me a blank screen after i installed this, i suppose it can be fixed? because everything else is working afaik

iivel

The fix for the problem of internet explorer giving me the message ... IE cannot open the site xxx "Operation aborted"

You can see it on my forum: hxxp:www.axeofazeroth.org/gforum/ [nonactive]

TLM

Quote from: ArkServer on February 02, 2006, 07:05:48 PM
Quote from: TLM on February 02, 2006, 02:54:08 PM
Quote from: ArkServer on February 02, 2006, 10:57:08 AM
4.     Execute Modification     .\Sources/ModSettings.php     Test failed

rc1.1 rc2
Yeah, my mod does not play well with others... I know about that one.

When i go to the Features and Options"it gives me a blank screen after i installed this, i suppose it can be fixed? because everything else is working afaik
Yeah if you feel like installing that part manually till I make a more mod friendly mod, which should be next release.

Quote from: iivel on February 02, 2006, 07:23:20 PM
The fix for the problem of internet explorer giving me the message ... IE cannot open the site xxx "Operation aborted"

You can see it on my forum: www.axeofazeroth.org/gforum/
Why are you trying to edit code when I provided a file to download you simply replace whats on your server.  Not to mention this is another prime example of why permissions annoy me, people block guests and I dont want to register on 50 diffrent forums to try to even figure there problems, your map is not visable to guests.

iivel

#293
Sorry, I'm a complete n00b to the forums, and didn't see the file attatchment.  I only saw the link to the google forum.

I've got the file now, and all appear to work beautifully.

I apologize again & thanks for pointing the file out to me  :-[

As a side note, I didn't set the permission to prevent guests from being able to view the map.  Is that inherited from something else?

oscar2001

Quote
As a side note, I didn't set the permission to prevent guests from being able to view the map.  Is that inherited from something else?
You need to select which membergroups you want to view the map (including guests). When I first installed this mod only the admin could see the map , so you may need to check your permissions are set so other registered members can see it.

TLM

As an update to you all, I have figured out a nice interface in the admin area for the extra data stuff.  Unfortantly/Fortantly this is gonna require a secondary mod to be made and installed.  The reason for this other mod that I am working on is this mod has outgrown the Features and Options.  Lets not forget my other two secret projects that will probally be unable to function in Features and Options.  Look for screen shots this weekend if I get around to it of the next version of the admin interface and the new mod.

damacguy

Quote from: TLM on February 02, 2006, 11:30:40 PM
As an update to you all, I have figured out a nice interface in the admin area for the extra data stuff.  Unfortantly/Fortantly this is gonna require a secondary mod to be made and installed.  The reason for this other mod that I am working on is this mod has outgrown the Features and Options.  Lets not forget my other two secret projects that will probally be unable to function in Features and Options.  Look for screen shots this weekend if I get around to it of the next version of the admin interface and the new mod.

Gah! Now I'm going to have to sit in the office all day Friday in anticipation!  >:(

I can't wait to see whatelse you've got cooking!

Thanks again for all the work.  :D

TLM

Quote from: damacguy on February 03, 2006, 02:05:21 AM
Gah! Now I'm going to have to sit in the office all day Friday in anticipation!  >:(

I can't wait to see whatelse you've got cooking!

Thanks again for all the work.  :D
http://www.simplemachines.org/community/index.php?topic=69032.0
http://www.simplemachines.org/community/index.php?topic=62121.0
Should be hints to the other projects.

TLM

#298
Ok well I said preview, so here it is, its still rough but you sorta get the idea.

Can you spot the changes?  Can you spot the other mod?

pagination

Just a few nitpicks (nitpicks are my speciality, and today they're free!):

"Users gender" -> "User's gender"
"Number of max pins" -> "Max number of pins"
"The defualt Zoom" -> "The default Zoom"
"Maximum visable pins" -> "Maximum visible pins"

I really like the idea of being able to control the pin clustering like that.  And, of course, the control over the positioning of the sidebar.  You're doing a grand job here, TLM!

Advertisement: