Page 1 of 3

Open Inbox in a new window

Posted: Sun Jun 13, 2004 11:20 am
by Extensions Robot
Modification name: Open Inbox in a new window
Author: Balint
Modification description: Adds an additional link to the 'Private Message' popup window to open the Inbox in a new window instead in the main forum window.
Modification version: 1.0.1
Tested on phpBB version: See below

Download file: open_inbox_new_window_1.0.1.mod
File size: 3884 Bytes

Modification overview page: View


Selected tags:
  1. Category
    1. Add-Ons
  2. phpBB
    1. 2.0.23
Support for this modification needs to be asked within this topic. The phpBB Team is not responsible or required to give anyone support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB MODifications Team may not be able to provide support.

This MOD has only been tested by the phpBB MOD Team with the phpBB version listed in the topic. It may not work in any other versions of phpBB.

Posted: Tue Jun 15, 2004 4:43 pm
by wGEric
MOD Validated/Released

Notes:
This MOD makes it so on the popup window that tells you have a new private message, you can click on a link that goes to your private messages in a new window.

Posted: Tue Jun 15, 2004 4:50 pm
by Balint
This MOD is compatible with EasyMOD 0.3.0

Preview image:

Image

Posted: Thu Jul 15, 2004 2:27 pm
by CJ Greiner
Perfect!

It solves a nagging little problem that I never paid enough attention to in the past to really look at modding it myself.

Every time I would receive an email telling me I had a response... I would click on it to read the post, and that window would pop up telling me I had a new PM.

So which do I do? Answer the post or read my PM? Well... now I can do both.

Thanks -- Good Mod!

Posted: Tue Oct 19, 2004 2:24 pm
by ElbertF
Nice one!

Posted: Wed Nov 17, 2004 2:52 pm
by Norbertz
It aint working for me .. have done it 5 times and no popup window comes up...

Posted: Wed Nov 17, 2004 4:09 pm
by Balint
Hi!

If no popup window comes up at all it's not fault of the MOD. Maybe you installed a popup blocker or using Mozilla/Firefox? And: you did receive PMs since the MOD was installed didn't you?

Regards,
Bálint

Posted: Fri Jan 07, 2005 11:58 pm
by ALER
I many weeks found this mod! Big thanks Balint!
I translated it on Russian:
##############################################################
## Based on http://www.phpbb.com/phpBB/catdb.php?mo ... id=1116725
##
## MOD Title: Open Inbox in a new window
## MOD Author: Balint < balint@krizsan.de > (Balint Krizsan) http://phpbb.krizsan.de
## MOD Description: Adds an additional link to the 'Private Message' popup window to open the Inbox
## in a new window instead in the main forum window.
##
## Translate: ALER < aler214@yandex.ru > (Alexey Ermolov) http://www.nivatech.roo.ru/index.php
## Tested on phpBB 2.011.
##
## MOD Version: 1.0.0r
##
## Installation Level: Easy
## Installation Time: 3 Minutes
## Files To Edit: privmsg.php, language/lang_english/lang_main.php, language/lang_russian/lang_main.php,
## templates/subSilver/privmsgs_popup.tpl
## Included Files: n/a
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes:
## THIS SOFTWARE IS PROVIDED BY THE AUTHOR 'AS IS' AND ANY
## EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
## TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
## FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
## THE AUTHOR OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
## INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
## DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
## SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
## PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
## ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
## LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
## ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
## ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
##
##############################################################
## MOD History:
##
## 2005-01-08 - Version 1.0.0r
## - translated on Russian.
##
## 2004-06-12 - Version 1.0.0
##- Initial Release
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ OPEN ]------------------------------------------
#
privmsg.php

#
#-----[ FIND ]------------------------------------------
#
$l_new_message .= '<br /><br />' . sprintf($lang['Click_view_privmsg'], '<a href="' .

append_sid("privmsg.".$phpEx."?folder=inbox") . '" onclick="jump_to_inbox();return false;" target="_new">', '</a>');


#
#-----[ REPLACE WITH ]------------------------------------------
#
$l_new_message .= '<br /><br />' . sprintf($lang['Click_view_privmsg'], '<a href="' .

append_sid("privmsg.".$phpEx."?folder=inbox") . '" onclick="jump_to_inbox();return false;" target="_new">', '</a>','<br

/><br /><a href="' . append_sid("privmsg.".$phpEx."?folder=inbox") . '" onclick="jump_to_inbox_new();return false;"

target="_blank">','</a>');

#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php

#
#-----[ FIND ]------------------------------------------
#
$lang['Click_view_privmsg'] = 'Click %sHere%s to visit your Inbox';

#
#-----[ REPLACE WITH ]------------------------------------------
#
$lang['Click_view_privmsg'] = 'Click %sHere%s to visit your Inbox%sOpen in new window%s';

#
#-----[ OPEN ]------------------------------------------
#
language/lang_russian/lang_main.php

#
#-----[ FIND ]------------------------------------------
#
$lang['Click_view_privmsg'] = '%sПерейти в папку &laquo;Входящие&raquo;%s';

#
#-----[ REPLACE WITH ]------------------------------------------
#

$lang['Click_view_privmsg'] = '%sПерейти в папку &laquo;Входящие&raquo;%s%sОткрыть в новом окне%s';

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/privmsgs_popup.tpl

#
#-----[ FIND ]------------------------------------------
#
//-->
</script>

#
#-----[ BEFORE, ADD ]------------------------------------------
#
function jump_to_inbox_new()
{
window.open("{U_PRIVATEMSGS}","_blank");
self.focus();
self.close();
}


#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM

Posted: Sat Jan 08, 2005 9:49 am
by ALER
Pls, delete it

Posted: Sun Apr 10, 2005 1:38 pm
by Shado
After installing this mod, this is what I get:

Image

It seems to be a result of the modification to the lang_main.php file but I can not figure out what it is.

Posted: Sun Apr 10, 2005 3:00 pm
by Balint
Hi!

Could you send me the modified files privmsg.php, language/lang_english/lang_main.php and templates/subSilver/privmsgs_popup.tpl to balint@krizsan.de please?

I'll figure it out.


Greets,
Bálint

Posted: Wed Apr 27, 2005 10:42 pm
by Shado
Sorry I was so late on sending them. They are on the way, email=shado99_@hotmail.com

Posted: Wed Apr 27, 2005 10:51 pm
by 3Di
Does it works onto a 2.0.14 + CH 2.1.1 RC3?

It could be fine to have a Java window, in order to avoid any Windows Service Pack 2 protection or any anti-popUp software.. is it possible to have it?

thx in advance ;)

Posted: Wed Apr 27, 2005 11:35 pm
by Swizec
java windows although nice and dandy take LONG to load, quite frankly alot more than I'd be willing to wait for my inbox to load :)


hey, wait a sec, isn't this laready in the phpBB2 by default?

Posted: Thu Apr 28, 2005 12:15 am
by 3Di
Swizec wrote: java windows although nice and dandy take LONG to load, quite frankly alot more than I'd be willing to wait for my inbox to load :)


hey, wait a sec, isn't this laready in the phpBB2 by default?


Yo.. :)

I've MODded my board with a PM windows fix 2.0.14 (as far as i remember) cause the normal PM window doesn't shows with SP2 and Norton 2005 Premier ..

2.0.13 opens a Java window (with the MOD mentioned before) stopping your forum viewing till you push the OK radio button or not, 2.0.14 doesn't .. that's all.. ;)

I saw this MOD and I'm asking if it could be possible to do this kind of improvement, if not.. I'll keep the MOD i have.. no probs..

Also i need to know if it works with CH 2.1.1 RC3, it could be nice to know before start any job on it..

thx m8 ;)

(It takes a long time? Well, maybe with a 56k ;) )