Results 1 to 7 of 7
-
19th Feb 2010, 01:52 PM #1OPლ(ಠ益ಠლ)Website's:
extremecoderz.com[phpbb3] New PM Customizeable lightbox
This mod will create a "lightbox" New PM notification.
NOTE: This modification requires that "notify me on new private messages" be enabled in your UCP.
1) Download RokBox STANDALONE:
2) Upload the folder "rokbox" from the zip file to your "public_html" root folder.
3)
IN: Overall_header.html
Find and REMOVE:
Code:<!-- IF S_USER_PM_POPUP --> if ({S_NEW_PM}) { var url = '{UA_POPUP_PM}'; window.open(url.replace(/&/g, '&'), '_phpbbprivmsg', 'height=225,resizable=yes,scrollbars=yes, width=400'); } <!-- ENDIF -->
Code:</head>
Code:<script type="text/javascript" src="rokbox/mootools-release-1.11.js"></script> <script type="text/javascript" src="rokbox/rokbox.js"></script> <link href="rokbox/themes/dark/rokbox-style.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="rokbox/themes/light/rokbox-config.js"></script>
Code:<body
Code:onload="<!-- IF S_DISPLAY_PM -->clickElement('myclicker')<!-- ENDIF -->"
Code:<div id="wrap">
Code:<!-- IF S_DISPLAY_PM --> <a id="myclicker" rel="rokbox[320 40][module=privmsg]" href="#" title="" accesskey="l"></a> <!-- ENDIF -->
Find:
Code:</body>
Code:<!-- IF S_DISPLAY_PM --> <!-- INCLUDE newPM.html --> <script type="text/javascript"> function clickElement(elementid){ if ({S_NEW_PM}) { var e = document.getElementById(elementid); if (typeof e == 'object') { /*if(typeof e.click != 'undefined') { e.click(); alert('click'); return false; } else */ if(document.createEvent) { var evObj = document.createEvent('MouseEvents'); evObj.initEvent('click',true,true); e.dispatchEvent(evObj); return false; } else if(document.createEventObject) { e.fireEvent('onclick'); alert('createEventObject'); return false; } else { e.click(); alert('click'); return false; } } } } </script> <!-- ENDIF -->
Create a new file in /styles/myTemplate/template called "newPM.html" and paste the following
into it, or create your own:
Code:<style type="text/css"> #privmsg {display: none;} </style> <div id="privmsg"> <center> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td valign="top" style="padding-left: 6px;"> You have a new message. Would you like to read it? </td> </tr> </table> <br /> <a href="ucp.php?i=pm&folder=inbox"><button type="button">Yes</button></a> <a href="#" onClick="javascript:rokbox.close()"><button type="button">No</button></a> </center> </div>
CUSTOMIZING:
To change the color of the lightbox, the rokbox theme path must be changed:
Dark:
Code:<link href="rokbox/themes/dark/rokbox-style.css" rel="stylesheet" type="text/css" />
Code:<link href="rokbox/themes/light/rokbox-style.css" rel="stylesheet" type="text/css" />
This modification uses MooTools. More modifications will be added by me to further use these tools.jayfella Reviewed by jayfella on . [phpbb3] New PM Customizeable lightbox This mod will create a "lightbox" New PM notification. NOTE: This modification requires that "notify me on new private messages" be enabled in your UCP. http://imgcentre.com/img/uploads/big/39cf905e8f.png 1) Download RokBox STANDALONE: http://rocketwerx.com/products/rokbox/download2) Upload the folder "rokbox" from the zip file to your "public_html" root folder. 3) Rating: 5
-
19th Feb 2010, 01:56 PM #2MemberWebsite's:
wuploadlinks.net fileserve-movies.net fsdown.org
-
19th Feb 2010, 04:19 PM #3Member
Nice work jay
This is the staff, you have been banned
-
19th Feb 2010, 04:21 PM #4BannedWebsite's:
seekingw.com uwddl.com generalgamers.co.uk motivatedgamerz.comNice one
-
19th Feb 2010, 04:21 PM #5Banned
Great Work As Usual
-
19th Feb 2010, 04:23 PM #6
-
19th Feb 2010, 04:58 PM #7OPლ(ಠ益ಠლ)Website's:
extremecoderz.comi have no idea how to do it in bb2 m8. never used it in my life
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Text Lightbox
By n4pst3r in forum WordpressReplies: 2Last Post: 12th Jul 2011, 02:52 PM -
[Hiring] Lightbox for Text in Wordpress
By haseeb221093 in forum Completed TransactionsReplies: 0Last Post: 17th Jun 2011, 04:50 PM -
Colorbox/Lightbox and frames
By snowmanrene in forum Web Development AreaReplies: 1Last Post: 23rd Jan 2011, 05:35 PM -
[VB 3.8.x]WGTools iframe lightbox popup
By patt1293 in forum Webmaster ResourcesReplies: 10Last Post: 18th Feb 2010, 02:27 AM -
[phpbb]WGTools iframe lightbox popup
By shadow.prx in forum Webmaster ResourcesReplies: 8Last Post: 17th Feb 2010, 02:50 AM
themaPoster - post to forums and...
Version 5.21 released. Open older version (or...