vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   VBGooglemap Hotspot Edition (https://vborg.vbsupport.ru/showthread.php?t=114149)

Gommeke 04-28-2006 01:23 PM

I have the same problem as in :
https://vborg.vbsupport.ru/showpost....5&postcount=25
Can not figure out what could cause the problem.
Is there a clean solution for it?

stonyarc 04-28-2006 01:36 PM

Quote:

Originally Posted by Gommeke
I have the same problem as in :
https://vborg.vbsupport.ru/showpost....5&postcount=25
Can not figure out what could cause the problem.
Is there a clean solution for it?

It has to do with editor settings on your board. I haven't found the exact reason yet.

Open the vbgooglemaphse.php in an editor

Somewhere in the 200's

PHP Code:

             if ($vbulletin->GPC['message'] == '' )
    {
        eval(
standard_error(fetch_error('fulltext_empty')));
    }
    if (
$vbulletin->GPC['title_map'] == '' )
    {
        eval(
standard_error(fetch_error('title_map_empty')));
    }
    if (
$vbulletin->GPC['text_map'] == '' )
    {
        eval(
standard_error(fetch_error('text_map_empty')));
    } 



And comment those out
PHP Code:

/*
    if ($vbulletin->GPC['message'] == '' )
    {
        eval(standard_error(fetch_error('fulltext_empty')));
    }
    if ($vbulletin->GPC['title_map'] == '' )
    {
        eval(standard_error(fetch_error('title_map_empty')));
    }
    if ($vbulletin->GPC['text_map'] == '' )
    {
        eval(standard_error(fetch_error('text_map_empty')));
    }
*/ 

That should get you passed the error checking.

I'm looking for a more final solution for this issue. It must be something really stupid but I can't put my finger on it yet.

Gizmo999 04-28-2006 01:44 PM

Top Job Stonyarc, a real useful addition to my forum.

i'm having a problem with markers not setting to the centered location, I've added about 7 or 8 so far and none has been in the right place. Having to edit each one manually and can't let my co admins use it, they'll end up all over the place. I cdouble click and zoom to centre and it all looks fine, click add and the long and lat do not stay the same as I'd just used so i recentre, make sure its in the right place and then submit details but the market still moves, go to admin CP, edit the marker and add the exact long and lat and its fine. using a mac/safari/firefox.

stonyarc 04-28-2006 01:56 PM

Quote:

Originally Posted by Gizmo999
Top Job Stonyarc, a real useful addition to my forum.

i'm having a problem with markers not setting to the centered location, I've added about 7 or 8 so far and none has been in the right place. Having to edit each one manually and can't let my co admins use it, they'll end up all over the place. I cdouble click and zoom to centre and it all looks fine, click add and the long and lat do not stay the same as I'd just used so i recentre, make sure its in the right place and then submit details but the market still moves, go to admin CP, edit the marker and add the exact long and lat and its fine. using a mac/safari/firefox.

Vbgooglemap HSE is running the click and forget mode.

So when entering a new element the marker should automatically appear on the small map. Just one single click. Once the marker is there the map will autocenter on that location and change the values in the lat and lng fields.

There is no more drag to center stuff needed.

on IE and FF you can even set a marker on the edge of a pool if you want so maybe it's a safari issue.



HSE was tested on opera / firefox and IE

Gommeke 04-28-2006 03:02 PM

Quote:

That should get you passed the error checking.

I'm looking for a more final solution for this issue. It must be something really stupid but I can't put my finger on it yet.
Changed the vbgooglemaphse.php as mentioned, but in a strange kinda way, I receive the same error.
This is one of the best products I came accross, but I guess I'll have to wait to implement it on my board, untill a solution comes along.

stonyarc 04-28-2006 05:37 PM

Quote:

Originally Posted by Gommeke
Changed the vbgooglemaphse.php as mentioned, but in a strange kinda way, I receive the same error.
This is one of the best products I came accross, but I guess I'll have to wait to implement it on my board, untill a solution comes along.

Can you post me a link and make me a test account?

So I can check

You can pm it to me too.

stonyarc 04-29-2006 09:00 PM

Ok people

After one week of "being alive", I want a small evaluation of the Hotspot Edition and a list of items you all would like to see in the next release of the hotspot edition.

Now is your chance to get involved in this, so please do so. I think we can do great stuff with this one.

Gizmo999 04-30-2006 06:58 AM

Maybe a bit more control over the individual text/url links, at the moment it will always say "url for marker" or URL for thread and there are times I'd like to put my own description in there.

MagiKelly 04-30-2006 07:38 AM

Installed. Being less than knowledgeable with code and the like the hard part was putting the code for the Navbar in the correct place. Sorted in the end though.

One thing I found out is that if you have the "&" symbol in your marker description none of those markers will show up on the map. They do show up in the elements list but not the map. Not a huge problem as I just typed "and" longhand but I thought I should let you know.

Link to install

http://www.songofthepaddle.co.uk/for...oglemaphse.php

stonyarc 04-30-2006 05:15 PM

Quote:

Originally Posted by MagiKelly
Installed. Being less than knowledgeable with code and the like the hard part was putting the code for the Navbar in the correct place. Sorted in the end though.

One thing I found out is that if you have the "&" symbol in your marker description none of those markers will show up on the map. They do show up in the elements list but not the map. Not a huge problem as I just typed "and" longhand but I thought I should let you know.

Link to install

http://www.songofthepaddle.co.uk/for...oglemaphse.php

I added it to the know error / to fix list.

Don't forget to click install !!


All times are GMT. The time now is 09:15 PM.

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.01098 seconds
  • Memory Usage 1,757KB
  • 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
  • (2)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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