FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


[phpbb] why cant this work ?!?





Summer
I used this code in overall_header.tpl
Code:
<!-- BEGIN switch_user_logged_in -->
<div class="popup{PRIVMSG_IMG}"><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a></div>
<!-- END switch_user_logged_in -->


then I place this in css
Code:
/* private message popup */
.popup, .popuppm { display: none; }
.popuppm-new {
   display: block;
   text-align: center;
   margin: 50px;
}
.popuppm-new a {
   font-size: 12px;
   font-weight: bold;
   background-color: #1c1e21 ;
   border: solid 1px #000;
   color: #888888;
   text-decoration: none;
}
.popuppm-new a:hover {
   color: #c0c0c0;
   text-decoration: none;
}


But whenever i have new pm , it doesnt show up . Im making a new skin so i need this , but the skin I refer (my forum's current skin) works .

Anything wrong ?
Lady Elensar
I don't know really much about php (even if I have a phpBB forum, and installed mods, and know html+css), but I see this: "display: none", doesn't it have to be "display:yes" ?
Marston
Lady Elensar wrote:
I don't know really much about php (even if I have a phpBB forum, and installed mods, and know html+css), but I see this: "display: none", doesn't it have to be "display:yes" ?
Nah, I think it's actually "display: block". But anyways,
Code:
<div class="popup{PRIVMSG_IMG}">
wouldn't work, because you'd end up with:
Code:
<div class="popupimages/icons/privatemessages.gif">
Note that thats not the actual path to your private messages image. I haven't worked with phpBB for a while now, but I believe thats whats screwing your site up.
Summer
But I followed a skin , and the skin I followed works .

if there is new pm , {PRIVMSG_IMG} is 'pm-new' , not path to image .
Related topics
Question: How long does it take for the subdomain to work?
Idea...
I cant access my forum account HERE!!!
[COMMUNITY PROJECT]Frihost Forum
Changing default cpanel theme to bluelagoon?
Host Problems
Why cant the mass media get it right?
How to load OS on blank laptop
good website
Why cant i read dvd9?!
Forum Hosting Service
China stops censoring google
Debate: Stemcell Research
Problem after phpBB installation, cant enter panel admin
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.