fb twtr
Hi, Guest!
WE ARE THE kizhelp.wb4.xyz
WE LEARN
WE TEACH OTHERS
21-11-2024 + 17:41:50 pm

Have a nice day

New Post
Old Facebook Wapkiz Clone Theme (1)
ffthemes » ffthemes --29 October 12:55pm
Wapkiz customize domain (3)
Chattempo » Chattempo --27 October 10:30am
Wapmash wapkiz Music Theme Download (1)
daudbd » daudbd --25 October 10:29pm
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
Wapkiz Top 100 sites (1)
ffthemes » ffthemes --13 September 09:00pm
OldFCBook - Social Media (1)
ffthemes » ffthemes --09 September 12:48pm
Topic: [DEFAULT] Add More Bbcode on your forum
Vamp Vamp 
 Newbie
Post: 22
susukanthank 4
sperma
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 
0msg.lengthi++) {
                                                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]/ig'[SPOILER]');
                                                
txt txt.replace(/\[\/SPOILER]/ig'[/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 class="alart">');
                                                
txt txt.replace(/\[YOUTUBE](.+?)\[\/YOUTUBE]/ig'<div name="video"><iframe width="100%" src="https://youtube.com/embed/$1" class="if_youtube" frameborder="0" allowfullscreen="true"></iframe></div>');
                                                
document.getElementsByName("sstar")[i].innerHTML txt;
                                            }
                                        
</script>
?>


Now go to Blog page
find every %text% and replace it with
<?php
<div class="sstar" id="sstar" name="sstar">%text%</div>
?>

Now test your new bbcode on your blog/forum site ;) .
If you want more or looking for other nulled community please visit Etarnal For more ;)
Thanks, Enjoy
P.s : comment if you need help :)
Vamp
Attachment:
File Locked

Min 3 Posts, To Download This File

 

In forum

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