vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - VBGooglemap Member Edition (https://vborg.vbsupport.ru/showthread.php?t=123148)

WNxWakko 04-21-2007 05:48 PM

No matter how I do it, when i view the page, it says my key is not working. I signed up on google, I got the long long key. I entered my exact directory in the google url box

http://warriornation.net/Forum/ which is the directory where this file is and it still thinks the key is wrong and saying the key used on this website was registered on a different website. Could the key not be updating in the plugin somewhere??

Kicks 04-26-2007 04:08 AM

i don´t understand it ..
i can´t see the map.
the key is right, the path´s are right ..

MDK-Indy 04-28-2007 11:13 AM

Salü,

i have generate a new API Key, but my forum say is the false Key...

Can anyone help me?

Greetings Indy

bulbasnore 05-02-2007 11:58 AM

Yet another dangerous 'accessory' for your googlemap, from the reckless bulbasnore. If this destroys your map and your forum, its not my fault.

We have a need to let the displaygroupid determine the map pin color for registered members (groupid = 2). Here is the job we cron in order to do that:

PHP Code:

<?php
/*======================================================================*\
|| #################################################################### ||
|| # ---------------------------------------------------------------- # ||
|| # Copyright ?2007 Kim Cary                                         # ||
|| # This file may be redistributed in whole or significant part.     # ||
|| # You could signficantly damage or destroy your board or computer  # ||
|| # with this file. Author will not be liable for any damages.       # ||
|| #################################################################### ||
\*======================================================================*/

// ######################## SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
if (!
is_object($vbulletin->db))
{
        exit;
}
// ######################## END PHP ENVIRONMENT ###########################

        
$vbulletin->db->query_write("

        UPDATE  `googlemapme`, `user`
        SET  `googlemapme`.usergroupid =  `user`.displaygroupid 
        WHERE  `user`.displaygroupid > 0 AND `user`.usergroupid = 2 AND ( `googlemapme`.userid =  `user`.userid )

        "
);
        
log_cron_action('Set the googlemap userid to the displaygroup for registered users'$nextitem);

/*======================================================================*\
|| ####################################################################
|| # Version: 5:33, Wed May 2, 2007
|| ####################################################################
\*======================================================================*/
?>

If that helps you, by all means feel free to use it! If you don't know what this is, or how to install it, you are safer not to ask!

Regards,
'snore

Mrdby 05-02-2007 12:16 PM

works great for me.lol

djbaxter 05-07-2007 03:30 PM

I've read and re-read the instructions. Installed, uninstalled, and reinstalled foloowing all the instructions per the ste-by-step PDF file. Set all the options correctly and all group permissions.

I've added my own location - I can see that fine (see attachment 1; vbgme1.jpg).

I see absolutely nothing in the main map and neither do other members (see attachment 2; vbgme2.jpg).

This occurs in both IE7 and Firefox2.

Any suggestions?

djbaxter 05-08-2007 01:45 PM

Found the answer here:

Quote:

Originally Posted by corsacant (Post 1110131)
Well I've installed it and set it up as stated in the instructions but for some reason my main map does not show, anyone have any ideas?
http://www.allcorsa.co.uk/forums/vbgooglemapme.php

**Edit**
I've since discovered that it is my zoints seo addon which is causing the problem. Has anyone found a solution to this yet? Is there a way of possibly excluding the googlemap page form the zoints seo?

Quote:

Originally Posted by stonyarc (Post 1110571)
Thanks da420

I'm working on the new version of all the googlemap versions.

Release is still on target for this year.

As for the SEO issue, SEO and special apps like googlemaps can give issues.

Most SEO products allow you to exclude certain pages from SEO so why not use that till I can investigate the matter. I'm sure the SEO people will look into it also.

Quote:

Originally Posted by corsacant (Post 1110747)
After posting in the zoints help thread I was directed to this: http://network.zoints.com/showthread.php?t=2068

It's a little workaround for the incompatibility with zoints and the googlemapme.
I did the code edit on my site and all is working fine now.

http://network.zoints.com/showthread.php?t=2068

Quote:

Originally Posted by Calash
Not sure if this will be any help, but I found what is causing the problem and got a temporary solution

The issue is caused by Zoints SEO wanting to rewrite "#top" to '"#top" rel="nofollow"' in the global_complete hook. This edits the javascript in the googlemapme templates and get you a javascript error.

My solution, though it may not be the best long term one, was to edit the global_complete Zoint_SEO hook, changing this

PHP Code:

if (strpos($output'"#top"')) 
    { 
        
$output str_replace('"#top"''"#top" rel="nofollow"'$output); 
    } 

to this

PHP Code:

if (strpos($output'"#top"') && THIS_SCRIPT != 'vbgooglemapme'
    { 
        
$output str_replace('"#top"''"#top" rel="nofollow"'$output); 
    } 

This way it does not perform the change if you are using vbgooglemapme.

Thanks, Calash and corsacant! :)

cjshirlaw 05-08-2007 02:58 PM

I am stuck at stage seven, can some one help please?

djbaxter 05-09-2007 12:16 PM

Suggestion:

Can this be modified to exclude the legend for groups not included on the map?

For example, as a privacy measure, I have the following groups with no permission to view the map:

Guests (Unregistered / Not Logged In)
Users Awaiting Email Confirmation
(COPPA) Users Awaiting Moderation
Banned

Having a legend for groups that don't have permission to view the page seems redundant and is confusing to my members, many of whom are not "technologically advanced".

sumacbob 05-10-2007 10:22 PM

Awesome, works just great for our community. Thank you for the mod.


All times are GMT. The time now is 08:05 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.01610 seconds
  • Memory Usage 1,764KB
  • 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
  • (3)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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