WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You

WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1Customize forum image for PunBB  Empty Customize forum image for PunBB Tue Dec 18, 2012 9:30 am

magicm00n

magicm00n
Registered Member
Registered Member
This code only works for phpbb3:
Code:
$(function(){

$('a.forumtitle:contains("FORUM 1 NAME")').parents('.icon').css('background' , 'url(IMAGE URL) no-repeat 10px 50%');

$('a.forumtitle:contains("FORUM 2 NAME")').parents('.icon').css('background' , 'url(IMAGE URL) no-repeat 10px 50%');

$('a.forumtitle:contains("FORUM 3 NAME")').parents('.icon').css('background' , 'url(IMAGE URL) no-repeat 10px 50%');

});

What do I need to change in that code to make it work in PunBB?

2Customize forum image for PunBB  Empty Re: Customize forum image for PunBB Wed Dec 19, 2012 6:06 am

magicm00n

magicm00n
Registered Member
Registered Member
bump i need some help D:

3Customize forum image for PunBB  Empty Re: Customize forum image for PunBB Thu Dec 20, 2012 5:45 pm

magicm00n

magicm00n
Registered Member
Registered Member
This problem has been resolved. Very Happy

4Customize forum image for PunBB  Empty Re: Customize forum image for PunBB Fri Dec 21, 2012 3:18 pm

Sanket

Sanket
Administrator
Administrator
Can you post the solution for others to refer in the future?

http://www.webartzforum.com

5Customize forum image for PunBB  Empty Re: Customize forum image for PunBB Fri Dec 21, 2012 4:03 pm

magicm00n

magicm00n
Registered Member
Registered Member
For PunBB just edit it in the template instead of using javascript.

Find this codes in index_box:
Code:
  <td class="tcl" style="padding-right: {catrow.forumrow.INC_LEVEL_RIGHT}; padding-left: {catrow.forumrow.INC_LEVEL_LEFT};">
                        <span class="status" style="margin-right: -{catrow.forumrow.INC_WIDTH_ICON}; margin-left: -{catrow.forumrow.INC_WIDTH_ICON};">
                            <img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
                        </span>
                        <h{catrow.forumrow.LEVEL} class="hierarchy"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumtitle">{catrow.forumrow.FORUM_NAME}</a></h{catrow.forumrow.LEVEL}>
                        <br />
                        {catrow.forumrow.FORUM_DESC}

And replace it with these:
Code:
 <td>
    <a href="{catrow.forumrow.U_VIEWFORUM}" class=
                "forumtitle">{catrow.forumrow.FORUM_NAME}</a>
                <br />
                <div class="tgeimages">
                  {catrow.forumrow.FORUM_DESC}
                </div>

That's it Smile

6Customize forum image for PunBB  Empty Re: Customize forum image for PunBB Wed Feb 13, 2013 10:56 am

Brian Mitchell


Registered Member
Registered Member
Thanks for sharing the solution. It was helpful.

7Customize forum image for PunBB  Empty Re: Customize forum image for PunBB Fri Oct 25, 2013 11:59 pm

Petermichael


Registered Member
Registered Member
Thanks guys..

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum