We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
[ C ] Replace icon for pinned topics
Topic Started: Dec 22 2014, 03:34 PM (184 Views)
Kankuro
Member Avatar
かんくろ
[ *  *  *  *  * ]
Test board for now.
Zeta
I'm looking to replace the image for pinned topics only.
In short, I want what is in the red box to be able to be changed to the image I wish.
Posted Image
Offline Profile Goto Top
 
Xero
Member Avatar
Member
[ *  *  *  * ]

Put the following code in the top of each of your Theme Layout sections for each theme. Then change the "REPLACEME" part of that code to be the direct link to the image you want there for each theme that you're applying it to. DO NOT remove the apostrophes ('). Only replace the text inside of it.

Example of an image direct link: http://z4.ifrm.com/static/1/t_nonewpost.png
Code:
 
<script type='text/javascript'>
var new_pinned_image = 'REPLACEME';
</script>




Place this code in the Below the Board section of your board template.
Code:
 
<script type='text/javascript'>
if(/forum/.test(location.href)){
$('tr.pin > td.c_cat-mark > img').attr('src',new_pinned_image);
}
</script>


PM me if you have any further troubles dealing with this code.
Offline Profile Goto Top
 
Kankuro
Member Avatar
かんくろ
[ *  *  *  *  * ]
Cool. Though I kinda want a change. PMed you.
Resolved in PM
Edited by Kankuro, Dec 22 2014, 05:21 PM.
Offline Profile Goto Top
 
Helena
Member Avatar
M is for Mod

Completed!

Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Closed Requests · Next Topic »
Locked Topic