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)

stonyarc 05-14-2006 03:20 PM

Quote:

Originally Posted by Battle_Ring
Done still not working


Is the cpnav_vbgooglemap.xml available in the includes/xml????

JD45 05-14-2006 03:28 PM

Quote:

Originally Posted by stonyarc
Make sure you upload all files and do a full refresh of the page.

Hmm...I'm having the same problem and I verified that all the files are uploaded and chmod'd correctly. As well as installed the product.

JD45 05-14-2006 03:31 PM

For whatever reason, they were missing on the server end even though I transferred everything at once. I uninstalled the hack and was going to reinstall it allowing it to overwrite and now I get:

Database error in vBulletin 3.5.4:

Invalid SQL:
ALTER TABLE vb_usergroup ADD showonvbgme int(10) unsigned NOT NULL;

MySQL Error : Duplicate column name 'showonvbgme'
Error Number : 1060
Date : Sunday, May 14th 2006 @ 12:32:29 PM
Script : http://xxx/forum/admincp/plugin.php
Referrer : http://xxx/forum/admincp/plugin.php?do=productadd
IP Address : xxx
Username : JD45
Classname : vb_database

When attempting to install with either setting of overwrite or not.


Update: I edited the .xml file and took out that one line and it installed. Still no admincp setting anywhere though.

stonyarc 05-14-2006 03:40 PM

Quote:

Originally Posted by JD45
For whatever reason, they were missing on the server end even though I transferred everything at once. I uninstalled the hack and was going to reinstall it allowing it to overwrite and now I get:

Database error in vBulletin 3.5.4:

Invalid SQL:
ALTER TABLE vb_usergroup ADD showonvbgme int(10) unsigned NOT NULL;

MySQL Error : Duplicate column name 'showonvbgme'
Error Number : 1060
Date : Sunday, May 14th 2006 @ 12:32:29 PM
Script : http://xxx/forum/admincp/plugin.php
Referrer : http://xxx/forum/admincp/plugin.php?do=productadd
IP Address : xxx
Username : JD45
Classname : vb_database

When attempting to install with either setting of overwrite or not.


Update: I edited the .xml file and took out that one line and it installed. Still no admincp setting anywhere though.

You can drop the field via phpmyadmin safely.

I'm looking into it.

In some cases the cpnav doesn't seem to show.

JD45 05-14-2006 03:42 PM

Quote:

Originally Posted by stonyarc
You can drop the field via phpmyadmin safely.

I'm looking into it.

In some cases the cpnav doesn't seem to show.

Alrighty. Thanks for taking a look and supporting your hack. Truly apprecaited mate :)

stonyarc 05-14-2006 03:50 PM

Quote:

Originally Posted by JD45
Alrighty. Thanks for taking a look and supporting your hack. Truly apprecaited mate :)

Uploading a fix now. .....


Ok for those that have problems with the adminpages not showing in the admincp.

Please download the version now online and overwrite the cpnav_vbgooglemap.xml

I've included a temp workaround so that you're able to run this version.

for a bitfield rebuild index.php?do=buildbitfields

rinkrat 05-14-2006 03:56 PM

I checked the source code and it's looking here
Code:

<img src="http://www.letsgokings.com/bbs/images/spacer.png" style="width: 0; height: 0; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://www.letsgokings.com/bbs/images/googlemapme/mm_20_blue.png', sizingMethod=scale);" border="0" alt="Team LGK">: Team LGK<br />
I looked in my /bbs/images/googlemapme folder and there IS a file called mm_20_blue.png but they still aren't showing in the legend. Can you see any other problem with that link?

JD45 05-14-2006 03:57 PM

Quote:

Originally Posted by stonyarc
Uploading a fix now. .....


Ok for those that have problems with the adminpages not showing in the admincp.

Please download the version now online and overwrite the cpnav_vbgooglemap.xml

I've included a temp workaround so that you're able to run this version.

for a bitfield rebuild index.php?do=buildbitfields

worked like a charm! Thanks again for the quick fix..:D

stonyarc 05-14-2006 04:02 PM

Quote:

Originally Posted by rinkrat
I checked the source code and it's looking here
Code:

<img src="http://www.letsgokings.com/bbs/images/spacer.png" style="width: 0; height: 0; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://www.letsgokings.com/bbs/images/googlemapme/mm_20_blue.png', sizingMethod=scale);" border="0" alt="Team LGK">: Team LGK<br />
I looked in my /bbs/images/googlemapme folder and there IS a file called mm_20_blue.png but they still aren't showing in the legend. Can you see any other problem with that link?


I tried to register but there is an error

The following errors occurred during your registration:
A required field called How did you hear about LGK? is missing or has an invalid value.

But the field isn't shown on the registration.

Please get me an account so I can see for myself.

The link it shows isn't normal

rinkrat 05-14-2006 04:09 PM

Oh wait, I just fired up Mozilla Firefox and it shows the pegs. It just doesn't work with MS IE 7.0 for some reason.

stonyarc 05-14-2006 04:12 PM

Quote:

Originally Posted by rinkrat
Oh wait, I just fired up Mozilla Firefox and it shows the pegs. It just doesn't work with MS IE 7.0 for some reason.

I understand but if you want me to help the least you could get me is access so that I can see the map.

moonclamp 05-14-2006 04:27 PM

It's working fine in IE7 for me.

stonyarc 05-14-2006 04:28 PM

Quote:

Originally Posted by moonclamp
It's working fine in IE7 for me.


For me too but he seems to have some custom code running on images.

It's tested on the major browsers on pc platform.

kadafi_alive 05-14-2006 04:40 PM

Hi

I am getting this SQL error in my inbox:

Quote:

Database error in vBulletin 3.5.2:

Invalid SQL:
SELECT userid,lat_map,username,lng_map FROM googlemapme WHERE userid =;

MySQL 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 '' at line 1 Error Number : 1064
Date : Sunday, May 14th 2006 @ 06:32:44 PM
Script : http://www.domain.com/showthread.php?t=4519
Referrer :
IP Address : 1111111111
Username : Unregistered
Classname : vb_database

kompakt 05-14-2006 04:40 PM

Quote:

Originally Posted by stonyarc
Can you check the datastore table?

There should be a record indicating vbgooglemapme

Did you have a previous version running?

Yes, I uninstalled the previous version before installing the new one. As per your instructions.

In the db i see the following tables.

googlemapme
googlemapme_settings

And they seem to have the correct data.

stonyarc 05-14-2006 04:46 PM

Quote:

Originally Posted by kadafi_alive
Hi

I am getting this SQL error in my inbox:

There is no query that uses those fields in version 2.5.0

are you sure you removed everything from the old version.

It seems to be a call to an old query

stonyarc 05-14-2006 04:47 PM

Quote:

Originally Posted by kompakt
Yes, I uninstalled the previous version before installing the new one. As per your instructions.

In the db i see the following tables.

googlemapme
googlemapme_settings

And they seem to have the correct data.

Kompakt can you please post a link or pm it to me

Preferably with an account I can use to test

JD45 05-14-2006 04:54 PM

ah, I'm getting an sql error now as well:

Code:

Database error in vBulletin 3.5.4:

Invalid SQL:
SELECT userid,lat_map,username,lng_map FROM vb_googlemapme WHERE userid =;

MySQL 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 '' at line 1
Error Number : 1064
Date        : Sunday, May 14th 2006 @ 01:51:28 PM
Script      : http://www.justpressplay.net/forum/showthread.php?t=6614
Referrer    : http://www.justpressplay.net/forum/jokes-pics-fun-stuff/
IP Address  : 0
Username    : JD45
Classname    : vb_database

are there old tables I should manually drop?

stonyarc 05-14-2006 05:00 PM

Quote:

Originally Posted by JD45
ah, I'm getting an sql error now as well:

Code:

Database error in vBulletin 3.5.4:

Invalid SQL:
SELECT userid,lat_map,username,lng_map FROM vb_googlemapme WHERE userid =;

MySQL 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 '' at line 1
Error Number : 1064
Date        : Sunday, May 14th 2006 @ 01:51:28 PM
Script      : http://www.justpressplay.net/forum/showthread.php?t=6614
Referrer    : http://www.justpressplay.net/forum/jokes-pics-fun-stuff/
IP Address  : 0
Username    : JD45
Classname    : vb_database

are there old tables I should manually drop?

I think I know what this is

You haven't completed step 7 or 8 of the installation.

It's the findme plugin in the postbit that is causing this.

Or disable the plugin
Or add the post[findme] to the postbit

JD45 05-14-2006 05:03 PM

I found an old googlemap table, and I dropped that, but still no difference. Thanks for checking again..

stonyarc 05-14-2006 05:15 PM

Quote:

Originally Posted by JD45
I found an old googlemap table, and I dropped that, but still no difference. Thanks for checking again..


JD,

just download the product again.

I changed the plugin with an error check so that it first looks if it knows the userid.

I also removed the duplicate entry for the usergroup table.

Product with overwrite to yes should fix the issue.

JD45 05-14-2006 05:23 PM

I just downloaded, and reinstalled the plugin with overwrite and:

Code:

Database error in vBulletin 3.5.4:

Invalid SQL:
ALTER TABLE vb_usergroup ADD showonvbgme int(10) unsigned NOT NULL;

MySQL Error  : Duplicate column name 'showonvbgme'
Error Number : 1060
Date        : Sunday, May 14th 2006 @ 02:22:18 PM
Script      : http://www.justpressplay.net/forum/admincp/plugin.php
Referrer    : http://www.justpressplay.net/forum/admincp/plugin.php?do=productadd
IP Address  :
Username    : JD45
Classname    : vb_database


JD45 05-14-2006 05:26 PM

took out that one line of the installer and perfecto..:)

Thanks again for all your assistance..:)

stonyarc 05-14-2006 05:33 PM

Quote:

Originally Posted by JD45
took out that one line of the installer and perfecto..:)

Thanks again for all your assistance..:)

Well yiehaa,

Slap me on the head for including the wrong product/installer xml in the zip :confused: :confused: :confused:


That error should be gone

moonclamp 05-14-2006 05:39 PM

New problem

If a user clicks on some older threads they get the following. It's weird as it only happens on some threads

Quote:


Invalid SQL:

SELECT userid,lat_map,username,lng_map FROM vb_googlemapme WHERE userid =;

MySQL 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 '' at line 1 Error Number : 1064

Date : Sunday, May 14th 2006 @ 07:37:12 PM

Script :
http://www.xxxxxxxxx.com/interactive/showthread.php?t=2172
Referrer : http://www.xxxxxxxxx.com/interactive/forumdisplay.php?f=30


EDIT ... just noticed the post above *goes off to fix*

hilfe-forum 05-14-2006 05:47 PM

looks nice but i have a Problem...

Look
http://www.hilfe-forum.eu/vbgooglemapme.php


Loaded: 12 of 170
Loaded: 13 of 170
Loaded: 14 of 170
Loaded: 15 of 170
Loaded: 12 of 170
Loaded: 13 of 170
Loaded: 14 of 170
Loaded: 15 of 170
Loaded: 12 of 170
Loaded: 13 of 170
Loaded: 14 of 170
Loaded: 15 of 170
......


and...

Page generated in 0,67374 seconds with 349! queries ???

stonyarc 05-14-2006 05:55 PM

I don't have access to the page

I'm registered as normal user. Can you please allow normal users to see

For some reason he seems to count the javascript parsings and counters as queries. If you look at the total exectution time the number of queries just cannot be right.

kompakt 05-14-2006 06:01 PM

Quote:

Originally Posted by stonyarc
Kompakt can you please post a link or pm it to me

Preferably with an account I can use to test

Thanks, its working great now :cool:

stonyarc 05-14-2006 06:35 PM

It's the dynamic creation of the xml file that is causing these number of queries.

That has always been the case.

I'm working on a smart cache solution but that will remove the "user is online" function.

soulface 05-14-2006 06:43 PM

OK, just redownloaded & reinstalled the product again & getting same error like JD45..

Code:

Database error in vBulletin 3.5.4:

Invalid SQL:
SELECT title,googlemapmetype        FROM usergroup where showonvbgme = '1';

MySQL Error  : Unknown column 'showonvbgme' in 'where clause'
Error Number : 1054
Date        : Sunday, May 14th 2006 @ 03:41:57 PM
Script      : http://www.*******.com/vbgooglemapme.php?
Referrer    :
IP Address  : **********
Username    : Eros
Classname    : vb_database


stonyarc 05-14-2006 06:48 PM

I think this is another error.

It means one of the alter tables has failed for some reason in the installation.

I'm testing the install on a clean version of vb again

/edit

On both my testservers I cannot simulate the error.

Please make sure you have the version currently online. Uninstall the product completely and reinstall. It should create the missing field it's looking for.

soulface 05-14-2006 07:00 PM

Quote:

Originally Posted by soulface
OK, just redownloaded & reinstalled the product again & getting same error like JD45..

Code:

Database error in vBulletin 3.5.4:

Invalid SQL:
SELECT title,googlemapmetype    FROM usergroup where showonvbgme = '1';

MySQL Error  : Unknown column 'showonvbgme' in 'where clause'
Error Number : 1054
Date        : Sunday, May 14th 2006 @ 03:41:57 PM
Script      : http://www.*******.com/vbgooglemapme.php?
Referrer    :
IP Address  : **********
Username    : Eros
Classname    : vb_database


removed the product & reinstalled in again! now its working. kinda wired :/

stonyarc 05-14-2006 07:05 PM

I've been plagued by weird voodoo tonight.

The number of queries is bothering me a lot. I need to find a way so I don't have to recreate the xml so often.

Gizmo999 05-14-2006 07:07 PM

Install went OK, one small hiccup not in documentation was altering the usergroup icon colour, easily sorted and all looking good. thanks Stonyarc

stonyarc 05-14-2006 07:10 PM

Quote:

Originally Posted by Gizmo999
Install went OK, one small hiccup not in documentation was altering the usergroup icon colour, easily sorted and all looking good. thanks Stonyarc

Thanks gizmo hope you like it.

The next version will focus on performance and clearing up the number of queries in the xml generation.

moonclamp 05-14-2006 07:16 PM

Quote:

Originally Posted by stonyarc
I've been plagued by weird voodoo tonight.

The number of queries is bothering me a lot. I need to find a way so I don't have to recreate the xml so often.

What sort of load is that likely to put on the server?

My host has already complained about my excessive SQL usage in the past.

stonyarc 05-14-2006 07:33 PM

Well it's because of the major difference between client side and server side processing.

The googlemap API requires you to create xml file which is processed client side by the scripts.

You can fake some stuff by setting it with php but bottomline remains the same.

Point is that currently onload of the map the xml-file is created or onchange of data.

To create a line in the xml file I need a query. If you have a whole lot of users that means a lot of queries.

That's what I'm working on. It's not so much a programming error but more a behaviour by design from the googlemap itself.

Google also says it that it's not build for 250+ but I have seen forums that are running my app 600+ and more. I keep tweaking the code javascript and php to make it as performant as possible and I am working on a more permanent solution with smart caching.

I already created part of those scripts for the xbox live integration I made for my site xboxusersgroup.com.

xfaethorx 05-14-2006 07:59 PM

anyone else got the problem where even though the usergroup option edit own marker is set to yes that the usergroup can't edit it unless edit markers option is on..which negates users markers security as anyone can change one!

stonyarc 05-14-2006 08:06 PM

Quote:

Originally Posted by xfaethorx
anyone else got the problem where even though the usergroup option edit own marker is set to yes that the usergroup can't edit it unless edit markers option is on..which negates users markers security as anyone can change one!


I 'm checking it now

To allow only the entry and edit of your own entry the usergroup should be set to

Registered Can view the Googlemap ME YES
Registered Can add elements on the Googlemap ME YES
Registered Can edit elements on the Googlemap ME NO
Registered Can delete elements on the Googlemap ME NO
Registered Can edit own entry on the Googlemap ME YES

hilfe-forum 05-14-2006 08:10 PM

Quote:

Originally Posted by stonyarc
I don't have access to the page

I'm registered as normal user. Can you please allow normal users to see


For some reason he seems to count the javascript parsings and counters as queries. If you look at the total exectution time the number of queries just cannot be right.

Ups Sorry!
now it?s for users and guests.

http://www.hilfe-forum.eu/vbgooglemapme.php


I dont now who is the prob..

the Server can not be to smal..

The DB use Quad-Xenon-Server mit 8 GB RAM.
Serverload in smaler 3
in moment we have only a litle bit Users online...

your Hack is realy great an I and my Users realy love him.


im realy lucky if you can help me...

Sorry for my broken english..


All times are GMT. The time now is 04: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.06797 seconds
  • Memory Usage 1,867KB
  • 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
  • (7)bbcode_code_printable
  • (23)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