Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives

Reply
 
Thread Tools
VBCode Limit? Details »»
VBCode Limit?
Version: , by SoloX SoloX is offline
Developer Last Online: Sep 2019 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 10-04-2002 Last Update: Never Installs: 0
 
No support by the author.

Hello,

I am using about 6 lines of HTML code that will be replaced by the vb code. The problem is that only a few lines get translated and the rest is truncated. Is there any hard limit on how many characters I can subsitute with vb code?

Thanks

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 10-04-2002, 09:13 AM
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Location: London, England.
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm really sorry but I don't understand what you mean. But if I understand you right then I don't think there is a limit. Maybe you can give an example here???
Reply With Quote
  #3  
Old 10-05-2002, 12:23 AM
SoloX SoloX is offline
 
Join Date: Jun 2002
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok. for example:

PHP Code:
<BR><A HREF='javascript:play
("http://www.abc.org/gsvposts/files/{param}.wav")'
>
<
img border="0" src="http://www.abc.org/gsvposts/speaker.gif" 
width="32" height="32"></A>
<
A HREF='http://www.abc.org/gsvposts/files/{param}.wav">text link</A><br> 

but when I run the vbcode, it only displays

PHP Code:
<BR><A HREF='javascript:play
("http://www.abc.org/gsvposts/files/aaaaaa.wav")'
>
<
img border="0" src="http://www.abc.org/gsvposts/speaker.gif" 
width="32" height="32"></A
see how it would truncate the translation?
Reply With Quote
  #4  
Old 10-05-2002, 12:48 AM
Steve Machol's Avatar
Steve Machol Steve Machol is offline
 
Join Date: Nov 2001
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The bbcodetag in the bbcode table is limited to 200 characters. You would need to change this in phpMyAdmin.
Reply With Quote
  #5  
Old 10-11-2002, 06:39 PM
SoloX SoloX is offline
 
Join Date: Jun 2002
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks ...

When I try to chnage the 200 to say 400, I get:

Quote:
MySQL said: Too big column length for column 'bbcodereplacement' (max = 255). Use BLOB instead.
when I try to use BLOB, I get:
Quote:
MySQL said: You have an error in your SQL syntax near '(400) not null ' at line 1.

I get the same response for all BLOBs (tiny,medium,large) ... please help.
Reply With Quote
  #6  
Old 10-11-2002, 07:05 PM
Steve Machol's Avatar
Steve Machol Steve Machol is offline
 
Join Date: Nov 2001
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry I have no idea. Maybe someone else will know.
Reply With Quote
  #7  
Old 10-12-2002, 10:51 PM
the_sisko's Avatar
the_sisko the_sisko is offline
 
Join Date: Oct 2001
Location: Hamburg,Germany
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

change the type to text and delete the lenght/value of it!
Reply With Quote
  #8  
Old 10-13-2002, 03:36 AM
Steve Machol's Avatar
Steve Machol Steve Machol is offline
 
Join Date: Nov 2001
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The only caution I have is that by doing this you may affect your ability to do future upgrades. It's a very slight risk but one you need to consider.
Reply With Quote
  #9  
Old 10-13-2002, 12:17 PM
the_sisko's Avatar
the_sisko the_sisko is offline
 
Join Date: Oct 2001
Location: Hamburg,Germany
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did the same some time ago and had no probs with updates. There isn't a big difference in varchar and text except the length in this case...
Reply With Quote
  #10  
Old 10-13-2002, 03:08 PM
Steve Machol's Avatar
Steve Machol Steve Machol is offline
 
Join Date: Nov 2001
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As I said there is a very slight risk. I'm going by the changes that are being made to the vB 3.0 database and some cautions posted by the Developers.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05510 seconds
  • Memory Usage 2,289KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete