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)

Crotan 08-02-2011 03:10 PM

Quote:

Originally Posted by Osbes (Post 2228038)
Please try the attached sprite.php

Replace this with the sprite.php in your admincp-folder and recreate the sprite.

I have added some additional Debug (starts and ends with DEBUG). if this file doesn't resolve your problem, pls send me those :)

Best regards
Sebastian

Looks like that fixed the post icons! and 14 were added for each style. No "does not exist or is not readable" error read out for any of them anymore. :up:

There are still two statusicons that it can't find however, I'm not sure what makes these any different than the usual statusicons that it's able to find and create sprites for.

Code:

DEBUG
array(3) { ["scheme"]=> string(4) "http" ["host"]=> string(14) "flotgaming.net" ["path"]=> string(7) "/forums" } DEBUG
..../forums/Seamus/statusicon/forum_new_lock-16.png (with bburl_path /forums ) does not exist or is not readable.
..../forums/Seamus/statusicon/forum_old_lock-16.png (with bburl_path /forums ) does not exist or is not readable.

I should mention the .... isn't what the mod is printing out its just my FTP directories that I'm taking out of my copy and pastes.

Just looking at it, the correct path would be
Code:

...../forums/images/Seamus/statusicon/forum_old_lock-16.png
But then again those files legitimately don't exist. My custom statusicons don't include old_lock or new_lock in 16x16 sizes only 48x48. Neither does the default vBulletin statusicons :confused:

There is however a forum_lock-16.png

giorgino 08-02-2011 03:31 PM

Hi Osbes is it impossible to have templates changes integrated in your plugin?

I don't love the TMS option (another plugin installated = risk), so I'm using the manual changes option.

I'm not a coder, but if is possible and you teach me how to do this, I offer you my time for write the code to integrate in your plugin (sorry for my english..)

Osbes 08-02-2011 03:35 PM

Hello Crotan,

good to hear, that it fixed your problem :)


To didnt miss any images, i evalutated what values are used for the statusicon in the image codes:

Code:

{vb:stylevar imgdir_statusicon}/{vb:raw forum.imageprefix}forum_{vb:raw forum.statusicon}-16.png
it is possible, that this icon never exists within vbulletin, but i will check (and remove) these after 4.1.6 first, since the mobile style use this definition and i dont know if these will be included und how much this style will be changed.

On a side note: i didnt add any templatechanges for the mobile style at present. and i wont do before 4.1.6

Best regards
Sebastian

Osbes 08-02-2011 03:38 PM

Hello giorgino,

it would be no problem to replace every perfect match of old code with new ones that use sprites, but the problem is, that it is complicated to revert such changes or update any changes.

Since the TMS does all this (and more), i didnt want to reinvent the wheel.

Best regards
Sebastian

valdet 08-02-2011 04:14 PM

Just came across this wonderful mod.

Is it possible to make this hack work for older versions of vB 3.x (3.6, 3.7 and 3.8) series.

tpearl5 08-02-2011 04:16 PM

Quote:

Originally Posted by Osbes (Post 2228187)
Hello tpearl5,

Support for SHOWTHREAD is planned for 0.8.0.

Best regards
Sebastian

Quote:

Originally Posted by Mooff (Post 2228188)
First Post:


;) :D

Missed that - thanks!

Osbes 08-02-2011 05:14 PM

Hello valdet,

since our liveforum doesn't use vBulletin 3.8.x we wont do it.

But if someone wants to port our addon to vBulletin 3.8.x, we will appreciate it.

But you are not allowed to charge money for the addon and the branding needs to be intact (but you can extend it).

So if someone wants to port our addon to vBulletin 3.8.x, feel free to do it, we will glady help.

Best regards
Sebastian

final kaoss 08-02-2011 05:47 PM

You can install a test forum with 3.8 being the installed version. Just remember the rules to password protect it & name it testvb.

Quote:

Originally Posted by Osbes (Post 2228266)
Hello valdet,

since our liveforum doesn't use vBulletin 3.8.x we wont do it.

But if someone wants to port our addon to vBulletin 3.8.x, we will appreciate it.

But you are not allowed to charge money for the addon and the branding needs to be intact (but you can extend it).

So if someone wants to port our addon to vBulletin 3.8.x, feel free to do it, we will glady help.

Best regards
Sebastian


Osbes 08-02-2011 06:03 PM

Hello extreme-gaming,
yes, that would be possible, but since the development of an vBulletin 3.8.x port of this addon wouldnt be usefull for our forum, since we didnt use 3.8.x, i wont invest time into this.

Please dont forget, that developing this addon happens beside my work and freetime :)

Best regards
Sebastian

ZeroHour 08-02-2011 07:12 PM

I am not sure why but my forum category images are cut off by a few pixels on the sprite which breaks the drop shadow effect.
Any ideas?


All times are GMT. The time now is 04:55 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.01422 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
  • (3)bbcode_code_printable
  • (4)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