[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 nshop1 » 22 Dec 2009, 23:28

Hi sniper, thanks for your support. I will create a close button. But how can I change the code to locate the new button? for example, I have created a button called close.png, now which portion of the code I need to change to apply this button in PM alert?

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 » 23 Dec 2009, 10:24

You add that button to your templates. What type of style are you using? (prosilver or subsilver2 type style)
You can look for the delete button in your .css files and in your imageset.cfg file and add close next to the delete.
Then you could use {CLOSE_IMG} in your template instead of {DELETE_IMG}
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 » 23 Dec 2009, 11:20

Oh I forgot to mention that I am using subsilver type theme, its called X-Static. I will try to follow your instructions to add the close button. Thanks for your help.
nshop1
Crewman
Crewman
 
Posts: 3
Joined: 22 Dec 2009, 22:16
Gender: Male

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

Postby rmq » 31 Oct 2010, 04:51

Thanks for the great mod!

To ones with the overlay problem in prosilver theme here's a fix.
Spoiler:
Open styles/proSilver/template/overall_header.html
Find:

Code: Select all
<!--
.pmbox {
   position : absolute;
   height : 100px;
   width : 300px;
   margin-top: -75px;
   margin-left: -150px;
   top : 50%;
   left : 50%;
   background-color : #f4f5f7;
   border : 2px solid #006699;
}
-->


Add on a new blank line after the "border : 2px solid #006699;":
Code: Select all
z-index: 50;


The resulting code will look like this:
Code: Select all
<!--
.pmbox {
   position : absolute;
   height : 100px;
   width : 300px;
   margin-top: -75px;
   margin-left: -150px;
   top : 50%;
   left : 50%;
   background-color : #f4f5f7;
   border : 2px solid #006699;
        z-index: 50;
}
-->


Comment:
The z-index property specifies the stack order of an element (which element should be placed in front of, or behind, the others).
An element can have a positive or negative stack order:
An element with greater stack order is always in front of an element with a lower stack order.
Note: If two positioned elements overlap, without a z-index specified, the element positioned last in the HTML code will be shown on top.
Source
rmq
Crewman
Crewman
 
Posts: 1
Joined: 31 Oct 2010, 04:30
Gender: Male

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

Postby user751139 » 26 Dec 2010, 06:27

Awesome mod! Confirmed working with 3.0.8!

Just one small suggestion.. I noticed that PM box stays on a fixed spot & goes out of view if you scroll down the page. Can you make it so that it'll stay on your window even if you scroll down?
user751139    
Cadet I
Cadet I
 
Posts: 19
Joined: 07 Dec 2009, 12:15
Gender: Male
phpBB Knowledge: 2

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

Postby Dragosvr92 » 30 Dec 2010, 01:43

user751139 wrote:Awesome mod! Confirmed working with 3.0.8!

Just one small suggestion.. I noticed that PM box stays on a fixed spot & goes out of view if you scroll down the page. Can you make it so that it'll stay on your window even if you scroll down?

i think you would need some javascript to do that :confused:
but this Mod was Created in 2007 And the Author has made about 3 posts in the topic...
so its kinda abandoned sadly :(
Previous username: TheKiller
Avatar on Memberlist 1.0.3

Image
User avatar
Dragosvr92    
MOD Author
MOD Author
 
Posts: 362
Joined: 26 Sep 2009, 10:32
Location: Romania
Gender: Male
phpBB Knowledge: 3

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

Postby wads24 » 01 Jan 2011, 05:10

I like this mod, but when installed on my board... It pops up and then slides halfway down the board. Is there a way to make it a static popup layer?
User avatar
wads24
Supporter
Supporter
 
Posts: 83
Joined: 04 Jul 2007, 00:55
Gender: Male

Previous

Return to Memberlist and Profiles

Who is online

Users browsing this forum: No registered users and 3 guests