x-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.
Many Wapka Developers Also Share This Code & i am Going Credit Wapkainternational.com because They also Create thia function. i am just modified this code
Ok Let's Work
Advantage
- you can show your forum threads with status.
- you can use paging without replacement method
- Working Thumbnail Version 2016
- Working Blog based Forum Update 2016
- it is stable
- easy to use
demo
blackeyes.ml
Requirements
For making this system alive you site must have a jquery plugin.if your site doesn't have add this on head tag.
<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"
<div class="themes">::THEMES::</div>
* it used to identify the part.
Paste It code just only homepage
<div><div id="load" style="display:none"></div> <script language="javascript"> $('#load').load('forum2_0.xhtml body',function(data){ $('#load').html(''); function gload(u,i){ $('#load1').load(u+' body',function(data){ data=$(data).find('.eachmsg').first().html(); data=data.split('[img]')[1].split('[/img]')[0]; $('span[name=themethumb]:eq('+i+')').html('<img class="frame" src="'+data+'" width="60px" height="60px"/>'); }) } dem = document.getElementsByName('fix').length; for(i=0;i<dem;i++){ a = $('span[name=fix]:eq('+i+')').find('a').attr('href'); gload(a,i); } }); </script></div>
And This Code Paste it Homepage & Forum Footer.
<div id="load1" style="display:none"></div> <script language="javascript"> function gload(u,i){ $('#load1').load(u+' body',function(data){ data=$(data).find('.eachmsg').first().html(); data=data.split('[img]')[1].split('[/img]')[0]; $('span[name=themethumb]:eq('+i+')').html('<img src="'+data+'" width="60px" height="60px" class='frame" />'); }) } dem = document.getElementsByName('fix').length; for(i=0;i<dem;i++){ a = $('span[name=fix]:eq('+i+')').find('a').attr('href'); gload(a,i); } </script>
Finally add This Code Forum Update in Homepage
<div id="update">Loading....</center></div> <br/> <div class="page" id="page" style="color: grey" align="center"> :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>
Note: if You Show Thumbnail & continue reading system
- You must be applied 2016 Thumbnail Version
- if You shown Continue applied Blog Based Forum update 2017
Don't Copy Without copyright
Thanks
all