miniBB Support Forums
|
Forums
|
Register
|
Reply
|
Search
|
Statistics
|
Manual
|
miniBB Support Forums
/
Master Class
/
Extended BB-Codes
Indyaner
Guest
#1
|
Posted: 24 Mar 2007 14:04
HI
Is there a chance to extend the existing BB-Codes? For Example, would it be cool if there are <li> Tag when i write * in the post.
There are several extensions in the bb_codes.php. But are they only for later versions or is it possible to enable them yet?
Or maybe better: A howto include own regexp to the right loactions to extend the bb-code-fuction in favor.
ciao
2ramil
Registered
#2
|
Posted: 25 Mar 2007 15:02
Indyaner
Is there a chance to extend the existing BB-Codes?
of course. you only nedd to write correct regexp to catch bb code and correct html tag to change
There are several extensions in the bb_codes.php. But are they only for later versions or is it possible to enable them yet?
u can define any bb code you want. their functionality don't changes from one version to another.
Indyaner
Guest
#3
|
Posted: 25 Mar 2007 15:45
Yes, but how?
On wich points I have to add the lines?
I thought I could use the [CODE]-Addon to use it as an example. But the CODE-Addon doint work in my board (Its replace [CODE] with {[} CODE {]}, strange)
ciao
2ramil
Registered
#4
|
Posted: 25 Mar 2007 15:51
Indyaner
you may add your bb codes regexp in encodeBB() function. it must like [code](.*)[/code] or smth like that. in decodeBB() function you must "decode" text from html tag, for example, from <div class=\"code\">(.*)</div>. i think you will understand me
Indyaner
Guest
#5
|
Posted: 25 Mar 2007 16:10
Yeah I know what you mean, but its a hard way, because the code is'nt that simple coded. There is for example the part to blick the icon and he adds this CODE-Tags in the Text an so on.
Furthermore, I just added in the last ten minutes the Smiley-ADdons, And nothing happends. Somethings around here goes VERY strange... I dement a Troubleshooting-list =/
ciao
Paul
CEO
#6
|
Posted: 26 Mar 2007 05:22
|
Edited by: Paul
Indyaner
You need to be a coder, often a professional coder to implement these things. Or - refer to our
paid support
.
miniBB core is not for newbies.
Indyaner
Guest
#7
|
Posted: 26 Mar 2007 05:47
Im not a professional but i code php for over 3 Years so I got a certain knowledge.
The problem was that the Readme for the CODE-Addon was for an older version. The Readme says "on top of the page" And the function to insert the code is nor on the bottom so the two additional code-segments were pasted in the wrong decode/encode-functions...
ciao
Paul
CEO
#8
|
Posted: 26 Mar 2007 12:44
What do you mean by CODE-Addon actually? I can't remember we have such addon in Downloads.
2ramil
Registered
#9
|
Posted: 27 Mar 2007 04:16
Indyaner
i think you must use
Automatic script tabbing
, it's easier in setup and better in actions.
Paul
What do you mean by CODE-Addon actually?
it's
http://www.dewmill.com/minibb.html
but i don't understand what is it doing at all when i set up it. it adds { and } in the begging and at the end of any string which is in [code] bb-code :)
Paul
CEO
#10
|
Posted: 27 Mar 2007 06:51
Well, I understood about the "Code" addon - actually it's programmed by Rickard Armiento, and this is the person you should give any questions to. His email address is mentioned in the README file and on the site. Nobody from our team may respond and be responsible for 3rd party addons.
In general I've installed this addon and it works. So I don't know where is the problem on your side ;-)
miniBB Support Forums
/
Master Class
/ Extended BB-Codes
↑
Top
Your Reply
Short link for this topic:
?
You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.
Before posting, make sure your message is compliant with our
forum posting rules
. If not, it may be locked or deleted with no explanation.
News & Announcements
FAQ
How To
Bugs
The Other
Official Addons and Solutions
Custom Tutorials and Modifications
Master Class
Specific
Re-cycled
Suggestions
Testimonials
qwerty
Features
Requirements
Demo
Download
Showcase
Gallery of Arts
Compiler
Premium Extensions
Premium Support
License
Contacts
Did you know that you may be allowed to hide miniBB credits
and
remove miniBB's copyright notice
?