Destoon calls the implementation method of post with images in the discuz Forum, destoondiscuz

Source: Internet
Author: User

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.
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.