How to implement posts with pictures in destoon calling discuz forum, destoondiscuz_PHP tutorial

WBOY
Release: 2016-07-13 10:20:26
Original
936 people have browsed it

destoon calls the implementation method of posts with pictures in the discuz forum, destoondiscuz

In destoon development, sometimes we need to call the forum posts, but how to call the posts with pictures. This article will show an example of how to call the discuz forum posts with pictures:

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&#63;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&#63;mod=viewthread&tid={$t[tid]}" rel="external nofollow" rel="external nofollow" rel="external nofollow" target=_blank><img src="bbs/data/attachment/forum/{$t[attachment]}" width="50" height="50" /></A>
{/loop}

Copy after login

The method to call 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&#63;mod=viewthread&tid={$t[tid]}" rel="external nofollow" rel="external nofollow" rel="external nofollow" target=_blank>{$t[subject]}</A> 
{/loop}

Copy after login

I hope the method described in this article will be helpful to everyone in destoon development.

Discuz! X2 forum DIY portal module, how to call the pictures in the post?

How many pictures do you call the section? Try uploading a few pictures and change the calling time, which is the update time. If it doesn't work, close the N-frame plug-in on the homepage and then reopen it. If it doesn't work, uninstall and reinstall it. Try,

How does destoon call a post in a specific section of DISCUZ

Data calling in the tool requires some programming knowledge

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/867234.htmlTechArticleThe implementation method of destoon calling discuz forum with picture posts, destoondiscuz Sometimes we need to call the forum during destoon development Posts, but how to call out posts with pictures...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template