Add new posts to the dvbbs Homepage

Source: Internet
Author: User
Call to create a new post: new1

Copy the page content as follows

Call ID: new1
CallCode: Automatically generated by the system
Call Description: new post
Call type: Post call
Data Update Interval: 60 seconds
Time Display format: YYYY-M-D
Number of display records: 6
Title length: 14
Post sorting: The latest sorting by default (recommended)
Number of days limit: do not fill
Display type: Display topic
Called layout: Select All la s
Layout settings: only the data of the layout is displayed.
Layout restrictions: Display All data
Separate user ID: not filled

Template _ start tag

<Table border = "0" align = center cellpadding = 3 cellspacing = 1 class = tableborder1>
<Tr>
<TH align = left Height = 25> <Div align = center>
<P align = "Middle"> latest topic list </div> </Th>
<TH align = left Height = 25> <Div align = center>
<P align = "Middle"> Best popularity ranking </div> </Th>
<TH align = left Height = 25> <Div align = center>
<P align = "Middle"> new member </div> </Th>
</Tr>
<Tr bgcolor = # efefef class = TDC bordercolor = "# ff0000" width = "80%">
<TD width = "33%"> <Table width = "100%" border = "0" cellpadding = 3 cellspacing = 1 class = tableborder1>


Template _ subject cycle mark part

<Tr>
<TD class = "tablebody2" width = "400" align = "Left">
<Font face = "wingdings" color = "# ffaa39"> 1 </font> <a href = "dispbbs. asp? Boardid = {$ boardid} & id = {$ id} & replyid = {$ replyid} ">{$ topic} </a>
<A href = "dispuser. asp? Name = {$ username} "> <font color =" # cc99ff "> [</font> {$ username }, <font color = green >{$ posttime} </font> <font color = "# cc99ff">] </font> </a>

</Tr>


Template _ end tag

</Table> </TD>

Step 2:
Create one of the hottest theme calls: new2

Call ID: new2
Call code: automatically generated by the system
Call Description: new hot question
Call type: Post call
Data Update Interval: 60 seconds
Time Display format: YYYY-M-D
Number of display records: 6
Title length: 14
Post sorting: By clicking (most popular posts)
The number of days limit: 7 (in fact, the most popular topic this week ).
Display type: Display topic
Called layout: Select All la s
Layout settings: only the data of the layout is displayed.
Layout restrictions: Display All data
Separate user ID: not filled

Template _ start tag

<TD width = "33%"> <Table width = "100%" border = "0" cellpadding = 3 cellspacing = 1 class = tableborder1>


Template _ subject cycle mark part

<Tr>
<TD class = "tablebody2" width = "400" align = "Left">
<Font face = "wingdings" color = "# ffaa39"> 1 </font> <a href = "dispbbs. asp? Boardid = {$ boardid} & id = {$ id} & replyid = {$ replyid} ">{$ topic} </a>
<A href = "dispuser. asp? Name = {$ username} "> <font color =" # cc99ff "> [</font> {$ username }, <font color = green >{$ posttime} </font> <font color = "# cc99ff">] </font> </a>
</TD>
</Tr>


Template _ end tag

</Table> </TD>

Step 3: Call new3 to create the latest member

Call ID: new3
Call code: automatically generated by the system
Call Description: New Member
Call type: Member call
Data Update Interval: 60 seconds
Time Format: YYYY-M-D H: M: S
Number of display records: 6
Sort members by registration time (if you want to display the posting ranking on the homepage, select by userArticle)

Template _ start tag

<TD width = "12%"> <Table width = "100%" border = "0" cellpadding = 3 cellspacing = 1 class = tableborder1>


Template _ subject cycle mark part

<Tr>
<TD class = "tablebody2" width = "400" align = "Left">
<a href = "dispuser. asp? Id = {$ userid} "target =" _ blank ">{$ username} </a> <font color =" gray ">{$ usertopic}/{$ userpost} /{$ userbest }) </font> <br>
</TD>
</Tr>


Template _ end tag

</Table> </TD>
</Tr>
</Table>
Now, the call settings are complete!

Last step

Into the background --wind Interface Template total management --page partition template (page_index}--template.html (0)

Find:

Font face = "wingdings" color = "666666"> v </font>
<A href = "infolist. asp? T = toplist & orders = 7 "> User List </a>
</Div>
</Div>

Add the following:

<Br/>
<SCRIPT src = "dv_news.asp? Getname = new1 "> </SCRIPT>
<SCRIPT src = "dv_news.asp? Getname = new2 "> </SCRIPT>
<SCRIPT src = "dv_news.asp? Getname = new3 "> </SCRIPT>: Call new1 to create a new post.

Copy the page content as follows

Call ID: new1
Call code: automatically generated by the system
Call Description: new post
Call type: Post call
Data Update Interval: 60 seconds
Time Display format: YYYY-M-D
Number of display records: 6
Title length: 14
Post sorting: The latest sorting by default (recommended)
Number of days limit: do not fill
Display type: Display topic
Called layout: Select All la s
Layout settings: only the data of the layout is displayed.
Layout restrictions: Display All data
Separate user ID: not filled

Template _ start tag

<Table border = "0" align = center cellpadding = 3 cellspacing = 1 class = tableborder1>
<Tr>
<TH align = left Height = 25> <Div align = center>
<P align = "Middle"> latest topic list </div> </Th>
<TH align = left Height = 25> <Div align = center>
<P align = "Middle"> Best popularity ranking </div> </Th>
<TH align = left Height = 25> <Div align = center>
<P align = "Middle"> new member </div> </Th>
</Tr>
<Tr bgcolor = # efefef class = TDC bordercolor = "# ff0000" width = "80%">
<TD width = "33%"> <Table width = "100%" border = "0" cellpadding = 3 cellspacing = 1 class = tableborder1>


Template _ subject cycle mark part

<Tr>
<TD class = "tablebody2" width = "400" align = "Left">
<Font face = "wingdings" color = "# ffaa39"> 1 </font> <a href = "dispbbs. asp? Boardid = {$ boardid} & id = {$ id} & replyid = {$ replyid} ">{$ topic} </a>
<A href = "dispuser. asp? Name = {$ username} "> <font color =" # cc99ff "> [</font> {$ username }, <font color = green >{$ posttime} </font> <font color = "# cc99ff">] </font> </a>

</Tr>


Template _ end tag

</Table> </TD>

Step 2:
Create one of the hottest theme calls: new2

Call ID: new2
Call code: automatically generated by the system
Call Description: new hot question
Call type: Post call
Data Update Interval: 60 seconds
Time Display format: YYYY-M-D
Number of display records: 6
Title length: 14
Post sorting: By clicking (most popular posts)
The number of days limit: 7 (in fact, the most popular topic this week ).
Display type: Display topic
Called layout: Select All la s
Layout settings: only the data of the layout is displayed.
Layout restrictions: Display All data
Separate user ID: not filled

Template _ start tag

<TD width = "33%"> <Table width = "100%" border = "0" cellpadding = 3 cellspacing = 1 class = tableborder1>


Template _ subject cycle mark part

<Tr>
<TD class = "tablebody2" width = "400" align = "Left">
<Font face = "wingdings" color = "# ffaa39"> 1 </font> <a href = "dispbbs. asp? Boardid = {$ boardid} & id = {$ id} & replyid = {$ replyid} ">{$ topic} </a>
<A href = "dispuser. asp? Name = {$ username} "> <font color =" # cc99ff "> [</font> {$ username }, <font color = green >{$ posttime} </font> <font color = "# cc99ff">] </font> </a>
</TD>
</Tr>


Template _ end tag

</Table> </TD>

Step 3: Call new3 to create the latest member

Call ID: new3
Call code: automatically generated by the system
Call Description: New Member
Call type: Member call
Data Update Interval: 60 seconds
Time Format: YYYY-M-D H: M: S
Number of display records: 6
Sort members: By registration time (if you want to display the posting ranking on the homepage, select by user article here)

Template _ start tag

<TD width = "12%"> <Table width = "100%" border = "0" cellpadding = 3 cellspacing = 1 class = tableborder1>


Template _ subject cycle mark part

<Tr>
<TD class = "tablebody2" width = "400" align = "Left">
<a href = "dispuser. asp? Id = {$ userid} "target =" _ blank ">{$ username} </a> <font color =" gray ">{$ usertopic}/{$ userpost} /{$ userbest }) </font> <br>
</TD>
</Tr>


Template _ end tag

</Table> </TD>
</Tr>
</Table>
Now, the call settings are complete!

Last step

Into the background --wind Interface Template total management --page partition template (page_index}--template.html (0)

Find:

Font face = "wingdings" color = "666666"> v </font>
<A href = "infolist. asp? T = toplist & orders = 7 "> User List </a>
</Div>
</Div>

Add the following:

<Br/>
<SCRIPT src = "dv_news.asp? Getname = new1 "> </SCRIPT>
<SCRIPT src = "dv_news.asp? Getname = new2 "> </SCRIPT>
<SCRIPT src = "dv_news.asp? Getname = new3 "> </SCRIPT>

[This log was edited by Jianfeng at]
Article from:Original Site
Reference announcement address:Http://www.jfeng.cn/trackback.asp? Tbid = 48
Tags:Dynamic Network Forum dvbbsdvbbs

[This log was edited by Jianfeng at]
Article from:Original Site
Reference announcement address:Http://www.jfeng.cn/trackback.asp? Tbid = 48
Tags:Dynamic Network Forum dvbbsdvbbs

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.