Previous Thread
Next Thread
Print Thread
Hop To
#231096 11/17/2009 2:37 AM
Joined: Sep 2009
Posts: 15
L
stranger
stranger
L Offline
Joined: Sep 2009
Posts: 15
As the administrator I can add youtube videos to my posts no problem, but my members are unable to post a youtube video. What permission do I need to set to allow them to post a video?

Liftech #231097 11/17/2009 8:51 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
You need to make sure they have the "Can Post using Markup/UBBCode" permission.

Rick #231121 11/18/2009 3:25 AM
Joined: Sep 2009
Posts: 15
L
stranger
stranger
L Offline
Joined: Sep 2009
Posts: 15
I made sure the "Can Post using Markup/UBBCODE" permission in "Forum Permissions" for users is set to "1". It is still not working, is there something else I should look at? It still shows on the new post screen "HTML is disabled" and "UBBCode is disabled".

Liftech #231151 11/19/2009 2:21 AM
Joined: Sep 2009
Posts: 15
L
stranger
stranger
L Offline
Joined: Sep 2009
Posts: 15
Never mind, I found the same permission in the Group Management category. It's all good now.

Liftech #231800 12/07/2009 11:48 AM
Joined: Dec 2009
Posts: 1
M
stranger
stranger
M Offline
Joined: Dec 2009
Posts: 1
How can I upload videos in youtube?

mariel #231807 12/07/2009 4:20 PM
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
On this site when you post or reply.
Look at the tool bar just above the text area.
Five from the left it looks like a tv screen.
Select it and select youtube from the list.
It will prompt you on what to enter.

BTW you don't upload them they just link to you tube
But will appear as a player.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Ruben #232961 01/01/2010 2:38 PM
Joined: Jun 2007
Posts: 286
T
enthusiast
enthusiast
T Offline
Joined: Jun 2007
Posts: 286
I cannot get this to work correctly
UBB AND HTML is selected
If I enter the Youtube screen and add the full URL it
becomes
[video:youtube]http://www.youtube.com/user/teamzr1#p/a/u/0/RfMdDA5VBrY[/video]

That does not embed the video, just inserts the URL in the content

Now if just adding the video ID RfMdDA5VBrY to the tag it just shows as normal text in post

I also have a BLOG, different software and all I have to do is enter
[video:youtube:RfMdDA5VBrY]

and the vistors see the Youtube right in the BLOG content

So what am I missing ?

Thanks


JR
Team ZR-1 Corvette Racer's
teamzr1 #232962 01/01/2010 2:44 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
It wants the format when you click on the share link in youtube, so: http://www.youtube.com/watch?v=videoid



We'll be working on making the accepted values more flexible.

Rick #232968 01/01/2010 3:22 PM
Joined: Jun 2007
Posts: 286
T
enthusiast
enthusiast
T Offline
Joined: Jun 2007
Posts: 286
OK that syntax works but doubt end users would know/understand that only the share URL is what is needed as normally all is needed is the video's ID and becomes
[video:youtube:RfMdDA5VBrY]

rather then


ALSO would be nice if allowed to center the video on post screen








JR
Team ZR-1 Corvette Racer's
teamzr1 #232972 01/01/2010 3:32 PM
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
that is all configurable in the regex and resulting code

regex:
Code
(|.*v=)([a-zA-Z0-9_-]{8,12})(|&.*)
handles both a URL and naked ID, because the 'v=' is captured as option.. and then the 2nd capture grabs the all important number wink

markup:
HTML
<center><object width="630" height="380">
  <param value="http://www.youtube.com/v/\\2&fs=1&ap=%2526fmt%3D22" name="movie" />
  <param value="window" name="wmode" />
  <param value="true" name="allowFullScreen" />
  <param name="allowscriptaccess" value="always">
  <embed width="630" height="380" wmode="window" allowfullscreen="true" type="application/x-shockwave-flash" allowscriptaccess="always" src="http://www.youtube.com/v/\\2&fs=1&ap=%2526fmt%3D22">
  </embed>
</object></center>
the markup just adds <center> tags as a quicky to center it..

addionally, i enable hiDef in this markup and a fullscreen button...

you might decide to change the height/width to something smaller instead wink

note: i know i'd supplied these regexes to Rick (minus hidef) when 7.3.1 came out.. musta been lost in the shuffle..


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (ahmed047), 479 guests, and 143 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)