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)
-   -   BB Code Enhancements - Import / Export BBCodes as XML files (updated by BOP5) (https://vborg.vbsupport.ru/showthread.php?t=270888)

BirdOPrey5 09-27-2011 05:23 PM

Quote:

Originally Posted by Sforums (Post 2250415)
I am getting error when importing the product:

XML Error: Not well-formed (invalid token) at Line 78

Any ideas what could be the problem? Using 4.1.0 Patch Level 2

As was said there is nothing to import. Please read the instructions.

Sforums 09-27-2011 06:25 PM

Thanks guys. I must have been half asleep while reading those instructions.

BirdOPrey5 09-27-2011 08:28 PM

Quote:

Originally Posted by Sforums (Post 2250625)
Thanks guys. I must have been half asleep while reading those instructions.

No prob. Please Mark as Installed if you are using this.

OldSchoolDSL 11-18-2011 07:20 AM

Can't imagine why this isn't getting more attention. A much needed time saver.

Installed and working 4.1.8

Sarab 03-08-2012 04:30 AM

Hello,

Great work, thank you =)

I have a question, when I was in vbulletin 3.8 I was using a background bbcode where I put image URL and it make the thread background the image, but since I upgrade to vbulletin 4 it don't work =\

And I'm tired from searching everywhere for anything concern this bbcode but can't find any clue about it =.=

Anyway the replacement code was:
HTML Code:

<div style="width:100%; background-image:url({param});">
And still the old thread with it showing the background, anyway I hope if you can spend minutes to guide me how to fix it ^^"

Best Regards,
Sarab

BirdOPrey5 03-08-2012 10:30 AM

Sarab,

That replacement code has no closing <div> tag... It is not valid HTML, I can't imagine it ever worked right as it is written- if it did it was probably just some browsers rendering it improperly.

However if you modified the bbcode like this-

Code:

<div style="width:100%; background-image:url({option});">{param}</div>
That would be valid/working code... You would use it like:

[divback="/path/to/image.jpg"]div contents here...[/divback]

You would need to set "Use Option" to YES in the BBCode settings.

Sarab 03-08-2012 11:00 PM

BirdOPrey5,

I will cry of happiness T.T

It did work more then just perfect =)
but little note, the wallpaper don't show its full height unless the post contain enough lines, so can I make it independent to the lines?

I see, then maybe when it did not worked we try to fix it and ruin it more and leave it there xD

Really big thanks and I'm really grateful for helping me :D

Best Regards,
Sarab

BirdOPrey5 03-08-2012 11:13 PM

You're welcome...

If the background images are all the same height you can try this code- but if they are different heights I'm not sure if that is possible with this type of code.

Code:

<div style="width:100%; height:600px; background-image:url({option});">{param}</div>
That example should make the div 600 pixels high, you can change "600" as necessary.

Sarab 03-10-2012 04:37 AM

Thanks again =)

I see, no the height differ too much because the majority of user use random image for the background xD

But it's not a big problem since only user who wright a long post use this bbcode usually =)

Very thank you for your super help =D

Best Regards
Sarab


All times are GMT. The time now is 05:07 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.01000 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)bbcode_html_printable
  • (2)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
  • (9)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