You are not enjoying the benefits offered by registering. To register click here...
  
Forums | Prefs | Your Messages | Members | Recent | Search
Quick Search


Advanced Search
| Calendar | Doc | Dev' Blog! |
Chat (Alpha Version)

Guest, do not forget to login ( Register )
 Top > Forums > Announcements > Chris' Diary
 Wiki: add these

Skin Selection:
 (1 pages) 1  
chris

The Culprit
Group: Admins
Posts: 1,516
Reputation: 38


Posted on Mar 12, 2007, 4:26 am by chris
Wiki: add these
1. How do I write a converter?
2. How do I write a router?
3. How to I write a hack?
4. How do I add custom php BB code?

 
Top

Jasper

Public Speaker
Group: Testers
Posts: 561
Reputation: 10


Posted on Mar 12, 2007, 9:03 am by Jasper
Cool stuffs for wiki

Btw, what do you mean by "custom php bb code"

You mean like the syntax highlight, or something else?

php Code:
  1. <?php echo "What do you mean?"; ?>


Last edit by Jasper on Mar 12, 2007, 9:07 am
doesn't come here often, cause he has no free time ;_;
 
Top

chris

The Culprit
Group: Admins
Posts: 1,516
Reputation: 38


Posted on Mar 13, 2007, 7:30 pm by chris
No, I mean that, even though you can handle 99% of your BB code customization in the ACP, there is still the case of super duper fancy code that needs its own php coding to perform.
There is a couple hooks in the source code to easily add custom complex BB code.

 
Top

Jasper

Public Speaker
Group: Testers
Posts: 561
Reputation: 10


Posted on Mar 13, 2007, 9:04 pm by Jasper
oh that would be awesome.

Btw, is there a way to make a custom bb code that allows html. Sort of like [parsehtml]<something>[/parsehtml]
Oh and something to show bb code example without the need of [.code] such as [nobb][.b]bold example[./b][/nobb]
doesn't come here often, cause he has no free time ;_;
 
Top

chris

The Culprit
Group: Admins
Posts: 1,516
Reputation: 38


Posted on Mar 14, 2007, 3:14 am by chris
Well its definitely the purpose of [code], where else would you need it?

 
Top

Jasper

Public Speaker
Group: Testers
Posts: 561
Reputation: 10


Posted on Mar 14, 2007, 8:05 am by Jasper
[code] doesn't always look that great, for example.

I actually tried the above with [code] originally and it made the post twice as long and it looked ugly. Plus it couldn't be used consistently because of the reason I give below:

It sometimes doesn't work (you can't show [code] inside [code])



Last edit by Jasper on Mar 14, 2007, 8:08 am
doesn't come here often, cause he has no free time ;_;
 
Top

chris

The Culprit
Group: Admins
Posts: 1,516
Reputation: 38


Posted on Mar 14, 2007, 5:13 pm by chris
I see.

Well, to address your first comment: you could style [code] using the sylesheet.

 
Top

 (1 pages) 1 - Flat Mode | Threaded Mode  
Quick Jump:

         
Page generated in 0.04 seconds (Queries: 0.00) - Cpu: 0.68
Total DB [adodb:mysql] queries: 14
Total Strings Translated: 14
Powered by NextBBS SE v0.4.5 - Copyright © 2007 CFR & The NextBBS Team
Chatbox powered by smiletag