473,836 Members | 2,225 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Configuring BBCode

114 New Member
i am adding dynamic contents in my website. So i also want to have a news or announcements to be dynamically displayed. But for this i need to use BBCode. But in reference to this, i dont know how the BBCode parser should be configured. Is it to be configured by ourselves or will it be done by the hosting ISP. And will the [table] tag be supported by BBCode?
Aug 11 '08 #1
8 1842
pbmods
5,821 Recognized Expert Expert
Heya, Raaman.

The first step is to get in touch with your hosting provider and see if they have installed the BBCode extension for PHP (http://php.net/bbcode).
Aug 11 '08 #2
raaman rai
114 New Member
thanku for your reply. I came to know from my ISP that these configurations are not done in their server (Linux Based). So i wanna know how i should go about to implement BBCode on my own. I mean i think i will be able to configure it in my machine by finding it from the net but i dont know how i have to maitain it so that the whole configuration can remain intact even when i upload my files in the server. Please waiting for your help.
Aug 12 '08 #3
raaman rai
114 New Member
Guys, in my last post i asked about BBCode and i got the answer that hosting ISP might configure themselves. But i queried my ISP and they havent. So i now i need to know how i can use BBCode on my own. I mean how can we implement BBCode from our side without relying on the ISP. i need to know a mechanism by which BBCode can be implemented for my pages without having to ask the ISP for its configuration. Is it possible to do that?
Aug 12 '08 #4
Markus
6,050 Recognized Expert Expert
BBCode is simply searching and replacing pseudo html tags with their real counterparts.

You can use str_replace or even preg_replace (regular expressions)

Read up on both of these on the http://php.net manual.
Aug 12 '08 #5
pbmods
5,821 Recognized Expert Expert
If the BBCode extension is not installed, you can use one of the popular BBCode classes (http://www.google.com/custom?domains...sses.org&hl=en).

phpBB uses BBCode_Parser.
Aug 13 '08 #6
raaman rai
114 New Member
hello, thankyou for your help but i am very new to this and therefore i would appreciate if you could give me a good direction on this. You said to use some popular BBCode classes but i dont know how to go about and how i can integrate. Please help me on this!
Aug 13 '08 #7
raaman rai
114 New Member
i have been wanting know badly that how can i integrate readymade bbcode classes in my pages. i need the idea how it is done usually and also want to know which bbcode class is very popular. A step by step direction on this would be verymuch appreciated.
Aug 18 '08 #8
pbmods
5,821 Recognized Expert Expert
I have merged your duplicate threads. If you want to "bump" your topic, you may reply to your original post only. Do not double-post your questions.
Aug 18 '08 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

1
3811
by: Dave Moore | last post by:
Hi All, I'd like enable visitors to my website to use bbcode and emoticons whilst entering text into a form. Are there any standard lumps of php/javascript I can use for this purpose?. In particular the encoder/decoder for the emoticons & bbcode and any examples of form layouts for textual input with all the appropriate '' and emoticon buttons?. Ta in advance, Dave
1
1557
by: Rob Meade | last post by:
Hi all, Back on the bbcode parsing (again)... Having a few problems now with nested tags - it would seem that I had written my test string in a way that worked perfectly with the parser - until I changed the order of the parser - then it stopped working... I'm assuming my problem is down to things like this:
1
1666
by: 如履薄冰 | last post by:
BBcode reference: http://www.phpbb.com/phpBB/faq.php?mode=bbcode I want write a BBcode module in Python, but I'v not idea for this. Who can tell me about this arithmetic? ( I'm so sorry for my poor englist)
6
61586
by: Thaqalainnaqvi | last post by:
IPB WARNING mysql_query() : Unable to save result set (Line: 457 of /ips_kernel/class_db_mysql.php) There appears to be an error with the database. You can try to refresh the page by clicking here. Error Returned mySQL query error: SELECT MIN(pid) as pid FROM ib_posts WHERE queued=0 AND topic_id=85734 AND post_date 1160298086 LIMIT 0,1
0
1040
by: Will McGugan | last post by:
Hi, I have written a BBCode parsing module that may be of use to some people. It turns BBCode in to XHTML snippets. See the following page if you are interested... http://www.willmcgugan.com/2007/03/10/bbcode-python-module/ Will McGugan
8
5345
by: Matthias S. | last post by:
hi there, i'm desperately looking for an HTML to BBCode (and vice versa) converter, either as a COM component or vbScript for use in an ASP (not .NET) web-application. i sure could write one on my own, but my vbscript/COM skills are a little rusty since I work with C# and .Net for almost the last decade. does anyone know of something or has a snippet of code in his/her bottom drawer? any hint/help is greatly appreciated.
1
3884
by: Toni | last post by:
Where can I find BBCode editor (editor for forums and blogs) for ASP.NET. I need editor like FreeTextBox (but BBCode, not HTML like FreeTextBox). I need source code or control. Where can I find it? Thanx
10
2254
TheServant
by: TheServant | last post by:
Another thread sparked an interest: With using BBCode, do you have to install that package or is it the browser that recognises it? I would like to make my own for my website to let certain users edit the code (without needing to know html) and so I was just wondering where I should look. Most of the links refer to phpBB forums, but this will be using my own code on my site. Alternatively, if this is not available, do any of you know a good...
2
3745
by: bgold12 | last post by:
I already posted this message, but it didn't work or something. So if this is a duplicate, ignore it. I just can't figure out how to install this extension. From what I understand, there needs to be a .dll file located in the extensions folder in the php root directory, and there needs to be a line in the php.ini file that is uncommented that loads the .dll extension. But which .dll is it? Is it already in that folder, or do I need to...
0
9810
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10819
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10570
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9355
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6972
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5811
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4438
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4000
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3100
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.