vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - BBR - Resize Images with lytebox v3.22 (https://vborg.vbsupport.ru/showthread.php?t=230411)

DigitalDark 01-12-2010 10:24 PM

I've set my forum to doc_width 980 px. It would be great to integrate this plugin with cms, blog, profile comments, and private messages. The images are over the width of my style.... Thanks for this mod!

Skyrider 01-14-2010 01:52 PM

Installed the latest version on 4.0.1, getting the error:
Quote:

if ($vbulletin->options['bbr_image_active'] && $vbulletin->options['bbr_lytebox_active']) { if (in_array(THIS_SCRIPT, array('showthread', 'showpost', 'blog', 'entry', 'vbcms'))) { $vbcsspath = 'css.php?styleid=' . $vbulletin->userinfo['styleid'] . '&langid=' . LANGUAGEID . '&d=' . $style['dateline'] . '&sheet='; $find = ''; $add_before = ''. PHP_EOL; $output = str_replace($find,$add_before.$find, $output); } }
at the top of the forums. Possible fix for this please? Would have been great if the older version was attached..

EDIT:

Even older version no longer works:
Quote:

if (in_array(THIS_SCRIPT, array('showthread', 'showpost'))) { $vbcsspath = 'css.php?styleid=' . $vbulletin->userinfo['styleid'] . '&langid=' . LANGUAGEID . '&d=' . $style['dateline'] . '&sheet='; $find = ''; $add_before = ''. PHP_EOL; $output = str_replace($find,$add_before.$find, $output); }
I like this plugin, and I really hope this can be fixed.

BBR-APBT 01-14-2010 02:27 PM

How are your storing your css files?

adminCP -> Settings -> Options -> Style & Language Settings -> Store CSS Stylesheets as Files?

Yes or No
Should be set to no.

BBR-APBT 01-14-2010 02:29 PM

Quote:

Originally Posted by DigitalDark (Post 1953975)
I've set my forum to doc_width 980 px. It would be great to integrate this plugin with cms, blog, profile comments, and private messages. The images are over the width of my style.... Thanks for this mod!

This currently works with forums and blogs,

I plan to add:
Visitor Messages
Blog Comments
Calendars
Private Message

I will add cms when ever there is enough hooks.

Currently I am working on my personal stuff.

Skyrider 01-14-2010 02:38 PM

Quote:

Originally Posted by BBR-APBT (Post 1955552)
How are your storing your css files?

adminCP -> Settings -> Options -> Style & Language Settings -> Store CSS Stylesheets as Files?

Yes or No
Should be set to no.

That explains it, but yes.. They are set to yes, and I personally prefer them stick on yes as well.

BBR-APBT 01-14-2010 02:53 PM

Quote:

Originally Posted by FF|Skyrider (Post 1955569)
That explains it, but yes.. They are set to yes, and I personally prefer them stick on yes as well.

Well currently it will not work if the css is stored on the file system.

As vbulletin did not allow us the option to add our css to their css rollup.
So I do not see a fix for this for a few weeks unless I recode all of this just for a few weeks and thats a little to much work for a temp fix. Basically I will have to have two versions.

I would like my css stored in file system too but I have several mods that will not allow me to right now.

Skyrider 01-14-2010 02:59 PM

Quite a shame honestly :(, but thanks for your help.

BBR-APBT 01-14-2010 03:10 PM

Quote:

Originally Posted by FF|Skyrider (Post 1955592)
Quite a shame honestly :(, but thanks for your help.

Go ask vBulletin to hurry up with 4.0.2 although I have almost all the bugs fixed on my 4.0.1 copy.

I can't do nothing about it. As I said to rewrite that to work for a free mod for 2 weeks is just crazy. My time is more valuable then that.

Skyrider 01-14-2010 03:19 PM

Quote:

Originally Posted by BBR-APBT (Post 1955603)
Go ask vBulletin to hurry up with 4.0.2 although I have almost all the bugs fixed on my 4.0.1 copy.

I can't do nothing about it. As I said to rewrite that to work for a free mod for 2 weeks is just crazy. My time is more valuable then that.

I just switched the CSS file storage to no, and I still receive the same errors as above.

BBR-APBT 01-14-2010 03:51 PM

Quote:

Originally Posted by FF|Skyrider (Post 1955611)
I just switched the CSS file storage to no, and I still receive the same errors as above.

Then something else is wrong I just imported this on my live site last night and it works on 4.0.1

It should not parse php as plain text. Did you clear your cache?


All times are GMT. The time now is 01:04 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.01548 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
  • (8)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