Link to the mod (https://custom.simplemachines.org/index.php?mod=3174)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fbit.ly%2FkZVDB6&hash=7836fdef4323714489209ed06cd4e4f88c199aea)
Categories Smfsimple.com Style V1
Developed by Lean (http://www.smfsimple.com/index.php?action=profile;u=1) for SMFSimple.com (http://www.smfsimple.com/)
SMF 2.0
Description:With this mod you can put a touch of personality to your style Smfsimple.com forum! You can put pictures in your category, giving your board a unique look and elegant!Descripcion:Con este mod podras ponerle un toque de personalidad a tu foro al estilo Smfsimple.com! Podras poner imagenes en tus categorias, dandole a tu foro un aspecto unico y elegante!
Features:- Enable / disable the mod from the administration
- Upload your images in the folder categories in Themes/default/categories
Caracteristicas:- Activar/desactivar el mod desde la administracion
- Sube tus imagenes en la carpeta categories en Themes/default/categories
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FPQ8t4.png&hash=c0cd5abc4f93ac4e39bb888dcd2332d0ae4aedb9)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2Fkgtwp.png&hash=85dacbfa765921d916464fafff3bb6debfabeaf2)
Note: You upload the images that you use for each category to the folder categories in Themes/default/categories.
Each image must put the name of the ID number of the category.
Images must be in png extention. You can change the png to gif or other file extention boardIndex.template.php need to edit the line:
<img src="', $settings['images_url'],'/categories/', $category['id']." png"
Where .Png be changed at will.
Nota: Debes subir las imagenes que vas a utilizar para cada categoria a la carpeta categories en Themes/default/categories.
A cada imagen debes ponerle de nombre el numero de id de la categoria.
Las imagenes deben ser con extencion png. Si quieres cambiar de png a gif u otra extencion deberas editar el archivo boardIndex.template.php en la linea:
<img src="', $settings['images_url'],'/categories/', $category['id'], '.png"
Donde .png sera cambiado por el que quieras.
Language Support | Lenguajes Soportados- English
- Spanish_latin
- Spanish_latin-utf8
- Spanish_es
- Spanish_es-utf8
Categories Smfsimple.com Style V1
Copyright 2011 | SMFSimple.com (http://www.smfsimple.com/)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.creativecommons.org%2Fl%2Fby-nc-sa%2F3.0%2F88x31.png&hash=be27368905a4a8052533722bf679594f2501899d) (http://creativecommons.org/licenses/by-nc-sa/3.0/)
Nice mod!!! Thanks!
Do you have a demo we can look at ?
Quote from: kingkingston on October 06, 2011, 03:19:16 PM
Do you have a demo we can look at ?
Hi kingkingston...
No, the screenshot is the only demo...
Sorry
Here's how it is. It is a matter of giving creative and can do many nice things! :)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2Fkgtwp.png&hash=85dacbfa765921d916464fafff3bb6debfabeaf2)
Just to clarify (And I HATE doing this, coz this topic will appear in "Replies" forever), the image for category 1 will be named 1.png? Or 1.0.png?
I tried both and, well...
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.readthesmiths.com%2Farticles%2FImages%2FHumor%2FFail%2Ffbksxv.jpg&hash=f752f7467ed08e8554ec1822d8cb86e9523fc0c6)
Can I also point out that the English:
<img src="', $settings['images_url'],'/categories/', $category['id']." png"
is subtly different from the Spanish:
<img src="', $settings['images_url'],'/categories/', $category['id'], '.png"
Note, in the Spanish, the comma, after ['id] and the full-stop (period) before png, which are different from the English.
jaja good clarification. The number of the category without the .0
Example:
YESSS!!! 1.png
BADDDD!!! 1.0.png
:)
Bugger.
Neither's working, for me.
/me goes for a fiddle-around...
Sorry, my mistake was editing
<img src="', $settings['images_url'],'/categories/', $category['id'], '.png"
Yep. That's how I took it. :)
Best to put that right, though, coz some people know less about php than even I do, believe it, or not! ;)
Just in case anyone else runs into this, the install didn't add the "categories" directory and contents to my custom themes.
If you can't get images to show, on custom themes, check that out. :)
Hi, looking for something similar but with the banners actually after the description of each section like the attached image (for 2.0 RC5 ) Thanks. :)
i tried that - and it works fine (I just did it left-aligned instead of centered) - but... - what about the "Unread messages" is located in normal next to the category name - is it possible to set a link around that pic ( eg. 1.png) which opens
http://forums-url.de/index.php?action=unread;c=[1 (ID_of_category]
cheers inti31
Addition:
that one is needed to link that image with unread messages
<a href="/index.php?action=unread;c=', $category['id'],'"><img style="color:red;font-weight:bold;font-size:18px;" src="', $settings['images_url'],'/categories/', $category['id'], '.jpg" alt="', $category['name'],'" /></a>
this mod works fine - for members - guests can't see categories - how to fix that?
Quote from: Inti31 on February 15, 2012, 11:19:58 PM
this mod works fine - for members - guests can't see categories - how to fix that?
Yes I got the same problem for guest don't work please any help about that?
thanks
Try searching for:
if (!$context['user']['is_guest'] && !empty($category['show_unread']))
and replace for:
if (!empty($category['show_unread']))
Hi!
Sorry where search this line? i'm a noob ::)
Ey!
I tried and don't work I modified BoardIndex.template.php
Thanks!
Did anyone find out why guests can't see the image? as I have the same problem and the edit above doesn't make any difference.