1 of 2
1
Custom buttons for youtube and googlevideo in forum module
Posted: 02 January 2007 02:15 PM   [ Ignore ]  
Lab Assistant
Avatar
RankRank
Total Posts:  106
Joined  09-21-2004

Hi,

I just create an extension to use simple custom buttons to include youtube and googlevideo in any forum post.
You can see it working in our forum here.
Here you can download the extension.
Any suggestions are feedback are welcome.

ciao Lars

 Signature 

http://www.lars-kirchhoff.de

Profile
 
 
Posted: 02 January 2007 05:40 PM   [ Ignore ]   [ # 1 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1642
Joined  05-13-2004

It’s not working for me. I’ve enabled the extension, but when I added the docid it just posts the code.
any suggestions? for the record my forums are still 1.3.

you can see my thread here

 Signature 

CreateSean - My journey to pro web designer
currently improving my CSS, XHTML, JQuery & photoshop kung fu skills
I am the poster formally known as The Linguist.

Profile
 
 
Posted: 02 January 2007 06:26 PM   [ Ignore ]   [ # 2 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15833
Joined  06-03-2002

The version of the forums you are running lacks the extension hooks that this utilizes.  A great deal of hooks were added in 1.3.2 to give developers more control.

 Signature 
Profile
MSG
 
 
Posted: 02 January 2007 06:34 PM   [ Ignore ]   [ # 3 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1642
Joined  05-13-2004

ah.. time to upgrade

 Signature 

CreateSean - My journey to pro web designer
currently improving my CSS, XHTML, JQuery & photoshop kung fu skills
I am the poster formally known as The Linguist.

Profile
 
 
Posted: 02 January 2007 06:38 PM   [ Ignore ]   [ # 4 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15833
Joined  06-03-2002

Yep, and just in time as we released a new build a few moments ago.  Of course, you’ll be following the version upgrade and not the build update instructions, but…fresh!

 Signature 
Profile
MSG
 
 
Posted: 02 January 2007 06:54 PM   [ Ignore ]   [ # 5 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1642
Joined  05-13-2004

yeah!
it works for youtube, but not for google.

 Signature 

CreateSean - My journey to pro web designer
currently improving my CSS, XHTML, JQuery & photoshop kung fu skills
I am the poster formally known as The Linguist.

Profile
 
 
Posted: 03 January 2007 03:21 AM   [ Ignore ]   [ # 6 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  106
Joined  09-21-2004

Hi Linguist,

you should use

[googlevideo]code[/googlevideo]

in order to get the google video to work AND
you should only use the docid. You added the docid with an additional language parameter (&hl=en),
which is used from google only for their user interface, but is not required in order to embed the video
in any other website.
So in your case it the code in your post should look like this:

[googlevideo]1384277706451157121[/googlevideo]

Hope that works than.

/lars

 Signature 

http://www.lars-kirchhoff.de

Profile
 
 
Posted: 03 January 2007 03:24 AM   [ Ignore ]   [ # 7 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1642
Joined  05-13-2004

I’m so stupid. I forgot the video part of googlevideo…

 Signature 

CreateSean - My journey to pro web designer
currently improving my CSS, XHTML, JQuery & photoshop kung fu skills
I am the poster formally known as The Linguist.

Profile
 
 
Posted: 10 January 2007 06:28 AM   [ Ignore ]   [ # 8 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  595
Joined  11-07-2004

Any chance this could be added to the weblog module? I am using tinyMCE and it strips all my youtube embeds, and object code. Even clicking the ‘html’ button and manually adding it does not work.

 Signature 

Member: ExpressionEngine Pro Network: ePlaces Network Services

ePlaces Network Services

Profile
 
 
Posted: 10 January 2007 09:26 AM   [ Ignore ]   [ # 9 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  106
Joined  09-21-2004

this could be done as a plugin then.. will see if I can put it in a plugin the next few days.

/lars

 Signature 

http://www.lars-kirchhoff.de

Profile
 
 
Posted: 26 January 2007 07:22 PM   [ Ignore ]   [ # 10 ]  
Lab Assistant
RankRank
Total Posts:  121
Joined  12-01-2006

Works fine smile  http://www.zapruder.nl/forums/viewthread/8119/

Why not add Metacafe also?

(Personally I would have preferred the whole URL between brackets.)

And why not make it available with normal comments?

Profile
 
 
Posted: 04 February 2007 06:05 PM   [ Ignore ]   [ # 11 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  595
Joined  11-07-2004
Lars K. - 10 January 2007 09:26 AM

this could be done as a plugin then.. will see if I can put it in a plugin the next few days.

/lars

Any update on this? Hate to be a pest.

 Signature 

Member: ExpressionEngine Pro Network: ePlaces Network Services

ePlaces Network Services

Profile
 
 
Posted: 05 February 2007 03:21 AM   [ Ignore ]   [ # 12 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  106
Joined  09-21-2004

sorry I haven’t had the time for it yet, so please bear with me a couple of days wink I’ll let you know.

/lars

 Signature 

http://www.lars-kirchhoff.de

Profile
 
 
Posted: 05 February 2007 03:25 PM   [ Ignore ]   [ # 13 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  106
Joined  09-21-2004

Ok I did it wink. It’s not a plugin. I just updated the extension. It now features the
support in the weblog entries and makes it possible to use either the complete url
or the doc_id.

You can get it here: http://www.lars-kirchhoff.de/go/journal/comments/update-video-extension/

/lars

 Signature 

http://www.lars-kirchhoff.de

Profile
 
 
Posted: 05 February 2007 03:29 PM   [ Ignore ]   [ # 14 ]  
Lab Assistant
RankRank
Total Posts:  121
Joined  12-01-2006

Great! Does this also mean the tags can be used in comments also?

Profile
 
 
Posted: 05 February 2007 03:40 PM   [ Ignore ]   [ # 15 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  106
Joined  09-21-2004

I know this would come wink Let me see if I can add it..

/lars

 Signature 

http://www.lars-kirchhoff.de

Profile
 
 
Posted: 05 February 2007 03:46 PM   [ Ignore ]   [ # 16 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  595
Joined  11-07-2004

Fantastic.

Works like a charm! Thanks Lars K.!

 Signature 

Member: ExpressionEngine Pro Network: ePlaces Network Services

ePlaces Network Services

Profile
 
 
Posted: 05 February 2007 03:49 PM   [ Ignore ]   [ # 17 ]  
Lab Assistant
RankRank
Total Posts:  121
Joined  12-01-2006
Lars K. - 05 February 2007 03:40 PM

I know this would come wink Let me see if I can add it..

/lars

Please do smile

Your update works super!!! This extension is already becoming legendary on Dutch forums… wink

Profile
 
 
Posted: 05 February 2007 04:03 PM   [ Ignore ]   [ # 18 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  106
Joined  09-21-2004

I just had a quick look into the available hooks for the weblog comments,
but unfortunately both hooks are not suitable to use for modifying any
bbcode style tags in the comment. the first hook (comment_entries_tagdata)
just gives the templates with unchanged tags and the other hook
(comment_entries_comment_format) returns only the stripped comment
data with no more bbcode style tags in it, So I may have to look at the
the hooks, which are available for the submit process of the comment. But
I have no experience with that and I am a bit short in time right now. So will
see when I can add this to the comments.

/lars

 Signature 

http://www.lars-kirchhoff.de

Profile
 
 
   
1 of 2
1
 
‹‹ Mint Cookie Tag      Atozee Extension ››
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64944 Total Logged-in Users: 70
Total Topics: 81925 Total Anonymous Users: 48
Total Replies: 440357 Total Guests: 288
Total Posts: 522282    
Members ( View Memberlist )