Discuz!小编 发表于 2025-11-11 14:44:48

升级3.5后,论坛下面的在线会员不能详情,只有简单显示多少人在线 New

dz升级到discuzx3.5后,看不到具体的在线会员和游客,只能看到一个统计多少人在线大概,我这个是原来discuzx3.2升级过来的,我在后台无论怎么修改设置,论坛显示人数都不行,很早以前我记得可以,不知道哪里出了问题?










我看别人的可以打开看到详情,哪些会员在线都可以看到,我记得以前可以,后面我关了,再后来升级到3.5.今天想打开,发现怎么设置都没有了



我知道答案 回答被采纳将会获得1 贡献 已有3人回答

杰克 发表于 2025-11-11 14:45:41

后台有设置项的

Jessie 发表于 2025-11-11 14:46:39

后台在界面设置没有任何变化,我仅想在论坛首页显示,不管缩略显示列表,怎么设置,前台都没有变化
       

                                       
                           
            
      
   

                        有的朋友建议,我去下载最新版3.5,覆盖下这些文件,
       

                        source/class/discuz/discuz_session.phpsource/module/forum/forum_index.phpsource/function/function_forum.phptemplate/default/forum/discuz.htm ,折腾都没有用,又排查什么函数getonlineusers() 函数,我是小白也不懂,后来又说什么也许人家函数或许早不在这些文件中,我也不懂,索性请教下各位大佬,这是啥情况,我从3.2一路走来,其他都正常,这个在线人数毕竟是个小问题,能显示更好,不显示也没啥,以前可能3.2设置比较方便,我自己主动设置关了或者删了那段小代码,但是我后面升级那么多次,应该也覆盖不存在了,而且我核实我的基础网页基本都和最新3.5代码一样,我基本没咋改过
       

.ce-block {    margin-bottom: 20px;}.ce-block__content,.ce-toolbar__content {        /* max-width:calc(100% - 50px) */        margin-left: auto;    margin-right: auto;}.ce-paragraph {    line-height: 1.6em;    outline: none;    text-indent: 2em;    font-size: 16px;}.ce-paragraph--right {    text-align: right;}.ce-paragraph--center {    text-align: center;}.ce-paragraph--left {    text-align: left;}.ce-paragraph--justify {    text-align: justify;}.ce-paragraph-text-indent {    text-align: justify;}.ce-paragraph:empty::before{content: attr(data-placeholder);color: #707684;font-weight: normal;opacity: 0;}/** Show placeholder at the first paragraph if Editor is empty */.codex-editor--empty .ce-block:first-child .ce-paragraph:empty::before {opacity: 1;}.codex-editor--toolbox-opened .ce-block:first-child .ce-paragraph:empty::before,.codex-editor--empty .ce-block:first-child .ce-paragraph:empty:focus::before {opacity: 0;}.ce-paragraph p:first-of-type{    margin-top: 0;}.ce-paragraph p:last-of-type{    margin-bottom: 0;}.svg-icon {    width: 1em;    height: 1em;}.svg-icon path,.svg-icon polygon,.svg-icon rect {    fill: #4691f6;}.svg-icon circle {    stroke: #4691f6;    stroke-width: 1;}.ce-block {    margin-bottom: 20px;}.ce-block__content,.ce-toolbar__content {        /* max-width:calc(100% - 50px) */        margin-left: auto;    margin-right: auto;}.image-tool {--bg-color: #cdd1e0;--front-color: #388ae5;--border-color: #e8e8eb;}.image-tool__image {    border-radius: 3px;    overflow: hidden;    margin-bottom: 10px;}.image-tool__image-picture {      max-width: 100%;      vertical-align: bottom;      display: block;      margin-left: auto;      margin-right: auto;    }.image-tool__image-preloader {      width: 50px;      height: 50px;      border-radius: 50%;      background-size: cover;      margin: auto;      position: relative;      background-color: var(--bg-color);      background-position: center center;    }.image-tool__image-preloader::after {      content: "";      position: absolute;      z-index: 3;      width: 60px;      height: 60px;      border-radius: 50%;      border: 2px solid var(--bg-color);      border-top-color: var(--front-color);      left: 50%;      top: 50%;      margin-top: -30px;      margin-left: -30px;      animation: image-preloader-spin 2s infinite linear;      box-sizing: border-box;      }.image-tool__caption::before {      position: absolute !important;      content: attr(data-placeholder);      color: #707684;      font-weight: normal;      display: none;    }.image-tool__caption:empty::before {      display: block;      }.image-tool__caption:empty:focus::before {      display: none;      }.image-tool--empty .image-tool__image {      display: none;    }.image-tool--empty .image-tool__caption, .image-tool--loading .image-tool__caption {      display: none;    }.image-tool .cdx-button {    display: flex;    align-items: center;    justify-content: center;}.image-tool .cdx-button svg {      height: auto;      margin: 0 6px 0 0;    }.image-tool--filled .cdx-button {      display: none;    }.image-tool--filled .image-tool__image-preloader {      display: none;      }.image-tool--loading .image-tool__image {      min-height: 200px;      display: flex;      border: 1px solid var(--border-color);      background-color: #fff;    }.image-tool--loading .image-tool__image-picture {      display: none;      }.image-tool--loading .cdx-button {      display: none;    }/**   * Tunes   * ----------------   */.image-tool--withBorder .image-tool__image {      border: 1px solid var(--border-color);    }.image-tool--withBackground .image-tool__image {      padding: 15px;      background: var(--bg-color);    }.image-tool--withBackground .image-tool__image-picture {      max-width: 60%;      margin: 0 auto;      }.image-tool--stretched .image-tool__image-picture {      width: 100%;      }.image-tool__caption {                text-align: center;                font-size: 14px;                color: #a3a3a3;        }@keyframes image-preloader-spin {0% {    transform: rotate(0deg);}100% {    transform: rotate(360deg);}}.inline-code {background: rgba(250, 239, 240, 0.78);color: #b44437;padding: 3px 4px;border-radius: 5px;margin: 0 1px;font-family: inherit;font-size: 0.86em;font-weight: 500;letter-spacing: 0.3px;}

杰克 发表于 2025-11-11 14:47:10

设置没有反应,不是缓存问题,核对网页源码好像也不差东西
页: [1]
查看完整版本: 升级3.5后,论坛下面的在线会员不能详情,只有简单显示多少人在线 New