vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Unsupported Styles Dirs (https://vborg.vbsupport.ru/showthread.php?t=106817)

Onimua 02-04-2006 04:25 PM

Quote:

Originally Posted by gizmo4321
You have to edit the USD_INIT plugin code. The comments contained in the code explain how to set the variables.

I though about adding a configuration setting in the AdminCP, and I may still do that.

That would probably be easier. ;)

Thanks though. Installing... :)

EDIT: Sorry for the double post, but I'm not sure if you know about this:

When making a new thread, or posting a new post, the icons/smilies still show the default images rather than following the new directory. It appears as it should everywhere else though.

v3.5.3

I also get the following errors when viewing a thread:

Warning: Wrong parameter count for strncmp() in /global.php(349) : eval()'d code on line 180

Warning: Wrong parameter count for strncmp() in /global.php(349) : eval()'d code on line 180

gizmo4321 02-06-2006 12:57 PM

Quote:

Originally Posted by Onimua
That would probably be easier. ;)

Thanks though. Installing... :)

EDIT: Sorry for the double post, but I'm not sure if you know about this:

When making a new thread, or posting a new post, the icons/smilies still show the default images rather than following the new directory. It appears as it should everywhere else though.

v3.5.3

I also get the following errors when viewing a thread:

Warning: Wrong parameter count for strncmp() in /global.php(349) : eval()'d code on line 180

Warning: Wrong parameter count for strncmp() in /global.php(349) : eval()'d code on line 180


My apologies; I only just now looked at my e-mail (I'm a bad boy :) ). I'll look into this. Thanks for the feedback!

gizmo4321 02-07-2006 02:26 AM

Quote:

Originally Posted by Onimua
When making a new thread, or posting a new post, the icons/smilies still show the default images rather than following the new directory. It appears as it should everywhere else though.

Can you give me some more details on this? When I tested it, I went to an existing thread and posted a new message, and the icons showed properly.

Are you using your forum default style, or a user-selected style? Is there anything special you are doing when you post? Any other details you can give me would be helpful.

BTW, I found the strncmp bug. Turns out to be quite harmless, but I've got it fixed. Once we get to the bottom of this issue, I'll post up the patched code.

Onimua 02-07-2006 02:40 AM

Of course. :D

I was doing this with both custom skins and the default one; when making a new thread or post (not the quick reply or something) but viewing the actual newreply.php and newthread.php pages, the images (in the Icons section and in the Smilie box) I see still come from the default images rather than the ones in the new directory they should be coming from.

gizmo4321 02-07-2006 03:22 AM

I am unable to reproduce your problem. Perhaps my little bug caused more issues than I thought. Could you download the updated code and apply to your system?

Alternatively, you could go to the USD_INIT plugin and find the line with the strncmp statement, which will look like this:
Code:

        $bDoReplacement = (strncmp($Temp, '<img src="') == 0);
and replace it with this:
Code:

        $bDoReplacement = (strncmp($Temp, '<img src="', 10) == 0);
and then let me know how that affects your issue?

Onimua 02-07-2006 04:35 AM

Well, you were right on the first thing; bug fixed and no more error.

As for the second issue I'm having... Could it be cause by the fact I do not have my other skin images within the images folder, but rather elsewhere (ie, images, skin_1, skin_2, etc vs. images/*, images/skin_1, images/skin_2, etc)? I doubt that's it, since the icon replacement works elsewhere as it should except on the posting screen.

I've uploaded an image to point out exactly what I mean:

gizmo4321 02-07-2006 12:38 PM

Oh! You're talking about in the editor ToolBar!

USD doesn't currently handle the icons in the editor toolbar, but I'll tell you what; give me a couple of days and it will. :up:

Onimua 02-07-2006 01:28 PM

Quote:

Originally Posted by gizmo4321
Oh! You're talking about in the editor ToolBar!

USD doesn't currently handle the icons in the editor toolbar, but I'll tell you what; give me a couple of days and it will. :up:

Oh, well in that case your plugin works great! :D Sorry for the confusion, heh.

Thanks for this making this though. It's been very helpful (already using it on one site; planning on installing it on two more). Keep up the good work. :)

gizmo4321 02-10-2006 02:10 AM

Ok. Added support for the message editor icons.

To upgrade, you'll need to go the the USD_INIT plugin, and copy everything between the /*******************User configurables****************/

and the

/****************** End User Configurables**************/

markers. Once you've done that, import then updated product, go to the USD_INIT plugin, and paste what you copied from the old plugin back to this plugin, in the same spot.

I'll try to make it configurable from the AdminCP on the next rev. ;)

gizmo4321 05-22-2007 06:49 PM

Just upgraded my system to vb 3.6.7 PL1.

For the curious, I can confirm that this plugin appears to work just fine with vb 3.6.xxx


All times are GMT. The time now is 08:38 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.01106 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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