vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Need a full bbcode parser incl. smilies, will pay for it! (https://vborg.vbsupport.ru/showthread.php?t=150558)

isnichwahr 06-24-2007 08:54 PM

Need a full bbcode parser incl. smilies, will pay for it!
 
hi, i want to display some posts from my vb3 forum on an external page, this already works, but i dont know how to handle the bbcodes especially the smilies

can someone help me with this problem? ive tried a few free bbcode parser scripts, but none of them works fine (even not the smilies)

can i use the vb3 bbcode engine or have someone the extracted script?

i really need this code so i will pay for it, i hope someone can help me

EnIgMa1234 06-24-2007 09:00 PM

Code:

$parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
$variable = $parser->do_parse($variable,1, 1, 1, 1, 1);

And Add Under:
Code:

require_once('./global.php');
THIS:
Code:

require_once('./includes/class_bbcode.php');
at that to the script

its what i used for my rules hack

isnichwahr 06-24-2007 09:12 PM

thank you sooooo much!

is there any way to do you a favour?

EnIgMa1234 06-24-2007 09:14 PM

thats up to you but im just here to help :D

isnichwahr 06-24-2007 09:20 PM

paypal account?

jeremyalyea 12-06-2010 08:19 PM

Where is this part supposed to go?
Code:

$parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
$variable = $parser->do_parse($variable,1, 1, 1, 1, 1);


kh99 12-06-2010 08:27 PM

That's the part that does the parsing, so put it wherever you need it (but it needs to be in php code that includes vBulletin's global.php).

jeremyalyea 12-07-2010 01:20 AM

I just added that part to my external file, and its is working fine. I used BBcodes to align and resize images in posts. I am using my rss feed to feed the frontpage of my site with news stories. Thanks for everyone's help.


All times are GMT. The time now is 01:04 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.00941 seconds
  • Memory Usage 1,718KB
  • 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
  • (4)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete