You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 396 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - adding video to news section [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Arahad
Nuke Soldier
Nuke Soldier


Joined: May 13, 2006
Posts: 17


PostPosted: Sun Nov 22, 2009 8:09 pm Reply with quoteBack to top

I have read everything I can find on this topic and still have no luck getting it to work. I want to embed youtube vids etc in my news section, I have tried adding

Code:
"embed"=>1,"object"=>1,"param"=>1,


after

Code:
$AllowableHTML = array("b"=>1,


it looked like this

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"=>2,"object"=>2,"param"=>2);


no luck with that, I have also tried adding,

Code:
define('NO_EDITOR', true);


after

Code:
if (!defined('ADMIN_FILE')) {
   die ("Access Denied");
}


which looked like this

Code:
if (!defined('ADMIN_FILE')) {
   die ("Access Denied");
}
define('NO_EDITOR', true);


still would not work. I am running PHPnuke 8.0. All I want to do is add video embedded or not to the news section of my phpnukes main page, nothing i have read or tried to this point has helped. Any advice or help is greatly appreciated!
Find all posts by ArahadView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12482


PostPosted: Sun Nov 22, 2009 8:34 pm Reply with quoteBack to top

Try with allowed parameters
Code:

=>2

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Arahad
Nuke Soldier
Nuke Soldier


Joined: May 13, 2006
Posts: 17


PostPosted: Mon Nov 23, 2009 2:15 pm Reply with quoteBack to top

Still does not work, when i post an embedded video code it simply sows the code and not the video. when i edit the code in my phpnuke root config.php what exactly should the code line look like? and is there something im missing.

i tried

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"=>2,"object"=>2,"param"=>2);
Find all posts by ArahadView user's profileSend private message
tumi
Nuke Soldier
Nuke Soldier


Joined: Jun 09, 2004
Posts: 24


PostPosted: Fri Mar 18, 2011 7:56 am Reply with quoteBack to top

I am using phpnuke 8.0 and trying embed youtube vedio to the news posy, whne i do this the html code disappears, i have try changing the config.php and add what was suggested in some of this reply but still no luck.
Enyone can assit wiht this please?

_________________
USING:
PHP-Nuke 8.0
Approve_Membership6.1.6-8.0
http://www.lasgoyitos.net
Find all posts by tumiView user's profileSend private messageVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.040 Seconds - 195 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::