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 ] Images next in categories
Topic Started: May 21 2013, 06:44 AM (481 Views)
i2pm
Member
[ *  * ]
Board Address: http://w11.zetaboards.com/kvarietyshows/index/
Board Software: ZetaBoards
Description: I want images next to my category thing

Here's an example of what I mean, these pictures are taken from other Zetaboards:
Posted Image
Posted Image

I want to do that for my forum where I can have images instead of the folder icon, how can I do that?
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
The forum marker images are controlled here:

Admin CP Posted Image Themes Posted Image Themes Posted Image Edit Theme Images Posted Image Edit Images (Forum Markers)
Offline Profile Goto Top
 
i2pm
Member
[ *  * ]
But I'm confused with the two images of the forum above they have different images in there forum maker.
Posted Image
Here I can only have one image as my main one to use for all my categories. How do I have different images? For example a image of a smiley face for the announcement page, a picture for a dog under the help page for example.
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 addMarker(forumID, newMarker, noNewMarker) {
$('tr[id*="forum-"]').each(function () {
if ($(this).attr('id') === 'forum-' + forumID + '') {
$(this).find('td.c_mark a').html('<img src="' + newMarker + '" alt="Regular Forum" />');
$(this).find('td.c_mark:not(:has(a))').html('<img src="' + noNewMarker + '" alt="Regular Forum (No New Posts)" />');
}
});
}

addMarker('FORUM_ID', 'NEW_IMAGE_URL', 'NO_NEW_IMAGE_URL');
addMarker('FORUM_ID', 'NEW_IMAGE_URL', 'NO_NEW_IMAGE_URL');
//]]>
</script>
Change the capitalized text as necessary, you can have as many addMarker lines as you like.
Offline Profile Goto Top
 
i2pm
Member
[ *  * ]
You want me to change this part right? "addMarker('FORUM_ID', 'NEW_IMAGE_URL', 'NO_NEW_IMAGE_URL');"

addMarker('FORUM_ID', 'http://i932.photobucket.com/albums/ad165/wua_/SNSD_Yoona_Banner_by_tifflebear.jpg', 'http://i932.photobucket.com/albums/ad165/wua_/SNSD_Yoona_Banner_by_tifflebear.jpg)

I don't get the forum ID part.
The whole link? http://w11.zetaboards.com/kvarietyshows/forum/3743073/
Just the code:
3743073
Just the name:
SNSD
Offline Profile Goto Top
 
pacisangelo
Member Avatar
Member
[ *  * ]
Just 3743073
Here:
Code:
 
<script type="text/javascript">
//<![CDATA[
function addMarker(forumID, newMarker, noNewMarker) {
$('tr[id*="forum-"]').each(function () {
if ($(this).attr('id') === 'forum-' + forumID + '') {
$(this).find('td.c_mark a').html('<img src="' + newMarker + '" alt="Regular Forum" />');
$(this).find('td.c_mark:not(:has(a))').html('<img src="' + noNewMarker + '" alt="Regular Forum (No New Posts)" />');
}
});
}

addMarker('3743073', 'http://i932.photobucket.com/albums/ad165/wua_/SNSD_Yoona_Banner_by_tifflebear.jpg', 'http://i932.photobucket.com/albums/ad165/wua_/SNSD_Yoona_Banner_by_tifflebear.jpg');
addMarker('FORUM_ID', 'NEW_IMAGE_URL', 'NO_NEW_IMAGE_URL');
//]]>
</script>
Offline Profile Goto Top
 
i2pm
Member
[ *  * ]
Thank you so much, worked like a charm! :)
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