Stop data retention! Click here & act! Are you a webmaster and want to participate? Here you can find all necessary material for your website - Willst du auch an der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien:
Chris Karakas Online Forum Index Karakas Online
 FAQFAQ   Forum SearchForum Search   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
How to embed Google video or YouTube into PHP-Nuke


Goto page 1, 2  Next
 
Post new topic   Reply to topic
   Chris Karakas Online Forum Index -> PHP-Nuke Forum RSS Feed of this Forum
Share this page: These icons link to social bookmarking sites where readers can share and discover new web pages.Digg  del.icio.us  tc.eserver.org  Blinklist  Furl  Reddit  Blogmarks  Magnolia  Sphere  Yahoo!  Google  Windows Live  Technorati  Blue Dot  Simpy  Newsvine  Stumble Upon  co.mments.com  Blinkbits  BlogMemes  Connotea  View previous topic :: View next topic  
Author Message
mobashirkhan
Lance Corporal
Lance Corporal


Joined: 03 Feb 2007
Posts: 9

PostPosted: Sat Feb 03, 2007 12:40 am    Post subject: How to embed Google video or YouTube into PHP-Nuke
Reply with quote

Hi
i need to ask that i want to youtube file in my phpnuke 8.0 website
like u can say "embed"
i have Video Streaming module which support that Window Media Player, Real Player, Quick Time and Embed option
i tried that with this option
but it doesn't show the youtube movie
so plz tell me how can i do it..
Back to top
View user's profile Send private message
Truden
Major
Major


Joined: 23 Jul 2003
Posts: 280
Location: Johannesburg

PostPosted: Sat Feb 03, 2007 10:31 am    Post subject:
Reply with quote

Open config.php (in your phpNuke root)
Find:
Code:
$AllowableHTML = array("b"=>1,

ADD in the next line:
Code:
"embed"=>1,
"object"=>1,
"param"=>1,

SAVE the file and upload.

Now you can add the code for YouTube video in your news section.
For the forum, you have to open the admin panel for your forums and add embed object and param in the field for allowable html
Back to top
View user's profile Send private message Visit poster's website
mobashirkhan
Lance Corporal
Lance Corporal


Joined: 03 Feb 2007
Posts: 9

PostPosted: Sat Feb 03, 2007 1:58 pm    Post subject:
Reply with quote

thanx alot Smile for reply
Back to top
View user's profile Send private message
NealWalters
Private
Private


Joined: 17 Sep 2007
Posts: 3

PostPosted: Mon Sep 17, 2007 6:02 am    Post subject:
Reply with quote

I edited config.php as follows:

Code:
$AllowableHTML = array("b"=>1,"i"=>1,"strike"=>1,"div"=>2,"u"=>1,"a"=>2,"em"=>1,"br"=>1,"strong"=>1,
"blockquote"=>1,"tt"=>1,"li"=>1,"ol"=>1,"ul"=>1,
"embed"=>1,"object"=>1,"param"=>1);


Yet, when I click HTML and paste in the HTML, I click "Update", then click the HTML button again, and the Embed code disappears.

Also - how do I know what version I'm using?
I usually use PHP-Fusion, but decided to give a quick try to PHP-Nuke on a small site to get a feel for the advantages/disadvantages.

Thanks,
Neal Walters
http://CMSTrainingVideos.com - Free Videos
Back to top
View user's profile Send private message
NealWalters
Private
Private


Joined: 17 Sep 2007
Posts: 3

PostPosted: Mon Sep 17, 2007 6:09 am    Post subject:
Reply with quote

I found my version 7.9 (I installed with Fantastico).
Found the version number on Fantastico and in a file called fantversion.php:

Code:
<?php

    $version = '7.9' ;

?>


But can I not find the version somewhere on the website or admin screens? Are there differences between 7.9 and 8.x in regards to included a flash or google video?

Thanks,
Neal
Back to top
View user's profile Send private message
larrycsonka
Private
Private


Joined: 27 Sep 2007
Posts: 3

PostPosted: Sat Sep 29, 2007 7:31 pm    Post subject: applying this to downloads
Reply with quote

I added that code into my config.php and into my d_config.php But I cant get it to work. What I am trying to do is make the downloads module on 8.1 have the ability to put embed code in instead of a link so it would be like a streaming video forum. It seems no matter what I do it says html tags not allowed. Can you help me figure out how to make that work? or where i have to put the html allowed code to make it work for my downloads module?
Back to top
View user's profile Send private message
themata
Corporal
Corporal


Joined: 20 Apr 2006
Posts: 17
Location: Greece

PostPosted: Sun Sep 30, 2007 3:28 pm    Post subject:
Reply with quote

in my 7.8 site it worked great! thanks! Wink
Back to top
View user's profile Send private message Visit poster's website
NealWalters
Private
Private


Joined: 17 Sep 2007
Posts: 3

PostPosted: Sun Sep 30, 2007 4:23 pm    Post subject:
Reply with quote

I had a short deadline, so I actually had to drop PHP Nuke since I could not get this working (switched to E107) and nobody was posting any replies.

Neal Walters
http://CMSTrainingVideos.com - Content Mgt System Videos
Back to top
View user's profile Send private message
undead
Sergeant
Sergeant


Joined: 08 Apr 2007
Posts: 24

PostPosted: Mon Oct 01, 2007 2:45 pm    Post subject:
Reply with quote

i want the same thing, this code didn't worked for me too. I use phpnuke 7.9

anyone can tell me what to do? Shocked
Back to top
View user's profile Send private message
larrycsonka
Private
Private


Joined: 27 Sep 2007
Posts: 3

PostPosted: Mon Oct 01, 2007 4:52 pm    Post subject: question
Reply with quote

It worked perfectly fine for me with 8.1 for the news feed and such. I am hoping someone could help me add this code to the downloads module.

I tried to add it to my downloads module but it didn't work, the html code is still restriced. I am hoping people can put videos instead of links to downloads people can put in the embed code and just show a streaming video from the site. Please help if you can, thanks.
Back to top
View user's profile Send private message
Share this page: These icons link to social bookmarking sites where readers can share and discover new web pages.Digg  del.icio.us  tc.eserver.org  Blinklist  Furl  Reddit  Blogmarks  Magnolia  Sphere  Yahoo!  Google  Windows Live  Technorati  Blue Dot  Simpy  Newsvine  Stumble Upon  co.mments.com  Blinkbits  BlogMemes  Connotea 
Display posts from previous:   
Post new topic   Reply to topic
   Chris Karakas Online Forum Index -> PHP-Nuke Forum
Page 1 of 2
This page contains valid HTML 4.01 Transitional - click here to check it!
This page contains a valid CSS - click here to check it!

 

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group