About Poldav
Rank 9400
145 followers Joined October 2015
Hi, I'm Dave. I originally trained as an electrical engineer before becoming a counsellor and then doing a degree and eventually a Ph.D in psychology.

Posts

2

Questions

4

Login
Create Your Free Wealthy Affiliate Account Today!
icon
4-Steps to Success Class
icon
One Profit Ready Website
icon
Market Research & Analysis Tools
icon
Millionaire Mentorship
icon
Core “Business Start Up” Training
asked in
Everything Wordpress
Updated

Is it possible to upload an interactive flash file to your website & if so what are the security risks of doing so? (Media upload says 'this file type is not permitted...')

Hello,

First of all you have to adapt the functions.php and add this function:

function demo($mimes) {
if ( function_exists( 'current_user_can' ) )
$unfiltered = $user ? user_can( $user, 'unfiltered_html' ) : current_user_can( 'unfiltered_html' );
if ( !empty( $unfiltered ) ) {
$mimes['swf'] = 'application/x-shockwave-flash';
}
return $mimes;
}
add_filter('upload_mimes','demo');

Add this function between the other functions...


Then you will be able to upload SWF files and all other image files

After that you uploaded your swf file in your media library you use this plugin to embed the swf file in your Wordpress page:

https://wordpress.org/plugins/top-flash-embed/
And support: https://wordpress.org/support/plugin/top-flash-embed#postform

Is this wise? I would definitely start testing in thoroughly on a test site you create...
And if everything works as should, then maybe do this also on your production site...

Grtz,
Bert

thanks Bert - that's really helpful - but what are the security risks? (the animations I want to upload have no text input)

It definitely has some risks, it is up to you to make a choice...

http://security.stackexchange.com/questions/80905/is-it-dangerous-to-serve-user-uploaded-flash-swf-files

Grtz

Thanks Bert I see the issue with others being able to upload but I created these myself & can't see how they'd be vulnerable to attack - www.e-cighealthrisks.com/basic-electricity-for-e-cig-beginners I got them up thanks to your help - I used a different plug in as the one you suggested didn't seem to work but thanks for the help Dave

Hi,

Good you tell me and which one did work?

Grtz,
Berty

Sry for the slow reply - I keep missing msgs :) - Anywhere Flash Embed is what I used - you have to keep it enabled unfortunately as otherwise the flash won't display but it saved me a ton of work having to recreate two big Flash demos. Tnx for your help.

See more comments

Swf file upload? is it possible .and wise?

Swf file upload? is it possible .and wise?

asked in
Everything Wordpress
Updated

Is it possible to upload an interactive flash file to your website & if so what are the security risks of doing so? (Media upload says 'this file type is not permitted...')

Hello,

First of all you have to adapt the functions.php and add this function:

function demo($mimes) {
if ( function_exists( 'current_user_can' ) )
$unfiltered = $user ? user_can( $user, 'unfiltered_html' ) : current_user_can( 'unfiltered_html' );
if ( !empty( $unfiltered ) ) {
$mimes['swf'] = 'application/x-shockwave-flash';
}
return $mimes;
}
add_filter('upload_mimes','demo');

Add this function between the other functions...


Then you will be able to upload SWF files and all other image files

After that you uploaded your swf file in your media library you use this plugin to embed the swf file in your Wordpress page:

https://wordpress.org/plugins/top-flash-embed/
And support: https://wordpress.org/support/plugin/top-flash-embed#postform

Is this wise? I would definitely start testing in thoroughly on a test site you create...
And if everything works as should, then maybe do this also on your production site...

Grtz,
Bert

thanks Bert - that's really helpful - but what are the security risks? (the animations I want to upload have no text input)

It definitely has some risks, it is up to you to make a choice...

http://security.stackexchange.com/questions/80905/is-it-dangerous-to-serve-user-uploaded-flash-swf-files

Grtz

Thanks Bert I see the issue with others being able to upload but I created these myself & can't see how they'd be vulnerable to attack - www.e-cighealthrisks.com/basic-electricity-for-e-cig-beginners I got them up thanks to your help - I used a different plug in as the one you suggested didn't seem to work but thanks for the help Dave

Hi,

Good you tell me and which one did work?

Grtz,
Berty

Sry for the slow reply - I keep missing msgs :) - Anywhere Flash Embed is what I used - you have to keep it enabled unfortunately as otherwise the flash won't display but it saved me a ton of work having to recreate two big Flash demos. Tnx for your help.

See more comments

asked in
Website Development & Programming
Updated

I realise I'd have to copy & paste the data into new wp site but is it possible to do this? Do I just change the nameservers with the existing host or is it better to leave

Hello,

I would transfer it, then you have everything together...
Seems handier to me...
And also you eliminate an extra cost.

With the links provided below, I think you will know what to do.
(WP site: most important is to check the video in how-to-backup-and-restore-your-WordPress-website-with-wp-clone.) Also don't forget to change the DNS settings at the registrar you used when you registered your domain name. Grtz,
Bert

Many thanks Bert - I'm desperately writing content at the mo but these links are really helpful cheers Dave

Your Welcome....

See more comments

Transfer an existing .co.uk.com site to wa?

Transfer an existing .co.uk.com site to wa?

asked in
Website Development & Programming
Updated

I realise I'd have to copy & paste the data into new wp site but is it possible to do this? Do I just change the nameservers with the existing host or is it better to leave

Hello,

I would transfer it, then you have everything together...
Seems handier to me...
And also you eliminate an extra cost.

With the links provided below, I think you will know what to do.
(WP site: most important is to check the video in how-to-backup-and-restore-your-WordPress-website-with-wp-clone.) Also don't forget to change the DNS settings at the registrar you used when you registered your domain name. Grtz,
Bert

Many thanks Bert - I'm desperately writing content at the mo but these links are really helpful cheers Dave

Your Welcome....

See more comments

asked in
Everything Wordpress
Updated

I can't seem to change any of the seo settings when I edit a page in WP. Am I missing something here? (I know I am ) :)

Well first off, you need to make sure SEO plugin is installed in your WP dashboard. It should be automatically, if not then install it under "new plugins." Once this is done, it should appear in the upper left hand side of the sidebar. You want to configure the general settings by adding a good site title of your (basically a short description of what what your site is about), and by changing all of the | to - in how your page titles are displayed.

Once this plugin is installed, you should see the SEO appear under every post or page you create. I would watch this SEO checklist video by Jay, he does a good job of walking you through the process. Hope this helps!

How do I change page seo settings in wp?

How do I change page seo settings in wp?

asked in
Everything Wordpress
Updated

I can't seem to change any of the seo settings when I edit a page in WP. Am I missing something here? (I know I am ) :)

Well first off, you need to make sure SEO plugin is installed in your WP dashboard. It should be automatically, if not then install it under "new plugins." Once this is done, it should appear in the upper left hand side of the sidebar. You want to configure the general settings by adding a good site title of your (basically a short description of what what your site is about), and by changing all of the | to - in how your page titles are displayed.

Once this plugin is installed, you should see the SEO appear under every post or page you create. I would watch this SEO checklist video by Jay, he does a good job of walking you through the process. Hope this helps!

Login
Create Your Free Wealthy Affiliate Account Today!
icon
4-Steps to Success Class
icon
One Profit Ready Website
icon
Market Research & Analysis Tools
icon
Millionaire Mentorship
icon
Core “Business Start Up” Training