关于网站前台会员登记登录的一些疑问
关于网站前台会员注册登录的一些疑问
现在公司要求做一个企业站,前台要求可以注册会员,并且可以选择要注册会员的类型,根据注册类型的不同,登录后会员的功能也不一样,并且显示不同的用户中心界面。会员可以在网站上发布一些图片和文字等信息。发布后后台管理员进行审核,审核成功后方可在网站上显示。请问这样类似的功能应该怎么实现呢。本人大学毕业不久,以前都是让干的套模版的工作。而且现在用的这套CMS只有后台登陆和新闻类的发布功能。所以想请教一下论坛上的各位大大指导一下小弟,感激不尽!!!!!
------解决方案--------------------
你打算用哪个框架还是原生代码实现?
看你说是干套模版的工作,那么也应该有你熟悉的后台吧
------解决方案--------------------
这个很好实现啊,用权限控制来实现,不同注册类型其实就是不同的权限分组角色,每组角色在后台维护一套模板。
------解决方案--------------------
简单点的就设注册会员的类型为type,注册时根据注册类型给它个值(如1、2、3、4之类的),登录时判断type值给它对应的界面。
------解决方案--------------------
给用户发表的文章增加个字段用来标识是否通过审核,没有的在前台展示的时候就不进行展示。
------解决方案--------------------

Hot AI Tools

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

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

Undress AI Tool
Undress images for free

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

Asynchronous processing method of SelectChannelsGo concurrent programming using golang Introduction: Concurrent programming is an important area in modern software development, which can effectively improve the performance and responsiveness of applications. In the Go language, concurrent programming can be implemented simply and efficiently using Channels and Select statements. This article will introduce how to use golang for asynchronous processing methods of SelectChannelsGo concurrent programming, and provide specific

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:

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

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

PHPcms is a powerful content management system that is widely used in website development. Column caching is an important function in PHPcms, which can improve website access speed and reduce server pressure. This article will reveal the storage path of the PHPcms column cache and provide specific code examples. 1. What is column caching? Column caching refers to generating static files from the column content in the website and storing them in the specified path. When the user accesses the column, the static file is directly read instead of dynamically generating the page every time. this

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.
