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)
-   -   vBExternal v1.6 (https://vborg.vbsupport.ru/showthread.php?t=83005)

chrisjp88 07-29-2006 12:22 AM

Neil, thanks a lot. Had I spent more time playing with vB rather than IPB I probably could have figured that out, but I didn't. :p
Thanks for sorting that out though, my friend is now happy with the news script.. and I don't have to find an alternative or write my own now :)

NeilFawcett 07-29-2006 01:40 PM

Quote:

Originally Posted by chrisjp88
Neil, thanks a lot. Had I spent more time playing with vB rather than IPB I probably could have figured that out, but I didn't. :p
Thanks for sorting that out though, my friend is now happy with the news script.. and I don't have to find an alternative or write my own now :)

That did the trick for you did it? Excellent...

HappyPike 07-29-2006 03:25 PM

Can you make it parse more than one BBCode? For example, I have an image tag with align option tag that also doesn't get parsed.

NeilFawcett 07-30-2006 04:41 PM

Must admit never tried an alignment... Got an example of what's not working? Does it work without the align?

HappyPike 07-30-2006 05:08 PM

Yeah, the regular img tag works. But when align option is provided, the script doesn't parse the code.

https://vborg.vbsupport.ru/

XtremeCrash 08-01-2006 11:16 AM

HI I get this error when add the codes:

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/crash74/public_html/xtremecrash/right.php on line 104

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/crash74/public_html/xtremecrash/right.php on line 227

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/crash74/public_html/xtremecrash/right.php on line 271

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/crash74/public_html/xtremecrash/right.php on line 308

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/crash74/public_html/xtremecrash/right.php on line 360

Ive been tring for the last few days to get it to and I have searched the forums top to bottom tring to figure this out. Any help will.

NeilFawcett 08-01-2006 04:15 PM

Quote:

Originally Posted by HappyPike
Yeah, the regular img tag works. But when align option is provided, the script doesn't parse the code.

[img=right]image_url[/img]

That's invalid syntax isn't it?

The closest you can get is?
[right][img]https://vborg.vbsupport.ru/[/img][/right]

Isn't it?

HappyPike 08-01-2006 07:02 PM

No, I made a custom img tag with align option. See this thread:

https://vborg.vbsupport.ru/showthread.php?t=122660

This way you can align images left or right w/o turning on HTML. :)

NeilFawcett 08-01-2006 08:31 PM

Quote:

Originally Posted by HappyPike
No, I made a custom img tag with align option. See this thread:

https://vborg.vbsupport.ru/showthread.php?t=122660

This way you can align images left or right w/o turning on HTML. :)

Well, all I can suggest you do it find occurences of [IMG=RIGHT] and replace that yourself prior to the BBCode call. Obviously where you find an occurence, you'll have to find the next [/IMG] tag to get the URL etc.

Would only take a dozen lines of code or so...

That or don't allow that tag in your news items...

By the way, I've found my home groan "More break marker" very handy... I'll PM you about that!

HappyPike 08-02-2006 06:10 AM

Thanks again for sharing the find, Neil. :up: Following your example I should be able to parse any BB code the script is not able to.


All times are GMT. The time now is 06:32 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.01524 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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