Biplob_Mondol
I saw some users use blog style forum update,they store the text on forum title and using word replacement view show text. Now using this system you can show some texts from article.it is stable,fast and SEO friendly.
Demo :
http://ethio-pic.tk
Remember
this system developed based on Perfect thumbnail v1 developed by
http://wapkainternational.com
step 1
on MIF ::msg:: must have
class="eachmsg" and
<article> tag
<div name="john" class="eachmsg"> <article> ::msg:: </article> </div>
Copy code
step 2
In TIF
name="ftext" must be have with
name="fix" <div name="fix"> ::theme:: <div name="ftext">No text found</div>
Copy code
step 3
then under the exloader and at forum footer add this script
<div id="load2" style="display: none;"></div>
<script language="javascript">
function tload(l,j){
$('#load2').load(l+' body',function(tdata){
tdata=$(tdata).find('.eachmsg').first().html();
tdata=tdata.split('<article>')[1].split('</article>')[0]; tdata=tdata.replace(/\[img\](.+?)\[\/img\]/ig,''); tdata=tdata.replace(/(\r\n|\n|\r)/gm," "); tdata=tdata.replace(/<br \/>/ig,' '); tdata=tdata.substr(0,100); $('div[name=ftext]:eq('+j+')').html(tdata);
})
}
cou = document.getElementsByName('fix').length;
for(j=0;j<cou;j++){
h = $('div[name=fix]:eq('+j+')').find('a').attr('href');
tload(h,j);
}
</script>
Copy code
in head tag add google jquery pluggin
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
Copy code
if their any problem comment here
wish you success
ethio-pic.tk