Open Inbox in a new window

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
7
70%
Very Good
2
20%
Good
0
No votes
Fair
0
No votes
Poor
1
10%
 
Total votes: 10

Extensions Robot
Extensions Robot
Extensions Robot
Posts: 28683
Joined: Sat Aug 16, 2003 7:36 am

Open Inbox in a new window

Post 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.
Last edited by Extensions Robot on Thu Mar 13, 2008 10:42 pm, edited 2 times in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)
wGEric
Former Team Member
Posts: 8805
Joined: Sun Oct 13, 2002 3:01 am
Location: Friday
Name: Eric Faerber
Contact:

Post 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.
User avatar
Balint
Registered User
Posts: 952
Joined: Tue Aug 06, 2002 2:19 pm
Location: Germany
Contact:

Post by Balint »

This MOD is compatible with EasyMOD 0.3.0

Preview image:

Image
Last edited by Balint on Tue Mar 20, 2007 9:30 pm, edited 3 times in total.
CJ Greiner
Registered User
Posts: 24
Joined: Wed Dec 03, 2003 4:16 am

Post 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!
-- CJ Greiner
ElbertF
Registered User
Posts: 527
Joined: Thu Mar 11, 2004 9:41 pm
Location: Australia
Contact:

Post by ElbertF »

Nice one!
Norbertz
Registered User
Posts: 215
Joined: Sat Oct 02, 2004 5:01 pm
Location: Sweden
Contact:

Post by Norbertz »

It aint working for me .. have done it 5 times and no popup window comes up...
User avatar
Balint
Registered User
Posts: 952
Joined: Tue Aug 06, 2002 2:19 pm
Location: Germany
Contact:

Post 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
ALER
Registered User
Posts: 2
Joined: Fri Jan 07, 2005 11:41 pm
Location: Moscow
Contact:

Post 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
Last edited by ALER on Sat Jan 08, 2005 11:00 am, edited 4 times in total.
Alexey aka ALER
ALER
Registered User
Posts: 2
Joined: Fri Jan 07, 2005 11:41 pm
Location: Moscow
Contact:

Post by ALER »

Pls, delete it
Alexey aka ALER
Shado
Registered User
Posts: 20
Joined: Sat Aug 10, 2002 9:07 pm

Post 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.
User avatar
Balint
Registered User
Posts: 952
Joined: Tue Aug 06, 2002 2:19 pm
Location: Germany
Contact:

Post 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
Shado
Registered User
Posts: 20
Joined: Sat Aug 10, 2002 9:07 pm

Post by Shado »

Sorry I was so late on sending them. They are on the way, email=shado99_@hotmail.com
User avatar
3Di
Former Team Member
Posts: 16147
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milano 🇮🇹 Frankfurt 🇩🇪
Name: Marco
Contact:

Post 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 ;)
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
Swizec
Former Team Member
Posts: 1701
Joined: Mon Mar 10, 2003 9:42 pm
Location: Slovenia
Contact:

Post 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?
User avatar
3Di
Former Team Member
Posts: 16147
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milano 🇮🇹 Frankfurt 🇩🇪
Name: Marco
Contact:

Post 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 ;) )
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
Post Reply

Return to “[2.0.x] MOD Database Releases”