Destoon calls the implementation method of post with images in the discuz Forum, destoondiscuz
In destoon development, we sometimes need to call Forum posts. But how can we call post with images? In this article, we will show an example of how to call a post with images on the discuz Forum:
The tag code is as follows:
<!--{php $tags=tag("table=pre_forum_thread i,pre_forum_threadimage t&prefix=&condition=i.tid=t.tid&length=36&order=i.tid desc&pagesize=9&target=_blank&template=null");}-->{loop $tags $t}<A href="bbs/forum.php?mod=viewthread&tid={$t[tid]}" rel="external nofollow" rel="external nofollow" rel="external nofollow" target=_blank>{$t[subject]}</A> <br /><A href="bbs/forum.php?mod=viewthread&tid={$t[tid]}" rel="external nofollow" rel="external nofollow" rel="external nofollow" target=_blank></A>{/loop}
The method for calling a new forum post is as follows:
<!--{php $tags=tag("table=pre_forum_thread&prefix=&length=36&order=tid desc&pagesize=9&target=_blank&template=null");}-->{loop $tags $t}<A href="bbs/forum.php?mod=viewthread&tid={$t[tid]}" rel="external nofollow" rel="external nofollow" rel="external nofollow" target=_blank>{$t[subject]}</A> {/loop}
I hope this method will be helpful for destoon development.
Discuz! How does the DIY portal module of the X2 forum call pictures in the post?
How many images are there in the page you call? Try uploading a few images and change the call time, that is, the update time. If not, disable the plug-in of the N-grid homepage, and then re-enable it. If not, uninstall and try again,
How does destoon call a post in a specific forum of DISCUZ?
Data calling in the tool requires a little programming knowledge.