V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
cheshirecat
V2EX  ›  分享创造

CuriousWall 开源版:够简单的 PHP 论坛

  •  
  •   cheshirecat ·
    cheshirecats · 2012-07-19 21:00:47 +08:00 · 5129 次点击
    这是一个创建于 4301 天前的主题,其中的信息可能已经有所发展或是发生改变。
    GitHub:

    https://github.com/cheshirecats/CuriousWall

    第一次用 GitHub ... 研究中。是否现在所有人就都可以 commit 了?还是有其它步骤?总之,欢迎随便修改。

    特点:

    1) 够简单。全站单页面设计。

    2) PHP + MySQL。

    3) Ajax + Hash History。

    界面:

    21 条回复    1970-01-01 08:00:00 +08:00
    Air_Mu
        1
    Air_Mu  
       2012-07-19 21:03:37 +08:00
    楼主你这个是简单到近似多页面留言板那种
    还是有基本的论坛功能 用户信息的那种。
    cheshirecat
        2
    cheshirecat  
    OP
       2012-07-19 21:07:22 +08:00
    @Air_Mu 这个版本其实就是多页面留言板,不过因为有 Hash History 所以已经有一点点可用性。
    Air_Mu
        3
    Air_Mu  
       2012-07-19 21:14:45 +08:00
    @cheshirecat 期盼完善,我一直想找像V2EX这种简约风格的PHP论坛程序。
    PW DZ那种一看见就烦- -
    NemoAlex
        4
    NemoAlex  
       2012-07-19 21:29:20 +08:00
    看起来不错,代码里用 Tab 看起来真头大,建议换空格
    cheshirecat
        5
    cheshirecat  
    OP
       2012-07-19 21:31:00 +08:00
    @NemoAlex @Air_Mu 大家自己改吧。现在所有人都可以随便改吗?还是要我批准什么的。没用过 GitHub ...
    NemoAlex
        6
    NemoAlex  
       2012-07-19 21:32:43 +08:00
    @cheshirecat 当然不是随便改啦
    别人可以发起 Pull Request,需要你的通过才能合并
    thcode
        7
    thcode  
       2012-07-19 21:44:22 +08:00
    @NemoAlex 别人 fork 之后给你发 Pull Request,接受就可以了
    cheshirecat
        8
    cheshirecat  
    OP
       2012-07-19 21:55:12 +08:00
    @thcode @NemoAlex 谢谢。挺有意思!
    cheshirecat
        9
    cheshirecat  
    OP
       2012-07-19 22:23:39 +08:00
    改代码之前忘了先和 GitHub 同步,现在完全混乱了...

    怎么可以把本地全部同步到服务器上的某个版本... 怎么可以把某个错误的 commit 干掉... 试了很多命令都不行
    thcode
        10
    thcode  
       2012-07-19 22:27:20 +08:00
    删除 commit 好像很麻烦…… 你看看 https://help.github.com/ 有没有解决方案,或者搜索一下 stackoverflow
    skydiver
        11
    skydiver  
       2012-07-19 22:42:42 +08:00
    要是能用NoSQL就好了
    cheshirecat
        12
    cheshirecat  
    OP
       2012-07-19 22:42:58 +08:00
    @thcode 这东西太奇怪了。我把本地文件全清掉,重新clone下来,居然还是一大堆"files to be committed"...
    skydiver
        13
    skydiver  
       2012-07-19 23:06:58 +08:00
    connect.php里面的 $db_user='gupnp_root_device_new(context, location, description_dir)'; 这一句是神马意思??
    cheshirecat
        14
    cheshirecat  
    OP
       2012-07-19 23:13:29 +08:00
    @skydiver 什么意思?这里没有:https://github.com/cheshirecats/CuriousWall/blob/master/connect.php

    我发现 GitHub 这东西真是反人类,居然很难改 commit message ... 也没法改 tab 宽度,非常难看。

    过几个月动手做个新的。
    badec
        15
    badec  
       2012-07-19 23:15:21 +08:00
    还没碰到比极限做的更好的vBulletin~
    skydiver
        16
    skydiver  
       2012-07-19 23:16:15 +08:00
    @cheshirecat 好吧,是sublime的bug,我输入root它自动补全了。。。。
    cheshirecat
        17
    cheshirecat  
    OP
       2012-07-19 23:23:39 +08:00
    @skydiver 好奇葩的自动补全,下载来试试。

    做为土人一直 notepad++,一直想如果 visual studio + visual assist 能有脚本语言支持就很不错了。

    phpstorm netbeans eclipse 什么的看到界面(java做的界面太丑了)就想关窗口,vim 和 emacs 又懒得学 ...
    jed1023
        18
    jed1023  
       2012-07-29 23:58:18 +08:00
    mark 哥们我拿去用了,正好要做一个类似风格的网站。。。
    liuhang0077
        19
    liuhang0077  
       2012-08-02 10:26:57 +08:00
    已经收录到 http://icode.hk 了~~
    yeshang
        20
    yeshang  
       2012-08-02 11:10:02 +08:00
    @liuhang0077 才4个程序??
    liuhang0077
        21
    liuhang0077  
       2012-08-02 11:17:15 +08:00
    @yeshang 饿 这个...才弄的,,, 这两天忙木有时间搞...
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1114 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 18:29 · PVG 02:29 · LAX 11:29 · JFK 14:29
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.