vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   VBGooglemap Member Edition (https://vborg.vbsupport.ru/showthread.php?t=99920)

caliman 04-15-2006 09:43 PM

Quote:

Originally Posted by stonyarc
To force revert open vbgooglemap_display_map set a few spaces somewhere. Save and the revert option will activate.

That did it. Thanks Stony. Everything works!

By the way, before I started messing around I did notice that the display_map template was capitalized a bit - 'VBGooglemap_display_map' instead of 'vbgooglemap_display_map.' I am not sure what the deal was there. I changed it to lowercase.


EDIT - I do see a minor bug in FIREFOX - the bottom of the balloon gets blown out sometimes. You may need to click on a few to see it.

NR Fatal 04-15-2006 10:01 PM

I installed it, its on my nav bar but I'm getting this.
To insert your entry you must be logged in. If you are logged in you'll see the "your entry" button appearing.
I am logged in my site and am I'm still gettin this. anyone know why.

stonyarc 04-15-2006 10:02 PM

Quote:

Originally Posted by caliman
That did it. Thanks Stony. Everything works!

By the way, before I started messing around I did notice that the display_map template was capitalized a bit - 'VBGooglemap_display_map' instead of 'vbgooglemap_display_map.' I am not sure what the deal was there. I changed it to lowercase.


EDIT - I do see a minor bug in FIREFOX - the bottom of the balloon gets blown out sometimes. You may need to click on a few to see it.

That's indeed sometimes an issue with the API itself.

The local data loads faster than the api data so the bottom size isn't correct.

On the special xbox version I made http://www.xboxusersgroup.com/forums...hp?do=showmain

Sometimes has that too.

stonyarc 04-15-2006 10:08 PM

Quote:

Originally Posted by NR Fatal
I installed it, its on my nav bar but I'm getting this.
To insert your entry you must be logged in. If you are logged in you'll see the "your entry" button appearing.
I am logged in my site and am I'm still gettin this. anyone know why.


Can you check if you see usergroup permission in your usergroup manager?

If not, you didn't upload all files correctly so please do so and in the correct directory.

The instruction in the pdf should help you with that

In addition you need to reinstall the plugin also to force a rebuild of the usergroup bitfields.

NR Fatal 04-15-2006 10:15 PM

Quote:

Originally Posted by stonyarc
Can you check if you see usergroup permission in your usergroup manager?

If not, you didn't upload all files correctly so please do so and in the correct directory.

The instruction in the pdf should help you with that

In addition you need to reinstall the plugin also to force a rebuild of the usergroup bitfields.

Usergroup permission? I clicked each usergroup and I see the "Can view the Googlemap" option. is that what you mean?
I saw you on the site just now, I changed that usergroup to be able to view the map, so please check it again.

stonyarc 04-15-2006 10:18 PM

Quote:

Originally Posted by NR Fatal
Usergroup permission? I clicked each usergroup and I see the "Can view the Googlemap" option. is that what you mean?
I saw you on the site just now, I changed that usergroup to be able to view the map, so please check it again.


Make sure that the your entry and show map button are on the correct location.

As you are using custom template they should be

http://forum.norestrictions.net/imag.../yourentry.gif
http://forum.norestrictions.net/imag...ns/showmap.gif

and not where they probably are now.

PS my marker is already on there ;)

NR Fatal 04-15-2006 10:24 PM

Quote:

Originally Posted by stonyarc
Make sure that the your entry and show map button are on the correct location.

As you are using custom template they should be

http://forum.norestrictions.net/imag.../yourentry.gif
http://forum.norestrictions.net/imag...ns/showmap.gif

and not where they probably are now.

PS my marker is already on there ;)

That was it, you the man! thanks a lot.

stonyarc 04-15-2006 10:29 PM

Quote:

Originally Posted by NR Fatal
That was it, you the man! thanks a lot.

Thanks

Enjoy your googlemap and make some major publicity for it !!!!!

Mattikana 04-15-2006 11:46 PM

This is not compatible with the Kirsch style. The hack works on the default vbb skin but when I switch to Kirsch I don't see the map and the textfields on the dashboard are empty. 'Your Entry' works fine on that style though.

yinyang 04-16-2006 12:34 AM

Quote:

Originally Posted by stonyarc
:D
It was indicated on page 56 but here it goes again:D
:D

To set the Sattelite map as default.

1. open the vbgooglemap_display_map template



2. look for the line

Code:

map = new GMap2(document.getElementById("map"));
3. Replace that line by

Code:

map = new GMap2(document.getElementById("map"),{mapTypes:[G_SATELLITE_MAP,G_NORMAL_MAP,G_HYBRID_MAP]});
4. Save

Have fun

thanks! i did do a search in this thread for "satellite" but it never showed your post in the results. weird.

stonyarc 04-16-2006 08:13 AM

Quote:

Originally Posted by Mattikana
This is not compatible with the Kirsch style. The hack works on the default vbb skin but when I switch to Kirsch I don't see the map and the textfields on the dashboard are empty. 'Your Entry' works fine on that style though.

Can you post a link please?

Make sure the images are also available in the other style.

That's probably the cause.

Check the pdf for the standard location but you'll need to upload to another image folder of you are using another style.

Gizmo999 04-16-2006 08:43 AM

Quote:

Originally Posted by stonyarc
I think I know what it is.

It's the shadow layer of the icon.

Edit

Yep there is one image missing in the /images/googlemap => mm_20_shadow.png

It's now included in the zip. To fix it on Safari just upload that single image to /images/googlemap

Other users can do this too if they want or just wait for the next update.

top work Stonyarc, weird how only Safari picks it up, good ol Apple and its image qualities :D

Kintaro81 04-16-2006 09:16 AM

Quote:

Originally Posted by stonyarc
To set the Sattelite map as default.
1. open the vbgooglemap_display_map template
2. look for the line
Code:

map = new GMap2(document.getElementById("map"));
3. Replace that line by
Code:

map = new GMap2(document.getElementById("map"),{mapTypes:[G_SATELLITE_MAP,G_NORMAL_MAP,G_HYBRID_MAP]});
4. Save
Have fun

Thank you!!! :bunny:

bashy 04-16-2006 09:19 AM

Hi

I cannot get the avatars to show and yes there in the database :(???

stonyarc 04-16-2006 09:25 AM

Quote:

Originally Posted by bashy
Hi

I cannot get the avatars to show and yes there in the database :(???


Bashy,

Can you please post a link?

bashy 04-16-2006 10:21 AM

<a href="http://www.bashys-place.com/forums/vbgooglemap.php" target="_blank">http://www.bashys-place.com/forums/vbgooglemap.php</a>

I have just noticed that it works ok in FF but not in IE

stonyarc 04-16-2006 10:29 AM

Quote:

Originally Posted by bashy
http://www.bashys-place.com/forums/vbgooglemap.php

I have just noticed that it works ok in FF but not in IE

Bashy,

I can see avatars in IE.

If a user doesn't have an avatar the engine will just show an empty image set to the width you have specified in the backend options.

bashy 04-16-2006 10:38 AM

Must be an issue at my end then...see image

stonyarc 04-16-2006 10:50 AM

Quote:

Originally Posted by bashy
Must be an issue at my end then...see image

Screenshot same location

stonyarc 04-16-2006 11:22 AM

All,

Please take a look at

https://vborg.vbsupport.ru/showthrea...116#post951116

I'm taking in your suggestions but you need to post them.

Only in that thread and not here.

Thanks

MrNase 04-16-2006 05:38 PM

One thing that bothers me a bit: On every update I have to re-upload the product file but that means all my translations are lost. Isn't there a way to prevent it? If you split up the language part I'll send you my German translation so that you can put it into the downloadable archive. :)

And now some things that came into my mind on upgrading my map:

The templates still are quite messy and at some point the even don't validate as XHTML anymore.
You are using '<BR>' instead of '<br />' and 'readonly' instead of 'readonly="readonly"'
The styling of the textboxes can better be done with CSS.

Besides that I have an idea to further improve the phrase support:
From what I see there are 4 places in the code where you are using an alert and those alerts are all hardcoded. :)
vB is using a method where the PHP variable is passed to a JS variable making it possible to use phrases in the JS code.

And speaking of the JS code: Wouldn't it be easier to make a new file with all the Javascript instead of placing them directly into the template?


Tell me what you think about my comments! :)


___________
I have one problem now: I can't update/change my location because the 2 input boxes won't change and the coordinates remain the same. :(

stonyarc 04-16-2006 06:17 PM

Quote:

Originally Posted by MrNase
One thing that bothers me a bit: On every update I have to re-upload the product file but that means all my translations are lost. Isn't there a way to prevent it? If you split up the language part I'll send you my German translation so that you can put it into the downloadable archive. :)

And now some things that came into my mind on upgrading my map:

The templates still are quite messy and at some point the even don't validate as XHTML anymore.
You are using '<BR>' instead of '<br />' and 'readonly' instead of 'readonly="readonly"'
The styling of the textboxes can better be done with CSS.

Besides that I have an idea to further improve the phrase support:
From what I see there are 4 places in the code where you are using an alert and those alerts are all hardcoded. :)
vB is using a method where the PHP variable is passed to a JS variable making it possible to use phrases in the JS code.

And speaking of the JS code: Wouldn't it be easier to make a new file with all the Javascript instead of placing them directly into the template?


Tell me what you think about my comments! :)


___________
I have one problem now: I can't update/change my location because the 2 input boxes won't change and the coordinates remain the same. :(

Code cleaning is on the list for 2.0.3

Are you still having that update problem?

My marker does show nicely http://www.pagodentreff.de/diskussio...hp?do=showmain



Your marker is somewhere in northern syberia. it's because of the default zoom you don't see.

Just center on Germany and hit update.

MagiKelly 04-16-2006 06:46 PM

Shortly after upgrading to 2.02 I promoted my Moderator to a Super Moderator. His pin is still the colour for a Moderator. How do I update this?

Thanks in advance.

stonyarc 04-16-2006 06:54 PM

Quote:

Originally Posted by MagiKelly
Shortly after upgrading to 2.02 I promoted my Moderator to a Super Moderator. His pin is still the colour for a Moderator. How do I update this?

Thanks in advance.

That's indeed something that isn't automatically detected yet.

The users should go to his "your entery" page, make a small change and hit the update button.

After that it should be fine

MrNase 04-16-2006 07:42 PM

Quote:

Originally Posted by stonyarc
Your marker is somewhere in northern syberia. it's because of the default zoom you don't see.

Just center on Germany and hit update.


I can't confirm it's working! :(

When I am on the main page and I scroll around the 2 input fields with the coordinates do change. But when I want to add/edit my location and I scroll around the map the values of the 2 fields don't change and thus my location isn't updated when I click 'update'.

Even when I change the zoom level the input field containing the zoom level still has '6' as a value.


I tried it on Safari and Firefox (the latest) and it didn't work..

Edit:

This must be an Mac OS X thing.. I tried it on Windows XP using the Internet Explorer and it worked fine. I am now going to install Firefox on Windows just to be sure. :)

It must be a Firefox/Safari problem.. I have the same problems with Firefox running on Windows XP.

stonyarc 04-16-2006 08:00 PM

Quote:

Originally Posted by MrNase
I can't confirm it's working! :(

When I am on the main page and I scroll around the 2 input fields with the coordinates do change. But when I want to add/edit my location and I scroll around the map the values of the 2 fields don't change and thus my location isn't updated when I click 'update'.

Even when I change the zoom level the input field containing the zoom level still has '6' as a value.


I tried it on Safari and Firefox (the latest) and it didn't work..

Edit:

This must be an Mac OS X thing.. I tried it on Windows XP using the Internet Explorer and it worked fine. I am now going to install Firefox on Windows just to be sure. :)

It must be a Firefox/Safari problem.. I have the same problems with Firefox running on Windows XP.

I see it now

*starts the code dig *

work around for you is to delete your entry and reset. The insert doesn't have the problem


I found it

There is a small name error with name and id in the display map IE ignores that but FF doesn't

The version now online has the firefox fix included. Sorry for that one.

Just reload the plugin after downloading the latest file version and it should be fixed

bashy 04-16-2006 08:37 PM

Cheers for the update Stony, What was the issue please?

stonyarc 04-16-2006 08:41 PM

Quote:

Originally Posted by bashy
Cheers for the update Stony, What was the issue please?

Well,

If you dynamically set form elements IE uses the name field and firefox needs the ID field.

So you have to set both equal in the code

In the URL form element in de vbgooglemap_display_yourlocation there was a difference in the name and id attribute of the tag so firefox was trying to update the wrong element which already existed on the page but hidden.

Because firefox cannot update two form elements with the same name/id he just stops updating anything.

bashy 04-16-2006 08:44 PM

Why oh why did i have to ask pmsl....none of that made sense to me...
Thanks anyway, im sure someone somewhere will understand that lol :)

Cheers m8, great hack :)

stonyarc 04-16-2006 08:47 PM

Quote:

Originally Posted by bashy
Why oh why did i have to ask pmsl....none of that made sense to me...
Thanks anyway, im sure someone somewhere will understand that lol :)

Cheers m8, great hack :)

And that was an easy one ;)

This is currently probably the most active thread on vb.org

It's almost like a chat room

Za4a Tuner 04-16-2006 09:05 PM

Very nice hack, but even not xhtml-valid

some chances should be done @ the produkt.xml :

replace every <BR> by <br />

change line 41 and 42 to:
Code:

<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />

@ lines 152, 156, 160, 164 and 167 define the ALT-Tag:
Code:

...height="20" title="Other" alt="" />
it would be nice, if the other errors will be fixed too :D

stonyarc 04-16-2006 09:11 PM

Quote:

Originally Posted by Za4a Tuner
Very nice hack, but even not xhtml-valid

some chances should be done @ the produkt.xml :

replace every <BR> by <br />

change line 41 and 42 to:
Code:

<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />

@ lines 152, 156, 160, 164 and 167 define the ALT-Tag:
Code:

...height="20" title="Other" alt="" />
it would be nice, if the other errors will be fixed too :D

Thanks for the list

These are indeed all planned for version 2.0.3 which will be a service release and not really a feature release.

Deska 04-17-2006 09:30 AM

How to make it work with balloon avatars that stored in the file system?
Anyway /me click install :)

stonyarc 04-17-2006 11:00 AM

Quote:

Originally Posted by Deska
How to make it work with balloon avatars that stored in the file system?
Anyway /me click install :)


A fix for that one is in the making.

Nice to have another install :cool: :cool:

mkdevo 04-17-2006 12:57 PM

weird problem here.. just upgraded to 2.0.2...

the vbgooglemap option isn't showing up in my usergroup manager. also, by default, i (the administrator) can't see the vbgooglemap page (says i don't have permission).

any ideas? i've reverted the templates, and tried importing the product again - no dice..

stonyarc 04-17-2006 01:11 PM

Quote:

Originally Posted by mkdevo
weird problem here.. just upgraded to 2.0.2...

the vbgooglemap option isn't showing up in my usergroup manager. also, by default, i (the administrator) can't see the vbgooglemap page (says i don't have permission).

any ideas? i've reverted the templates, and tried importing the product again - no dice..


Make sure you upload all the files in the upload folder including the bitfield for the permissions.

If you do just reload the product-vbgooglemap.xml with overwrite to yes and the bitfields will be rebuild

forumthemes 04-17-2006 01:15 PM

wow what a great mod, thank you so much

mkdevo 04-17-2006 01:42 PM

Quote:

Originally Posted by stonyarc
Make sure you upload all the files in the upload folder including the bitfield for the permissions.

If you do just reload the product-vbgooglemap.xml with overwrite to yes and the bitfields will be rebuild

ah, that did it. looks like my upload was interrupted somehow and didn't make it all the way. thanks!

stonyarc 04-17-2006 02:06 PM

Quote:

Originally Posted by forumthemes
wow what a great mod, thank you so much

Forumthemes don't forget to hit install !!!!!!!!!!!!!!!!!!:D

maroceve 04-17-2006 02:41 PM

Quote:

Originally Posted by stonyarc
Did you upload all files?

Do you see usergroup permissions in your usergroup manager?

If so try to log out

___________


I think you forgot to upload all files.

Please follow the instructions included in the psd

yes all files are uploaded and i see he usergroup permissions...


All times are GMT. The time now is 03:59 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02233 seconds
  • Memory Usage 1,865KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_code_printable
  • (26)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete