Staredit Network

Staredit Network -> Computers and Technical -> Custom BBCode
Report, edit, etc...Posted by justin_grant on 2006-01-17 at 22:11:38
I am working on my site, and have been for the past 5 hours tongue.gif But then I ran into a problem... I need help making a progress BBCode. I just need the Html Replacement, as I can make the rest. Also, if possible, can you please also tell me how you made the trigger one?
Report, edit, etc...Posted by Centreri on 2006-01-18 at 15:57:44
A bit more details? Is this the vBulletin BBcode creation?
If so, I think this belongs in 'Computers in Programming'. 'Website & Feedback' is for feedback on SEN, not all websites.
Report, edit, etc...Posted by Oo.Insane.oO on 2006-01-18 at 16:39:50
Yeah it does but do u mean this?

[progress]0[/progress]


Trigger
Description:
Players:
¤ 
Conditions:
¤ 
Actions:
¤ 

Report, edit, etc...Posted by BeeR_KeG on 2006-01-18 at 17:53:52
There is no HTML into making BBCodes, it's all PHP.

>Moved to Programming
Report, edit, etc...Posted by justin_grant on 2006-01-18 at 18:35:07
Ya, I meant these
[progress]51.99999895273895743856239573192647938652387552938569726387564287585472385432[/progress]

Trigger
Description:
sgfdsghgf
Players:
¤ shfghdffdg
Conditions:
¤ dhgfdhg
Actions:
¤ dghfdgh


and yes Im using Vbulliten.
Also, I knew it requred some php, but im only a beginner at php, so will you please help me out with the php?
Report, edit, etc...Posted by Mini Moose 2707 on 2006-01-18 at 18:44:33
View -> Page Source
Report, edit, etc...Posted by Shmeeps on 2006-01-18 at 19:41:45
Find where the original BBCOdes are, use Preg_Replace to change them.

I can't give to many details, as I find it extremely hard to explain.

Look up preg_replace at www.php.net.

Check for like
CODE
$thing
and change to <table><tr><td>$thing</td></tr></table>.

It's simple once you know how to use the function.
Report, edit, etc...Posted by justin_grant on 2006-01-18 at 21:15:29
ok... Ill try that... dont lock this post yet mods... It aint solved yet... And page source only lets you view the html, javascript, and css output, not the php.
Report, edit, etc...Posted by Doodle77(MM) on 2006-02-07 at 21:00:08
ooooh... I hate regular expressions.
Next Page (1)