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)
-   -   Board Optimization - United-Forum CSS Sprites - ludicrous speed - NOW! (https://vborg.vbsupport.ru/showthread.php?t=266696)

giorgino 07-18-2011 07:36 AM

1 Attachment(s)
Hi Sebastian :)
I mean the forum custom icons, see the pict

giorgino 07-18-2011 07:38 AM

The mod I use for custom icons is https://vborg.vbsupport.ru/showthread.php?t=244351

klaus 07-18-2011 07:44 AM

Works great for me on vb414. There are less requests like promised.

However I use Absolute path (http://cdn.domain.com/forum/image/buttons vs. images/buttons) in my image_dir style vars and this plugin doesn't seem to support it when I run the "refresh".

Overall I think this is a very significant performance enhancer that VB should have built into the software about 2 years ago. Thank you for writing this add-on and keep it going.

Mooff 07-18-2011 07:44 AM

@giorgino
The way you use that mod seems to be no different than the basic vb4 setting (forum prefix).

check our board. We have different icons for almost all our games - starcraft2, tiberium twilight, tiberium wars, red alert3....
www.united-forum.de

giorgino 07-18-2011 07:53 AM

Quote:

Originally Posted by Mooff (Post 2221834)
@giorgino
The way you use that mod seems to be no different than the basic vb4 setting (forum prefix).

check our board. We have different icons for almost all our games - starcraft2, tiberium twilight, tiberium wars, red alert3....
www.united-forum.de

I've tried to install your mod that work but it reset the forums custom icons to default icons... what's wrong?

Osbes 07-18-2011 07:56 AM

@giorgino
The feature to use forums custom icons is builtin in vBulletin 4. You can add to every forum an own imageprefix, so it will use forums custom icons. If you use the vBulletin imageprefix for your your forums, these icons will instantly added to the sprite.

If you want to further use the Forum Category Icons addon, i can create you a plugin, so this icons will also added.

But i would advise you to use the builtin solution from vBulletin, so you didnt need an extra addon and an extra plugin from us on top of this.
This could make your workload during every vBulletin Update easier (less addons and plugins = less problems)

###

@klaus
Can you send me the output, when using an absolute path, via PN? This would help me finding the problem :)

Best regards
Sebastian

doctorsexy 07-18-2011 08:11 AM

Will give it till it can be loaded with less fuss... looks good :D:up:

giorgino 07-18-2011 08:45 AM

Quote:

Originally Posted by Osbes (Post 2221840)
@giorgino
The feature to use forums custom icons is builtin in vBulletin 4. You can add to every forum an own imageprefix, so it will use forums custom icons. If you use the vBulletin imageprefix for your your forums, these icons will instantly added to the sprite.

If you want to further use the Forum Category Icons addon, i can create you a plugin, so this icons will also added.

But i would advise you to use the builtin solution from vBulletin, so you didnt need an extra addon and an extra plugin from us on top of this.
This could make your workload during every vBulletin Update easier (less addons and plugins = less problems)

Ouch Sebastian!
I don't know how to customize each icon per forum basis, with standard vB4 features. Can you advise me a guide to perform this? So I can uninstall the plugin and use yours?

Mooff 07-18-2011 09:23 AM

@giorgino

In the ACP go to
-> Forum Manager
-> search for the forum you want to edit
-> edit forum
-> scroll down to 'Style Options'
-> Prefix for Forum Status Images --> add your forum prefix there (you can have a different one for each forum - and you need to add the prefix in your subforums as well, if you want the special icons to show up there). For forums which should use the default icons - do nothing.

you then need icons which are named accordingly
So if your forum prefix is, let's say, 'sc2_'
you need the following additional icons
sc2_forum_new-48.png
sc2_forum_old-48.png
sc2_subforum_new-48.png
sc2_subforum_old-48.png

In your ../statusicons folder.

Mooff 07-18-2011 09:28 AM

Quote:

Originally Posted by doctorsexy (Post 2221841)
Will give it till it can be loaded with less fuss... looks good :D:up:

Unfortunately we can't make the template changes easier. :(

In order to use sprites we need to replace the image codes in those templates. And since images are widely spread around in those templates it is a bit of a hassle to replace that code.

In addition we can't just upload the whole templates cause the code inbetween the image parts might be modified heavily on some boards and shouldn't be replaced.


If anyone has an idea how to make it easier - please let us know.


All times are GMT. The time now is 02:33 PM.

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.01683 seconds
  • Memory Usage 1,745KB
  • 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
  • (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