Keyarn
Webschool Plz i wan to know how i can add image while creating new theme asin after when i creat the theme finished, then i click on it then there will be no image b4 the discription or text and i was told to to use
[*img]image url[*/img] but its not working plz i need to know!
Unlimitedapps
Keyarn How to upload or include more than 20kb image in wapka forum site
Step 1: Goto Global settings > Forum >> Enable WCODE (about WCODE)
click on that (about wcode)
You will see many tick box just untick the one with ( img: )
Step 2: Goto Wap2 > Styles for content in forum/chat > Set global
settings of styles for forum/chat and click on the second "
Messages in forum" which is set own form for:
after u click u will see 3 boxes, In the first box which is "
Style of messages in the forum:*" Remove
:msg: in that box and replace it with
<span name="topic"><ing id="topic">::msg::</ing></span>
Copy code Step 3: Goto your forum buttom autocontent, default buttom autocontent is site_-1.xhtml, but it will be advisable to create another site id for ur forum buttom autocontent, Now goto ur Forum buttom autocontent and add the code below
<script language="javascript"><br />var msg=document.getElementsByName("topic");<br />for(var i=0;i<msg.length;i++){<br />var oldtext=document.getElementsByName("topic")[i].innerHTML;<br />var newtext=oldtext.replace(/(^|[n ])([w]+?://[^ ,"nrt<]*)/ig, "$1<a href='$2'>$2</a>");<br />newtext=newtext.replace(/<img src='(.+?)' alt='image' />/ig, "<a href='$1'><img src='$1' alt='image' /></a>");<br />document.getElementsByName("topic")[i].innerHTML=newtext;<br />}<br /></script>
Copy code thats all, you can now use
[img]http://image- url.jpg[/img] to post image on your wapka forum!
Keyarn
Unlimitedapps Plz edith dis code for me its showing syntax erro
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<script src="http://escript.xtgem.com/Wpk/Fimg.js"id="Latest Version of escript"></script>
<style>#mobile,.mobile{display:none} #pc,.pc{max-width: 800%; display: block} .pc_width{width: 800px; align: left; float: center;}@media only screen and (max-width:500px)#pc,.pc{display:none} #mobile,.mobile{display:block;} @media handheld #pc,.pc{display:none;} #mobile,.mobile{display:block;}</style>
<meta name="viewport"content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no"/>
<link rel="shortcut icon"type="image/x-icon"href="http://wfs01.wapka.mobi/600083/600083842_b430774035.png"/>
<link rel="stylesheet"href="http://userlodge.xtgem.com/wap.css"/>
<link rel="stylesheet"type="text/css"href="http://userlodge.xtgem.com/styles_1.css"/>
<link rel="STYLESHEET"type="text/css"href="http://userlodge.xtgem.com/styles_1.css"/>
<title>Freshedmp3.wapka.mobi |No.1 HotSpot For Latest Gists&Downloads</title>
Copy code Recopy