vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - DamnComp - MemberMap (https://vborg.vbsupport.ru/showthread.php?t=285479)

ProFifaLeagues 07-13-2012 08:18 PM

Updated to the beta and Avatars Work A1 now thank you!
Upgrade was pain-free and easy too which is always nice

Doc2911 07-13-2012 08:23 PM

good work, but i get this message.

Quote:

Warnung: getimagesize() [function.getimagesize]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in [path]/includes/class_bootstrap.php(430) : eval()'d code (Zeile 98)

Warnung: getimagesize(http://www.c-l-f.org/image.php?u=1&dateline=) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in [path]/includes/class_bootstrap.php(430) : eval()'d code (Zeile 98)

Geisthund99 07-13-2012 08:30 PM

I ran the sql
now getting
Quote:

Invalid SQL:
SELECT userid FROM dc_membermap WHERE userid = 1;
This appears to be related to table prefix I add to the sql statement.
SELECT userid FROM dc_membermap WHERE userid = ".$vbulletin->userinfo['userid']

This works:
SELECT userid FROM vb_dc_membermap WHERE userid = ".$vbulletin->userinfo['userid']

The map appears fine.

It might be nice to have the map import users location from their profiiles. Just a thought cheers
Gareth

Gemma 07-13-2012 08:58 PM

Installed the latest version. Works perfectly. Thank you :)

BlueWolf_ 07-13-2012 09:01 PM

Quote:

Originally Posted by Geisthund99 (Post 2347753)
I ran the sql
now getting


This appears to be related to table prefix I add to the sql statement.
SELECT userid FROM dc_membermap WHERE userid = ".$vbulletin->userinfo['userid']

This works:
SELECT userid FROM vb_dc_membermap WHERE userid = ".$vbulletin->userinfo['userid']

The map appears fine.

It might be nice to have the map import users location from their profiiles. Just a thought cheers
Gareth

Though it sounds great, there are two reason why it would be better to not do that:
#1. It'll have to use Google's geo search function to mass convert all this data. They put restrictions on how many times per day (and how fast) you can do that. You'll quickly get yourself blocked if you do 8k* queries right after each other to get all the data.
* Depending on the size of the member base of course.

#2. Like soniceffect stated above, some cities are interpreted wrongly as they exist in multiple countries. There's a fairly big chance members will be put in the US while they actually live in the UK for example. Lots of people neglect to define their location properly.

Ricsca 07-13-2012 09:06 PM

Quote:

Originally Posted by soniceffect (Post 2347715)
Seems you are getting the same installation problem. Please could you try the installer in the new package and let me know if it works? Think I may have found the issue

Dont work in my site

http://www.tartaportal.it/dcMembermap.php

http://www.tuttoserpenti.it/dcMembermap.php

orangefive 07-13-2012 09:58 PM

avatars now working nice one!!

soniceffect 07-13-2012 10:16 PM

Quote:

Originally Posted by Nirjonadda (Post 2347744)
vBulletin 4.1.10

Sorry I cannot guarentee it will work on that version. Im assuming that the settings are slightly different on that setup. I may release a version for that at some point, however not on my priority list at the moment. To be honest I would recommend you upgrade to 4.2.0 anyways. Any reason why you havent updated?

Quote:

Originally Posted by Doc2911 (Post 2347750)
good work, but i get this message.

Will have to look into that. This is the fix I have just put in place for the avatars which seems to be disabled on your php installation. May be worth contacting your host with this message as they may be able to enable it for you. In the meantime I will try and find a workaround.

Quote:

Originally Posted by Geisthund99 (Post 2347753)
I ran the sql
now getting


This appears to be related to table prefix I add to the sql statement.
SELECT userid FROM dc_membermap WHERE userid = ".$vbulletin->userinfo['userid']

This works:
SELECT userid FROM vb_dc_membermap WHERE userid = ".$vbulletin->userinfo['userid']

The map appears fine.

It might be nice to have the map import users location from their profiiles. Just a thought cheers
Gareth

Try this statement instead in your case
[sql]
CREATE TABLE IF NOT EXISTS `vb_dc_membermap` (
`markerid` int(11) NOT NULL AUTO_INCREMENT,
`userid` int(11) NOT NULL,
`desc` text,
`lat` float(10,6) NOT NULL,
`lon` float(10,6) NOT NULL,
PRIMARY KEY (`markerid`),
UNIQUE KEY `idx_user` (`userid`))
[/sql]

Quote:

Originally Posted by Ricsca (Post 2347761)

Please could you try running the following in phpmyadmin as I am assuming the table is not there. However Im now 100% about this as I cannot see the sql error. If you can provide me with the actual error I can help more.

[sql]
CREATE TABLE IF NOT EXISTS `dc_membermap` (
`markerid` int(11) NOT NULL AUTO_INCREMENT,
`userid` int(11) NOT NULL,
`desc` text,
`lat` float(10,6) NOT NULL,
`lon` float(10,6) NOT NULL,
PRIMARY KEY (`markerid`),
UNIQUE KEY `idx_user` (`userid`))
[/sql]

soniceffect 07-13-2012 10:18 PM

affffffffffffffffffff

orangefive 07-13-2012 10:31 PM

You deserve a medal pal. Best supported beta ive ever used.


All times are GMT. The time now is 12:46 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.01371 seconds
  • Memory Usage 1,750KB
  • 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_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