deadpossum Posted March 29, 2007 Share Posted March 29, 2007 I'm currently working on a simple (at least I had hoped) script to pull posts from a single "news" forum from phpbb and importing it on the front page of my site. It works great except for the BBCode issues. It doesn't keep line breaks (biggest concern) as well as text colors, urls, etc (which was expected). Talking with a friend, he tells me that I'm going to have to insert some BBCode parser to make things work right. I have 3 questions regarding this: 1) is that my only answer? 2) should I try to use the phpbb BBCode parser that the forum uses? 3) should I install a custom BBCode parser instead? I did not want to use a portal because they were just over bloated for what I needed and that was simply the posts from the forum itself w/o all the extras like who's online, last post made on the forums, etc. Would it just be easier to try to strip down something like EZportal to just the info I need instead of trying to use this custom script? This is my current operational script which is then placed inside an Iframe on the main page: http://www.risingsun-kargath.net/news.phps Quote Link to comment https://forums.phpfreaks.com/topic/44831-bbcode-parsers-and-exporting-text-from-a-db/ Share on other sites More sharing options...
Guest upirate Posted March 29, 2007 Share Posted March 29, 2007 I think someone at vbulletin.org may be better able to help you! Quote Link to comment https://forums.phpfreaks.com/topic/44831-bbcode-parsers-and-exporting-text-from-a-db/#findComment-217710 Share on other sites More sharing options...
deadpossum Posted March 29, 2007 Author Share Posted March 29, 2007 vBulletin? but I'm using phpbb My question is really, what's the best way of dealing with BBCode? Quote Link to comment https://forums.phpfreaks.com/topic/44831-bbcode-parsers-and-exporting-text-from-a-db/#findComment-217722 Share on other sites More sharing options...
wildteen88 Posted March 30, 2007 Share Posted March 30, 2007 You can either use phpBB's bbcode parser or get a premade bbcode parser, like this one Quote Link to comment https://forums.phpfreaks.com/topic/44831-bbcode-parsers-and-exporting-text-from-a-db/#findComment-218303 Share on other sites More sharing options...
deadpossum Posted March 30, 2007 Author Share Posted March 30, 2007 I actually posted this question also on phpbb's forum and they have suggested that I try using phpbb fetch all does anyone have any experience with that mod? Quote Link to comment https://forums.phpfreaks.com/topic/44831-bbcode-parsers-and-exporting-text-from-a-db/#findComment-218345 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.