Popup Layer on New PMs

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

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
insanedream
Registered User
Posts: 1
Joined: Sat Sep 19, 2009 8:37 pm

Re: Popup Layer on New PMs

Post by insanedream » Sat Sep 19, 2009 8:40 pm

:D Greetings, i have a question... How i can make it works for administrator account? for my users works fine but for my account no work D:, what can i do?

misfit69
Registered User
Posts: 65
Joined: Fri Sep 11, 2009 4:25 am
Contact:

Re: Popup Layer on New PMs

Post by misfit69 » Wed Sep 23, 2009 9:03 pm

cool mod, we had to figure out the color background and change it for our site but it's much better than the default setup.

Thank you for this mod.

chuxy
Registered User
Posts: 68
Joined: Fri Sep 04, 2009 5:18 pm

Re: Popup Layer on New PMs

Post by chuxy » Sat Sep 26, 2009 8:33 pm

This mode isn't working on my forum - it shows a pop up window whit text..!? Wtf?

So,
How to remove detabase changes (I installed set_popup.zip addon)?
I reload all my edited files back but still every new user gets a pop up when he/she gets PM..

EDIT
Change functions_user.php

Code: Select all

'user_options'		=> 895,
in root/includes

valaraukar
Registered User
Posts: 19
Joined: Tue Sep 15, 2009 8:51 pm

Re: Popup Layer on New PMs

Post by valaraukar » Thu Oct 01, 2009 3:37 pm

I have to say that i love this mod ^^)!. it's much better than the default "new pm" system...

But, I had an error.

the new pm layer works! i can read teh new PMs...but i can't close the new pm layer o.o)!!!..I mean, when i click the "close window" link it supossed to close that layer, but instead it just bring to the top of the forum (#)

I don't know why it happens...it used to work like a charm but when I installed [ulr=http://www.phpbb.com/community/viewtopi ... t=ultimate]UPS (Ultimate Points System)[/url] and Arcade phpBB, it don't work anymore T_T. I mencion those mods...because i don't now which of them broke this mod.

As I know, the files where this mods colapse are includes/functions and style/theme/overall_header...I forgot to bring those files...but i'll bring them the next time!

bye-bye...

Robster400
Registered User
Posts: 9
Joined: Tue Feb 17, 2009 4:46 am
Location: Oxford, Uk

Re: Popup Layer on New PMs

Post by Robster400 » Sat Oct 10, 2009 11:03 pm

I have a similar (maybe same, above post is difficult to understand for me) problem as above poster.

The opacity fade does not clear if you choose not to read new pm.. you have to refresh page to do so.
reading new pm clears it, as i assume, because you reload a new page.

Also have Arcade 1RC9 and the excellent gallery by nickvergessen

Besides un-installing either of these mods to test (argh) do you have any suggestions?
Many thanks...

Robster400
Registered User
Posts: 9
Joined: Tue Feb 17, 2009 4:46 am
Location: Oxford, Uk

Re: Popup Layer on New PMs

Post by Robster400 » Thu Oct 15, 2009 9:38 am

Ok, i fixed it by adding

Code: Select all

<meta http-equiv="refresh" />
To the end of the close window link in overall_header.html , like so.

Code: Select all

<br /><br /><span class="genmed"><a href="#" onclick="setOpacity('main-block',1);document.getElementById('pm-popup').style.display='none';return false;">{L_CLOSE_WINDOW}<meta http-equiv="refresh"> </a></span><br /><br />
So when you click close, it refreshes and loses the fade...job done :)

orionstarman
Registered User
Posts: 43
Joined: Mon Sep 07, 2009 9:26 pm

Re: Popup Layer on New PMs

Post by orionstarman » Sun Oct 18, 2009 7:14 pm

Diego898 wrote:I installed this mod with automod, and with prosilver it took over the entire screen it wasnt a popup. I went to uninstall it and automod again said everthing was fine. However, now whenever a user has a new PM the thing still appears but it doesnt say anything, just "close window".

I have followed the install.xml file backwards manually to uninstall everything. And everything added by the files is removed and the added files are deleted. However, I still see the image attached!

Help me please!
Hello has anyone found a solution for this?
Please help.

Thanks in advance.

valaraukar
Registered User
Posts: 19
Joined: Tue Sep 15, 2009 8:51 pm

Re: Popup Layer on New PMs

Post by valaraukar » Tue Oct 27, 2009 7:14 pm

* Sorry, my english is bad

Nice try Robster...but didn't work at all for me.

My problem is that the pop-up layer doesn't close when I press "Close this window"...it just get me to the top of the page (I mean...to: "#"). When I put the mouse over it...it says "mydomain.com/forum/#".

The only way to close it is by refreashing the page (F5), or reading the PM...

In images:

1) The pop-up appears, no problem with this...

http://i629.photobucket.com/albums/uu12 ... on/1-4.jpg

2) When I try to close the pop-up layer, it brings me to the top of the forum:

http://i629.photobucket.com/albums/uu12 ... on/2-4.jpg

3) When I have the mouse above "close this window": (check at the direction in the bottom of the page...)

http://i629.photobucket.com/albums/uu12 ... on/3-4.jpg

any solution? (damn...i forgot to bring the SS again...next time I'll bring them sure!)

PD.- for diego 898, it should be better if he brings the entire code in "overall_header" in prosilver template...maybe he installed it twice with automod (sometimes...it do that)...

-edit-

here is the code of my overall_header template:

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<!-- IF S_META_TAGS -->
<meta name="author" content="{META_AUTHOR}" />
<meta name="publisher" content="{META_AUTHOR}" />
<meta http-equiv="refresh" content="{META_REFRESH_TIME}; URL={META_REFRESH_URL}" />
<meta name="identifier-url" content="{META_IDENTIFIER}" />
<meta name="revisit-after" content="{META_REVISIT} Days" />
<meta name="category" content="{META_CATEGORY}" />
<meta name="abstract" content="{META_ABSTRACT}" />
<meta name="copyright" content="{META_COPYRIGHT}" />
<meta name="robots" content="{META_ROBOTS}" />
<meta name="date-creation-yyyymmdd" content="{META_CREATION}" />
<meta name="date-revision-yyyymmdd" content="{META_REVISION}" />
<!-- ENDIF -->
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
{META}
<title><!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>
<style type="text/css">
/* Begin : Colored background messages for admin and moderators */
.cbgm_admin	{ background-color: #{CBGM_ADMIN_COLOR};}
.cbgm_mod	{ background-color: #{CBGM_MOD_COLOR};}
/* End : Colored background messages for admin and moderators */
</style>


<script type="text/javascript" src="{T_TEMPLATE_PATH}/prototype.js"></script>
<script type="text/javascript">
// <![CDATA[
	var jump_page = '{LA_JUMP_PAGE}:';
	var on_page = '{ON_PAGE}';
	var per_page = '{PER_PAGE}';
	var base_url = '{A_BASE_URL}';
	var style_cookie = 'phpBBstyle';
	var style_cookie_settings = '{A_COOKIE_SETTINGS}';
	var onload_functions = new Array();
	var onunload_functions = new Array();
function externalLinks() {
  if (!document.getElementsByTagName) return;
    var anchors = document.getElementsByTagName("a");
      for (var i=0; i<anchors.length; i++) {
        var anchor = anchors[i];
        if (anchor.getAttribute("href") &&
          anchor.getAttribute("rel") == "external")
          anchor.target = "_blank";
    }
  }
  window.onload = externalLinks;



	/**
	* Find a member
	*/
	function find_username(url)
	{
		popup(url, 760, 570, '_usersearch');
		return false;
	}

	/**
	* New function for handling multiple calls to window.onload and window.unload by pentapenguin
	*/
	window.onload = function()
	{
		for (var i = 0; i < onload_functions.length; i++)
		{
			eval(onload_functions[i]);
		}
	}

	window.onunload = function()
	{
		for (var i = 0; i < onunload_functions.length; i++)
		{
			eval(onunload_functions[i]);
		}
	}
	/**
	* Post Models
	*/
	function refresh(f,l)
	{
		var urls= 'models.php';
		var param = 'f='+f+'&selected_language='+l;
		var myAjax = new Ajax.Request
		(
			urls, 
			{
				method: 'post', 
				postBody: param,
				onComplete: showResponse
			}
		);
	}

	function showResponse(originalRequest) 
	{
		if (originalRequest.readyState == 4)
		{
			if (originalRequest.status==200)
			{
				$('refresh_id').update(originalRequest.responseText);			
			}
		}
	}

// ]]>
</script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/styleswitcher.js"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/forum_fn.js"></script>
<!-- IF S_CALENDAR_RSVPS -->
<script src="{T_TEMPLATE_PATH}/sorttable.js"></script>
<!-- ENDIF -->
 <script type="text/javascript" src="{T_TEMPLATE_PATH}/tooltip.js"></script>
<!-- IF S_USER_PM_POPUP and S_NEW_PM -->
	<script type="text/javascript" src="{T_TEMPLATE_PATH}/opacity.js"></script>
<!-- ENDIF -->
<link rel="stylesheet" href="{ROOT_PATH}mchat/mchat_prosilver.css" type="text/css" />
<script type="text/javascript" src="{ROOT_PATH}jquery_core_mini.js"></script>
<script type="text/javascript" src="{ROOT_PATH}jquery_cookie_mini.js"></script>

<!-- INCLUDE reimg_content.html -->
<link href="{T_THEME_PATH}/print.css" rel="stylesheet" type="text/css" media="print" title="printonly" />
<link href="{T_STYLESHEET_LINK}" rel="stylesheet" type="text/css" media="screen, projection" />
<link rel="shortcut icon" href="images/favicon.ico">
<link href="{T_THEME_PATH}/normal.css" rel="stylesheet" type="text/css" title="A" />
<link href="{T_THEME_PATH}/medium.css" rel="alternate stylesheet" type="text/css" title="A+" />
<link href="{T_THEME_PATH}/large.css" rel="alternate stylesheet" type="text/css" title="A++" />
<!-- IF S_AUTO_ADVERTISE_PUBLIC_FEED -->
<link rel="alternate" type="application/rss+xml" title="RSS" href="{U_FEED_URL}?{U_RSS_PARAMETERS}" />
<link rel="alternate" type="application/atom+xml" title="ATOM" href="{U_FEED_URL}?{U_ATOM_PARAMETERS}" />
<!-- ENDIF -->
<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->
	<link href="{T_THEME_PATH}/bidi.css" rel="stylesheet" type="text/css" media="screen, projection" />
<!-- ENDIF -->
<!-- IF S_USER_PM_POPUP and S_NEW_PM -->
	<!--[if lt IE 7]>
	<link rel="stylesheet" href="{T_THEME_PATH}/ie6-position-fixed.css" type="text/css" media="screen, projection" />
	<![endif]-->
<!-- ENDIF -->

<script type="text/javascript" src="{T_TEMPLATE_PATH}/editor.js"></script>

<!-- INCLUDE gallery/plugins_header.html -->

<link href="{T_THEME_PATH}/prime_bbcode_note.css" rel="stylesheet" type="text/css" />

<!-- INCLUDE prime_bbcode_spoiler.html -->

<!-- INCLUDE prime_quick_buddies.html -->

<!-- INCLUDE prime_show_deleted_post.html -->

<script type="text/javascript">
$(document).ready(function(){
    
    $("#status").click(function () {
      $("#hide_status").toggle("slow");
    });  

});

 $(document).ready(function(){

	$("#newstatus").submit(function() {

 	var status_text    = $('#status_text').attr('value'); 
   $("#newstatus").empty().html('<img src="{T_THEME_PATH}/images/loader.gif" alt="loading" />');

		$.ajax({
			type: "POST",
			url: "{SUB_STATUS}",
			data: "status_text="+ status_text,
			success: function(del){
				$('#newstatus').hide();
				$('div.success').fadeIn();

			}
		});
	return false;
	});
});
 </script>

<style type="text/css">
.menu_button a {
	color: #{S_MENU_FONT_COLOR};
}
.menu_button a:hover {
  color: #{S_MENU_FONT_COLOR_HOVER};
	background: url('{T_THEME_PATH}/images/menu/{S_MENU_COLOR}/menu_bg_hover.gif') repeat-x;
	text-decoration: {S_MENU_DECORATION};
}
</style>


<!-- IF S_IN_ARCADE -->
	<link href="{T_THEME_PATH}/arcade.css" rel="stylesheet" type="text/css" media="screen, projection" />
<!-- ENDIF -->
</head>

<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">
<!-- IF S_USER_PM_POPUP and S_NEW_PM -->
<div id="pm-popup" class="panel">
	<p>{PM_POPUP_MESSAGE}<br /><br />{PM_POPUP_CLICK_TO_VIEW}</p>
	<p class="small"><a href="#" onclick="setOpacity('main-block',1);document.getElementById('pm-popup').style.display='none';return false;">{L_CLOSE_WINDOW}<meta http-equiv="refresh"></a></p>
</div>
<!-- ENDIF -->

<!-- INCLUDE prime_bbcode_note.html -->
<div id="bodybg">
	<div id="wrapper">
		<div id="shad-l">
			<div id="shad-r">
				<div id="header">			
						<span id="logo">&nbsp;</span></a>
						<div id="menu_br">
							<img src="{T_THEME_PATH}/images/border_l.png" style="opacity:0.8;filter:alpha(opacity=80)">
							<a href="#" title="Ir al Portal ~B-R~"><img src="{T_THEME_PATH}/images/index.png" style="opacity:0.8;filter:alpha(opacity=80)" onmouseover="this.style.opacity=0.9;this.filters.alpha.opacity=90" onmouseout="this.style.opacity=0.8;this.filters.alpha.opacity=80"></a>
							<img src="{T_THEME_PATH}/images/blank.png" style="opacity:0.8;filter:alpha(opacity=80)">
							<a href="{U_INDEX}" title="Ir al Foro ~B-R~"><img src="{T_THEME_PATH}/images/forum.png" style="opacity:0.8;filter:alpha(opacity=80)" onmouseover="this.style.opacity=0.9;this.filters.alpha.opacity=90" onmouseout="this.style.opacity=0.8;this.filters.alpha.opacity=80"></></a>
							<img src="{T_THEME_PATH}/images/blank.png" style="opacity:0.8;filter:alpha(opacity=80)">
							<a href="#" title="Noticias B-Revolution"><img src="{T_THEME_PATH}/images/news.png" style="opacity:0.8;filter:alpha(opacity=80)" onmouseover="this.style.opacity=0.9;this.filters.alpha.opacity=90" onmouseout="this.style.opacity=0.8;this.filters.alpha.opacity=80"></></a>
							<img src="{T_THEME_PATH}/images/blank.png" style="opacity:0.8;filter:alpha(opacity=80)">
							<a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}"><img src="{T_THEME_PATH}/images/faq.png" style="opacity:0.8;filter:alpha(opacity=80)" onmouseover="this.style.opacity=0.9;this.filters.alpha.opacity=90" onmouseout="this.style.opacity=0.8;this.filters.alpha.opacity=80"></></a>
							<img src="{T_THEME_PATH}/images/blank.png" style="opacity:0.8;filter:alpha(opacity=80)">
							<a href="{U_CALENDAR}" title="Calendario B-R"><img src="{T_THEME_PATH}/images/calendario.png" style="opacity:0.8;filter:alpha(opacity=80)" onmouseover="this.style.opacity=0.9;this.filters.alpha.opacity=90" onmouseout="this.style.opacity=0.8;this.filters.alpha.opacity=80"></></a>
							<img src="{T_THEME_PATH}/images/blank.png" style="opacity:0.8;filter:alpha(opacity=80)">
							<a href="{U_SEARCH}" title="Buscar"><img src="{T_THEME_PATH}/images/search.png" style="opacity:0.8;filter:alpha(opacity=80)" onmouseover="this.style.opacity=0.9;this.filters.alpha.opacity=90" onmouseout="this.style.opacity=0.8;this.filters.alpha.opacity=80"></></a>
							<img src="{T_THEME_PATH}/images/blank.png" style="opacity:0.8;filter:alpha(opacity=80)">
							<a href="{U_MEMBERLIST}" title="Lista de usuarios"><img src="{T_THEME_PATH}/images/users.png" style="opacity:0.8;filter:alpha(opacity=80)" onmouseover="this.style.opacity=0.9;this.filters.alpha.opacity=90" onmouseout="this.style.opacity=0.8;this.filters.alpha.opacity=80"></></a>
							<img src="{T_THEME_PATH}/images/blank.png" style="opacity:0.8;filter:alpha(opacity=80)">
							<a href="#" title="Sobre B-Revolution"><img src="{T_THEME_PATH}/images/about.png" style="opacity:0.8;filter:alpha(opacity=80)" onmouseover="this.style.opacity=0.9;this.filters.alpha.opacity=90" onmouseout="this.style.opacity=0.8;this.filters.alpha.opacity=80"></></a>
							<img src="{T_THEME_PATH}/images/border_r.png" style="opacity:0.8;filter:alpha(opacity=80)">
						</div>
				</div>
				</div>
<span class="preload1"></span>
<span class="preload2"></span>

<ul id="nav">
    <li class="top"><a href="{U_INDEX}" id="forumlinks" class="top_link"><span class="down">B-Revolution</span><!--[if gte IE 7]><!--></a><!--<![endif]-->
      <!--[if lte IE 6]><table><tr><td><![endif]--><ul class="sub">
	   <li class="list_menu"><a href="#">Portal</a></li>
         <li class="list_menu"><a href="{U_GALLERY_MOD}">Galeria de Imagenes</a></li>
   	   <li class="list_menu"><a href="./blog/">Blogs</a></li>
	   <li class="list_menu"><a href="{U_DMV_VIDEO}">{L_DMV_VIDEO}</a></li>
	   <li class="list_menu"><a href="{U_MEDALS}">{L_MEDALS_VIEW}</a></li>
	   <li class="list_menu"><a href="{U_DM_EDS}">{L_DM_EDS}</a></li>
	   <li class="list_menu"><a href="{U_FEED}">{L_FEED}</a></li>
      </ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->
    </li>
    <!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED --><li class="top"><a href="{U_REGISTER}" class="top_link" title="Registrarse a ~B-R~"><span>{L_REGISTER}</span></a></li><!-- ENDIF -->			
    <!-- IF not S_USER_LOGGED_IN --><li class="top"><a href="{U_LOGIN_LOGOUT}" class="top_link" title="Conectarse"><span>{L_LOGIN_LOGOUT}</span></a></li><!-- ENDIF -->
    <li class="top"><a href="{U_ARCADE}" id="forumlinks" class="top_link"><span class="down">{L_ARCADE}</span><!--[if gte IE 7]><!--></a><!--<![endif]-->
      <!--[if lte IE 6]><table><tr><td><![endif]--><ul class="sub">
         <li class="list_menu"><a href="./arcade.php?mode=random">Juego Aleatorio</a></li>
         <li class="list_menu"><a href="./arcade.php?mode=cat&c=7">Recomendados</a></li>
         <li class="list_menu"><a href="./arcade.php?mode=search&search_id=newgames">Juegos Nuevos</a></li>
         <li class="list_menu"><a href="./arcade.php?mode=stats">Estadisticas</a></li>
      </ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->
    </li>
    <!-- IF S_USER_LOGGED_IN -->
    <li class="top"><a href="#" id="controlpanel" class="top_link"><span class="down">Panel de Control</span><!--[if gte IE 7]><!--></a><!--<![endif]-->
      <!--[if lte IE 6]><table><tr><td><![endif]--><ul class="sub">
         <!-- IF S_USER_LOGGED_IN -->
            <li><b>Usuario</b></li>
         <li class="list_menu"><a href="{U_PROFILE}" class="fly">{L_PROFILE}<!--[if gte IE 7]><!--></a><!--<![endif]-->
               <!--[if lte IE 6]><table><tr><td><![endif]--><ul>
                  <li class="list_menu"><a href="./ucp.php?i=163">Vista General</a></li>
                  <li class="list_menu"><a href="./ucp.php?i=164">Perfil</a></li>
			<li class="list_menu"><a href="./ucp.php?i=profile&mode=signature">Firma</a></li>
			<li class="list_menu"><a href="./ucp.php?i=profile&mode=avatar">Avatar</a></li>
	            <li class="list_menu"><a href="./ucp.php?i=166">Mensajes Privados</a></li>
                  <li class="list_menu"><a href="./ucp.php?i=168">Amigos & Ignorados</a></li>
	            <li class="list_menu"><a href="./ucp.php?i=gallery&mode=manage_albums">Album Personal</a></li>
                  <li class="list_menu"><a href="./ucp.php?i=arcade&mode=favorites">Juegos Favoritos</a></li>
                  <li class="list_menu"><a href="./ucp.php?i=415">Blogs Personales</a></li>
	         </ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->
         </li>
            <!-- ENDIF -->
         <!-- IF U_MCP -->
            <li><b>Moderadores</b></li>
            <li class="list_menu"><a href="{U_MCP}">{L_MCP}</a></li>
            <!-- ENDIF -->
            <!-- IF U_ACP -->
            <li><b>Administradores</b></li>
            <li class="list_menu"><a href="{U_ACP}">Panel de Administracion</a></li>
            <!-- ENDIF -->
      </ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->
   </li>
   <!-- ENDIF -->
   <li class="top"><a href="{U_POINTS}" id="forumlinks" class="top_link"><span class="down">{POINTS_LINK}<!-- IF S_USER_LOGGED_IN --> [ {USER_POINTS} ] <!-- ENDIF --></span><!--[if gte IE 7]><!--></a><!--<![endif]-->
      <!--[if lte IE 6]><table><tr><td><![endif]--><ul class="sub">
         <li class="list_menu"><a href="./points.php?mode=info">Informacion</a></li>
         <li class="list_menu"><a href="./points.php?mode=lottery">Loteria</a></li>
         <li class="list_menu"><a href="./points.php?mode=bank">Banco</a></li>
         <li class="list_menu"><a href="./points.php?mode=robbery">Robo</a></li>
      </ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->
   </li>
   <!-- IF ENABLE_STATUS && S_USER_LOGGED_IN --><li class="top"><a id="status" href="#" style="font-weight:bold;text-transform:none;" class="top_link"><span>Mensaje Personal</span></a></li><!-- ENDIF -->
   <!-- IF S_USER_LOGGED_IN --><li class="top"><a href="{U_LOGIN_LOGOUT}" class="top_link"><span>{L_LOGIN_LOGOUT}</span></a></li><!-- ENDIF -->
</ul>

<div id="bodyarea">
<br />
<div class="navbar_fix">
<div class="inner"><span class="corners-top"><span></span></span>
</div>
 			<ul class="linklist navlinks">
           				<li class="rightside"><a href="#" onclick="fontsizeup(); return false;" onkeypress="fontsizeup(); return false;" class="fontsize" title="{L_CHANGE_FONT_SIZE}">{L_CHANGE_FONT_SIZE}</a></li>
           				<!-- IF U_EMAIL_TOPIC --><li class="rightside"><a href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}" class="sendemail">{L_EMAIL_TOPIC}</a></li><!-- ENDIF -->
        				<!-- IF U_EMAIL_PM --><li class="rightside"><a href="{U_EMAIL_PM}" title="{L_EMAIL_PM}" class="sendemail">{L_EMAIL_PM}</a></li><!-- ENDIF -->
        				<!-- IF U_PRINT_TOPIC --><li class="rightside"><a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}" accesskey="p" class="print">{L_PRINT_TOPIC}</a></li><!-- ENDIF -->
        				<!-- IF U_PRINT_PM --><li class="rightside"><a href="{U_PRINT_PM}" title="{L_PRINT_PM}" accesskey="p" class="print">{L_PRINT_PM}</a></li><!-- ENDIF -->
        			</ul>

        <!-- IF not S_USER_LOGGED_IN and not S_IS_BOT and S_LOGIN_ANYWHERE and not AUTO_REFRESH -->
			<form method="post" action="{S_LOGIN_ANYWHERE}">
				<fieldset class="quick-login" style="float:left;position:relative;white-space:nowrap">
					<label for="prime_login_username">Login:</label>&nbsp;<input tabindex="100" type="text" name="username" id="prime_login_username" size="10" class="inputbox" style="min-width:100px" title="{L_USERNAME}" />  
					<label for="prime_login_password">HasÅ?o:</label>&nbsp;<input tabindex="101" type="password" name="password" id="prime_login_password" size="10" class="inputbox" title="{L_PASSWORD}" />
					<!-- IF S_AUTOLOGIN_ENABLED --><label for="prime_login_autologin"><input tabindex="102" type="checkbox" name="autologin" id="prime_login_autologin" /> {L_PRIME_REMEMBER_ME}</label><!-- ENDIF -->
					<input tabindex="103" type="submit" name="login" value="{L_LOGIN}" class="button2" />

				</fieldset>
			</form>
			<!-- ENDIF -->
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
	<form method="post" action="{S_LOGIN_ACTION}" class="headerspace">
	<h3><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- IF S_REGISTER_ENABLED -->&nbsp; &bull; &nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a><!-- ENDIF --></h3>
		<fieldset class="quick-login">
			<label for="username">{L_USERNAME}:</label>&nbsp;<input type="text" name="username" id="username" size="10" class="inputbox" title="{L_USERNAME}" />  
			<label for="password">{L_PASSWORD}:</label>&nbsp;<input type="password" name="password" id="password" size="10" class="inputbox" title="{L_PASSWORD}" />
			<!-- IF S_AUTOLOGIN_ENABLED -->
				| <label for="autologin">{L_LOG_ME_IN} <input type="checkbox" name="autologin" id="autologin" /></label>
			<!-- ENDIF -->
			<input type="submit" name="login" value="{L_LOGIN}" class="button2" />
		</fieldset>
	</form>
	<br />
<!-- ENDIF -->
		   <!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
        			<ul class="linklist leftside">
        				<li class="">
        					<!-- IF S_DISPLAY_PM --> (<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a>)<!-- ENDIF --> &bull; 
					(<a href="{U_REQUESTS_LIST}">{NEW_REQUESTS}</a>) &bull;
					<!-- IF SIMPLE_COMMENT_ENABLED --><a href="{U_COMMENTS}">({L_TOTAL_COMMENT})</a><!-- ENDIF -->
        					<a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a>

<!-- IF U_RESTORE_PERMISSIONS --> &bull;
        					<a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a>
        					<!-- ENDIF -->
        				</li>
        			</ul>
        			<!-- ENDIF -->
        			<span class="corners-bottom"><span></span></span></div>
      

<a name="start_here"></a>
<div id="hide_status" style="display:none; text-align:center;"> 
<br />
<form id="newstatus" method="post" action="">
<fieldset>
<input maxlength="150" id="status_text" name="status_text" type="text" />
<input name="submit" type="submit" id="submit" value="{L_SUBMIT}" /><br />
{L_STATUS_CURRENT} <!-- BEGIN stat_q -->{stat_q.STATUS}<!-- END stat_q --><br />
</fieldset>
</form>

<div class="success" style="display:none;">
 <p style="text-align:center">{L_STATUS_UPDATED}</p>
</div>
</div>
        	<div id="page-body">
        		
        		 <!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) --> 
        		<div id="message" class="rules">
        			<div class="inner"><span class="corners-top"><span></span></span>
        				<strong>{L_INFORMATION}:</strong> {L_BOARD_DISABLED}
        			<span class="corners-bottom"><span></span></span></div>

        		</div>
        		<!-- ENDIF -->
		<!-- INCLUDE arcade/arcade_info_body.html -->
<!-- INCLUDE announcement_centre.html -->
</div>				
Excuse if there's a lot of garbage and other strings...but now i'm just cleaning this...

joejv4
Registered User
Posts: 25
Joined: Tue Nov 10, 2009 6:49 pm

Re: Popup Layer on New PMs

Post by joejv4 » Tue Nov 17, 2009 7:00 pm

OK, so now I have it installed, and get a pop up layer when I have a new PM. What I don't get is any test that explains why I have an opaque screen with a box in the middle, nor do I get any buttons to click to take me to the message itself.

Now I see in overall_header.html, that the edit:
<!-- IF S_USER_PM_POPUP and S_NEW_PM -->
<div id="pm-popup" class="panel">
<p>{PM_POPUP_MESSAGE}<br /><br />{PM_POPUP_CLICK_TO_VIEW}</p>
<p class="small"><a href="#" onclick="setOpacity('main-block',1);document.getElementById('pm-popup').style.display='none';return false;">{L_CLOSE_WINDOW}</a></p>
</div>
<!-- ENDIF -->

Where does this code look for PM_POPUP_MESSAGE and PM_POPUP_CLICK_TO_VIEW ?

How do I get these features to work?

Ariane A
Registered User
Posts: 296
Joined: Thu Apr 03, 2008 5:26 pm
Location: Switzerland, by the Leman Lake
Contact:

Re: Popup Layer on New PMs

Post by Ariane A » Thu Nov 19, 2009 10:06 pm

Hello,

Does this mod still work with phpbb 3.0.6?
Thanks.
Ariane
https://www.zeldaspalace.com - About the Legend of Zelda video games

valaraukar
Registered User
Posts: 19
Joined: Tue Sep 15, 2009 8:51 pm

Re: Popup Layer on New PMs

Post by valaraukar » Fri Nov 20, 2009 3:14 pm

Where does this code look for PM_POPUP_MESSAGE and PM_POPUP_CLICK_TO_VIEW ?
It looks for it in the Language files, also {L_CLOSE_WINDOW}...make sure you edited the language strings ^^

Ariane A
Registered User
Posts: 296
Joined: Thu Apr 03, 2008 5:26 pm
Location: Switzerland, by the Leman Lake
Contact:

Re: Popup Layer on New PMs

Post by Ariane A » Wed Dec 02, 2009 10:51 am

---
Ariane
https://www.zeldaspalace.com - About the Legend of Zelda video games

joejv4
Registered User
Posts: 25
Joined: Tue Nov 10, 2009 6:49 pm

Re: Popup Layer on New PMs

Post by joejv4 » Wed Dec 02, 2009 1:27 pm

Found it and made the changes - works like a charm now!!!!

Thanks!

Ariane A
Registered User
Posts: 296
Joined: Thu Apr 03, 2008 5:26 pm
Location: Switzerland, by the Leman Lake
Contact:

Re: Popup Layer on New PMs

Post by Ariane A » Fri Dec 11, 2009 10:20 am

Hi,

Is somebody using the mod "Welcome PM on first login"?
It seems that this mod (popup layer) is not working with the "welcome pm". No window appears with Firefox or Internet Explorer.

Thanks for your feedback and help.
Ariane
https://www.zeldaspalace.com - About the Legend of Zelda video games

valaraukar
Registered User
Posts: 19
Joined: Tue Sep 15, 2009 8:51 pm

Re: Popup Layer on New PMs

Post by valaraukar » Fri Dec 11, 2009 1:31 pm

I think that it doesn't work because you have to enable the "pop up on new layer" in your profile manually.

But, if you're a new user, that option is not the default (i think the default option to recieve new PM's is "send a notification in e-mail")...

Is there anyway to have "Pop up on new PM" as the default option?

Locked

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