fb twtr
Hi, Guest!
WE ARE THE kizhelp.wb4.xyz
WE LEARN
WE TEACH OTHERS
07-10-2024 + 22:26:30 pm

Good evening

New Post
how can i display image in my filemanage... (1)
Victor » Victor --29 September 06:23pm
How To Make Messages Html code (2)
wilsonjunior » wilsonjunior --22 September 10:54am
Old Facebook Wapkiz Clone Theme (1)
ffthemes » ffthemes --19 September 07:16am
Wapkiz Top 100 sites (1)
ffthemes » ffthemes --13 September 09:00pm
Wapkiz customize domain (3)
Chattempo » Chattempo --12 September 05:30am
OldFCBook - Social Media (1)
ffthemes » ffthemes --09 September 12:48pm
Please! Came Here! (8)
Lemon » Lemon --07 September 05:58pm
WapForum Forum Template Download (6)
WapForum » Pboy --06 September 11:06am

Last activity

downAdd More Bbcode on your forum
09 August 10:48pm #1
Vamp  Vamp
PM
Post: 22
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").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 >>
file.zip 4.96 Kb. Download:6
  diggfacebooktwitterdelicious
Up  Total: 1

New at the top
User Top
 М elvis
Last Blog
 How To Create Messages Html code
Posted by wilsonjunior
Date:19 September. 09:25pm
Comments: 1
 Wapkiz comment system
Posted by Chattempo
Date:28 August. 02:51pm
Comments: 3
 shearing
Posted by Immanuel
Date:12 August. 08:27pm
Comments: 4
 In need of chat theme
Posted by Harlan
Date:24 July. 08:30pm
Comments: 4
 help wapkiz theme
Posted by Napsteur
Date:07 July. 01:17am
Comments: 6
Powered by kizhelp.wb4.xyz