Translate

How to Create Blog System in wapka


Hi, today I am going to tell you how to create blog like fundunia in your site.. You will be able to create such blog system in wapka in minutes just follow the steps below.

You need 6 pages for this..
Goto ES > NEW PAGE > create 6 pages (visible only in admin mode)
 Blogs system
2. Blog details Page
3. New Blogs
4. All blogs page
5. Blogs by id page
6. Blogs by users page

Creating Page 1:
Insert the following codes via ES > wml/xhtml

<a href=":url-usr-blog:"><b>Create New Blog</b></a>

<a href=":url-site-3:"><b>New Blogs</b></a> (last 10)

<a href=":url-site-5:"><b>Blogs by ID's</b></a>

<a href=":url-site-6:"><b>Blogs by user's</b></a>

<a href=":url-site-4:"><b>All Blogs</b></a>



Creating Page 2:
Inser the followind code via ES > WML/XHTML

:bloglist:t=--,o=n,l=1,x=i,v=1::<h3 align="center">%title%</h3><div><b>Blog ID:</b> %id%</div><div><b>Creator:</b> <a href="/site_6.xhtml?get-user=%tname%">%name%</a> <a href="/profile/%tname%">?</a></div><div><b>Added:</b> %time%</div>%text%<div><b>Views:</b> %views%</div> <div><b>Comments:</b> <a href="%comments_url%">%comments_count%</a></div><br/><div><b>%edit%</b></div>:: :geti-id(1): :/bloglist:

Now here i wrote site_6, we will create it later in this tutorial..

here if you want that user can also copy the link to paste that innto their site, you can insert this code..
<div>Use This Blog:</div><textarea>:bloglist:o=n,l=1,x=i::<a href="http://yoursite.wapka.mobi/site_2.html?get-id=:get-id(1):">%title%</a>:: :geti-id(1): :/bloglist:</textarea>


Creating Page 3:

Here we will create New Blogs List..
insert the following code via ES > WML/xHTML
:bloglist:o=n,l=10,n=NO BLOGS YET::<div><div>%title% [<a href="/site_6.xhtml?get-user=%tname%"><b>%tname%</b></a>]</div>%text-50% <a href="site_2.html?get-id=%id%:admin-hash-amp:"><b>read</b></a></div>:: :/bloglist:



Creating Page 4:
Insert the following code via ES > WML/XHTmL

:bloglist:o=n,l=5,s=:get-page(1):,n=NO BLOGS YET::<div><div>%title% [<a href="/site_6.xhtml?get-user=%tname%"><b>%tname%</b></a>]</div>%text-50% <a href="site_2.html?get-id=%id%:admin-hash-amp:"><b>read</b></a></div>:: :/bloglist:<br/> :paging: n=:geti-page(1):, u=site_:getid-site:.%ext%?get-page=%n% ::<div><b>Pages:</b> [%n%] [%n%] [%n%] ... [%nlast%]</div>:/paging:


Creating Page 5:
Insert the following code via ES > WML/XHTML

<form action="/site_2.html" method="get">Blog ID: <input type="text" name="get-id" size="5"/><input type="submit" value="Go"/></form>

User will write id and he will be redirected to read the blog depending on site_id

Creating Page 6:
Insert the following code via ES > WML/XHTML, this will create form to select user
<form action=":url-site-6:" method="get">User Name: <input type="text" value=":get-user(fundunia):" name="get-user" size="10"/><input type="submit" value="Show"/></form><br/>
you can change funduia to any other user name that you want to show as default user name..

Now to show blogs by selected users, insert this code
:bloglist:o=n,l=5,s=:get-page(1):,n=NO BLOGS YET,x=u ::<div><div>%title%</div>%text-50% <a href="site_2.html?get-id=%id%:admin-hash-amp:"><b>read</b></a></div>:: :get-user(fundunia): :/bloglist:<br/> :paging: n=:geti-page(1):, u=site_:getid-site:.%ext%?get-page=%n% ::<div><b>Pages:</b> [%n%] [%n%] [%n%] ... [%nlast%]</div>:/paging:



Editing New blog creation page:
You would like to edit New blog page to make it like your site.. you can change it. just goto ES > USERS > BLOGS > SETINGS > Set min/maxx values + style of new blog page at the end.. (You can find tags there to use.. You can also use html tags there + some wapka tags also..)

Thats it..
Remember:
CHANGE SITE ID's AS per your site settings depending on above site id's.. for example.. if you created site_60 and inserted code of site_1 from this tutorial than you must change all codes to site_60 where site_1 in this tutorial.. that way do it for all sites.. thanks..

please write here if you have find any problem or error...

Latest forum updates Code wapka


-->


Latest Forum Updates Code wapka

if you want to see all latest  Update in your forums just
Copy And Paste This Code In Wml/Xhtml
 And Change All Forum ID To Your's Forum ID

XHTML Code 



<div class="mainblok"><div class="blue"><img src="http://stevendie.xtgem.com/themes/style/cmex/images/wiki.png">
</img> <b>Wapmaster Statistics</b></div><div class="mainblok"><div class="list1"><img src="http://stevendie.xtgem.com/images/icon_addcomment.gif"></img> :forum-946759/theme-link: </div><div class="list2">Last Post :- :forum-946759/tname: (:forum-946759/date:) In <a href=":url-forum-946759:">Wapka Forum</a></div><div class="list1"><img src="http://stevendie.xtgem.com/images/icon_addcomment.gif"></img> :forum-1158038/theme-link: </div><div class="list2">Last Post :- :forum-1158038/tname: (:forum-1158038/date:) In <a href=":url-forum-1158038:">Css Forum</a></div><div class="list1"><img src="http://stevendie.xtgem.com/images/icon_addcomment.gif"></img> :forum-1158039/theme-link: </div><div class="list2"> Last Post :- :forum-1158039/tname: (:forum-1158039/date:) In <a href=":url-forum-1158039:">Exloader Forum</a></div><div class="list1"><img src="http://stevendie.xtgem.com/images/icon_addcomment.gif"></img> :forum-1158041/theme-link: </div><div class="list2">Last Post :- :forum-1158041/tname: (:forum-1158041/date:) In <a href=":url-forum-1158041:">Ask Me Your Problem </a></div></div></div>

Very nice and simple Shoutbox


Very nice and simple Shoutbox

Hello erry one today i have te present to you a very  wonderful 
code to make your wepsite so nice and special 
 I talk about a very Bieutiful ShoutBox 
is Compatibale with all phone phone and all measurements screen phone 
 you can make it in the the style that you
Beautiful shape and are compatible with all phones and all measurements screen phone
 thinks that is compatibale with
colors of you Site 

XHTML Code




<head><link rel="stylesheet" type="text/css" href="http://manskiwap.tk/styles.css" media="all"/></head><br/><div class="your class">:forulist:d=forumid,l=1 ::%name% : %text% :: :/forumlist:</div>