embr


Long live the king.

For guys who want to more frequent updates, please refer to https://github.com/AstroProfundis/embrr'>embrr

Evolved from http://code.google.com/p/rabr'>rabr

Origin

embr is the abbreviation of embrace.It means:

  1. unfinished embrace, to everything you get from twitter.

  2. ephemeral embrace, to the time flying with twitter.

FAQ

Public 页面无法RT?

如下在/lib/config.php设置twitese_api_url变量 define('TWITESE_API_URL', 'http://embrpublic1.appspot.com');

出现 Call to undefined function curl_init() 错误?

在空间设置后台的PHP环境中编辑PHP5.ini(如alwaysdata空间),加入一行 extension = curl.so

静候五分钟生效好,若仍有此错误,说明空间不支持curl,无法架设embr。

出现 Call to undefined function mcrypt_module_open() 错误?

在空间设置后台的PHP环境中编辑PHP5.ini(如alwaysdata空间),加入一行 extension = mcrypt.so

静候五分钟生效好,若仍有此错误,说明空间不支持mcrypt,此时请将config中的secure_key留空。

上传新版embr后右侧个人信息页面乱码?

这是由于上传新版embr时的config.php里面的SECURE_KEY改变造成的,请点击右上角的Logout再重新登录。

Embr安装步骤

I.到download list下载embr-r.7z(不保证最新) 或使用SVN工具(如TortoiseSVN)下载 http://embr.googlecode.com/svn/trunk/ 获得最新源代码

II.打开.\lib\config.sample.php(最好用http://www.xdowns.com/soft/4/85/2006/Soft_31040.html'>UltraEdit等软件),按照说明进行设置,设置完*重命名为config.php*后直接上传即可,如果您的网站运行已有一段时间,想增加安全验证模块,由于安全模块只对重新登录有效,故为了强制所有用户重新登录,请更改secure_key。

注1:如果是上传二(多)级目录,如www.name.com/abc请搜索 .htaccess 文件

将 user.php 改为 abc/user.php

status.php 改为 abc/status.php 即可。

注2:Nginx主机(一般免费空间均为Apache主机,可跳过本段)可参考的 Nginx Rewrite规则(加入到nginx.conf即可) location / { if (!-f $request_filename) { rewrite ^/(\d+)$ /statuse.php?id=$1 last; rewrite ^/(\w+)$ /user.php?id=$1 last; break; } }

Project Information

  • License: GNU GPL v3
  • 214 stars
  • svn-based source control

Labels:
Twitter OAuth Academic AJAX