Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
BBCode: Power Point Presentation Details »»
BBCode: Power Point Presentation
Version: 1.00, by midnz midnz is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 4.0.6 Rating:
Released: 08-17-2010 Last Update: Never Installs: 19
Re-useable Code Translations  
No support by the author.

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

Instructions:
Open the BBCode Manager/Add New BBCode

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


Example:
[pps]web address of pps file[/pps]

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

Screenshots

File Type: jpg pps1.JPG (42.6 KB, 0 views)
File Type: jpg pps2.JPG (41.7 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 08-18-2010, 02:26 PM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanxxx man

installed
Reply With Quote
  #3  
Old 08-18-2010, 09:53 PM
Doctor Death Doctor Death is offline
 
Join Date: Dec 2005
Posts: 449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 08-18-2010, 10:20 PM
midnz's Avatar
midnz midnz is offline
 
Join Date: Jul 2010
Location: New Zealand
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Doctor Death View Post
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'?
Reply With Quote
  #5  
Old 08-19-2010, 06:46 PM
lemonadesoda lemonadesoda is offline
 
Join Date: Nov 2009
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

demo link doesnt work for me under Chrome 5.x
Reply With Quote
  #6  
Old 08-19-2010, 08:08 PM
midnz's Avatar
midnz midnz is offline
 
Join Date: Jul 2010
Location: New Zealand
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lemonadesoda View Post
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.

Reply With Quote
  #7  
Old 02-21-2011, 04:01 PM
ARSamo ARSamo is offline
 
Join Date: Aug 2009
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any solution for google chrome
Reply With Quote
  #8  
Old 02-22-2011, 05:16 PM
midnz's Avatar
midnz midnz is offline
 
Join Date: Jul 2010
Location: New Zealand
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ARSamo View Post
any solution for google chrome
It should work in Google Chrome. I tested Chrome version 5.0.375.126 as shown in post #6
Reply With Quote
  #9  
Old 12-06-2011, 03:33 AM
tafreeh tafreeh is offline
 
Join Date: May 2008
Location: Canada
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does not seems to be working at Firefox(latest version)
Reply With Quote
  #10  
Old 12-06-2011, 06:44 AM
midnz's Avatar
midnz midnz is offline
 
Join Date: Jul 2010
Location: New Zealand
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tafreeh View Post
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:15 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04420 seconds
  • Memory Usage 2,321KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete