1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Interactive Google map BBCODE.

Discussion in 'Styling and Customization Questions' started by TNCclubman, Jan 23, 2011.

  1. TNCclubman

    TNCclubman Well-Known Member

    Will this work on xF?

    Admin CP --> Custom BB Codes --> Add New BB Code


    Title: Map

    BB Code Tag Name: map

    Replacement: <div align="center" style="margin: 5px 5px 5px 5px;">
    <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%">
    <tr>
    <td class="thead" style="text-align:center"><iframe width="100%" height="600" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?q={param}&output=embed"></iframe></td>
    </tr>
    </table>
    </div>

    Example: [map]201 S. Grant Avenue, Columbus, Ohio[/map]

    Description: This will insert a Google map of the location you input

    Use {option}: No

    Button Image (Optional): whatever 20x20 image you want, attached is the one we use

    Remove Tag If Empty: Yes

    Disable BB Code Within This BB Code:
    Yes

    Disable Smilies Within This BB Code: Yes

    Disable Word Wrapping Within This BB Code: Yes
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    If you use KK's BBCM then it should be possible.
     
  3. xFan

    xFan Member

  4. ibaker

    ibaker Well-Known Member

    I know this thread is old but it does work...the only issue is that when scrolling over the map with your mouse scroll wheel, the map zooms in and out. Wish there was a way to deactivate the mouse scroll wheel on the map with this BBcode unless you click the map first
     

Share This Page