PDA

View Full Version : BB Code Enhancements - BBCode: Power Point Presentation


midnz
08-17-2010, 10:00 PM
Power Point Presentation BBCode

Description:
This BBCode allows you to place the address of any .pps file between the [pps] tags to automate the viewing of Power Point Presentations without needing to manually download those files to your desktop before playing them.
Internet Explorer will play .pps files in a pop-up window whereas Mozilla Firefox will allow you the option to either save the file or download and play the file using your default .pps viewing software. I have not tested the behaviour in any other browsers.
You may adjust the "height=" and "width=" parameters in the code below to change the size of the pop-up viewing window (for IE) to suit your individual requirements.

Demo Here (http://www.vcclan.org/forums/showthread.php?14158-Another-Test-Demo&p=127365#post127365)

Instructions:
Open the BBCode Manager/Add New BBCode

Title: Power Point Presentation
BB Code Tag Name: pps
Replacement: <script type="text/javascript">
function openPP() {
window.open("{param}","","height=600,width=600,menubar=0,resizable=0,scrollb ars=0,status=0,titlebar=0,toolbar=0,left=0,top=0");
}
</script>
<!{param}>
<div onClick="openPP()">Click to Start Presentation</div>

Example: web address of pps file

Description: Allows viewing of .pps files without needing to manually download them first.

Use {option}: No
Remove Tag If Empty: Yes
Disable BB Code Within This BB Code: Yes
Disable Smilies Within This BB Code: Yes
Disable Word Wrapping Within This BB Code: Yes
Disable Automatic Link Parsing Within This BB Code: Yes

Please mark as installed if you use this :)

Dr.osamA
08-18-2010, 02:26 PM
thanxxx man

installed

Doctor Death
08-18-2010, 09:53 PM
In IE8 this doesnt work as it was probably designed... Window pops up but then windows asks if you want to open or save the file.

A great idea if we can get it working better.

midnz
08-18-2010, 10:20 PM
In IE8 this doesnt work as it was probably designed... Window pops up but then windows asks if you want to open or save the file.

A great idea if we can get it working better.

I usually use Mozilla Firefox but tested it using IE8 and the pop-up window displayed the presentation without any further prompts from me.
I wondered if it had something to do with the 'compatibility view options', IE8 > Tools > Compatibility View Settings > Display all websites in Compatibility View ... I have that option unselected. I've just now tried using that option selected and it still works the same for me.

There must be a different setting between our IE8's that causes a different reaction after selecting the .pps link.

So, when you select to 'Open the file' rather than 'save the file' does it work for you? Are you given an option to 'do this for all files of this type' or similar option when you select to 'Open the file'?

lemonadesoda
08-19-2010, 06:46 PM
demo link doesnt work for me under Chrome 5.x

midnz
08-19-2010, 08:08 PM
demo link doesnt work for me under Chrome 5.x

I didn't have a Chrome browser but I've just downloaded and installed version 5.0.375.126 to test your issue. The BBCode should still work in Chrome if you select the drop-down panel and click "Always open files of this type". See the image below. Close the pop-up window and try the link once more. If you do that then your default .pps software will be used to view the presentation.

http://img823.imageshack.us/img823/9510/chromesettings.jpg

ARSamo
02-21-2011, 04:01 PM
any solution for google chrome

midnz
02-22-2011, 05:16 PM
any solution for google chrome
It should work in Google Chrome. I tested Chrome version 5.0.375.126 as shown in post #6

tafreeh
12-06-2011, 03:33 AM
does not seems to be working at Firefox(latest version)

midnz
12-06-2011, 06:44 AM
does not seems to be working at Firefox(latest version)
What version of Firefox is the (latest version)? I'm using Firefox 8.0 and just tested the demo which still works for me.

CPOWA
01-04-2012, 11:25 AM
Installed.

Thank you, Developer!

josantos
01-04-2012, 12:30 PM
Installed.

Thank you, Developer!

vbcenter
02-04-2012, 08:52 AM
thanks..