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)

soniceffect 07-16-2012 09:28 PM

17 July 2012 - 1.0.0 final Released - Final phrases added so the product is now fully phrased.

dsantana 07-16-2012 10:09 PM

Nominated for MOTM!...
Now that you have the final release I'd like to offer a couple suggestions...

* A counter on the page where it shows how many members have placed there pin?
* Scrollable list of who has added a pin on the side?
* In my Profile Field I have a space for members to enter their location. Could an option be added to insert Profile Field info in the pop up box?

I use a transparent background on parts of my site and when the Avatar box comes up it is using that same transparency... Where can we change that?

andyv72 07-16-2012 10:55 PM

Works fine..

Thx ;)

Mr_Running 07-17-2012 12:15 AM

Quote:

Originally Posted by Mr_Running (Post 2347544)
I have played around with it some more and one Button I was looking to change was the

Update Your Location and next to it the phrase You haven't set your location yet!
I did a search for this phrase and changed it but it did not change it here.

I would also like to change the Page Title Member Map

Cheers, :)

FYI

Update Your Location
You haven't set your location yet!
= No Match

Member Map
...does not change

hubba 07-17-2012 02:00 AM

I am getting this errors...

Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in [path]/includes/class_bootstrap.php(430) : eval()'d code on line 106

Warning: getimagesize(http://www.explorate.de/Forum/image....&dateline=) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in [path]/includes/class_bootstrap.php(430) : eval()'d code on line 106

DannyV 07-17-2012 09:24 AM

When I update, the pins already placed on the map stay in place ?

qpurser 07-17-2012 09:48 AM

Quote:

Originally Posted by DannyV (Post 2348886)
When I update, the pins already placed on the map stay in place ?

They did for me

BadgerDog 07-17-2012 09:54 AM

Anyone have this running on vBulletin 4.1.x versions?

Thanks...

Regards,
Doug

Nelson58 07-17-2012 10:47 AM

My members love this mod, so thank you for writing it!

What is the difference in the balloon color please? They asked me and I don't know.

Thanks!

Nelson

soniceffect 07-17-2012 11:03 AM

Quote:

Originally Posted by Mr_Running (Post 2348814)
FYI

Update Your Location
You haven't set your location yet!
= No Match

Member Map
...does not change

Very odd, please can you give me the variable name of the phrase which was changed. Also may I ask which language this is being converted to out of interest?

Quote:

Originally Posted by hubba (Post 2348823)
I am getting this errors...

Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in [path]/includes/class_bootstrap.php(430) : eval()'d code on line 106

Warning: getimagesize(http://www.explorate.de/Forum/image....&dateline=) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in [path]/includes/class_bootstrap.php(430) : eval()'d code on line 106

This is something which needs to be addressed on your server. The functionality is disabled for file access. I am looking for a different way to go around this however this does only seem to be a problem in the minority of cases. If you send this message to your host they should be able to sort the problem for you.

Quote:

Originally Posted by DannyV (Post 2348886)
When I update, the pins already placed on the map stay in place ?

Yes all your pins will be kept if you update.

Quote:

Originally Posted by BadgerDog (Post 2348894)
Anyone have this running on vBulletin 4.1.x versions?

Thanks...

Regards,
Doug

There is 1 person in this topic who has added this to 4.1.x however it is not supported. As far as i can see the only problem you are likely to have is the main link, so if you are happy adding a link to dcMembermap.php within your navbar for yourself then you should be able to get it to work.

Quote:

Originally Posted by Allthumbz (Post 2348905)
My members love this mod, so thank you for writing it!

What is the difference in the balloon color please? They asked me and I don't know.

Thanks!


Nelson

Orange is yourself, Blue and Green are everyone else. Green if the user is currently online :)

BadgerDog 07-17-2012 11:16 AM

Quote:

Originally Posted by soniceffect (Post 2348909)

There is 1 person in this topic who has added this to 4.1.x however it is not supported. As far as i can see the only problem you are likely to have is the main link, so if you are happy adding a link to dcMembermap.php within your navbar for yourself then you should be able to get it to work.

Thanks ... :)

I have no problem adding my own link, but I was just worried that the install might blow up my database because I'm running v4.1.3pl5....

So, I thought I'd check here to see if anyone has traveled a path more worn ahead of me ... :D

Regards,
Doug

BadgerDog 07-17-2012 11:31 AM

1 Attachment(s)
Follow-up ...

Ok, installed under 4.1.3pl5 and nothing blew up, but when I run:

http://www.mysite.com/dcMembermap.php

All I get is attached pic. I click on "Update Your Location" and nothing happens. I enter a name in search box and click "enter"... nothing happens ...

Thanks anyway... appreciate your efforts .. :)

Regards,
Doug

Edit: Out of curiosity, I decided to edit the the usergroups in AdminCP and save the results. When I did that, I got the following set of errors.

Warning: trim() expects parameter 1 to be string, array given in [path]/includes/adminfunctions_options.php on line 855
Warning: trim() expects parameter 1 to be string, array given in [path]/includes/adminfunctions_options.php on line 855
Warning: trim() expects parameter 1 to be string, array given in [path]/includes/adminfunctions_options.php on line 855
Warning: trim() expects parameter 1 to be string, array given in [path]/includes/adminfunctions_options.php on line 855

If I then edited the mod's settings a second time (and subsequent) times, the errors never appeared again. Thought I'd pass this on for the benefit of anyone else experimenting with pre-4.2 versions and this mod.

Vick98 07-17-2012 11:41 AM

Quote:

Orange is yourself, Blue and Green are everyone else. Green if the user is currently online :)
It would be nice to have an icon legend added to the map, if possible.

orangefive 07-17-2012 05:11 PM

Cheers guys - installed and working - 1.0.0

hubba 07-17-2012 09:14 PM

@soniceffect:
-------------------
"Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in [path]/includes/class_bootstrap.php(430) : eval()'d code on line 106..."
Warning: getimagesize(http://www.explorate.de/Forum/image....&dateline=) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in [path]/includes/class_bootstrap.php(430) : eval()'d code on line 106"
---------------
The Hoster told me to put a php.ini in the Forumroot, but not what to write in... any idea?

soniceffect 07-17-2012 10:06 PM

Quote:

Originally Posted by hubba (Post 2349073)
@soniceffect:
-------------------
"Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in [path]/includes/class_bootstrap.php(430) : eval()'d code on line 106..."
Warning: getimagesize(http://www.explorate.de/Forum/image....&dateline=) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in [path]/includes/class_bootstrap.php(430) : eval()'d code on line 106"
---------------
The Hoster told me to put a php.ini in the Forumroot, but not what to write in... any idea?

you will need the following

Code:

allow_url_fopen = On

Mr_Running 07-17-2012 10:10 PM

1 Attachment(s)
Quote:

Originally Posted by soniceffect (Post 2348909)
Very odd, please can you give me the variable name of the phrase which was changed. Also may I ask which language this is being converted to out of interest?


Okay, This is the one that is not changing.

Varname $vbphrase[dcmembermap_pagetitle]
Text: Member Map

dcmembermap_pagetitle Standard Phrase Member Map

and

The language is English converted to English.

The other two phrases... no match found
  • Update Your Location
  • You haven't set your location yet!


Edit: mmmm....I think the Member Map is actually not the pagetitile but the Navbits Title (Title for the breadcrumbs) is what I would like to change.

Mr_Running 07-17-2012 10:27 PM

Changed .... not changed ....You get the point. :)

soniceffect 07-17-2012 10:28 PM

Ah i see. Will get and update sorted for you.

Thought you may have been creating another language complwtely ws gonna ask if you wanted me to add to main thread so others could benefit however i see its just wording your after changing. Will have it sorted for you tomorrow. If you fancy catching me on messenger pm me and i can send you the file to test if you like and we can make sure its perfect.

hubba 07-17-2012 11:06 PM

Allright that was right :) php.ini uploaded and works fine. One thing, I already set my location, but it still says "update your location" is that OK?

hubba 07-18-2012 12:43 AM

BTW: Hoster said allow_url_fopen is a security risk...

soniceffect 07-18-2012 06:24 AM

Quote:

Originally Posted by hubba (Post 2349114)
BTW: Hoster said allow_url_fopen is a security risk...

Practically anything you have set on a server could in some way be considered a security risk, it depends on just how much people have it locked down. Look at it this way, out of all the people who have installed this product, only 2 people do not already have that specific settign enabled in their php configuration. Also this setting is included in every php distribution and is actually enabled by default.

This said I am actually trying to sort a way around this, but not because of security. The reason I want to change the way it works is because I would like people to be able to use it without having to change settings wherever possible.

harm63 07-18-2012 07:12 AM

i did install ( on test site) but i don't get a marker, map is there save etc update but no markerr????

orangefive 07-18-2012 07:40 AM

Quote:

Originally Posted by harm63 (Post 2349190)
i did install ( on test site) but i don't get a marker, map is there save etc update but no markerr????

ou need to copy the dcMembermap folder into your images > Styles > your custom template > misc if your using a custom template

harm63 07-18-2012 07:58 AM

i did upload in several maps now but no marker :-(

soniceffect 07-18-2012 08:06 AM

Quote:

Originally Posted by harm63 (Post 2349201)
i did upload in several maps now but no marker :-(

As stated above the images are located on the install based on the default forum skin. if you have another skin you need to ensure that the images folder goes in the relevant misc folder for your skin. This is why you do not see a marker.

qpurser 07-18-2012 08:09 AM

Quote:

Originally Posted by harm63 (Post 2349201)
i did upload in several maps now but no marker :-(

If you have a custom template:
Copy the folder with the images (dcMembermap image folder) into
images -> mytemplate -> misc -> dcMembermap

harm63 07-18-2012 08:17 AM

i did in
images/styles/child

in styles are the templates ther i uploaded dcMembermap but :-(

qpurser 07-18-2012 08:52 AM

Quote:

Originally Posted by harm63 (Post 2349209)
i did in
images/styles/child

in styles are the templates ther i uploaded dcMembermap but :-(

The dcMembermap image folder has to go into the "misc" folder of your custom template

svyrydov 07-18-2012 12:15 PM

is it possible to add more then one location pin?
I need to add a few location for one company(user).

bt012ss 07-18-2012 01:22 PM

Thank you and the coauthor from germany for this great mod :)
For me the best map i?ve ever seen in vB

PHP Code:

 mapoverview = [
        new 
google.maps.LatLng(51.399206,10.231933),
        


This change in the file will work perfect :up:

Nominated !

soniceffect 07-18-2012 02:29 PM

Quote:

Originally Posted by bt012ss (Post 2349253)
Thank you and the coauthor from germany for this great mod :)
For me the best map i?ve ever seen in vB

PHP Code:

 mapoverview = [
        new 
google.maps.LatLng(51.399206,10.231933),
        


This change in the file will work perfect :up:

Nominated !

Jos (BlueWolf_) is from the Netherlands but close :D

bt012ss 07-18-2012 03:01 PM

Quote:

Originally Posted by soniceffect (Post 2349265)
Jos (BlueWolf_) is from the Netherlands but close :D

Now i know it, but i mean the "thanks" will come from germany :D

basilrath 07-18-2012 03:26 PM

Its a good mod and im using also

Members do like these things generally speaking

Nice work

soniceffect 07-18-2012 03:28 PM

Quote:

Originally Posted by bt012ss (Post 2349272)
Now i know it, but i mean the "thanks" will come from germany :D

LMAO ........ Was actually just reading this thinking "Marc you dumb ass" LOL

bt012ss 07-18-2012 06:01 PM

You are crazy ;)

One question please.

In germany we have the letters like ?, ?, ?,
When the user use one of these letters in the nickname than i get a popup like this.

https://vborg.vbsupport.ru/

Every text which use such a letter will be changed in "null"
Can i fix this anywhere?

Thank you ;)

soniceffect 07-18-2012 06:14 PM

Quote:

Originally Posted by bt012ss (Post 2349315)
You are crazy ;)

One question please.

In germany we have the letters like ?, ?, ?,
When the user use one of these letters in the nickname than i get a popup like this.

https://vborg.vbsupport.ru/

Every text which use such a letter will be changed in "null"
Can i fix this anywhere?

Thank you ;)


hmm not sure on this one. Leave it with us and will have a look for you.

soniceffect 07-18-2012 07:02 PM

Quote:

Originally Posted by bt012ss (Post 2349315)
You are crazy ;)

One question please.

In germany we have the letters like ?, ?, ?,
When the user use one of these letters in the nickname than i get a popup like this.

http://www.ensmann.de/img/map1.jpg

Every text which use such a letter will be changed in "null"
Can i fix this anywhere?

Thank you ;)

OK .. will be fixed in the next version (EDIT: Have uploaded new version if you dont fancy the below), however in the meantime these are the changes you need to make. Open up the plugin "MemberMap Main"

FIND:
PHP Code:

        "name" => $thisrecord['username']),
        
"htmlname" => fetch_musername($thisrecord), 

REPLACE WITH
PHP Code:

        "name" => utf8_encode($thisrecord['username']),
        
"htmlname" => utf8_encode(fetch_musername($thisrecord)), 


FIND
PHP Code:

$dc_htmlusercurrent fetch_musername($dc_getuser);
$dc_usercurrentID $vbulletin->userinfo['userid'];
$dc_usercurrent $vbulletin->userinfo['username']; 

REPLACE WITH
PHP Code:

$dc_htmlusercurrent utf8_encode(fetch_musername($dc_getuser));
$dc_usercurrentID $vbulletin->userinfo['userid'];
$dc_usercurrent utf8_encode($vbulletin->userinfo['username']); 


soniceffect 07-18-2012 07:43 PM

18 July 2012 - 1.0.1 Released - Phrase added for breadcrumb text, support for umlauts and other utf8 characters.

orangefive 07-18-2012 07:46 PM

Marc - whats the breadcrumb bit? Being from not far from you i dont need the other funky stuff so seeing if its worth updating again.

With the updates, might be worth some way of entering a custom line 20-21 of lat long etc that does not get overwritten with futures.

Already voted MOTM, anyone else using should so also - awesome mod!


All times are GMT. The time now is 10:54 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.01731 seconds
  • Memory Usage 1,858KB
  • 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
  • (1)bbcode_code_printable
  • (6)bbcode_php_printable
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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