Am pus hook-ul forum icons , dar iconitele nu apar unde trebuie :
Stiu ca trebuie sa fac o modificare in structura temei , dar intrebarea e care ?
Chestie ipb .
Moderators: Moderatori ajutatori, Moderatori
- NisQ
- Utilizator neserios (tepar)
- Posts: 4070
- Joined: 26 May 2011, 01:52
- Detinator Steam: Da
- CS Status: 4k hours and still countin'
- Detinator server CS: GG.FRAGWAY.COM
- SteamID: nisq4vibe
- Reputatie: Utilizator neserios (tepar)
- Location: LONDON U.K
- Has thanked: 29 times
- Been thanked: 75 times
- Contact:
To enable this feature, go to Board Index > boardIndexTemplate and find:
Next, go to Forum View > forumIndexTemplate and do the same code change.
Instead of using the regular forum icons, your forums will now use images from /public/style_images/skin_name/forum_images/
There are a couple of images already in this folder as an example. All forums (unless specified) will use default.png. If there are no new posts, the icon will be reduced in opacity (to roughly 20%), and will be desaturated to grey-scale using css in webkit browsers (Chrome and Safari).
To add your own icons, you must first find out the id of your forum (which is included in the forum URL). For example, the id of this forum which you're currently viewing (the Skin tutorials section) is 47:
Upload an image called 47.png to the forum_images folder and you're done! Too easy!
Change no to yes. Some skins (such as Dimension and Concise) will have this feature enabled by default.<if test="$this->settings['customForumIcons']='no'"></if>
Next, go to Forum View > forumIndexTemplate and do the same code change.
Instead of using the regular forum icons, your forums will now use images from /public/style_images/skin_name/forum_images/
There are a couple of images already in this folder as an example. All forums (unless specified) will use default.png. If there are no new posts, the icon will be reduced in opacity (to roughly 20%), and will be desaturated to grey-scale using css in webkit browsers (Chrome and Safari).
To add your own icons, you must first find out the id of your forum (which is included in the forum URL). For example, the id of this forum which you're currently viewing (the Skin tutorials section) is 47:
Upload an image called 47.png to the forum_images folder and you're done! Too easy!
Workin' on my sheet - https://dreambabes.co.uk/
-
- Fost moderator
- Posts: 583
- Joined: 05 Jan 2009, 21:46
- Detinator Steam: Da
- SteamID: vinovat0
- Reputatie: Fost Membru Club eXtreamCS (1 luna)
Fost Moderator - Has thanked: 6 times
- Been thanked: 8 times
Toti pasii sunt prezentati aici http://pctroubleshooting.ro/topic/16366 ... rum-icons/ , daca urmaresti acei pasi cu exactitate va merge 100%Boyka wrote:Am pus hook-ul forum icons , dar iconitele nu apar unde trebuie :
Stiu ca trebuie sa fac o modificare in structura temei , dar intrebarea e care ?
-
- Information
-
Who is online
Users browsing this forum: Bing [Bot], eternity, Mail.RU [Bot] and 417 guests