[-]
Tags
threads advanced loader recent perfect forum


Hi Guest, kindly Login Or Register To Unlock More Advanced Features In Wapforum


Advanced Perfect Recent Forum Threads Loader
(6k )
#1
Ex-loader is a best feature of wapka.we use ex-loader for forum update because it provide us to mirror all forum posted threads to show on site with thread status(views,comments....).all you know when new thing add at top also need to update ex-loader manualy.now i will show you
how to use ex-loader features without using ex-loader.

In this we doesn't use ex-loader at all.


Advantage
*- you can show your forum threads with status.
*- you can use paging without replacement method
*- it is stable
*- easy to use

Requirements
For making this system alive you site must have a jquery plugin.if your site doesn't have add this on head tag
Code:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>

Step 1: Selecting a part
What i mean in this isn't source code forum like ex-loader. What i mean is select a part to load on site.in TIF ::THEMES:: holds(lists) threads. So we need to load this part only to site.
Go to TIF(Themes in forum) warp/cover it with class="themes"
Code:
<div class="themes">::THEMES::</div>
* it used to identify the part



step 2: Add loader
to load threads to site we need to use ajax jquery load.
*- div tag with 'id=update' use to show threads
*- it loads data from '/forum2_0.xhtml' class 'themes'
*- paging is manualy selected for 10 pages,if you want to increase or decrease pages change 'm=10' to 'm=pages you want'

Code:
<div id="update">
Loading Recent threads...
</div>
<div class="paging" id="paging" style="color: grey">
:paging:n=:get-list(1):,u=site_:getid-site:.xhtml?get-list=%n%:admin-hash-amp:,m=10:: %prev% · %n% · %n% · %n% · %n% · %n% . . . %nlast% · %next% :/paging:
</div>


<script type="text/javascript"> n=':get-list(1):'-1; $('#update').load('/forum2_0.xhtml?n='+n+':admin-hash-amp: .themes',function(data){$(this).find('.themes').css({"width":"90%","margin":"auto"}); }); </script>


if you face any problem comment.i wish you success
Thank you.
Stay with http://HumanBD.GQ for more !!


#2
Well-done


Share This Post To The World






Users browsing this thread: 1 Guest(s)
Goto First Post In This Thread



Possibly Related Threads...
Thread Author Replies Views Last Post
  HELP: Pls How Can I Set Xtgem Forum Update Or Trending Update On Xtgem Site seancoded 1 5k 15-05-2018, 11:35 PM
Last Post: Dahfaith
  TUTORIAL: Working Way How To Put Youtube Video In Wapka Message In Forum Xtopfile 1 7.9k 13-03-2018, 10:39 PM
Last Post: naijaplus
  CODE: Topic Cover Photo Function On Your Wapka Forum Faysal 2 8.8k 17-02-2018, 05:46 PM
Last Post: cyberlord




Advertisement