[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 moustafamin » 28 Jan 2008, 22:55

Sithnar wrote:i changed the style of the PM window based on this error.
changed it to look like i have attached :)

pm.gif



that's nice... then can you give me the code for this modification???
moustafamin
Cadet II
Cadet II
 
Posts: 20
Joined: 14 Sep 2007, 15:36
Gender: Male


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

Postby Sithnar » 29 Jan 2008, 02:24

Install the main mod, then just add in the bits i did with mine, to get the message text into the PM popup, use the post i made a while back
viewtopic.php?p=52838#p52838

to change the window from a float to a fixed one i would have to write up how to do that. if thats what your wanting i can give you the code for this no problem
Sithnar - Head Nerd @ DarkLord's Realm
User avatar
Sithnar    
Supporter
Supporter
 
Posts: 367
Joined: 15 Jan 2008, 10:42
Location: England
Gender: Male
phpBB Knowledge: 5

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

Postby Sithnar » 29 Jan 2008, 02:42

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
Sithnar - Head Nerd @ DarkLord's Realm
User avatar
Sithnar    
Supporter
Supporter
 
Posts: 367
Joined: 15 Jan 2008, 10:42
Location: England
Gender: Male
phpBB Knowledge: 5

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

Postby jxlh999 » 02 Feb 2008, 00:50

just follow the instructions in the file and update prosilver
jxlh999
Crewman
Crewman
 
Posts: 2
Joined: 01 Feb 2008, 23:34
Gender: Male

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

Postby moustafamin » 03 Feb 2008, 09: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


yes it worked great... a lot of thanks :yahoo:
well I want a small help in 2 things:
1- I want the messege to accept BBcode.... cause when somebody send a link as a pm or a colored text.. It appears so bad
2- I want the messege body in the layer to be part of the messege, not the whole... for example the maximum characters are 40

I'm sorry Sithnar for being annoyin'.. but they are just ideas and if you could achieve at least one of them.. it will be a great modification... and you can release your pm layer as a separate official mod :D
moustafamin
Cadet II
Cadet II
 
Posts: 20
Joined: 14 Sep 2007, 15:36
Gender: Male

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

Postby girish979 » 03 Feb 2008, 16:37

I need this Mod for SF_GLACIER

HELP ME :hello:
phpBB Professional Skins

I will shift your Board from Old to New Server for very less cost - PM me
girish979    
Supporter
Supporter
 
Posts: 180
Joined: 31 Jan 2008, 19:48
Gender: Male
phpBB Knowledge: 4

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

Postby Sithnar » 04 Feb 2008, 04:52

moustafamin wrote:
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


yes it worked great... a lot of thanks :yahoo:
well I want a small help in 2 things:
1- I want the messege to accept BBcode.... cause when somebody send a link as a pm or a colored text.. It appears so bad
2- I want the messege body in the layer to be part of the messege, not the whole... for example the maximum characters are 40

I'm sorry Sithnar for being annoyin'.. but they are just ideas and if you could achieve at least one of them.. it will be a great modification... and you can release your pm layer as a separate official mod :D


I never noticed to be honest i always get short plain text pm's will see if i can work out how to use bb code & limit it to so many chars, on my forum we have a long welcome pm so that probably looks utterly rubbish, thanks for the feedback :)
Sithnar - Head Nerd @ DarkLord's Realm
User avatar
Sithnar    
Supporter
Supporter
 
Posts: 367
Joined: 15 Jan 2008, 10:42
Location: England
Gender: Male
phpBB Knowledge: 5

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

Postby J-P » 07 Feb 2008, 19:03

Sithnar wrote:I installed it on prosilver, but i changed it around alot, as i didnt like it being "floating"

just follow the instructions in the file and update prosilver not sub

Can you give us the modifications that you make for prosilver.

So a install text for prosilver and the modifications that you make.
I hope that you now wath i mean because my english is not so well.
J-P
Cadet III
Cadet III
 
Posts: 37
Joined: 07 Feb 2008, 08:52
Gender: Male

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

Postby mario » 12 Feb 2008, 09:35

could u tell how to work it for prosilver?
mario
Supporter
Supporter
 
Posts: 115
Joined: 12 Feb 2008, 09:31
Gender: Male
phpBB Knowledge: 4

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

Postby mario » 28 Feb 2008, 08:43

Could i get help please
mario
Supporter
Supporter
 
Posts: 115
Joined: 12 Feb 2008, 09:31
Gender: Male
phpBB Knowledge: 4

PreviousNext

Return to Memberlist and Profiles

Who is online

Users browsing this forum: No registered users and 2 guests

cron