Bb Code In Wml ?

Started on the old forum in August 2007 · view the original in the archive · old links redirect here

23 replies · 2,542 views · started 19 years ago · 1 min read

6 participants
metulj Super moderator Principal · 1,726 posts #1

is it possible to have BB code for blinking text in WML ?

i know for XHTML goes like this

$text=preg_replace("/\[blink\](.*?)\[\/blink\]/i","<blink>\\1</blink>", $text);

can it be done for WML ?? also BB CODE for codebox in WML ??

any one know how to do it?

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

ibro9801 #2

is it possible to have BB code for blinking text in WML ?

i know for XHTML goes like this

$text=preg_replace("/\[blink\](.*?)\[\/blink\]/i","<blink>\\1</blink>", $text);

can it be done for WML ?? also BB CODE for codebox in WML ??

any one know how to do it?

Pozdrav.. You can do it same like this

$text=preg_replace("/\[b\](.*?)\[\/b\]/i","[b]\\1[/b]", $text);
  $text=preg_replace("/\[i\](.*?)\[\/i\]/i","[i]\\1[/i]", $text);
  $text=preg_replace("/\[u\](.*?)\[\/u\]/i","[u]\\1[/u]", $text);
  $text=preg_replace("/\[big\](.*?)\[\/big\]/i","<big>\\1</big>", $text);
  $text=preg_replace("/\[small\](.*?)\[\/small\]/i","[size="1"]\\1[/size]", $text);

part from rw script, and one more part not related to this topic

$text = str_replace("2wap","2crapforwap",$text);
  $text = str_replace("2WAP","2crapforwap",$text);
  $text = str_replace("2wAp","2crapforwap",$text);
  $text = str_replace("2w4p","2crapforwap",$text);

These are suspicious from the owner of ex raingwap.net or his old nick wap2k yes he is wap2k

alesh Lead · 604 posts #3

yes but the code metulj posted here doesnt work with all browsers when browsing in wml....

eeeeerrr....

ibro9801 #4

Just little reminder, about wap2k, I explored a little bit, he was moderator on this forum, and deleted all topics and posts in wap coding & wap scripts, after that he come here with other nick dj.dance, then he changed it to hardstyle , how can I prove it, go to sql file in ravingwap stolen script and you will see the admin email address is same as wap2k in his script wap2k portal, dj.dance or wap2k wasn't counting on that, because he was couting on that his script will be stolen External image (may be gone) p.s dj.dance himself made script(edited) the wap2k portal script, to something like crap and he was telling how wap2k is fool,idiot and etc. to hide that he is wap2k..at least you say that you are fool External image (may be gone), so he can't be suspicious...very smart..hehe...

metulj Super moderator Principal · 1,726 posts #5

problem is.. that in wml scripts, code which i've posted, doesnt work.. actually works, but only while you browse site with opera browser(mini opera excluded here!) meanwhile, if same site got also xhtml version... you will see that code works on almost any browser funmobile script for example.. you can send ya self inbox with blinking text.. or post it on forum, chatroom.. but you will see that text actually blink only in xhtml mode, if you change view to wml mode... text wont blink anymore, unles you browse site with opera

so.. how to fix this blinking text to get effect also in wml mode? and how to implement BBcode for [ codebox ] [ /codebox ] to wml ? if that's possible at all ? External image (may be gone)

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

ibro9801 #6

problem is.. that in wml scripts, code which i've posted, doesnt work.. actually works, but only while you browse site with opera browser(mini opera excluded here!) meanwhile, if same site got also xhtml version... you will see that code works on almost any browser funmobile script for example.. you can send ya self inbox with blinking text.. or post it on forum, chatroom.. but you will see that text actually blink only in xhtml mode, if you change view to wml mode... text wont blink anymore, unles you browse site with opera

so.. how to fix this blinking text to get effect also in wml mode? and how to implement BBcode for [ codebox ] [ /codebox ] to wml ? if that's possible at all ? External image (may be gone)

I don't know does the wml standards support blinking, I never tried it External image (may be gone) But you can use bbcodes such as

[b[/b]
[i][/i] etc..
metulj Super moderator Principal · 1,726 posts #7

I don't know does the wml standards support blinking, I never tried it External image (may be gone) But you can use bbcodes such as

[b
 etc..

i know that.. also for [url.... [img....

but you havn't read the question... i'd like to know if it's possible to get effective blinking BB code in WML mode and how to implement [ codebox ][ /codebox ] into WML......

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

ibro9801 #8

i know that.. also for [url.... [img....

but you havn't read the question... i'd like to know if it's possible to get effective blinking BB code in WML mode and how to implement [ codebox ][ /codebox ] into WML......

I read it, but you don't think External image (may be gone) $text=preg_replace("/[codebox](.*?)[/codebox]/i","<codeboxl>\1</codebox>", $text); just replace it, again if wml supports it External image (may be gone) it's the same, the small tags works with wml, this one must too External image (may be gone)

metulj Super moderator Principal · 1,726 posts #9

eh... which part of my post you didnt understood?

come on man.. i aint that dumb FFS..

that works for xhtml only

and i'm asking if thats possible for WML mode and if, then how? gee..

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

ibro9801 #10

is it possible to have BB code for blinking text in WML ?

i know for XHTML goes like this

$text=preg_replace("/\[blink\](.*?)\[\/blink\]/i","<blink>\\1</blink>", $text);

can it be done for WML ?? also BB CODE for codebox in WML ??

any one know how to do it?

I just don't get you no more argue External image (may be gone)
if this

$text=preg_replace("/\[blink\](.*?)\[\/blink\]/i","<blink>\\1</blink>", $text);

goes for xhtml, goes same for wml, ,see posts before...this

echo '<blink>test</blink>';

works on Opera ,all you have to do is to test,try etc..

metulj Super moderator Principal · 1,726 posts #11

I just don't get you no more argue External image (may be gone)
if this

$text=preg_replace("/\[blink\](.*?)\[\/blink\]/i","<blink>\\1</blink>", $text);

goes for xhtml, goes same for wml, ,see posts before...

well.. i did mention once or twice that code doesnt take effect in WML mode cos i've tried all general known BB code... (maybe different tag possible for WML???) so i'm asking can it be fixed somehow for WML mode and IF, then how..

echo '<blink>test</blink>';

and i did mention it's about BB code... evethough i did tried to insert <blink>whatever</blink> into script code.. guess what.. didnt work either

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

ibro9801 #13

bbcode in wml will never work no use trying brother

Of course it will not without php, then please explain me how does it works in ravingwap/lavalair script? External image (may be gone)

amylee Principal · 1,092 posts #14

wtf wap2k and dj.dance are not the same person

and blinking text will never work in wml

metulj Super moderator Principal · 1,726 posts #16

noways bro even in lava it dnt work trust me

BB code works just perfect in lava or any other proper made WML script cos [ b ]bold text[ /b ] [ u ] undelined text [ /u ] [ i ] italic text [ /i ] [ url= blah ] click [ /url ] [ img= blah ] whatever [ /img ] [ br/ ] etc... those are BB codes External image (may be gone) but i was interested for BB code <blink> and <codebox>... which i added sussesfully into xhtml... i just wanned to know is it possible same effect for WML ...so i guess amylee kind a answered my question External image (may be gone)

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

ibro9801 #17

wtf wap2k and dj.dance are not the same person

I think they are...or you know more, bet I get the idea that they are?

metulj Super moderator Principal · 1,726 posts #18

I think they are...or you know more, bet I get the idea that they are?

but then again... wtf this got to do with topic query anyway External image (may be gone)

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

alesh Lead · 604 posts #19

but then again... wtf this got to do with topic query anyway External image (may be gone)

lol dnt fight with mods lololol

btw i take a look and i also think tht <blink> code will never work in wml.... why? well its cuz in wml u cnt make a blinking txt..... wml doesnt suport tht.... why u c it with opera? well its cuz opera made it 2 blink it 4 u lol

but in xhtml will work cuz xhtml suports <blink> code........

so what did we learn??? tht wml suX!!!!!!! lmao but we still didnt found out whos djdance or wap2k lmao

eeeeerrr....

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close