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 ] Forum Markers; Show forum markers
Topic Started: May 28 2013, 12:55 PM (328 Views)
i2pm
Member
[ *  * ]
Board Address: http://w11.zetaboards.com/kvarietyshows/index/
Board Software: Zetaboards
Description: Show forum markers

Like this image, it explains exactly what I want:
Posted Image
When viewing the topics under the "normal forum" section I want there to be below the topics. Images to show what each topic status icon mean. Not sure if that's possible. I just want people to see the topic status icon when viewing topics, I don't want it to be there throughout the forum as in when you are in the main page. Only when you viewing the topics and scroll down below you see images showing what each one means.
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Admin CP Posted Image Themes Posted Image Board Template Posted Image Below the Board
Code:
 
<script type="text/javascript">
//<![CDATA[
function addStatusIcons(themeID, t_newpost, t_nonewpost, t_hotnewpost, t_hotnonew, t_pollnewpost, t_pollnonew, t_locked, t_moved) {
if (location.href.indexOf('/forum/') !== -1) {
var thmID = $('#setskin').val();

if (thmID === themeID) {
$('select[name="fid"]').parent('form').addClass('right').before('<div id="status_icons" class="meta_box" style="display: inline-block; margin: 0"><span style="display: inline-block; padding-right: 30px"><img src="' + t_newpost + '" alt="Icon" /> Open Topic (new posts)<br /><img src="' + t_nonewpost + '" alt="Icon" /> Open Topic (no new posts)<br /><img src="' + t_hotnewpost + '" alt="Icon" /> Hot Topic (new posts)<br /><img src="' + t_hotnonew + '" alt="Icon" /> Hot Topic (no new posts)</span><span style="display: inline-block"><img src="' + t_pollnewpost + '" alt="Icon" /> Poll (new posts)<br /><img src="' + t_pollnonew + '" alt="Icon" /> Poll (no new posts)<br /><img src="' + t_locked + '" alt="Icon" /> Locked Topic<br /><img src="' + t_moved + '" alt="Icon" /> Moved Topic</span></div>');
}
}
}

addStatusIcons('THEME_ID', 'http://z3.ifrm.com/static/1/t_newpost.png', 'http://z3.ifrm.com/static/1/t_nonewpost.png', 'http://z3.ifrm.com/static/1/t_hotnewpost.png', 'http://z3.ifrm.com/static/1/t_hotnonew.png', 'http://z3.ifrm.com/static/1/t_pollnewpost.png', 'http://z3.ifrm.com/static/1/t_pollnonew.png', 'http://z3.ifrm.com/static/1/t_locked.png', 'http://z3.ifrm.com/static/1/t_moved.png');
//]]>
</script>
The editable content is the addStatusIcons line and you can repeat this line as many times as you like. Change THEME_ID and each image URL as necessary. The file names (t_pollnonew, for example) will give away what image URL controls which folder icon. You can grab a themes ID by clicking Edit Theme Settings for that theme in the Admin CP and the &id= number found in the address bar is the themes ID.
Offline Profile Goto Top
 
i2pm
Member
[ *  * ]
ok thx
Offline Profile Goto Top
 
Eccentric Feline
Member Avatar
梦想
[ *  *  *  *  *  *  *  * ]
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