Header links - Black Pearl
Header links
Hi,
I changed the background image of the header to my banner and placed a transparent png over the entire area to link it, but i cannot seem to make it link to anywhere except the forum index page. I edited just about everything i could find and was not able to do it. I did change the link from
<a href="(L_INDEX)">my logo</a>
to
<a href="http://www.krathians.com">my logo</a>
and it had no effect whatsoever on the link itself. I was not able to find anything else named L_INDEX to change in the js files or the other config files.
I changed the background image of the header to my banner and placed a transparent png over the entire area to link it, but i cannot seem to make it link to anywhere except the forum index page. I edited just about everything i could find and was not able to do it. I did change the link from
<a href="(L_INDEX)">my logo</a>
to
<a href="http://www.krathians.com">my logo</a>
and it had no effect whatsoever on the link itself. I was not able to find anything else named L_INDEX to change in the js files or the other config files.
-
- Registered User
- Posts: 4
- Joined: Thu Dec 27, 2012 9:37 am
Re: Header links
The background image is not clickable by default, you should replace the site logo instead and then you will see your edit will link anywhere (ofcourse after purging the cache in acp). 
EDIT:
However if memory serves me right...I think L_index should be U_INDEX. U_PORTAL or whatever

EDIT:
However if memory serves me right...I think L_index should be U_INDEX. U_PORTAL or whatever
-
- Registered User
- Posts: 227
- Joined: Tue Jul 21, 2009 7:01 pm
- Location: Rotterdam, Netherlands, Europe, Earth.
- Name: Joshua 203
Re: Header links
BTW .. your images are loading very slow (slow server? or huge images?)
EDIT: ..Nope, image enlargement script!!!
EDIT: ..Nope, image enlargement script!!!
-
- Registered User
- Posts: 227
- Joined: Tue Jul 21, 2009 7:01 pm
- Location: Rotterdam, Netherlands, Europe, Earth.
- Name: Joshua 203
Re: Header links
I did replace the site logo with the transparent png sized same as banner. It still only links to the forum index and not where i told it to link.
-
- Registered User
- Posts: 4
- Joined: Thu Dec 27, 2012 9:37 am
Re: Header links
Ever thought of purging your cache in acp after each html edit?
(instead of centering the logo (what i did in the above code) you could also adjust the forum width to the width of the logo ... or any other trick to make it look better
)
PS... read >>THIS<< to make the path of the link "home" relative again (or play with it until it works)
EDIT: sorry but i don't see any transparent logo

Code: Select all
<div id="top_logo">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td height="150" align="center" valign="middle"><a href="YOUR LINK"><img src="./styles/black_pearl/imageset/sitelogo_small.png" width="150" height="150" alt="" title="" /></a></td>
<td align="center" valign="middle"><h1></h1><span class="gen"></span></td>
<td align="right" valign="top"> </td>
</tr>
</table>
</div>
(instead of centering the logo (what i did in the above code) you could also adjust the forum width to the width of the logo ... or any other trick to make it look better

PS... read >>THIS<< to make the path of the link "home" relative again (or play with it until it works)
EDIT: sorry but i don't see any transparent logo
-
- Registered User
- Posts: 227
- Joined: Tue Jul 21, 2009 7:01 pm
- Location: Rotterdam, Netherlands, Europe, Earth.
- Name: Joshua 203
Re: Header links
Ok, so trying to keep most of my design edits inside the css file instead of inside the html. Some pretty weird stuff is going on, probably because i dont understand javascript at all and only some php and am trying to find where to make the changes i want to make to this. I agree the images are loading slow as crawling dog poo and not sure why, i resized to specific sizes because the board is not scalar and it makes no difference that i can see. The buttons i was able to add show up sometimes after a page already loads and resizes all of the text when it does load even though nothing i added edited font sizes. /shrug/
i edited the index.php and added the 3 buttons on the left before the include for the index_body.html in order to get it to show up. Adding them as a div in the index_body.html had no effect. Not the way i would prefer to do this but have to integrate the forum into the rest of the site because well a forum is not a site. I think it is the z-index that it is having problems with at the moment though not sure why. When you log in, the forum loads then the buttons load and when they load it auto resizes all the fonts on the page and makes it look terrible.
i edited the index.php and added the 3 buttons on the left before the include for the index_body.html in order to get it to show up. Adding them as a div in the index_body.html had no effect. Not the way i would prefer to do this but have to integrate the forum into the rest of the site because well a forum is not a site. I think it is the z-index that it is having problems with at the moment though not sure why. When you log in, the forum loads then the buttons load and when they load it auto resizes all the fonts on the page and makes it look terrible.
-
- Registered User
- Posts: 4
- Joined: Thu Dec 27, 2012 9:37 am
Re: Header links
Another note, I have noticed that it pre-loads the buttons with z-index 10 without the margin adjustments before loading the forum page but then it disappears when it loads the page and then reappears and jacks up the fonts.
-
- Registered User
- Posts: 4
- Joined: Thu Dec 27, 2012 9:37 am
Re: Header links
I can hardly follow what you are trying to explain... maybe because you are drifting waaay off topic (topic was only header link) or maybe because I had an anastetic today and am still recovering
....but uuuhm since you are still at the very start of setting up a site (including a forum) it may be a good time to drift even more off topic and help you make up your mind about what you need to get what you want?
For example:
- Would a forum with a portal (modified to suit your needs) be like a site to you? or would it still "not be a site"?
- Do you really want phpbb to be the engine of your site/forum? or would you like to take the easy road and use something with a CMS, a portal, numerous MODS to choose from, etc etc .. build in?
Sure I could start bug hunting and fire all of them at you, but I think it would easily make you loose interest in your project
(maybe I'm wrong).
For example...
Anyway....
What I was trying to question was if a phpbb3 forum with certain mods and a portal would be better for you than having two or more different things (front page/forum/events callendar) pushed together to create a "site"...or use one thing to do the "same"!
Once you make up your mind and the answer would be "mods/portal/phpbb3 is good enough... then I think it would be good to take a look >>HERE<< and see what's best for you (it mostly depends on how much you want to manually edit to get what you want and how much skills you (want to) have.
NOTE: both phpbb and IcyPhoenix can be used with Black Pearl style (as the author is one and the same [MG])
Let me know what you think!

For example:
- Would a forum with a portal (modified to suit your needs) be like a site to you? or would it still "not be a site"?
- Do you really want phpbb to be the engine of your site/forum? or would you like to take the easy road and use something with a CMS, a portal, numerous MODS to choose from, etc etc .. build in?
Sure I could start bug hunting and fire all of them at you, but I think it would easily make you loose interest in your project

For example...
Example Bug wrote:
In your main entrance page/portal (index.html):Code: Select all
<div class="nav">
<ul>
<a href="http://www.krathians.com"><img src="./images/home_0.jpg"></a><br>
<a href="http://www.krathians.com/phpbb3/"><img src="./images/forum_0.png"></a><br>
<a href="http://www.krathians.com/events/"><img src="./images/events_0.jpg"></a><br>
</ul>
</div>
Where do you close the 3 image tags?
Anyway....
What I was trying to question was if a phpbb3 forum with certain mods and a portal would be better for you than having two or more different things (front page/forum/events callendar) pushed together to create a "site"...or use one thing to do the "same"!
Once you make up your mind and the answer would be "mods/portal/phpbb3 is good enough... then I think it would be good to take a look >>HERE<< and see what's best for you (it mostly depends on how much you want to manually edit to get what you want and how much skills you (want to) have.
NOTE: both phpbb and IcyPhoenix can be used with Black Pearl style (as the author is one and the same [MG])
Let me know what you think!

Last edited by Joshua203 on Wed Jan 09, 2013 3:11 am
-
- Registered User
- Posts: 227
- Joined: Tue Jul 21, 2009 7:01 pm
- Location: Rotterdam, Netherlands, Europe, Earth.
- Name: Joshua 203
Re: Header links
PS.. You can even compare the site of the link I gave to the site in my signature...
[*] NOTE: keep in mind that the events calendar I use is a privatly modified build of Alightner's abandoned calendar, so you can only have it like this if I would ever release it somewhere.
(it's a pretty hard task to repair the original and make it function correct in black pearl (and other styles ..as far as I know)
The calendar in icyphoenix should be ready to go once activated and set up.
- Site in my sig = heavilly modified phpbb3 software with a not included portal ! (needs alot of work to make it like this)
- Site in the "compare" link = unmodified IcyPhoenix software with a portal included ! (making it look like this is just a matter of settings)
[*] NOTE: keep in mind that the events calendar I use is a privatly modified build of Alightner's abandoned calendar, so you can only have it like this if I would ever release it somewhere.
(it's a pretty hard task to repair the original and make it function correct in black pearl (and other styles ..as far as I know)
The calendar in icyphoenix should be ready to go once activated and set up.
-
- Registered User
- Posts: 227
- Joined: Tue Jul 21, 2009 7:01 pm
- Location: Rotterdam, Netherlands, Europe, Earth.
- Name: Joshua 203