[Add-on] PM alert layer [1.0.0]

MODs, Hacks, tips and tricks for memberlist, profiles, group members, and team members.
Custom Profile fields Hacks and MODs are also included

How would you rate this mod?

Excellent!
22
69%
Very good
7
22%
Good
2
6%
Fair
1
3%
Poor
0
No votes
 
Total votes : 32

Re: [Add-on] PM alert layer [1.0.0]

Postby JNic » 11 May 2008, 15:34

Great mod by the way. Has anyone figured out how to fix the 1 second disappearing popup on initial login. Thanks.
JNic
Crewman
Crewman
 
Posts: 1
Joined: 11 May 2008, 15:32
Gender: Male
phpBB Knowledge: 4


Re: [Add-on] PM alert layer [1.0.0]

Postby mcdanielnc89 » 11 May 2008, 21:08

Sithnar wrote:To place the Window static on the page like in my screen shot,

You willl need to remove the code added by the original mod,
be sure to make backups of all files edited.
Spoiler:
Open styles/prosilver/themplate/Overall_header.html
Find & delete!
Code: Select all


   <!-- IF S_NEW_PM -->
<style>
<!--
.pmbox {
   position : relative;
   height : 100px;
   width : 300px;
   margin-top: 1px;
   margin-left: 1px;

   #background-color : #f4f5f7;
   #border : 2px solid #006699;
}
-->
</style>

<center>   
<table class="pmbox" id="new_pm_box" cellspacing="5" cellpadding="4">
<tr>
   <td style="height:100px; width:300px;">
      <div class="forabg">
         <div class="inner"><span class="corners-top"><span></span></span>
         <ul class="topiclist">
            <li class="header">
               <dl class="icon">
                  <dd align=center>{L_PM_NEW}</dd>
               </dl>
            </li>
         </ul>
         <ul style="background-color:#DCE8F0">
         
         <dl class="">
            <dt>

                                 <span class="gen">
         <span style="height:8px;"></span>
         &nbsp;{L_PM_SENDER} <strong>{S_PM_SENDER}</strong><br />
         &nbsp;{L_PM_DATE} <strong>{S_PM_DATE}</strong><br />
         &nbsp;{L_PM_SUBJECT} <strong>{S_PM_SUBJECT}</strong><br />
         &nbsp;{L_PM_TEXT} <strong>{S_PM_TEXT}</strong><br /><br />
         <center>{CLICK_TO_VIEW}</center>
         
      </span>                  
                           </dt>
                           
                     </dl>
      
            </ul>

         <span class="corners-bottom"><span></span></span></div>
      </div>
   </td>
</tr>
</table></center>
<!-- ENDIF -->



find:
Code: Select all


         <span class="corners-bottom"><span></span></span></div>
      </div>
      <!-- ENDIF -->

Add, after:
Code: Select all

      <!-- IF S_NEW_PM -->
<style>
<!--
.pmbox {
   position : relative;
   height : 100px;
   width : 300px;
   margin-top: 1px;
   margin-left: 1px;

   #background-color : #f4f5f7;
   #border : 2px solid #006699;
}
-->
</style>

<center>   
<table class="pmbox" id="new_pm_box" cellspacing="5" cellpadding="4">
<tr>
   <td style="height:100px; width:300px;">
      <div class="forabg">
         <div class="inner"><span class="corners-top"><span></span></span>
         <ul class="topiclist">
            <li class="header">
               <dl class="icon">
                  <dd align=center>{L_PM_NEW}</dd>
               </dl>
            </li>
         </ul>
         <ul style="background-color:#DCE8F0">
         
         <dl class="">
            <dt>

                                 <span class="gen">
         <span style="height:8px;"></span>
         &nbsp;{L_PM_SENDER} <strong>{S_PM_SENDER}</strong><br />
         &nbsp;{L_PM_DATE} <strong>{S_PM_DATE}</strong><br />
         &nbsp;{L_PM_SUBJECT} <strong>{S_PM_SUBJECT}</strong><br />
         &nbsp;{L_PM_TEXT} <strong>{S_PM_TEXT}</strong><br /><br />
         <center>{CLICK_TO_VIEW}</center>
         
      </span>                  
                           </dt>
                           
                     </dl>
      
            </ul>

         <span class="corners-bottom"><span></span></span></div>
      </div>
   </td>
</tr>
</table></center>
<!-- ENDIF -->


save all files



sry to hijack this thread, but where can i get the spoiler mod liek this at?
User avatar
mcdanielnc89    
Cadet IV
Cadet IV
 
Posts: 53
Joined: 15 Mar 2008, 19:19
Gender: Male
phpBB Knowledge: 2

Re: [Add-on] PM alert layer [1.0.0]

Postby schiller2300 » 14 Jun 2008, 21:19

Gumfuzi wrote:nice mod!

i tried it, but moved it again:
- if a use is logging in and a pm is waiting for him, the layer will be shown only on the first screen while logged in - and that's the confirmation screen for successful login, and this one disapperas within 1 second and then no info is shown again (the standard popup will stay) - no clue how to solve this
- maybe a "z-index: 999;" within the css definition for the layer can help if some style using z-index already -> the get the layer really on top of everythin else.

if someone has a solution for the first point, that would be fine...



I am having the same problem as Gumfuzi had with the layer showing up for about a second and then disappearing within a second. It shows almost instantly as the page is loading but at some point during the loading the layer disappears. Has anyone found an answer to this occurrence.
schiller2300
Crewman
Crewman
 
Posts: 4
Joined: 14 Jun 2008, 20:35
Gender: Male

Re: [Add-on] PM alert layer [1.0.0]

Postby Gumfuzi » 15 Jun 2008, 00:20

i did not get it working - but I have made an own "button"-like thing in my header, that is colored so, that the user will see it surely, showing the amount of unread pm's and the new pm's and if clicking at this button, you will get to the pm section of the ucp.

So, it is a bit like the original "you have 1 new message"-text in prosilver, except the different style.

I am sorry that I cannot provide you with a better answer.
User avatar
Gumfuzi
Lt. Jr Grade
Lt. Jr Grade
 
Posts: 164
Joined: 19 Jan 2007, 06:49
Location: Linz, Austria
Favorite Team: none
Gender: Male
phpBB Knowledge: 8

Re: [Add-on] PM alert layer [1.0.0]

Postby AngelArvil » 01 Jul 2008, 08:16

EDIT

I worked it nah

Weird, My first try layer doesn't work

Nowm I am stucked up with BB codes, BB codes, don't work in the pop up using prosilver template...

EDIT: Can somebody tell, me how can I edit the content of the pop up instead publishing the whole private message content, and increase the font size of some POP UP content, I really got very small font

Please help
Thx in advance and more powe.r
AngelArvil
Ensign
Ensign
 
Posts: 62
Joined: 25 May 2008, 03:44
Gender: Male
phpBB Knowledge: 1

Re: [Add-on] PM alert layer [1.0.0]

Postby Ahriman » 14 Aug 2008, 11:57

Thanks!!! is perfect!!
Ahriman    
Crewman
Crewman
 
Posts: 2
Joined: 22 May 2008, 02:02
Gender: Male
phpBB Knowledge: 10

Re: [Add-on] PM alert layer [1.0.0]

Postby JeRicHoOL » 18 Dec 2008, 12:46

There are only subsilver instructions in the downloaded file. Where are the ones for prosilver?
My signature has been stolen.
JeRicHoOL
Lieutenant
Lieutenant
 
Posts: 339
Joined: 10 Aug 2008, 11:46
Location: Germany
Favorite Team: Bayern Munich
Gender: Male
phpBB Knowledge: 2

Re: [Add-on] PM alert layer [1.0.0]

Postby Sniper_E » 18 Dec 2008, 22:42

I think they said the same edits work in prosilver. Here is one done in prosilver: viewtopic.php?p=36244#p36244
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
User avatar
Sniper_E    
STG Jedi Master
STG Jedi Master
 
Posts: 7003
Joined: 31 May 2006, 06:29
Location: Shreveport, LA
Favorite Team: The STG Team
Gender: Male
phpBB Knowledge: 6

Re: [Add-on] PM alert layer [1.0.0]

Postby nshop1 » 22 Dec 2009, 22:44

Hi, thanks for the mod, this is a fantastic modification. But I am facing a small problem with my theme. Since there is no close button in phpbb, its showing the delete button on the alert box. Please see the image below. Is there any way to show my custom close button instead of this delete button.

Image

Thanks
nshop1
Crewman
Crewman
 
Posts: 3
Joined: 22 Dec 2009, 22:16
Gender: Male

Re: [Add-on] PM alert layer [1.0.0]

Postby Sniper_E » 22 Dec 2009, 22:55

Post that delete button and I'll make you a close button to match your style. Or find a close button you like and use it instead.
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
User avatar
Sniper_E    
STG Jedi Master
STG Jedi Master
 
Posts: 7003
Joined: 31 May 2006, 06:29
Location: Shreveport, LA
Favorite Team: The STG Team
Gender: Male
phpBB Knowledge: 6

PreviousNext

Return to Memberlist and Profiles

Who is online

Users browsing this forum: No registered users and 3 guests