vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Home Enhancements - Forum Category Icons (Advanced) (https://vborg.vbsupport.ru/showthread.php?t=244351)

john7911 10-26-2013 06:33 PM

Thank you ;)

LuisUrquilla 10-27-2013 06:15 AM

I've been looking for something like this for ages. Thank you!! How is it that this never made it to Mod of the Month?

ikymbo 10-28-2013 11:39 AM

Quote:

Originally Posted by Slipperyduck (Post 2452583)
vBulletin 4.2.2

When in the Admin panel I get the following:


Warning: Function eregi() is deprecated in ..../adminpanel/forum.php(248) : eval()'d code on line 12

^ I get one Warning for every icon created, ie. I have 19 Warnings and have 19 custom Icons

----------------------------------------------------------------------------------------------------------------------------------
I'm assuming its the Plugin Template : Forum Category Icons [Forum Manager Edit]

if($image != ".." && $image != "." && $image != "lock.png" && (eregi('\.(jpg|gif|png)$', $image)))

^ where the eregi function is depreciated?

I've changed mine to the following and it seems to work (I'm assuming - don't see a problem yet):

if($image != ".." && $image != "." && $image != "lock.png" && (preg_match('/\.(jpg|gif|png)$/i', $image)))


Work , thanks you bro !:D

mikez006 11-02-2013 05:36 PM

for people having issues with icons not showing up on subforums

open product-forumcategoryicons.xml

Find
$vbulletin->templatecache['forumhome_forumbit_level1_post'] = str_replace($find1, $replace, $vbulletin->templatecache['forumhome_forumbit_level1_post']);

Change "find1" to "find". Save, reupload and it'll work.

onfranco 11-22-2013 07:18 AM

hi . i have a problem with icon in sub forum . i dont know to solve the problem

icon ok in forum http://www.ricercaprofessionista.com/forum.php

but in sub forum not appears icons http://www.ricercaprofessionista.com...php?2-Economia

help me please

thx

tbworld 11-22-2013 08:09 AM

Please read through the thread, that subject has been covered a few times. :)

billstelling 11-23-2013 03:41 PM

What about here?
Code:

        $find1 = trim(preg_replace('#^\$final_rendered =

\'(.*)\';$#s', '\\1', compile_template('<img src="{vb:stylevar imgdir_statusicon}/{vb:raw

forum.imageprefix}forum_{vb:raw forum.statusicon}-48.png" class="forumicon"

id="forum_statusicon_{vb:raw forum.forumid}" alt="" />


billstelling 11-23-2013 07:51 PM

Quote:

Originally Posted by Dark_Wizard (Post 2059884)
Nice idea...not sure how to implement it since developers that design skins, styles etc...put their status icons into different locations i.e. images/skin name/statusicon or cpstyles/skin name/statusicon. There is no consistency....
Anyone else looking for this feature?


I am.. I run multiple themes and it would be nice to see it call to a specific theme. Being able to set by theme would be a big plus. Also, would it be possible to code it so we can use it the same as the stock setup were you have forum_new-48 and forum_old-48.. I know I will get some +++++ing if they "cant tell if the forum has new posts or not.

Setting icon padding per forum would be nice as well, we can do size now but no way to center them all independently if using different sizes without coding it in manually. No biggy really, but it would be a nice addition to the mod.

Quote:

Originally Posted by Dark_Wizard (Post 2059884)
One way is to move the icons to a folder under the statusicon folder and then set it in the forum manager per style/skin...let me think on this a bit.

I did that for it to make it easy for staff to do them without ftp. I use the icons folder for it and created a sub folder for them and other graphics. Works great doing it that way, being able to set for staff to up smilies opened the door to be able to do it with all graphics. All you have to do is edit for the path in the templates.

As the design admin for them I did not have ftp access(only the main site team has access) so I had to come up with a way to up graphics without having to bug the head office all the time. I did this theme using the icons folder for pretty much all its graphics. Most of the others I had already created before I updated the site to vb4 so only a few refinements for them there..

https://vborg.vbsupport.ru/external/2013/11/8.png

onfranco 11-25-2013 06:41 AM

no, dont work icon is sub forum .

this is ok = http://www.ricercaprofessionista.com/forum.php

this is not ok = http://www.ricercaprofessionista.com...php?2-Economia

www.ricercaprofessionista.com

i see other template modification in yours last post but dont do nothing

billstelling 11-25-2013 02:29 PM

Works fine for me. The bottom 2 are the default vB as I have yet to create a graphic for those categories yet.

https://vborg.vbsupport.ru/external/2013/11/13.png


All times are GMT. The time now is 06:37 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01946 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete