Skip to Content Skip to Menu

Google Maps Plugin

  • Red1000
  • Red1000
  • OFFLINE
  • Posts: 39
  • Thanks: 0
  • Karma: 1
18 years 3 months ago #16242 by Red1000
Google Maps Plugin was created by Red1000
I was testing the geocoder plugin for CB. The avatars I am using are 600*600 pixels large, so when you view the users online with the Google Maps Plugin, they are way too big and out of view. I wanted to know where to reference the /tn folder, instead of using the regular sized avatar... This would be a great help, and I wasn't able to find it so far!

Thank you!

Joomla 1.0.8 + CB Stable

Please Log in or Create an account to join the conversation.

  • Red1000
  • Red1000
  • OFFLINE
  • Posts: 39
  • Thanks: 0
  • Karma: 1
18 years 3 months ago #16243 by Red1000
Replied by Red1000 on topic Re:Google Maps Plugin
As far as the user inputted data... I created CB fields called cb_state, cb_zip... and so on, and when I add these to the Geocoder plugin, they don't seem to work... The lat/long did, though... so any insight would be great!

Joomla 1.0.8 + CB Stable

Please Log in or Create an account to join the conversation.

  • Red1000
  • Red1000
  • OFFLINE
  • Posts: 39
  • Thanks: 0
  • Karma: 1
18 years 3 months ago #16305 by Red1000
Replied by Red1000 on topic Re:Google Maps Plugin
I found the solution to the thumbnail problem. In the xsl tab for your google maps plugin, change the line: [code:1]<xsl:attribute name="src">images/comprofiler/<xsl:value-of select="avatar"/></xsl:attribute>[/code:1]

to

[code:1]<xsl:attribute name="src">images/comprofiler/tn<xsl:value-of select="avatar"/></xsl:attribute>[/code:1]

This simply tells the script to use the "tn" or resized version of the avatar.

As far as the geocoder fields, they're working great now... Great plugin!!

Joomla 1.0.8 + CB Stable

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum