1. REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Embed map

Discussion in 'Showcase Support' started by tybar, Jul 23, 2014.

  1. tybar

    tybar New Member Showcase

    Hey,

    I'm trying to embed a google map in it's own tap, but every time I insert the iframe code it just shows up as plain text.

    Can anyone help me out with this?
     
  2. Bob

    Bob Developer Staff Member

    In one of the 5 content tabs, or a custom field tab?
     
  3. tybar

    tybar New Member Showcase

  4. Bob

    Bob Developer Staff Member

    Ah, that is done with custom editing of the template itself. he's added an extra tab manually to the template and has some custom added fields directly to the DB table along with some custom code. Its not being done with core showcase.

    What I suggest is contacting Nick.. (ibenick is his username at xenforo.com and here). He's very helpful when you can catch him inbetween hikes :) I don't have any of his custom code or I'd just give it to you.

    with that said, when you have time, can you please start a Suggestion Thread to add Google Map functionality so that when I get into R&D mode, I can do some research and maybe get some built in integration.
     
  5. tybar

    tybar New Member Showcase

    Is there no way to embed a google maps iframe into xenforo though, not even with like some sort of bbcode?
     
  6. Bob

    Bob Developer Staff Member

    Not through core XF. It would require an addon as the core editor strips HTML. Using Lukes allow HTML addon MIGHT work, but I can't guarantee it. Creating a BBCode would take just as much knowledge and effort as it would to do it custom like Nick did.
     
  7. Bob

    Bob Developer Staff Member

    @C.Birch could you help @tybar to test whether or not Lukes HTML addon will work with google maps embedding?
     
  8. tybar

    tybar New Member Showcase

    I've contacted Nick over at xenforo as he's been logged on there recently as opposed to here.
    Instead of opening a new thread, I'll just ask here.

    How do I go about adding aditional information below 'quick stats'?
    I need to add Phone, Website and opening hour fields.
     
  9. Bob

    Bob Developer Staff Member

    The easiest way is to create 3 custom fields (one for each of those), set them to Location: Sidebar. Then when people fill in those fields, they will display in a sidebar block on the item.
     
  10. Bob

    Bob Developer Staff Member

  11. tybar

    tybar New Member Showcase

    Thanks, I've figured it out.

    I need to make the following adjustments as well, if you could help me it would be greatly appreciated.

    1. Remove dropdown menu/items when hovering over 'showcase' in menu bar
    2. Remove ' item created by (username) (date)
    3. Remove the Cover Image
    4. Remove/Disable the comment box below each listing
    5. Remove 'more items from (username)' sidebar block
    6. Remove 'Member: (username)' from Quick Stats
     
  12. Bob

    Bob Developer Staff Member

    1. Remove dropdown menu/items when hovering over 'showcase' in menu bar
    This isn't something that can be done with a template edit. It can be done by editing the listener and removing the code that includes the sub navigation menu template, however, that will remove the sub navigation completely). This isn't something I "support" and won't post in public on how to do, but I will explain in a little more detail in private if you care to inbox me about it.

    Not sure what your level of experience is, so just going to point you to the correct templates or options or permissions for the rest of these... If you have problems with the template editing, let me know and I can provide more details when I get home.

    2. Remove ' item created by (username) (date)
    Edit the template nflj_showcase_item and either remove or comment out the parts you don't want to display.

    3. Remove the Cover Image
    Edit the template nflj_showcase_item_sidebar and remove the entire block that controls the cover image

    4. Remove/Disable the comment box below each listing
    Edit the category and disable the Comment System (its on the Category Options Tab). Also, this is further controlled via Permissions (Individual, User group and Category)

    5. Remove 'more items from (username)' sidebar block
    This is controlled by showcase options (Item Page Tab) 'More Items From Sidebar'. Set to 0 to disable the block.

    6. Remove 'Member: (username)' from Quick Stats
    Edit the template nflj_showcase_item_sidebar and remove it or comment it out.
     
  13. tybar

    tybar New Member Showcase

    Thanks, I'm competent just new to XenForo and keep getting lost with where various things are, so feel like an idiot at the best of times.
    Will send you a message in a moment, thanks.
     
  14. Bob

    Bob Developer Staff Member

    Im sure you will catch on pretty fast :) Just remember, the only dumb questions are the ones not asked ;) Im ALWAYS available via inbox (here or at ex eff dot com)
     
  15. C.Birch

    C.Birch Member AMS Premium SC Premium UBS Premium

    Hi,

    Sorry for slow reply, i really wish alerts for you being tagged in posts sent you a email, that way i would have seen this days ago :p
    But yeah you can add google maps embed code into the showcase via using Lucks html bbcode addon.

    Screen Shot 2014-07-25 at 22.59.56.png

    Note you have to post the code into the editor on its basic mode not wysiwyg mode.
     
    Bob likes this.
  16. C.Birch

    C.Birch Member AMS Premium SC Premium UBS Premium

    In fact this might be better for your needs, its a google maps bbcode: http://xenforo.com/community/resources/brivium-location-bbcode.2393/
    Because why i make use of lukes html bbcode, its only open to admin because giving normal users access would make a risk, so might be good to look into that add on above, it also gives a better user interface for your users and keeps them on your site.
     
    Bob likes this.
  17. ngannguyen

    ngannguyen New Member Showcase

    Hi,
    For the new version of Showcase, I have problem with Brivium Location BBCode: the map can not display fully, this one does not happen in the previous versions of Showcase.
    Location addon.png
    Please support me to fix.

    Thanks,
    Ngan.
     
  18. Bob

    Bob Developer Staff Member

    If you have a problem with Briviums addon, you need to contact him about it. Showcase uses the core XF Editor, so any BBCODE would be parsed by it. Showcase doesn't do anything on its own regarding BBCODE.
     
  19. Regs

    Regs Active Member AMS Premium SC Premium Pickem Power Rankings Sportsbook Survivor

    I have Luke's HTML addon and using it in threads it works fine but using in showcase just spits out the embed code - is there something in one of the showcase files that needs to be modified to get this to work?

    Using latest versions of everything.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.