Different Icon for each main forum (unexpected behaviour)
3 posters
Page 1 of 1
Different Icon for each main forum (unexpected behaviour)
Technical Details
Forum version : #PunBB
Position : Founder
Concerned browser(s) : Mozilla Firefox
Who the problem concerns : All members
When the problem appeared : When clicking on a category that has sub forums
Forum link : http://revelation.hungarianforum.com/
Description of problem
I tried to make different icon for each main forum category (Általános, Kasztok etc.) I tought I finally found a solution, I came across a bug that I couldn't solve anyhow. So the problem is when I click on a category that has sub forums in it, it's going to tranfer all the custom icons to that page as well, and I don't want it to happen.To see the error in action visit: http://revelation.hungarianforum.com/ and either on "Kasztok" or "Dungeon/Boss" category. (Yes, my forum is in hungarian sorry about that)
- Screenshots:
The "good part", aka the main page
The "bad part" aka a random category with subforums in it
Cause: The forum somewhy calls the "index_box" on those categories that has sub forums
What I did to achieve this state:
Added this code to the "index_box" template
- Code:
<div class="iconcontainer">
<!--Hírek-->
<a href="http://revelation.hungarianforum.com/f5-hirek">
<div style="position: absolute; left:8px;top:105px;">
<img src="https://i.lithi.io/83Cs.png" align="middle"/></div></a>
<!--Általános-->
<a href="http://revelation.hungarianforum.com/f1-altalanos">
<div style="position: absolute; left:8px;top:163px;">
<img src="https://i.lithi.io/XQPB.png" align="middle"/></div></a>
<!--Szervezett események-->
<a href="http://revelation.hungarianforum.com/f7-szervezett-esemenyek">
<div style="position: absolute; left:8px;top:290px;">
<img src="https://i.lithi.io/p2BY.png" align="middle"/></div></a>
</div>
And added this code to the CSS file:
- Code:
.iconcontainer {position: relative; width: 0px; height: 0px;}
What I want to happen?
I want the custom icons to only appear on the main page of the forum.
Last edited by Kusaha on Wed Jun 22, 2016 4:20 pm; edited 1 time in total
Re: Different Icon for each main forum (unexpected behaviour)
:bump: I really hate bumping a thread, but I desperately need some help and I don't know where else I could get some
Re: Different Icon for each main forum (unexpected behaviour)
I don't understand the problem. Perhaps you could screenshot it?
Re: Different Icon for each main forum (unexpected behaviour)
as no reply i will now lock this 

Problem solved & topic archived.
|

» Changing the main icon logo for the forum
» New Post Icon on Main (Home) Page of Forum
» Strange forum behaviour
» Requesting for FORUM ICON, FORUM-NEW ICON, FORUM LOCKED, CATEGORY ICON
» removing calender icon on main page..
» New Post Icon on Main (Home) Page of Forum
» Strange forum behaviour
» Requesting for FORUM ICON, FORUM-NEW ICON, FORUM LOCKED, CATEGORY ICON
» removing calender icon on main page..
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum