//Trail Status mouse over Java // Embedding FAQ

Author Topic: Embedding FAQ  (Read 10411 times)

mtbikernate

  • Should be riding....
  • ***
  • Posts: 648
    • View Profile
Embedding FAQ
« on: January 31, 2014, 12:38:48 PM »
I have implemented a couple of functional improvements to the forum lately.


First is a fix of an annoying problem we had for awhile.


The forum used to freak out if you tried to embed too many images in a post.  I'm not sure how it behaved for others, but for me, if I tried to embed more than one image using the BBCode Flickr supplied, I would get a 403 error AND a 404 error.  Very irritating.  That one was due to some host settings.  I contacted our hosting provider about it yesterday, they flipped some switches, and now that problem appears to be gone.  Feel free to add lots of pics to your posts now.  If you have the URL to an image location, you can also insert it using the image icon in the 2nd row, 3rd from the left.  Just page the URL into the dialog box.




First Snow Ride of Winter 2013/2014 7 Dec 2013 by mtbikernate, on Flickr




2013 Brown County Breakdown by mtbikernate, on Flickr


Edit 3/3/2015: The old video embed code was broken. No worky no mo. Some older video embeds will look funny with the extra code. I installed a new one that should be simpler for you all.


It works this way: Just paste the link. The plugin will do the embedding work. If you are accessing the forum with https://,  (I have a request out to the developer to get a better fix), Youtube links will throw browser security warnings. Firefox and Chrome show a gray shield up in the URL bar (Firefox is to the left of the URL, Chrome is on the right), while MSIE gives you a written warning at the bottom of the browser window that's easy to find and understand. Vimeo links don't appear to cause any problems. If youtube vids don't cause security warnings for you, be happy.








Here is a link to the plugin website with a list of video websites that are supported. It's a LONG list. Yup, PinkBike vids also work.
http://custom.simplemachines.org/mods/index.php?mod=2681
« Last Edit: March 04, 2015, 01:11:34 PM by Nate Hawkins »

Unfit Nitwit

  • Guest
Re: Forum fixes and improvements
« Reply #1 on: January 31, 2014, 02:08:21 PM »
Thanks for digging up and posting the embedding info.

Dave Tozer

  • Should be riding....
  • ***
  • Posts: 527
  • HMBA/IMBA member and I have the socks to prove it!
    • View Profile
    • Image Gallery
Re: Forum fixes and improvements
« Reply #2 on: March 05, 2014, 02:58:13 PM »
Trying out the Vimeo code...


[embed=425,349]<!-- This version of the embed code is no longer supported. Learn more: https://vimeo.com/s/tnm --> <object width="500" height="281"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=84540053&amp;force_embed=1&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=1&amp;color=00adef&amp;fullscreen=1&amp;autoplay=0&amp;loop=0" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=84540053&amp;force_embed=1&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=1&amp;color=00adef&amp;fullscreen=1&amp;autoplay=0&amp;loop=0" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="500" height="281"></embed></object> <p> from Dave Tozer on Vimeo.</p>[/embed]


Success! Great work on the site improvements!

mtbikernate

  • Should be riding....
  • ***
  • Posts: 648
    • View Profile
Re: Forum fixes and improvements
« Reply #3 on: March 23, 2014, 10:49:58 PM »
Just added a right sidebar to the forum that includes an RSS feed to articles on the main page.  Watching site stats, I'm seeing that once people get to the forums, they VERY rarely ever leave to view any other content on our website.  I didn't mess around with the site layout otherwise.

Jeff Blum

  • **
  • Posts: 170
  • HMBA-IMBA Member
    • View Profile
Re: Forum fixes and improvements
« Reply #4 on: March 24, 2014, 09:58:31 AM »
That looks nice on a widescreen monitor, but if I move it to the old 4:3 monitor, that + the background image take up too much of the screen real estate, leaving the thread column too narrow for my liking.  Now I usually view the forum on a widescreen monitor, so it's not really much of an issue for me, I just thought I'd make that point.  Is there a way to specify a minimum allowable width for the thread column and let it cover more of the background image?

David Kuehnen

  • Should be riding....
  • ***
  • Posts: 598
  • HMBA-IMBA member
    • View Profile
Re: Forum fixes and improvements
« Reply #5 on: March 24, 2014, 10:45:29 AM »
I would agree.  Although the background image is nice, I would rather have more information and less pretty.
David Kuehnen, PE

2019

FHSP    - 16 hr
TRTP.     - 8 hr

mtbikernate

  • Should be riding....
  • ***
  • Posts: 648
    • View Profile
Re: Forum fixes and improvements
« Reply #6 on: March 24, 2014, 11:12:11 AM »
Unfortunately, the forum templates aren't NEARLY as common-sense to mess around with as the main website templates are.


There is probably a way but it would require modifying the raw code of the template php files, and that's just something I only have a very basic understanding of at this point.  As for setting up the sidebar, I was fortunate to find clear instructions on what to add and where.


The Wordpress site puts most settings into a graphical interface, so they're checkboxes, fields for numbers, and a couple spots to type custom code.


I know how to add or remove the background image but from my own messing around with the browser window, that image sits behind everything and does not affect the layout width.  It looks to me like the overall layout is some kind of fluid setup based on occupying specific proportions of the browser window.  I can see if I can set a minimum width for the table I created to control the sidebars and such.


The overall layout is controlled in scattered areas throughout the template files so I don't have much to work with when setting up the sidebar for the site feed.  I can narrow it a little bit and see if I can find something a little smaller than 200 pixels that will work, but that's really all that I am able to modify at this point.

mtbikernate

  • Should be riding....
  • ***
  • Posts: 648
    • View Profile
Re: Forum fixes and improvements
« Reply #7 on: March 25, 2014, 08:08:16 PM »
I narrowed the sidebar to 150 pixels.  Seems to do better without taking away from the content there.  It behaves sorta oddly when you try to squash the screen narrow enough to force horizontal scroll bars to appear.  I can't figure out how to make it behave better under those extreme circumstances.


I also added an "Important Links" section to the more important parts of the web page.  I will shortly be adding a "Volunteer With Us" link just after "Join HMBA" once Tammy gets back into town and can review the page.


I tried putting a calendar widget below the news section, and unfortunately the calendar widget just looks bad at 150 pixels.  The old width of 200 pixels is not much better.  I just don't want to cram more into the header area, either, so the link will have to suffice.


I am already seeing some forum traffic routing to the main page.  This is good.

matt_laker

  • Should be riding....
  • ***
  • Posts: 221
  • SIMBA Member (& socks to prove it!) 8-)
    • View Profile
Re: Forum fixes and improvements
« Reply #8 on: March 25, 2014, 10:29:07 PM »
Awesome work, Nate!  Volunteering to help build trails is wonderful (which I know you do as well), but so is giving so much of your time to get more people aware of everything going on (to hopefully get MORE out trail building/repairing/riding).  Keep up the great work!!
Fat Bikes Matter!

getsometrail

  • HMBA-IMBA Member
  • Should be riding....
  • *
  • Posts: 281
    • View Profile
Re: Forum fixes and improvements
« Reply #9 on: March 26, 2014, 06:36:42 AM »
Awesome work, Nate!  Volunteering to help build trails is wonderful (which I know you do as well), but so is giving so much of your time to get more people aware of everything going on (to hopefully get MORE out trail building/repairing/riding).  Keep up the great work!!
I second this, Nate you've done an excellent job.  Our website and forum are on par with the best I've seen from other groups.  Thanks for all your effort!
Roads...?  Where we're going we don't need roads!  Travis Eacret 2008 Giant Trance X2.

Jeff Blum

  • **
  • Posts: 170
  • HMBA-IMBA Member
    • View Profile
Re: Forum fixes and improvements
« Reply #10 on: March 26, 2014, 12:09:46 PM »
Awesome work, Nate!

My name is Jeff Blum, and I approve the message.  Thanks for all of your hard work, Nate.

mtbikernate

  • Should be riding....
  • ***
  • Posts: 648
    • View Profile
Re: Forum fixes and improvements
« Reply #11 on: March 26, 2014, 12:47:59 PM »
Thanks for the positive words.

Gochenour

  • Training wheels on
  • *
  • Posts: 41
  • Passion, Practice, Persistence, Patience
    • View Profile
    • Gochenour's Strava
Re: Forum fixes and improvements
« Reply #12 on: May 01, 2014, 09:24:52 PM »
There is probably a way but it would require modifying the raw code of the template php files, and that's just something I only have a very basic understanding of at this point.  As for setting up the sidebar, I was fortunate to find clear instructions on what to add and where.

I could easily duplicate this forum skin and modify the new skin's coding to allow the body width of the entire forum to stretch up to a higher percentage. That would give people options, the default skin or the skin optimized for smaller monitors. The only catch is you (the forum user) would have to go into your profile settings and select the new skin... we could set it for you as well if you asked.
"How do you get to Carnegie Hall? Practice, practice, practice."
"Success is not final, failure is not fatal: it is the courage to continue that counts."

mtbikernate

  • Should be riding....
  • ***
  • Posts: 648
    • View Profile
Re: Forum fixes and improvements
« Reply #13 on: June 17, 2014, 10:19:31 AM »
I updated the original post in this discussion to provide some improved details about embedding from YouTube.  You have to use the old embed code from BOTH Vimeo and YouTube to display embedded vids in posts.

mtbikernate

  • Should be riding....
  • ***
  • Posts: 648
    • View Profile
Re: Embedding FAQ
« Reply #14 on: March 03, 2015, 10:00:49 PM »
bump. I had to make some modifications to embedding, because the old method didn't work anymore. Now, MUCH EASIER and MORE FORMATS SUPPORTED!

 

Important Links

Join HMBA

 

Calendar

 

Trail Guide

 

Links