Hi In this Tutorial I Will teach you how to add facebook style Whats On Your Mind Code In Wapka Site.Users Can Post their Status On their wapka wall simillarly like facebook.Lets Follow the tutorial below :
Go edit site - wml/xhtml and put this code
<div class="list2"><b>What's On Your Mind?</b><form method="post" action="blog_0.xhtml"><input type="hidden" name="blog_title" value="titleariea"/><textarea type="text" name="blog_body"></textarea>:admin-hash-input:<input type="hidden" name="fnc" value="new" /><br /><input type="submit" name="submit" value="Share" /> or <img src="http://static.ak.fbcdn.net/rsrc.php/v1/yz/r/StEh3RhPvjk.gif"/> <a href=":url-site-9:">Photo</a></form></div><br/>:bloglist:o=n,l=6,s=:geti-number(1):,n=Empty,t=--:: <b>%lname% <br/> </b> %text%<br/><font color="#aaaaaa">%time%</font><br /><img src="/img/1537/1537910_9d0a163a23.png" alt="" /> <a href="site_home.xhtml?get-blog=%sn%&:admin-hash-amp:">Like</a>
%views%
• <a href="%comments_url%?&:admin-hash-amp:">Comments</a>(%comments_count%) <br/>%del%<div class="hr"> </div>:: :/bloglist:
%views%
• <a href="%comments_url%?&:admin-hash-amp:">Comments</a>(%comments_count%) <br/>%del%<div class="hr"> </div>:: :/bloglist:
Click & Copy this Code below :
Now Go edit site - File Manager #> Create NEW directory
Now Go edit site - file uploader .
Text on button:
Upload file
Text or Site displayed
after upload file:
10
Allowed file types
(extension):jpg,gif,png,jpeg
Maximal allowed file size
in KB (0 = maximal):
0
Upload form style:
::file::<br/>
<div class="wap2"><br/>
Comment</div>
::comment::<br/>
::submit::<br/><div class="wap2"><br/>
Comment</div>
::comment::<br/>
Copy Code Below :
Directory: Choose UR Directory Which You Make In file Manager and Submit
Now Go Site ID 10 And Put This Code NOTE d=ADD HERE UR DIRECTRY ID WHICH YOU MAKE IN FILEMANAGER EXAMPLE id=1
<div class="Foot">:filelist:o=tu,d=1,l=1,s=:geti-p(1):,n=No user
gallery uploaded,:: <b>
Your Photo Successfully uploaded</b><br/><br/><img src="%url%" alt="photo" width="45" height="55"/><br/>%comment%<form method="post" action="blog_21.xhtml" ><input type="hidden" name="blog_title" value="my Shared msgs"/>:admin-hash-input:<input type="hidden" name="fnc" value="new"/><input name="blog_body" type="hidden" value="shared a photo[fimg=%file_id%] %comment% "/>Do You Want To Post Your Photo In Update Status <input type="submit" name="submit" value="Post it"/></form>:: :/filelist: <br/></div>
Copy Code Below :
gallery uploaded,:: <b>
Your Photo Successfully uploaded</b><br/><br/><img src="%url%" alt="photo" width="45" height="55"/><br/>%comment%<form method="post" action="blog_21.xhtml" ><input type="hidden" name="blog_title" value="my Shared msgs"/>:admin-hash-input:<input type="hidden" name="fnc" value="new"/><input name="blog_body" type="hidden" value="shared a photo[fimg=%file_id%] %comment% "/>Do You Want To Post Your Photo In Update Status <input type="submit" name="submit" value="Post it"/></form>:: :/filelist: <br/></div>
Copy Code Below :
If It See [fimg=%file_id%]
Then Go Edit site - User - blog - setting - Mark On Enable WCODE (about WCODE): - set Now Go in about WCODE - Mark in Last 2 Box Now Set WCODE
Now Enjoy
Your Comments Are Welcomed Here...
0 Comments