NUCLEUSCMS...how.to.nucleuscms.for.software.dummies.

 

Subscribe to RSS

Contact Ltooz

<   July 2010   >
MonTueWedThuFriSatSun
   1234
567891011
12131415161718
19202122232425
262728293031 

Browsers

This website uses CSS3 which isn't supported by ie6,7,8... but will display with modern browsers: Firefox,Chrome,Safari... If you are using ie6,7,8 please try other browsers to expand your horizons, Internet is actually beautiful. Please also install Flashplayer for flash videos.

About

When I started to make my own website, Justhost.com has all the brand name blog server software for free like wordpress, b2evolution, mambo, joomla, Nukes... more About...


Custom Search

Search Site

Login


Register as a ltooz member!

Websites Helped Build This Blog


9288
Top countries
 US
 
4442
 RU
 
2038
 Other
 
795
Top browsers
 Twiceler0
 
2134
 Yandex0
 
1799
 Default Browser0
 
982
Top systems
 unknown
 
6181
 WinXP
 
1397
 Win2000
 
802
Bookmark and Share

Feb
08

NP_ShadowBox.zip

Due to "Shadowbox license expressly prohibits such redistribution" the plugin download is no longer available. Sorry. The only way to have this plugin is for you to create one for yourself and I'll write up the procedure when I have time...

Create your own ShadowBox plugin

Since the shadowbox has been updated frequently in the last few weeks, this one is for version 3.0.3, please go there to download all the files, make sure you select the base stand alone version and all the options available (check all)

tag

Unzip this zip file, you will get a folder "shadowbox3.0.3/shadowbox3.0.3", get the inside folder (the folder that has all the files) and rename it to "shadowbox", move this whole folder to your nucleus plugins folder (http://yourdomain.com/yournucleus/nucleus/plugins/). Now we need the NP_ShadowBox.php.zip, download and unzip the file to the same plugin folder (NOT inside shadowbox), for the thumbnail, you need this thumbnail.php.zip, download and unzip it to the "shadowbox" folder (INSIDE shadowbox).

Now go to admin page, you will see the NP_ShadowBox plugin, and install it like normal. This version 3.0.3 seems to have the JWplayer in it already. Go back to the ShadowBox plugin for usage. For all the CSS3 glowing outline, I don't know how... ... to apply on the CSS of this one. If you can download the 3.0.1 version, then you can modify the CSS for the CSS3 option. When I have time, I'll modify the 3.0.3, but like I said, if it works don't fix it, I'll stay with the 3.0.1 for now.

Again, this NP_ShadowBox plugin will consist of 2 files: NP_ShadowBox.php and thumbnail.php (inside shadowbox folder) and 1 folder "shadowbox" and all must be inside http://yourdomain.com/yournucleus/nucleus/plugins/ directory. For usage just close the shadowbox on this page it will take you back to ShadowBox plugin

SOME IMPORTANT shadowbox.js MODS.

Make a copy of the original shadowbox.js to shadowbox_org.js, now use the notepad++ to edit the shadowbox.js.

lightbox options: If you plan to use any other pop-ups plugins that use "lightbox" like MediaboxAdv or Lightbox2, it will default to shadowbox because shadowbox.js has this command built-in. We need to remove the option inside the shadowbox.js file. Edit the shadowbox.js with notepad++ and replace all "light|shadow" with "shadow". There should be 2 replacements.

Quicktime display problems (black screen and only audio): Again, at notepad++ search for "scale: "aspect"' and delete it completely, make sure one "," still there.

Set new default sizes for all players: If you don't want to set the size everytime you add a player, the default size is 300x300, you can change the default size in shadowbox.js also. Again, at notepad++ editing shadowbox.js, search for all "obj.width=" make sure it's for a player with obj.height=, change the number in pixel, for average size of the player 16x9, the obj.width=560 and obj.height=340, but you can change to any sizes you want.

CSS3 Borders

For those who want to be fancy and put the css3 glowing borders, then just edit the "shadowbox.css" as follow and note that all ie & opera browsers don't support at this time.

adding glowing border css3 for shadowbox.css

To change the overlay color default from #000 = black to any other color, edit "shadowbox.js" file with notepad++, search for "overlay" until the end of the file, you can change #000, and the opacity to .9 = almost max.

change overlay and opacity in shadowbox

Change default player for MP4, MOV to JWPLAYER  and AVI, MPG, MPEG to WMP instead of Quicktime player since quicktime player never seem to detect the size correctly and the controller is always missing or cut off. Again, edit "shadowbox.js" with notepad++, search for ".mov" and find all the players, just move the file extension "mov","mp4" from qt to flv, avi,mpg from qt to wmp.

change default players in shadowbox

***To have the fullscreen option for youtube that works on Shadowbox***

"player=swf" and "fs=1" must be added in the codes for the youtube fullscreen button to work!!!

href="http://www.youtube.com/v/PQh4MTyRMjQ&amp;fs=1" rel="shadowbox;height=360;width=600;player=swf"

***To Start Shadowbox3.0.3 In Paused Mode With Slideshow Play Option***

The NP_ShadowBox.php already load the options slideshow automatically, but shadowbox will play slideshow everytime the groups are enabled. To start it in "pause" mode, we need to edit (modify) the shadowbox.js as follows.

The first few lines will have "slideTimer;", replace it with "slideTimer="pause";"


Search for "S.close" function and replace the slideTimer=null to slideTimer="pause"



When everything is done, re-save and test.

For alternative pop-up scripts, please go here.


Cheers,

Louis

Category: Category: PLUGINS | Posted by: ltooz | Viewed: 5408 times | Edit item

Comments

No comments yet

Add Comment



%3c%69%6e%70%75%74%20%74%79%70%65%3d%22%68%69%64%64%65%6e%22%20%6e%61%6d%65%3d%22%6e%70%5f%70%72%6f%74%65%63%74%62%79%6d%64%35%22%20%76%61%6c%75%65%3d%22%38%61%65%62%66%34%38%33%32%33%65%36%32%38%38%66%36%39%31%31%65%66%33%38%36%63%32%38%39%37%63%33%22%3e %3c%69%6e%70%75%74%20%74%79%70%65%3d%22%68%69%64%64%65%6e%22%20%6e%61%6d%65%3d%22%6e%70%5f%70%72%6f%74%65%63%74%62%79%6d%64%35%5f%68%61%73%68%22%20%76%61%6c%75%65%3d%22%32%65%37%37%65%63%33%30%33%35%66%38%31%38%34%36%39%63%30%61%31%31%36%33%37%63%37%34%37%39%34%32%22%3e

Comments must be approved before being published.

Enter email address to subscribe to comment on this item
Click here to manage subscription