fb twtr
Hi, Guest!
WE ARE THE kizhelp.wb4.xyz
WE LEARN
WE TEACH OTHERS
27-11-2024 + 08:19:54 am

Good morning

New Post
Wapkiz Top 100 sites (1)
ffthemes » ffthemes --23 November 06:51am
Wapmash wapkiz Music Theme Download (1)
daudbd » daudbd --22 November 12:52pm
Old Facebook Wapkiz Clone Theme (1)
ffthemes » ffthemes --29 October 12:55pm
Wapkiz customize domain (3)
Chattempo » Chattempo --27 October 10:30am
Tellybd.Com Wapkiz Movie Theme Download (1)
daudbd » daudbd --25 October 10:28pm
how can i display image in my filemanage... (1)
Victor » Victor --12 October 10:01am
How To Make Messages Html code (2)
wilsonjunior » wilsonjunior --22 September 10:54am
OldFCBook - Social Media (1)
ffthemes » ffthemes --09 September 12:48pm

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: 2
 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