修改boards.asp user/ol.asp
1\==================================
if boardid = 0 then
sql = "select top " & lmt_max_onlineuserlist & " id,username,hiddenflag from leadbbs_onlineuser order by id"
else
sql = "select top " & lmt_max_onlineuserlist & " id,username,hiddenflag from leadbbs_onlineuser where atboardid=" & boardid &" and userid>0"
end if
-----------------
替换为:
if boardid = 0 then
sql = "select top " & lmt_max_onlineuserlist & " id,username,hiddenflag,aturl,atinfo from leadbbs_onlineuser order by id"
else
sql = "select top " & lmt_max_onlineuserlist & " id,username,hiddenflag,aturl,atinfo from leadbbs_onlineuser where atboardid=" & boardid &" and userid>0"
end if
-----------------
如果要加ip显示,替换为:
if boardid = 0 then
sql = "select top " & lmt_max_onlineuserlist & " id,username,hiddenflag,aturl,atinfo,ip from leadbbs_onlineuser order by id"
else
sql = "select top " & lmt_max_onlineuserlist & " id,username,hiddenflag,aturl,atinfo,ip from leadbbs_onlineuser where atboardid=" & boardid &" and userid>0"
end if
2\============================================
function s(getdata0,getdata1,getdata2,)
替换为:
function s(getdata0,getdata1,getdata2,getdata3,getdata4)
-----------------
显ip修改为:
function s(getdata0,getdata1,getdata2,getdata3,getdata4,getdata5)