Hongmu Notes
Home Program Notes Apple cms message board tags
Program Notes Apple cms

Apple cms message board tags

Apple cms message board tags

Message board tags

Scope of application: Can be used anywhere on the site

Tag function: used for users to submit messages and retrieve message records

1. Leave a message and submit the form


<form action="{pboot:msgaction}"  method="post">

    联系人:<input type="text" name="contacts" >

    手机:<input type="text" name="mobile" >

    内容:<input type="text" name="content" >

    验证码:<input type="text" name="checkcode" ><img   title="点击刷新"  src="{pboot:checkcode}" onclick="this.src='{pboot:checkcode}?'+Math.round(Math.random()*10);" />

    <button type="submit">提交</button>

</form>

The form submission method is POST, and the field names submitted in the form need to be consistent with the fields added in the background custom form, otherwise the submission will fail.
If you need more fields, please add message form fields in the background custom form, and then add form fields in the front desk.

Label description:

{pboot:msgaction} is the message form receiving address

{pboot:checkcode} is the verification code image address
2. Message record list


{pboot:message num=*}

    <p>[message:contacts]</p>

    <p>[message:content]</p>

{/pboot:message}

The retrieved message records are paginated by default, just use the paging code of the content list.
Content privacy, use interception function: [message:mobile substr=1,3][message:mobile substr=8] Output effect: 1876563

Control parameters:

num=* quantity, optional, is the paging size of the retrieved message

page=* Whether to paginate 1 or 0, optional, used to turn off paging

lg=* Retrieve messages in the specified language, optional. If all is set, all languages will be used. If this parameter is not added, the default is the current language (V1.3.7+)

3. Available tags for message record list


[message:n]    序号从0开始
[message:i]    序号从1开始
[message:contacts]    联系人
[message:mobile]    手机
[message:content]    内容
[message:recontent]    回复内容
[message:ip]    用户IP
[message:os]    用户操作系统
[message:bs]    用户浏览器
[message:askdate]    留言时间
[message:replydate]    回复时间
[message:***]    自定义的其它字段
[message:nickname]    会员昵称(V3.0+)
[message:username]    会员账号(V3.0+)
[message:headpic]    会员头像(V3.0+)

 

微信赞赏

WeChat

支付宝赞赏

Alipay

✍️ Author: Hong Mu

webmaster · Thanks for reading, stay tuned for more exciting content

Author homepage View home page →

Related articles

Apple cms commonly used processing functions

Apple cms commonly used processing functions Program Notes Apple cms

Multiple functions are allowed, separated by | {:mac_data_count(0,'all','vod')} Get the total number of videos {:mac_data_count(0,'today','vod')} Get the total number of updated videos today {:mac_data_count(0,'all','art')} Get the total number of articles {:ma…
👁 261

Recommended reading

European Classical Furniture Website Template 0817

European Classical Furniture Website Template 0817 Practical Collection Yiyou template

An EyouCMS website template designed specifically for the European classical furniture and home furnishings industry. Its luxurious, classical design style is ideal for showcasing European furniture products, furniture collections, brand stories, and customisation services. This template helps high-end furniture brands showcase their products online and attract discerning customers. Template Display | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Summary of Common Installation Issues for EyouCMS | Eyou...
👁 44
Construction and Real Estate Company Website Template 0818

Construction and Real Estate Company Website Template 0818 Practical Collection Yiyou template

This EyouCMS template is ideal for construction and real estate companies. Its sophisticated and professional design style effectively showcases construction project examples, real estate developments, corporate strength, and brand image. It helps construction and real estate enterprises build their online brand presence and attract customers. Template Display | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Summary of Common Installation Issues for EyouCMS | EyouCMS (...
👁 31
Responsive Construction and Real Estate Development Company Website Template 0819

Responsive Construction and Real Estate Development Company Website Template 0819 Practical Collection Yiyou template

An eyouCMS responsive website template designed specifically for construction and real estate development companies. Its sophisticated and professional design effectively showcases construction projects, development case studies, sales information, and corporate strength. This template helps real estate developers showcase their brand online and attract potential homebuyers as well as partners. Template Overview | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Common Questions About Installing eyouCMS...
👁 39
Resource website typecho001 template

Resource website typecho001 template Program Notes Typecho

typecho001 template template please do not modify the folder name of this template. The folder name is: typecho001 1.4 Fix the js output problem on the article page 1.3 Fix the error prompt when the plug-in is not installed Optimize the list page code output 1.2 Fix the comment function and add a custom homepage title 1.1 Fix the comment reply asymmetry function Add a separate title setting function on the homepage Add the website favicon.ico icon Add one...
👁 198
Project Construction & Decoration Engineering Company Website Template – 0820

Project Construction & Decoration Engineering Company Website Template – 0820 Practical Collection Yiyou template

This EyouCMS template is ideal for construction and decoration engineering firms, featuring a professional architectural design style that effectively showcases decoration projects, construction case studies, design expertise, and corporate image. It helps decoration companies present their brand online and attract developers and property owners. Template Display | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Summary of Common Installation Issues for EyouCMS | Eyou...
👁 41
Modification of typecho paging style

Modification of typecho paging style Program Notes Typecho

Sir, times have changed! Typecho is currently the most perfect solution, because Baidu can only see the code of fixed thinking. The actual generated HTML code is breathtakingly clean and fully customized, including adding classes to the li element, adding classes to the a element, adding classes to the previous page and next page, and removing the li tags that come with typecho to express more. I can even add some text to the content inside...
👁 516