HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


FreeOurMoney - advocating monetary reform

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#70679 (In Topic #14933)
Avatar

Community saint

Posting this again as being the seasoned ocPortal veteran that I am, or thought I was, I posted it in the wrong place initially  :$

I had the opportunity over the last year and bit to begin to explore some of the reasons why our society is in such disarray and seeming chaos today. Over and over again the majority of issues appeared to have money at the root of the problem(s). I've never been a money watcher, didn't have much respect for it or the banking and financial services industries and basically couldn't have cared less….that all changed with my research.

We have basically one option remaining for our survival and that is to reform our monetary system(s) which in turn will fundamentally change society and how we deal with and control our money supply. Within a few short years, the vast majority of the problems plaguing humanity will disappear.

Advocating monetary reform - FreeOurMoney

Enough preaching SD! ;) From the ocPortal perspective, I was shooting for a "clean theme" and at the same time I wanted to use as much OCP native functionality as possible. In the end, roughly 95% of the site is OCP code and features.

Thanks to temp1024, Fletch and Jean for their critiques and suggestions and of course big thanks to Chris & Co. for developing such a great package in the form of ocPortal!!  :thumbs:

"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved

OCP V7 | Advocating monetary reform - FreeOurMoney

Need OCP friendly hosting? Look no further:
Web Hosting, Reseller Hosting, and Dedicated Servers w/cPanel - Elief! - Official hosting partner for ocPortal.
Back to the top
 
Posted
Rating:
#70834
Avatar

Community saint

I've been 'in' and 'out' of your site SD, and I find I am spending too much time there; to the detriment of my own meagre site tweaking. I have even begun a subscription to the 'Economist' and believe me, here in Portugal, it is a mammoth undertaking - and EXPENSIVE - which kinda defeats the object, wouldn't you agree?

More to the point, I've been taken with your 'Gallery' setup, and I've been sirened into clicking the links to the vids, many of which I've watched, and many of which I would never have stumbled across in a lifetime. So here is an offering, rather timidly I might add, which you may find useful:



This was tested with my own custom-comcode which I reproduce below although I believe you've already built your own. The relevant bits are the 2 colors that are called in the YouTube URL which gives the shaded frame, which in turn means ALL your vids will be framed the SAME way on YOUR site. The comcode tag I use is the one Allen put up in his tute. Works for me:

Code

<p align="center"><object width="560" height="349"><param name="movie" value="http://www.youtube.com/v/{content}&amp;hl=en_GB&amp;rel=0&amp;color1=0x2b405b&amp;color2=0x227422&amp;border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/{content}&amp;hl=en_GB&amp;rel=0&amp;color1=0x2b405b&amp;color2=0x227422&amp;border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="349"></embed></object></p>
The {content} element needs to be populated with the YouTube vid code. In this instance I used 'pEKohTXF4Xw'



Something missing as the vid isn't displaying with its frame. Here is a better display; one for SD, one for temp1024 (who has responded in a later post categorically saying that he isn't looking for any dumb@ss code as he has already cracked it to his satisfaction!). My bad!

 :o


Last edit: by Fletch

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#70835
Avatar

Not sure if I helped or hindered you there Fletch, was trying to make the Youtube video display via the YouTube Custom Comcode tag, which we didn't have installed here (I just added it). Too late for me to think straight I think ;).


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#70836
Avatar

Community saint

Hmmmm… now that you mention it, it IS after two in the morning.

Didn't help, but I'll try to edit the vid using the tags 'youtube' tags which are obviously in place …

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#70842
Avatar

Community saint

I'll add my 2 cents worth, by which I mean my custom youtube comcode.

This code as two significant differences.

1st - It displays a still image of the clip. This is for the benefit of people, like myself, that have flash blockers running, so that they can see an image instead on an empty flash frame.

2nd - The loading of the flash objects is delayed until after the rest of the page loads. The main reason for this is to prevent the screen going blank/flashing when navigating between pages.

I'm using the following default values:  width=640,height=390

Code

<center><div id="vid_{RAND%}" class="lightborder" style="background:url(http://i.ytimg.com/vi/{content}/0.jpg) no-repeat center center;width:{width}px;height:{height}px;margin=0;padding=0;">
   <script type="text/javascript">// <![CDATA[
   addEventListenerAbstract(window,'load',function () {
obj="<object width='{width}' height='{height}'> " +
"   <param name='movie' value='http://www.youtube.com/v/{content}&hl=en&fs=1' />" +
"   <param name='type' value='application/x-shockwave-flash' />" +
"   <param name='allowscriptaccess' value='always' />" +
"   <param name='wmode' value='transparent' />" +
"   <param name='allowfullscreen' value='true' />" +
"<embed width='{width}' height='{height}'" +
"      src='http://www.youtube.com/v/{content}&hl=en&fs=1'" +
"      allowscriptaccess='always'" +
"      wmode='transparent'" +
"      allowfullscreen='true'" +
"   ></embed> "  +
"   </object>" ;
setInnerHTML(document.getElementById('vid_{RAND%}'),obj,false);
   } );
   //]]></script>
</div></center>

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#70843
Avatar

Community saint

@Chris.

The code I posted earlier, and which you inserted into your own custom-comcode had an error. I've edited it. Please edit your custom-comcode, and that frame should appear. Thanks.

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#70855
Avatar

Community saint

Thanks for the code bits fellas, added to my collection to play around with!

"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved

OCP V7 | Advocating monetary reform - FreeOurMoney

Need OCP friendly hosting? Look no further:
Web Hosting, Reseller Hosting, and Dedicated Servers w/cPanel - Elief! - Official hosting partner for ocPortal.
Back to the top
 
Posted
Rating:
#70858
Avatar

Fletch said

@Chris.

The code I posted earlier, and which you inserted into your own custom-comcode had an error. I've edited it. Please edit your custom-comcode, and that frame should appear. Thanks.

I probably shouldn't have mucked around at all. It looked to me like you were trying to play a video but didn't have HTML permission so I put it through the youtube tag – but this is the standard tag, I was not trying to reproduce any exact HTML. Sorry for the chaos.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: