關(guān)于網(wǎng)站前臺(tái)會(huì)員登記登錄的一些疑問(wèn)
Jun 13, 2016 pm 12:01 PM
關(guān)于網(wǎng)站前臺(tái)會(huì)員注冊(cè)登錄的一些疑問(wèn)
現(xiàn)在公司要求做一個(gè)企業(yè)站,前臺(tái)要求可以注冊(cè)會(huì)員,并且可以選擇要注冊(cè)會(huì)員的類型,根據(jù)注冊(cè)類型的不同,登錄后會(huì)員的功能也不一樣,并且顯示不同的用戶中心界面。會(huì)員可以在網(wǎng)站上發(fā)布一些圖片和文字等信息。發(fā)布后后臺(tái)管理員進(jìn)行審核,審核成功后方可在網(wǎng)站上顯示。請(qǐng)問(wèn)這樣類似的功能應(yīng)該怎么實(shí)現(xiàn)呢。本人大學(xué)畢業(yè)不久,以前都是讓干的套模版的工作。而且現(xiàn)在用的這套CMS只有后臺(tái)登陸和新聞?lì)惖陌l(fā)布功能。所以想請(qǐng)教一下論壇上的各位大大指導(dǎo)一下小弟,感激不盡?。。。?!
------解決方案--------------------
你打算用哪個(gè)框架還是原生代碼實(shí)現(xiàn)?
看你說(shuō)是干套模版的工作,那么也應(yīng)該有你熟悉的后臺(tái)吧
------解決方案--------------------
這個(gè)很好實(shí)現(xiàn)啊,用權(quán)限控制來(lái)實(shí)現(xiàn),不同注冊(cè)類型其實(shí)就是不同的權(quán)限分組角色,每組角色在后臺(tái)維護(hù)一套模板。
------解決方案--------------------
簡(jiǎn)單點(diǎn)的就設(shè)注冊(cè)會(huì)員的類型為type,注冊(cè)時(shí)根據(jù)注冊(cè)類型給它個(gè)值(如1、2、3、4之類的),登錄時(shí)判斷type值給它對(duì)應(yīng)的界面。
------解決方案--------------------
給用戶發(fā)表的文章增加個(gè)字段用來(lái)標(biāo)識(shí)是否通過(guò)審核,沒(méi)有的在前臺(tái)展示的時(shí)候就不進(jìn)行展示。
------解決方案--------------------

Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

An error occurs when ubuntu mounts a mobile hard disk: mount: unknownfilesystemtype'exfat'. The processing method is as follows: Ubuntu13.10 or install exfat-fuse: sudoapt-getinstallexfat-fuseUbuntu13.04 or below sudoapt-add-repositoryppa:relan/exfatsudoapt-getupdatesudoapt-getinstallfuse- exfatCentOS Linux mount exfat format USB disk error solution to load extfa in CentOS

The benefits brought by the integration of PHP framework and CMS are: 1. Improve development efficiency; 2. Enhance security; 3. Simplify content management; 4. Flexibility. In a practical case, the Laravel framework was integrated with WordPressCMS to create a blog website with customized functions. The integration steps include creating a Laravel application, installing WordPress, configuring WordPress, creating a controller, defining routing, obtaining WordPress data, and in the Laravel view Display Data.

jQuery is a popular JavaScript library that can be used to simplify DOM manipulation, event handling, animation effects, etc. In web development, we often encounter situations where we need to change event binding on select elements. This article will introduce how to use jQuery to bind select element change events, and provide specific code examples. First, we need to create a dropdown menu with options using labels:

The mechanisms for integrating the PHP framework with the CMS include: hooks and events, which allow the CMS to hook into the framework's life cycle events. Bridges and adapters provide standardized methods for calling CMS functions. Self-contained code that enables the CMS to run independently of the framework. Practical example: It is possible to integrate a WordPress blog into the Laravel framework by creating custom routes, controllers and importing database dumps.

Practical tips for integrating PHPcms with other systems With the continuous development of Internet technology, the field of website development has become more diverse and complex. In actual projects, we often face situations where different systems need to be integrated, which requires us to have certain skills and experience to solve these problems. This article will introduce some practical tips and specific code examples for the integration of the PHPcms system with other systems to help developers better cope with challenges. 1. Basic Principles of Integration When performing system integration, it is first necessary to

CMS stands for Content Management System. It is a software application or platform that enables users to create, manage, and modify digital content without requiring advanced technical knowledge. CMS allows users to easily create and organize content

Build a PHP cloud transcoding CMS system to implement video transcoding services. With the rapid development of online videos, video transcoding services have become more and more important. In order to meet users' needs for video transcoding, building a PHP cloud transcoding CMS system is a good choice. In this article, we will introduce how to build a simple PHP cloud transcoding CMS system and provide specific code examples. First, we need to prepare a basic PHP development environment. Make sure you have PHP and MySQL installed and have a web server such as Apa

The location of the Empire CMS directory is revealed. Specific code examples are needed. Empire CMS (EmpireCMS) is a widely used open source content management system. Its flexibility and feature richness are loved by users. During the website development process, it is crucial to understand the directory structure and file location of Empire CMS, as this helps developers better manage website content and functions. This article will reveal the directory location of Empire CMS and provide specific code examples to help readers gain a deeper understanding of this content management system. 1.Basic directory structure
