V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Hifone
V2EX  ›  PHP

基于 Laravel 5.2 开发的一个 bbs,参考 V2EX, PHPHub 和 Ruby China

  •  1
     
  •   Hifone · Jun 13, 2016 · 9391 views
    This topic created in 3614 days ago, the information mentioned may be changed or developed.

    为了学习 Laravel 5.2 参照 V2EX , PHPhub 和 Ruby-china 做了一个 BBS ,取名叫 Hifone ( Hi + Forum + One )。非常感谢 V2EX , PHPhub 和 Ruby-china , Hifone 从中汲取了不少养分。

    废话少说,上图:

    1 、前台

    file

    2 、发帖

    file

    3 、管理后台

    file

    4 、广告(推荐位),广告位可以根据路径定向投放

    file

    5 、 OAuth 登录(支持新浪微博、 QQ 、 Gitlab 等)

    file

    演示地址: http://hifone.com/ 源码地址: https://github.com/Hifone/Hifone or http://git.oschina.net/hifone/Hifone

    个人能力有限,程序肯定存在很多不成熟的地方,欢迎大家拍砖,谢谢。

    Supplement 1  ·  Jun 16, 2016
    Hifone 目前处于开发状态,安装过程需要有一点 PHP 和 Laravel 的基础知识。
    Supplement 2  ·  Jun 17, 2016

    简化了安装步骤。

    file

    Supplement 3  ·  Jun 21, 2016

    新增积分功能。

    file

    57 replies    2016-07-24 10:42:30 +08:00
    echopan
        1
    echopan  
       Jun 13, 2016
    做的还不错 已经 star
    lslqtz
        2
    lslqtz  
       Jun 13, 2016
    已 Star 。
    kaiku300
        3
    kaiku300  
       Jun 13, 2016
    不错哦 star
    cmlz
        4
    cmlz  
       Jun 13, 2016
    说真的,顶头的广告位和那四个大方框实在太影响用户体验,至少我觉得不舒服。
    songsong
        5
    songsong  
       Jun 13, 2016
    不错 ,赞
    jsyzchen
        6
    jsyzchen  
       Jun 13, 2016
    已 star
    denghongcai
        7
    denghongcai  
       Jun 13, 2016
    工作量有点大啊,赞一个楼主
    ruolis
        8
    ruolis  
       Jun 13, 2016
    太好了 正好我是新手学习 Laravel 谢谢楼主!!!
    bjrjk
        9
    bjrjk  
       Jun 13, 2016 via Android
    star ed
    kideny
        10
    kideny  
       Jun 13, 2016
    人工置顶,支持一个。
    jeffw
        11
    jeffw  
       Jun 13, 2016
    已 tart
    lissome
        12
    lissome  
       Jun 13, 2016
    已 star
    msg7086
        13
    msg7086  
       Jun 13, 2016
    首页 Ruby-China 我一脸哪。

    @cmlz 还好吧。人的视线本来就比较容易集中在中间区域,顶部撑开以后眼睛正好从中间的帖子列表看起。
    andysheng
        14
    andysheng  
       Jun 13, 2016
    Safari 上,点击帖子里的图片后,会弹出 n 个模态框出来。
    pengbo37877
        15
    pengbo37877  
       Jun 13, 2016
    少年你的 pjax 用的是什么实现的
    cmlz
        16
    cmlz  
       Jun 13, 2016 via Android
    @msg7086
    或者我比较特别,我习惯看网页从顶部的大标题看起,看美女也是从脸往下看,哈...
    Hifone
        17
    Hifone  
    OP
       Jun 13, 2016
    @pengbo37877 jquery-pjax + laravel middleware
    Hifone
        18
    Hifone  
    OP
       Jun 13, 2016
    @andysheng ekko-lightbox 没用好,下次修复,谢谢。
    vovov
        19
    vovov  
       Jun 14, 2016
    已 Star
    bbs7txt
        20
    bbs7txt  
       Jun 14, 2016 via iPhone
    楼主可以给 phphub 加个后台,会员注册功能么?
    xuwenmang
        21
    xuwenmang  
       Jun 14, 2016
    @bbs7txt 楼主发的不就是有后台,有会员注册?
    luckybird
        22
    luckybird  
       Jun 14, 2016
    tvallday
        23
    tvallday  
       Jun 14, 2016 via Android
    不错啊,要是能接入 WordPress 就最好了,这样市场前景广阔。
    30CURRY30
        24
    30CURRY30  
       Jun 14, 2016
    我执行了 php artisan migrate 之后报了 Database (E:\www\xxx\database\database.sqlite) does not exist.的错误,请问哪里出错了
    Hifone
        25
    Hifone  
    OP
       Jun 14, 2016
    @30CURRY30 没有在 win 下跑 sqlite 测过。 travis-ci 上的单元测试用的是 sqlite.
    Hifone
        26
    Hifone  
    OP
       Jun 14, 2016
    @tvallday 准备接入 discuz 。用户密码加密算法已经与 discuz 保持一致。
    30CURRY30
        27
    30CURRY30  
       Jun 14, 2016
    @Hifone OK ,明白了
    tvallday
        28
    tvallday  
       Jun 14, 2016
    @Hifone 同样是论坛为什么要接入 discuz ?
    sorra
        29
    sorra  
       Jun 14, 2016
    不错!虽然我不用 PHP
    Robias
        30
    Robias  
       Jun 14, 2016
    不错,赞。
    hugsky
        31
    hugsky  
       Jun 14, 2016
    @Hifone discuz 海量用户等待你的拯救计划。
    baoguok
        32
    baoguok  
       Jun 14, 2016
    good
    Hifone
        33
    Hifone  
    OP
       Jun 14, 2016
    @tvallday 所谓的接入是 convert ,并不是并存。主题、回帖导入做转换相对简单,用户的导入关键还是用户密码算法不一致的问题。我是这么想的,可能考虑不周,请赐教。
    snowrui
        34
    snowrui  
       Jun 14, 2016
    不错 已 start
    tvallday
        35
    tvallday  
       Jun 14, 2016
    @Hifone 哦我的意思不是导入是提供可以做成插件的接口,方便做成其他知名产品的扩展,或者方便其他插件扩展你的论坛。比如 Wordpress 的中文论坛扩展少得可怜,往往要外连到另一个独立的论坛系统,要是有现成的好论坛能做成插件,这个用户量很快就上去了。
    demoxu
        36
    demoxu  
       Jun 14, 2016
    已 star
    Dreawer
        37
    Dreawer  
       Jun 14, 2016
    准备注册,填写资料之后提交怎么都变空白了?
    sunnygts
        38
    sunnygts  
       Jun 14, 2016
    不错的 风格很清新
    wjfz
        39
    wjfz  
       Jun 14, 2016
    已 start

    搜索是要登录咩,跳到了 http://hifone.com/auth/register?q=test
    chuhemiao
        40
    chuhemiao  
       Jun 14, 2016
    风格不错
    kardec
        41
    kardec  
       Jun 14, 2016
    看起来很不错的样子
    shrimp929
        42
    shrimp929  
       Jun 14, 2016
    zonghua
        43
    zonghua  
       Jun 14, 2016
    后台模板是第三方的吗?叫什么?还是自己写的?
    flipped123
        44
    flipped123  
       Jun 14, 2016
    改为 python-china 吧,为什么 ruby 有。(逃
    cai314494687
        45
    cai314494687  
       Jun 14, 2016   ❤️ 1
    不错, 1 年多之前我用 Yii2 也写过一个项目: https://github.com/iiYii/getyii
    pein
        46
    pein  
       Jun 14, 2016
    有没有压测一下 作为 BBS 的话需要这种数据
    freebattle
        47
    freebattle  
       Jun 14, 2016
    来自 d 版带着爱啊
    Hifone
        48
    Hifone  
    OP
       Jun 14, 2016
    @freebattle 你懂的。欢迎去 D 版推荐下,嘿。
    lanxyou
        49
    lanxyou  
       Jun 14, 2016
    我看好楼主---UGlee
    GeorgeYang
        50
    GeorgeYang  
       Jun 14, 2016
    好棒的 bbs ,配一个好米就可以玩起来了!已 star
    kumakiti
        51
    kumakiti  
       Jun 14, 2016
    5 天时间,真棒,想学 Laravel 的表示 Laravel 还是很大很复杂的
    phithon
        52
    phithon  
       Jun 14, 2016
    楼上说了这么多都没装装试试。。
    https://github.com/Hifone/Hifone/issues/20
    qloog
        53
    qloog  
       Jun 15, 2016
    很不错呦~
    alen
        54
    alen  
       Jun 15, 2016
    不错不错,现在玩的是 phalcon ,以后有空了玩玩 laravel 。
    Magician
        55
    Magician  
       Jun 16, 2016
    楼上说了这么多 能跑起来么 500 错误。
    Hifone
        56
    Hifone  
    OP
       Jun 25, 2016
    @andysheng 已修复
    mingyun
        57
    mingyun  
       Jul 24, 2016
    赞 laravel
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   6085 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 166ms · UTC 03:22 · PVG 11:22 · LAX 20:22 · JFK 23:22
    ♥ Do have faith in what you're doing.