Vimeo Comcode
|
Posted
#77757
(In Topic #15985)
|
|
|---|---|
|
Honoured member |
Code
{$SET,VIDEO,{$PREG_REPLACE,(http://.*\?v=)?(http://vimeo.com/)?([\w\-]+)(.*)?,$\{3\},{content}}}<object width="384" height="288"><iframe allowfullscreen="" frameborder="0" height="288" mozallowfullscreen="" src="http://player.vimeo.com/video/{$GET*,VIDEO}?title=0&byline=0&portrait=0" webkitallowfullscreen="" width="384"></iframe>
Paul |
|
Posted
|
|
|
ocStaff (admin) |
If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
ocStaff (admin) |
If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
Community saint |
Bob |
|
Posted
|
|
|
Honoured member |
Bob, there is a lot more I have on my list. My bottleneck is wrapping a lot of the template stuff and how the coding for database access is set up and where things are stored. |
|
Posted
|
|
|
Community saint |
Bob |
|
Posted
|
|
|
Honoured member |
I have done a lot of web stuff in the past, mostly PHP. So once I get 'on-step' with all the internals of ocPortal I should be able to be of more help, and put out much more. Some of the things I added on my 'custom tasks' in my admin area (so I remember) is adding a list for tracked topics (which someone mentioned elsewhere) and a block to show most recent user blog entries (which is one specific for me). I know I had a few more, but I forgot to write them down. But I am slowly going through the software and figuring it all out. Messing with permissions and such to hide away stuff I don't want on the site, or don't want guests to see. I even figured out I could hide a forum for general users and have it only acessable to those in a usergroup I made, so they can join or leave as they wish. Pretty handy stuff once you get the hang of it. The guys who came up with ocPortal get the big cudo's for thinking outside of the box on a lot of stuff while putting this system together. |
|
Posted
|
|
|
ocStaff (admin) |
If you're planning to upgrade to v8 when it comes, I'd have that on the end of your list. It might happen via us, but I'm not 100% sure yet. If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
Honoured member |
|
|
Posted
|
|
|
Community saint |
I think I may have been the one to ask for that or, at least, chimed in with my desire to see something like this. Sounds like we will get a solution one way or another. Bob |
|
Posted
|
|
|
Community saint |
There's really not much information in the v8 thread except the statement that the design goals are different with a few hints to what might be added. I think it is a bit too early in the game for Chris to determine if a lot of the paid development is well-suited for a general release of ocPortal. Chris likes to always over-deliver so I think he is quite cautious about over-promising. That said, I have found the best source of clues as to what might be is the commit log from github. I suspect you could glean a lot more out of it since you'll be able to make better sense of the attached code. I guess I could pull a github version and install it but I am just so busy with thing plus all the holiday stuff going on. At any rate, I am quite excited by the prospects of v8 and wish it was here yesterday. I know it contains some goodies that I sponsored so that already makes it a win for me. Any added stuff could only possibly mean an even happier me. Bob |
|
Posted
|
|
|
Hallowed customer |
Thanks, Paul. Will build a custom-comcode tag and see how it works - tomorrow. |
|
Posted
|
|
|
Honoured member |
I realized I messed up with this code. I forgot the Code
</object>
at the end of it. Without that it causes problems. So ensure you do that. |
|
Posted
|
|
|
Hallowed customer |
'/object' added Update: Added the code to a custom-comcode tag named 'vimeo' and it all works perfectly. Thanks again Paul, and the points are going up in a mo!
Last edit: by Fletch
|
1 guests and 0 members have just viewed this: None
Control functions:








Last edit: by