Vamp |
Add More Bbcode on your forum
Hello , today I'll give you a JavaScript code to add more Bbcode to your wapkiz forum
You'll get left,center, right
Url
you Bbcode
Hidden
Advance img[*]
[*]Email
Code
Rainbow
Youtube bb codes.
Let's start ,:
POST THIS CODE TO YOUR FOOTER PAGE:
[php]<script language="javascript">
var msg = document.getElementsByName("sstar");
for (var i = 0; i < msg.length; i++) {
var txt = document.getElementsByName("sstar")[i].innerHTML;
txt = txt.replace(/\[IMG](.+?)\[\/IMG]/ig, '<a href="$1" title="Full Image"><figure class="figure"><img src="$1" alt="' + document.title + '" style="max-width:100%; margin-bottom: 10px; margin-top: 10px;"/><figcaption>SStar</figcaption></figure></a>');
txt = txt.replace(/(^|[\n ])([\w]+?:\/\/[^ ,\"\n\r\t<]*)/ig, '$1<a href="$2" target="_blank">$2</a>');
txt = txt.replace(/\[LEFT\]/ig, '<div align="left">');
txt = txt.replace(/\[\/LEFT\]/ig, "</div>");
txt = txt.replace(/\[input=(.+?)\]/ig, '<span name="codes"><input type="$1" size="20%" value="');
txt = txt.replace(/\[\/input\]/ig, '"></input></span>');
txt = txt.replace(/\[url\]/ig, '<center><div style="border:1px solid red;padding:3px;color:red" class="brdr">×Dont Spam Here×<br/><a href="https://$1">You Should Add Your Site$1</a></div></center><div style="display:block">');
txt = txt.replace(/\[\/url\]/ig, "</div>");
txt = txt.replace(/\[CENTER\]/ig, '<center>');
txt = txt.replace(/\[\/CENTER\]/ig, "</center>");
txt = txt.replace(/\[RIGHT\]/ig, '<div align="right">');
txt = txt.replace(/\[\/RIGHT\]/ig, "</div>");
txt = txt.replace(/\[EMAIL\](.+?)\[\/EMAIL\]/ig, '<a href="mailto:$1">$1</a>');
txt = txt.replace(/\[SIZE=(.+?)\]/ig, '<font size="$1">');
txt = txt.replace(/\[\/SIZE\]/ig, "</font>");
txt = txt.replace(/\[TEXT\]/ig, '<textarea rows="5" name="textareacodes">');
txt = txt.replace(/\[\/TEXT\]/ig, "</textarea>");
txt = txt.replace(/\[CODE\]/ig, '<div class="bb-code">Code:</div><textarea id="bb-text-code" name="textareacodes">');
txt = txt.replace(/\[\/CODE\]/ig, "</textarea>");
txt = txt.replace(/\[INDENT\]/ig, '<div style="padding-left:10px">');
txt = txt.replace(/\[\/INDENT\]/ig, "</div>");
txt = txt.replace(/\[YOU\]/ig, '<span style="color: #00dd00"><a href="profile/:user_tname:">:user:</a></span>');
txt = txt.replace(/\[FONT=(.+?)\]/ig, '<span style="font-family:$1">');
txt = txt.replace(/\[\/FONT\]/ig, '</span>');
txt = txt.replace(/\[COLOR=(.+?)\]/g, '<font color="$1">');
txt = txt.replace(/\[\/COLOR\]/g, '</font>');
txt = txt.replace(/\[LIST\]/ig, '<ol>');
txt = txt.replace(/\[\/LIST\]/ig, '</li></ol>');
txt = txt.replace(/\[\*]/ig, '</li><li>');
txt = txt.replace(/\[RAINBOW](.+?)\[\/RAINBOW]/ig, '<span name="rainbow">$1</span>');
txt = txt.replace(/\');
txt = txt.replace(/\[HIDDEN\]/ig, '<center><div style="border:1px solid red;padding:3px;color:#b0b0b0">Hidden content!</div></center><div style="">');
txt = txt.replace(/\[\/HIDDEN\]/ig, "</div>");
txt = txt.replace(/\<div class=\"wcode\">/ig, '<div class="ytop">CODE</div><div cla
Read more >>
Hello , today I'll give you a JavaScript code to add more Bbcode to your wapkiz forum
You'll get left,center, right
Url
you Bbcode
Hidden
Advance img[*]
Code
Rainbow
Youtube bb codes.
Let's start ,:
POST THIS CODE TO YOUR FOOTER PAGE:
[php]<script language="javascript">
var msg = document.getElementsByName("sstar");
for (var i = 0; i < msg.length; i++) {
var txt = document.getElementsByName("sstar")[i].innerHTML;
txt = txt.replace(/\[IMG](.+?)\[\/IMG]/ig, '<a href="$1" title="Full Image"><figure class="figure"><img src="$1" alt="' + document.title + '" style="max-width:100%; margin-bottom: 10px; margin-top: 10px;"/><figcaption>SStar</figcaption></figure></a>');
txt = txt.replace(/(^|[\n ])([\w]+?:\/\/[^ ,\"\n\r\t<]*)/ig, '$1<a href="$2" target="_blank">$2</a>');
txt = txt.replace(/\[LEFT\]/ig, '<div align="left">');
txt = txt.replace(/\[\/LEFT\]/ig, "</div>");
txt = txt.replace(/\[input=(.+?)\]/ig, '<span name="codes"><input type="$1" size="20%" value="');
txt = txt.replace(/\[\/input\]/ig, '"></input></span>');
txt = txt.replace(/\[url\]/ig, '<center><div style="border:1px solid red;padding:3px;color:red" class="brdr">×Dont Spam Here×<br/><a href="https://$1">You Should Add Your Site$1</a></div></center><div style="display:block">');
txt = txt.replace(/\[\/url\]/ig, "</div>");
txt = txt.replace(/\[CENTER\]/ig, '<center>');
txt = txt.replace(/\[\/CENTER\]/ig, "</center>");
txt = txt.replace(/\[RIGHT\]/ig, '<div align="right">');
txt = txt.replace(/\[\/RIGHT\]/ig, "</div>");
txt = txt.replace(/\[EMAIL\](.+?)\[\/EMAIL\]/ig, '<a href="mailto:$1">$1</a>');
txt = txt.replace(/\[SIZE=(.+?)\]/ig, '<font size="$1">');
txt = txt.replace(/\[\/SIZE\]/ig, "</font>");
txt = txt.replace(/\[TEXT\]/ig, '<textarea rows="5" name="textareacodes">');
txt = txt.replace(/\[\/TEXT\]/ig, "</textarea>");
txt = txt.replace(/\[CODE\]/ig, '<div class="bb-code">Code:</div><textarea id="bb-text-code" name="textareacodes">');
txt = txt.replace(/\[\/CODE\]/ig, "</textarea>");
txt = txt.replace(/\[INDENT\]/ig, '<div style="padding-left:10px">');
txt = txt.replace(/\[\/INDENT\]/ig, "</div>");
txt = txt.replace(/\[YOU\]/ig, '<span style="color: #00dd00"><a href="profile/:user_tname:">:user:</a></span>');
txt = txt.replace(/\[FONT=(.+?)\]/ig, '<span style="font-family:$1">');
txt = txt.replace(/\[\/FONT\]/ig, '</span>');
txt = txt.replace(/\[COLOR=(.+?)\]/g, '<font color="$1">');
txt = txt.replace(/\[\/COLOR\]/g, '</font>');
txt = txt.replace(/\[LIST\]/ig, '<ol>');
txt = txt.replace(/\[\/LIST\]/ig, '</li></ol>');
txt = txt.replace(/\[\*]/ig, '</li><li>');
txt = txt.replace(/\[RAINBOW](.+?)\[\/RAINBOW]/ig, '<span name="rainbow">$1</span>');
txt = txt.replace(/\
Spoiler:
txt = txt.replace(/\[HIDDEN\]/ig, '<center><div style="border:1px solid red;padding:3px;color:#b0b0b0">Hidden content!</div></center><div style="">');
txt = txt.replace(/\[\/HIDDEN\]/ig, "</div>");
txt = txt.replace(/\<div class=\"wcode\">/ig, '<div class="ytop">CODE</div><div cla
Read more >>
Locked
Size: 5 kb.
Downloaded: 6 Time
Size: 5 kb.
Downloaded: 6 Time
smsudipbd |
How to create same as kizhelp.xyz website in wapkiz (Part:- 04)
How to create same as kizhelp.xyz website in wapkiz (Part:- 04)
how are you all. i am not well.
No user interest how to create same as http://kizhelp.xyz website.
so, i do not give this tutorials.
mension a friend Lordbright.
he is interest for this tutorials.
now i am give this tutorilas.
please give your right comment then i give all part of how to create same as http://kizhelp.xyz website.
Lets start...
1st go to # add-site.html (id = 1)
copy under the code and pastal html box
Div class: none
Visibility Access: user
Visibility Browser: all browser
2nd go to # friends-site.html (id = 2)
copy under the code and pastal html box
Div class: none
Visibility Access: all access
Visibility Browser: all browser
3rd go to # add-blog.html (id = 3)
copy under the code and pastal html box
Div class: none
Visibility Access: user
Visibility Browser: all browser
4th go to # external-link.html (id = 4)
copy under the code and pastal html box
Div class: none
Visibility Access: all access
Visibility Browser: all browser
5th go to # totic-view.html (id = 5)
copy under the code and pastal html box
[code]<div class="hidden-xs hidden-sm"><!------------------><div style="clear:both;"></div><table align="center" id="content-wrapper"><tbody><tr><td class="plus-left"><!------------------><div class="mainblok"><div class="nfooter"><b>New Post</b><a href="/site-add-forum.html"><div class="add"></div></a></div>[blog]bid=Friendsforum,o=u,l=6,s=:to-page:,no=No Forum||<div class="list2"><img src="http://dl4.wapkizfile.info/ddl/df876259c1320ef84053b61947f83ce0/kizhelp+wapkiz+com/np-(kizhelp.wapkiz.com).gif" alt=""/> <a href="/site-5.html?to-blog=%id%&to-cate=%category%" title="View Topic">%title%</a>...<small> (%hits%)</small><br /><div class="sub">%by% » [blog_cmt]v=on,to=%id%:,l=1,s=:to-page:,o=ul,no=||%name%[/blog_cmt] --<span class="gray">%date=--% ago</span></div></div>[/blog]</div><!------------------></td><!------------------><td class="plus-center"><!------------------><div class="mainbox"><div class="mainblok"><div class="nfooter"><a href="index.php">Forum</a> | <a href="Wapkiz-New-Features_24.html">Wapkiz New Features</a> | <a href="Anoucement-New-Features_28.html">Anoucement Ne
Read more >>
How to create same as kizhelp.xyz website in wapkiz (Part:- 04)
how are you all. i am not well.
No user interest how to create same as http://kizhelp.xyz website.
so, i do not give this tutorials.
mension a friend Lordbright.
he is interest for this tutorials.
now i am give this tutorilas.
please give your right comment then i give all part of how to create same as http://kizhelp.xyz website.
Lets start...
1st go to # add-site.html (id = 1)
copy under the code and pastal html box
COPY
CODE:
Div class: none
Visibility Access: user
Visibility Browser: all browser
2nd go to # friends-site.html (id = 2)
copy under the code and pastal html box
COPY
CODE:
Div class: none
Visibility Access: all access
Visibility Browser: all browser
3rd go to # add-blog.html (id = 3)
copy under the code and pastal html box
COPY
CODE:
Div class: none
Visibility Access: user
Visibility Browser: all browser
4th go to # external-link.html (id = 4)
copy under the code and pastal html box
COPY
CODE:
Div class: none
Visibility Access: all access
Visibility Browser: all browser
5th go to # totic-view.html (id = 5)
copy under the code and pastal html box
[code]<div class="hidden-xs hidden-sm"><!------------------><div style="clear:both;"></div><table align="center" id="content-wrapper"><tbody><tr><td class="plus-left"><!------------------><div class="mainblok"><div class="nfooter"><b>New Post</b><a href="/site-add-forum.html"><div class="add"></div></a></div>[blog]bid=Friendsforum,o=u,l=6,s=:to-page:,no=No Forum||<div class="list2"><img src="http://dl4.wapkizfile.info/ddl/df876259c1320ef84053b61947f83ce0/kizhelp+wapkiz+com/np-(kizhelp.wapkiz.com).gif" alt=""/> <a href="/site-5.html?to-blog=%id%&to-cate=%category%" title="View Topic">%title%</a>...<small> (%hits%)</small><br /><div class="sub">%by% » [blog_cmt]v=on,to=%id%:,l=1,s=:to-page:,o=ul,no=||%name%[/blog_cmt] --<span class="gray">%date=--% ago</span></div></div>[/blog]</div><!------------------></td><!------------------><td class="plus-center"><!------------------><div class="mainbox"><div class="mainblok"><div class="nfooter"><a href="index.php">Forum</a> | <a href="Wapkiz-New-Features_24.html">Wapkiz New Features</a> | <a href="Anoucement-New-Features_28.html">Anoucement Ne
Read more >>
Locked
Size: 110 kb.
Downloaded: 12 Time
Size: 110 kb.
Downloaded: 12 Time