Clan Adverts

Sponsors

CT on Facebook

Latest Product

User Box

Anonymous
38.107.179.216
Nickname:

Password:

Security Code
Security Code
Type Security Code


PND Downloads Feed

Phpnuke Downloads
How to Delete or Reset yo...
How to Delete or Reset your PHPNuke Admin Account
Lost your admin password ?  Cant login to your admin account ?This sh...
Back Online & Stuff
Back Online & Stuff
Look at us with our nifty website back up and running… Seriousl...
How to edit the admins in...
How to edit the admins in the forums
Here is a way to make someone admin in your forums on your Evo site. I...
Demo Splash Screen
Demo Splash Screen
Ped @ Clan Themes has released a simple splash screen entrance hack. ...
Free Phpnuke Business The...
Free Phpnuke Business Theme 6
This is the 6th Business theme for Phpnuke that Clan Themes has releas...
Tricked Out Slider
Tricked Out Slider
We have seen some great new things come out of Tricked Out News and th...

Custom Work

PHP Nuke Custom Work

www.clanthemes.com :: View topic - Flash problems in blocks
Flash problems in blocks

9 Replies / 901 Views


Post new topic   Reply to topic  

   www.clanthemes.com Forum Index » Blocks

View previous topic :: View next topic


CLASH
Reputation: 26.9 Add RepSubtract Rep
Local time: 11:01 PM


Noob
Noob

0.01 posts per day
Medals: 0

Joined: Jun 13, 2007
Last Visit: 28 Feb 2011
Posts: 10
Points: 6428 

Post Flash problems in blocks Posted: Tue May 19, 2009 8:26 am

Shop Purchases:
Battlefield 2 Theme (Aviator V2) · Medal of Honor Theme

Hello,
My Clan is using your ETOG theme and PHP Nuke 8.0.
We got a new host and domain for site, so i did a fresh install of PHP 8.0
It has been awhile since i have done this and am a little bit rusty!
So here is my question I want to know why my flash embedding is not working in blocks.
I did remember that you have to edit the config.php here is what i have

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

Am i missing something? should "embed" 2 be "embed" 1? Anyways when i go to embed flash into a block it just shows up as text in the block
or just vanishes when i save block . I have tried everything and have been up all night trying to figure this out! Please don't laugh at my crap coding skills i even put "swf" in there just in case.
Any help would be greatly appreciated. Thanks in advance!
Cheers, CLASH
 

 
View user's profileSend private messageVisit poster's website Reply with quote

clyde4210
Reputation: 395.3 Add RepSubtract Rep
Local time: 11:01 PM

blank.gif

OMG
OMG

0.11 posts per day
Medals: 0

Joined: Oct 24, 2007
Last Visit: 24 Jul 2009
Posts: 167
Points: 7534 

Post Flash problems in blocks Posted: Tue May 19, 2009 12:04 pm

wouldn't you just create a new block using html? <embed> embed here </embed> might want to put center tags around the embed tags.
 

 
View user's profileSend private messageVisit poster's website Reply with quote

CLASH
Reputation: 26.9 Add RepSubtract Rep
Local time: 11:01 PM


Noob
Noob

0.01 posts per day
Medals: 0

Joined: Jun 13, 2007
Last Visit: 28 Feb 2011
Posts: 10
Points: 6428 

Post Re: Flash problems in blocks Posted: Tue May 19, 2009 12:07 pm

Shop Purchases:
Battlefield 2 Theme (Aviator V2) · Medal of Honor Theme

Already tried that. I was very specific on the embed code i put in. I am thinking its something to do with permissions. thats why i posted what i put in the config.php $AllowableHTML
 

 
View user's profileSend private messageVisit poster's website Reply with quote


Noto
Reputation: 1043.9 Add RepSubtract Rep
votes: 13
Local time: 5:01 AM
Location: Sunny UK !
uk.gif

Site Admin
Site Admin

0.56 posts per day
Medals: 3 (View more...)
Super Dedicated User (Amount: 1)
Theme Guru
Theme Guru
Joined: May 03, 2007
Last Visit: 10 Feb 2012
Posts: 979
Points: 61146 

Post Flash problems in blocks Posted: Tue May 19, 2009 3:32 pm

probably something to do with ver 8.0 most of the original versions after 7.6 have problems with adding flash content.

try this. replace the embed code to yours and save as " block-whateveruwant.php " and put in your block folder. then go activate it like u would any other normal block.
Code:
<?php
if ( !defined('BLOCK_FILE') ) {
    Header('Location: ../index.php');
    die();
}

$content.= "<object width=\"425\" height=\"344\"><param name=\"movie\" value=\"http://www.youtube.com/v/AtHbz_N0imk&hl=en&fs=1\"></param><param name=\"allowFullScreen\" value=\"true\"></param><param name=\"allowscriptaccess\" value=\"always\"></param><embed src=\"http://www.youtube.com/v/AtHbz_N0imk&hl=en&fs=1\" type=\"application/x-shockwave-flash\" allowscriptaccess=\"always\" allowfullscreen=\"true\" width=\"425\" height=\"344\"></embed></object>\n";
?>

let us know if it works.
 

Tactical Combat Evolved - Sig Showcase  
View user's profileSend private messageVisit poster's website Reply with quote

CLASH
Reputation: 26.9 Add RepSubtract Rep
Local time: 11:01 PM


Noob
Noob

0.01 posts per day
Medals: 0

Joined: Jun 13, 2007
Last Visit: 28 Feb 2011
Posts: 10
Points: 6428 

Post Re: Flash problems in blocks Posted: Tue May 19, 2009 5:22 pm

Shop Purchases:
Battlefield 2 Theme (Aviator V2) · Medal of Honor Theme

This is why old people fear change LOL! We "had" i believe 7.6 installed and when we got new domain i thought i would update the version thinking they would have made things easier by now and fixed all the bugs. I will try what you suggested and tell you what happened tonight. Thanks so much for the reply Noto.
Cheers, CLASH
 

 
View user's profileSend private messageVisit poster's website Reply with quote

clyde4210
Reputation: 395.3 Add RepSubtract Rep
Local time: 11:01 PM

blank.gif

OMG
OMG

0.11 posts per day
Medals: 0

Joined: Oct 24, 2007
Last Visit: 24 Jul 2009
Posts: 167
Points: 7534 

Post Re: Flash problems in blocks Posted: Tue May 19, 2009 5:45 pm

CLASH wrote:
I was very specific on the embed code i put in. I am thinking its something to do with permissions.


Might wanna try the center tags around your embed tags as if i'm not mistaken it has to do with html purifier. I found that 9 times out of 10 that not putting center tags around the embed tags is the fault for it not displaying. I have no issues using flash in blocks unless I leave out the center tags.
 

 
View user's profileSend private messageVisit poster's website Reply with quote


CLASH
Reputation: 26.9 Add RepSubtract Rep
Local time: 11:01 PM


Noob
Noob

0.01 posts per day
Medals: 0

Joined: Jun 13, 2007
Last Visit: 28 Feb 2011
Posts: 10
Points: 6428 

Post Flash problems in blocks Posted: Wed May 20, 2009 7:21 am

Shop Purchases:
Battlefield 2 Theme (Aviator V2) · Medal of Honor Theme

It worked like a charm Noto! Thanks man YOU ROCK !!! Cheers, Pint CLASH
P.s. I don't understand this new rep point system quite yet but i am giving all my points to you.
 

 
View user's profileSend private messageVisit poster's website Reply with quote

CLASH
Reputation: 26.9 Add RepSubtract Rep
Local time: 11:01 PM


Noob
Noob

0.01 posts per day
Medals: 0

Joined: Jun 13, 2007
Last Visit: 28 Feb 2011
Posts: 10
Points: 6428 

Post Re: Flash problems in blocks Posted: Wed May 20, 2009 9:00 am

Shop Purchases:
Battlefield 2 Theme (Aviator V2) · Medal of Honor Theme

This also helped a lot. Go here http://www.clanthemes.com/php-nuke-tools-Block.html Thank you for who ever made this THING!!!
 

 
View user's profileSend private messageVisit poster's website Reply with quote

pango
Reputation: 0.1 Add RepSubtract Rep
Local time: 5:01 AM


Noob
Noob

0.00 posts per day
Medals: 0

Joined: May 20, 2009
Last Visit: 20 May 2009
Posts: 1
Points: 69 

Post Re: Flash problems in blocks Posted: Wed May 20, 2009 11:55 am

Angel I don´t speak enough English sorry..Nevertheless, I haven´t got any problem
 

 
View user's profileSend private message Reply with quote


Noto
Reputation: 1043.9 Add RepSubtract Rep
votes: 13
Local time: 5:01 AM
Location: Sunny UK !
uk.gif

Site Admin
Site Admin

0.56 posts per day
Medals: 3 (View more...)
Super Dedicated User (Amount: 1)
Theme Guru
Theme Guru
Joined: May 03, 2007
Last Visit: 10 Feb 2012
Posts: 979
Points: 61146 

Post Re: Flash problems in blocks Posted: Wed May 20, 2009 4:34 pm

CLASH wrote:
It worked like a charm Noto! Thanks man YOU ROCK !!! Cheers, Pint CLASH
P.s. I don't understand this new rep point system quite yet but i am giving all my points to you.


your welcome.
 

 
View user's profileSend private messageVisit poster's website Reply with quote
Post new topic   Reply to topic  
   www.clanthemes.com Forum Index » Blocks


 
9 Replies / 901 Views
Page 1 of 1
All times are GMT
Display posts from previous:   
 
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
You cannot attach files in this forum
You can download files in this forum