sngine v2.9 – PHP社交平台源码破解版[国外源码]
程序介绍
在线演示
https://demo.sngine.com
本站中文演示
http://sngine.themez.cc
后台
Demo Link (Login using this username/password)
用户名: demo.admin
密码: 123456
主要功能
用户一般功能:好友系统
关注/被关注
即时聊天通知系统
分享功能
智能发布(视频、音频和文件等)
YouTube, Vimeo, SoundCloud 直连
动态通知,当有人回复、关注、评论、分享你的内容或者@你都会接到通知
声音提示
用户隐私设置
#Hahtags 话题功能
@mention 提醒某人功能
上传照片和建立相册
小组功能
页面建立
表情符号功能
用户封禁功能
完善的用户功能
认证功能包括认证勋章
完整的搜索功能
自适应设计
等等…后台功能:
可移植,便于在任何主机上运行
Ajax系统
纯PHP构建,代码易于理解,易于开发。
SEO友好URL
系统关闭、打开和关闭整个网站
启用注册和关闭注册
注册后发送激活电子邮件启用/禁用激活电子邮件
SMTP电子邮件启用/禁用SMTP电子邮件系统
RECAPTCHA已启用打开和关闭RECAPTCHA
使用“gettext”的多语言多语言平台(支持阿拉伯语和RTL设计)
管理翻译:管理员可以添加/编辑/删除语言翻译
缓存系统所有系统的高级缓存系统和视图模板,保证整个网站的快速加载
管理用户管理您的成员,编辑他们的配置文件详细信息。
管理网页管理成员创建的网页
管理页面类别管理员可以添加/编辑/删除页面的不同类别
管理组编辑或删除用户创建的组
报表按成员管理报表
管理已验证的用户/页面管理员可以将任何用户/页面设置为已验证。
静态页面管理员可以添加/编辑/删除静态页面,如关于、隐私、条款等。
ADS系统管理员可以为整个系统添加/编辑/删除不同位置的广告。
管理主题管理员可以添加/编辑/删除主题
有关用户注册、消息、评论、报告的消息和评论、喜欢的高级统计信息
设置最小/最大结果管理员可以设置每个请求的最小/最大结果数
等等
系统需求
Sngine 需要 Apache 服务器, PHP 5.5+ 和 MySQL 可以运行
在安装前请确认 mysqli, mod_rewrite, cURL, intl 扩展启用. 如果您不会操作可以联系你的主机服务商询问。
#== v2.9 == ( 30-09-2020 )
– [Updated] Documentation
– [Updated] System Security
– [Updated] System Optimization
– [Updated] Sngine Libs [AWS|Embed|HTMLPurifier|HybridAuth|PHPMailer|Smarty|Stripe|Twilio]
– [Updated] Sngine JS Dependencies [bootstrap.select|codemirror|dataTables|easytimer|fluidplayer|moment|tinymce]
– [Updated] Sngine CSS Dependencies [Bootstrap|Font-Awesome]– [Added] New Install/Update Wizard
– [Added] Live Stream Module
– [Added] Admin ability to turn Live Stream On/Off [Admin Panel]
– [Added] Live Privacy (Only Admins, Only Admins and Pro User or Everyone) [Admin Panel]
– [Added] Offers Module
– [Added] Admin ability to turn Offers On/Off [Admin Panel]
– [Added] New System Ads Place for offers Module
– [Added] Jobs Module
– [Added] Admin ability to turn Jobs On/Off [Admin Panel]
– [Added] New System Ads Place for Jobs Module
– [Added] Changing password will logout all other sessions
– [Added] Security Check (Password Required) to change Email or Username
– [Added] Security Check (Password Required) to delete account– [Fixed] og:image for links and media posts
– [Fixed] Shared Anonymous Post
– [Fixed] Profile Completion Links (Upload Profile Picture & Cover)
– [Fixed] Total friend requests sent count
– [Fixed] Minor Bugs
更新日志
#== v2.8 == ( 23-06-2020 )
– [Updated] Documentation
– [Updated] System Security
– [Updated] System Optimization
– [Updated] Sngine Libs [AWS|Embed|FTP|HybridAuth|PHPMailer|ReCaptcha|Smarty|Stripe|Twilio|2Checkout]
– [Updated] Sngine JS Dependencies [jQuery|bootstrap.select|codemirror|easytimer|jquery.form|moment|mustache|tinymce]
– [Updated] Sngine CSS Dependencies [Bootstrap|Font-Awesome]– [Added] Enhance the Design
– [Added] Convert All PNG Icons to SVG
– [Added] Home Icon in Header
– [Added] Online Status on Posts
– [Added] Admin ability to turn Online Status on Posts On/Off [Admin Panel]
– [Added] Post As Anonymous
– [Added] Admin ability to turn Anonymous Mode on Posts On/Off [Admin Panel]
– [Added] OneSignal Push Notifications
– [Added] HTML Email Templates
– [Added] Distance Unit (Mile or Kilometer)
– [Added] Translation for DataTables
– [Added] Translation for Tinymce
– [Added] Blogs & Forums Photo Upload
– [Added] Admin ability to turn Blogs & Forums Photo Upload On/Off [Admin Panel]
– [Added] Admin ability to turn Pages Completely On/Off [Admin Panel]
– [Added] Pages Privacy (Only Admins, Only Admins and Pro User or Everyone) [Admin Panel]
– [Added] Admin ability to turn Groups Completely On/Off [Admin Panel]
– [Added] Groups Privacy (Only Admins, Only Admins and Pro User or Everyone) [Admin Panel]
– [Added] Admin ability to turn Events Completely On/Off [Admin Panel]
– [Added] Events Privacy (Only Admins, Only Admins and Pro User or Everyone) [Admin Panel]
– [Added] Blogs Privacy (Only Admins, Only Admins and Pro User or Everyone) [Admin Panel]
– [Added] Marketplace Privacy (Only Admins, Only Admins and Pro User or Everyone) [Admin Panel]
– [Added] Forums Privacy (Only Admins, Only Admins and Pro User or Everyone) [Admin Panel]
– [Added] Movies Privacy (Only Admins, Only Admins and Pro User or Everyone) [Admin Panel]
– [Added] Games Privacy (Only Admins, Only Admins and Pro User or Everyone) [Admin Panel]
– [Added] Reset All Users’s Points [Admin Panel]
– [Added] Admin ability to turn Infinite Scroll on Mobile On/Off [Admin Panel]
– [Added] Admin ability to turn Cover Photo Resolution Limit On/Off [Admin Panel]
– [Added] Admin ability to turn Comments Photo Upload On/Off [Admin Panel]
– [Added] Admin ability to turn Chat Photo Upload On/Off [Admin Panel]
– [Added] Admin ability to turn Wallet System On/Off [Admin Panel]
– [Added] Admin ability to turn Wallet Transfer Money On/Off [Admin Panel]
– [Added] Admin ability to turn Affiliates Withdraw Earned Money On/Off [Admin Panel]
– [Added] Admin ability to turn Affiliates Transfer Earned Money To Wallet On/Off [Admin Panel]
– [Added] More options for Garbage Collector [Admin Panel]
– [Added] More options for Newsletter [Admin Panel]
– [Added] Voice Notes in Posts
– [Added] Admin ability to turn Voice Notes in Posts On/Off [Admin Panel]
– [Added] Voice Notes in Comments
– [Added] Admin ability to turn Voice Notes in Comments On/Off [Admin Panel]
– [Added] Voice Notes in Chat
– [Added] Admin ability to turn Voice Notes in Chat On/Off [Admin Panel]– [Fixed] Points System Daily Limit
– [Fixed] Faker Random Images
– [Fixed] DayTime Messages Timing
– [Fixed] Disable publish button while uploading
– [Fixed] Change SMS activation codes to be only 6 digits
– [Fixed] Listen to 2 audio files at same time
– [Fixed] Reaction translation
– [Fixed] Minor Bugs
安装说明
打开yourdomain.com/install.php 授权码保持默认即可
和数据库等信息一步一步安装。
本次更新主要是模板方面,这次更新方法
1、备份、备份、备份…
2、覆盖Script下所有的文件和文件夹到服务器
3、上传Update 2.7.1 to 2.7.2文件夹下的update.php到服务器
4、打开你的域名yourdomain.com/update.php输入 授权码 nulled-by-reishi
5、升级完毕。
本源码已汉化完毕,如有需要购买汉化请与reishi联系。
if (-f $request_filename){
set $rule_0 1;
}
if (-d $request_filename){
set $rule_0 1;
}
if ($rule_0 = "1"){
break;
}
if (!-f $request_filename){
set $rule_1 1$rule_1;
}
if (!-d $request_filename){
set $rule_1 2$rule_1;
}
if ($rule_1 = "21"){
rewrite ^/install/?$ /install.php last;
}
rewrite ^/static/([^/]+)/?$ /static.php?url=$1 last;
rewrite ^/contacts/?$ /contact.php last;
rewrite ^/api/([^/]+)/?$ /api.php?do=$1 last;
rewrite ^/developers/?$ /developers.php last;
rewrite ^/developers/([^/]+)/?$ /developers.php?view=$1 last;
rewrite ^/developers/edit/([^/]+)/?$ /developers.php?view=edit&app_auth_id=$1 last;
rewrite ^/share/?$ /share.php last;
rewrite ^/directory/?$ /directory.php last;
rewrite ^/directory/([^/]+)/?$ /directory.php?view=$1 last;
rewrite ^/directory/([^/]+)/([^/]+)/?$ /directory.php?view=$1&page=$2 last;
rewrite ^/search/?$ /search.php last;
rewrite ^/search/hashtag/([^/]+)/?$ /search.php?query=$1&hashtag=1 last;
rewrite ^/search/([^/]+)/?$ /search.php?query=$1&hashtag=0 last;
rewrite ^/signin/?$ /sign.php?do=in last;
rewrite ^/signup/?$ /sign.php?do=up last;
rewrite ^/signout/?$ /sign.php?do=out last;
rewrite ^/reset/?$ /sign.php?do=reset last;
rewrite ^/activation/([^/]+)/([^/]+)/?$ /activation.php?user_id=$1&code=$2 last;
rewrite ^/connect/([^/]+)/?$ /connect.php?do=connect&provider=$1 last;
rewrite ^/revoke/([^/]+)/?$ /connect.php?do=revoke&provider=$1 last;
rewrite ^/packages/?$ /packages.php last;
rewrite ^/started/?$ /started.php last;
rewrite ^/started/finished?$ /started.php?finished=true last;
rewrite ^/messages/?$ /messages.php last;
rewrite ^/messages/new?$ /messages.php?view=new last;
rewrite ^/messages/([^/]+)/?$ /messages.php?cid=$1 last;
rewrite ^/notifications/?$ /notifications.php last;
rewrite ^/settings/?$ /settings.php last;
rewrite ^/settings/([^/]+)/?$ /settings.php?view=$1 last;
rewrite ^/settings/([^/]+)/([^/]+)/?$ /settings.php?view=$1&sub_view=$2 last;
rewrite ^/posts/([^/]+)/?$ /post.php?post_id=$1 last;
rewrite ^/photos/([^/]+)/?$ /photo.php?photo_id=$1 last;
rewrite ^/popular/?$ /index.php?view=popular last;
rewrite ^/discover/?$ /index.php?view=discover last;
rewrite ^/saved/?$ /index.php?view=saved last;
rewrite ^/memories/?$ /index.php?view=memories last;
rewrite ^/ads/?$ /ads.php last;
rewrite ^/ads/new?$ /ads.php?view=new last;
rewrite ^/ads/edit/([^/]+)/?$ /ads.php?view=edit&campaign_id=$1 last;
rewrite ^/wallet/?$ /ads.php?view=wallet last;
rewrite ^/boosted/posts/?$ /index.php?view=boosted_posts last;
rewrite ^/boosted/pages/?$ /index.php?view=boosted_pages last;
rewrite ^/people/?$ /people.php last;
rewrite ^/people/find/?$ /people.php?view=find last;
rewrite ^/people/friend_requests/?$ /people.php?view=friend_requests last;
rewrite ^/people/sent_requests/?$ /people.php?view=sent_requests last;
rewrite ^/pages/?$ /pages.php last;
rewrite ^/pages/liked/?$ /pages.php?view=liked last;
rewrite ^/pages/manage/?$ /pages.php?view=manage last;
rewrite ^/pages/([^/]+)/?$ /page.php?username=$1 last;
rewrite ^/pages/([^/]+)/([^/]+)/?$ /page.php?username=$1&view=$2 last;
rewrite ^/pages/([^/]+)/([^/]+)/([^/]+)/?$ /page.php?username=$1&view=$2&id=$3 last;
rewrite ^/groups/?$ /groups.php last;
rewrite ^/groups/joined/?$ /groups.php?view=joined last;
rewrite ^/groups/manage/?$ /groups.php?view=manage last;
rewrite ^/groups/([^/]+)/?$ /group.php?username=$1 last;
rewrite ^/groups/([^/]+)/([^/]+)/?$ /group.php?username=$1&view=$2 last;
rewrite ^/groups/([^/]+)/([^/]+)/([^/]+)/?$ /group.php?username=$1&view=$2&id=$3 last;
rewrite ^/events/?$ /events.php last;
rewrite ^/events/going/?$ /events.php?view=going last;
rewrite ^/events/interested/?$ /events.php?view=interested last;
rewrite ^/events/invited/?$ /events.php?view=invited last;
rewrite ^/events/manage/?$ /events.php?view=manage last;
rewrite ^/events/([^/]+)/?$ /event.php?event_id=$1 last;
rewrite ^/events/([^/]+)/([^/]+)/?$ /event.php?event_id=$1&view=$2 last;
rewrite ^/events/([^/]+)/([^/]+)/([^/]+)/?$ /event.php?event_id=$1&view=$2&id=$3 last;
rewrite ^/articles/?$ /index.php?view=articles last;
rewrite ^/blogs/?$ /blogs.php last;
rewrite ^/blogs/new/?$ /blogs.php?view=new last;
rewrite ^/blogs/edit/([^/]+)/?$ /blogs.php?view=edit&post_id=$1 last;
rewrite ^/blogs/category/([^/]+)/([^/]+)/?$ /blogs.php?view=category&category_id=$1 last;
rewrite ^/blogs/([^/]+)/([^/]+)/?$ /blogs.php?view=article&post_id=$1 last;
rewrite ^/products/?$ /index.php?view=products last;
rewrite ^/market/?$ /market.php last;
rewrite ^/market/search/?$ /market.php?view=search last;
rewrite ^/market/search/([^/]+)/?$ /market.php?view=search&query=$1 last;
rewrite ^/market/search/([^/]+)/([^/]+)/?$ /market.php?view=search&query=$1&page=$2 last;
rewrite ^/market/category/([^/]+)/?$ /market.php?view=category&category_id=$1 last;
rewrite ^/market/category/([^/]+)/([^/]+)/?$ /market.php?view=category&category_id=$1&category_url=$2 last;
rewrite ^/market/category/([^/]+)/([^/]+)/([^/]+)/?$ /market.php?view=category&category_id=$1&category_url=$2&page=$3 last;
rewrite ^/market/([^/]+)/?$ /market.php?page=$1 last;
rewrite ^/forums/?$ /forums.php last;
rewrite ^/forums/my-threads/?$ /forums.php?view=my-threads last;
rewrite ^/forums/my-replies/?$ /forums.php?view=my-replies last;
rewrite ^/forums/search/?$ /forums.php?view=search last;
rewrite ^/forums/search-results/?$ /forums.php?view=search-results last;
rewrite ^/forums/new-thread/([^/]+)/?$ /forums.php?view=new-thread&forum_id=$1 last;
rewrite ^/forums/edit-thread/([^/]+)/?$ /forums.php?view=edit-thread&thread_id=$1 last;
rewrite ^/forums/new-reply/([^/]+)/?$ /forums.php?view=new-reply&thread_id=$1 last;
rewrite ^/forums/edit-reply/([^/]+)/?$ /forums.php?view=edit-reply&reply_id=$1 last;
rewrite ^/forums/thread/([^/]+)/([^/]+)/?$ /forums.php?view=thread&thread_id=$1 last;
rewrite ^/forums/([^/]+)/([^/]+)/?$ /forums.php?view=forum&forum_id=$1 last;
rewrite ^/movies/?$ /movies.php last;
rewrite ^/movies/search/?$ /movies.php?view=search last;
rewrite ^/movies/search/([^/]+)/?$ /movies.php?view=search&query=$1 last;
rewrite ^/movies/search/([^/]+)/([^/]+)/?$ /movies.php?view=search&query=$1&page=$2 last;
rewrite ^/movies/genre/([^/]+)/([^/]+)/?$ /movies.php?view=genre&genre_id=$1 last;
rewrite ^/movies/genre/([^/]+)/([^/]+)/([^/]+)/?$ /movies.php?view=genre&genre_id=$1&page=$3 last;
rewrite ^/movies/([^/]+)/?$ /movies.php?page=$1 last;
rewrite ^/movie/([^/]+)/([^/]+)/?$ /movies.php?view=movie&movie_id=$1 last;
rewrite ^/games/?$ /games.php last;
rewrite ^/games/played/?$ /games.php?view=played last;
rewrite ^/games/([^/]+)/([^/]+)/?$ /games.php?view=game&game_id=$1 last;
rewrite ^/modcp/?$ /moderator.php last;
rewrite ^/modcp/([^/]+)/?$ /moderator.php?view=$1 last;
rewrite ^/modcp/([^/]+)/([^/]+)/?$ /moderator.php?view=$1&sub_view=$2 last;
rewrite ^/modcp/([^/]+)/([^/]+)/([^/]+)/?$ /moderator.php?view=$1&sub_view=$2&id=$3 last;
rewrite ^/admincp/?$ /admin.php last;
rewrite ^/admincp/([^/]+)/?$ /admin.php?view=$1 last;
rewrite ^/admincp/([^/]+)/([^/]+)/?$ /admin.php?view=$1&sub_view=$2 last;
rewrite ^/admincp/([^/]+)/([^/]+)/([^/]+)/?$ /admin.php?view=$1&sub_view=$2&id=$3 last;
if (!-f $request_filename){
set $rule_113 1$rule_113;
}
if (!-d $request_filename){
set $rule_113 2$rule_113;
}
if ($rule_113 = "21"){
rewrite ^/([^/]+)/?$ /profile.php?username=$1 last;
}
rewrite ^/([^/]+)/([^/]+)/?$ /profile.php?username=$1&view=$2 last;
rewrite ^/([^/]+)/([^/]+)/([^/]+)/?$ /profile.php?username=$1&view=$2&id=$3 last;