开发学院CMS教程dvbbs 动网论坛教程:最后回复显示为贴子内容而不是主题... 阅读

动网论坛教程:最后回复显示为贴子内容而不是主题的修改方法

 2010-07-22 18:58:51 来源:WEB开发网   
核心提示: LastPost=Replace(username,"$","") & "$" & AnnounceID & "$" & DateTimeStr & "

  LastPost=Replace(username,"$","") & "$" & AnnounceID & "$" & DateTimeStr & "$" & Replace(cutStr(toptopic,20),"$","") & "$" & uploadpic_n & "$" & Dvbbs.UserID & "$" & RootID & "$" & Dvbbs.BoardID
  LastPost=reubbcode(Replace(LastPost,"'",""))
 Else
  If ihaveupfile=1 Then Dvbbs.Execute("update dv_upfile set F_AnnounceID='"&RootID&"|"&AnnounceID&"',F_Readme='"&Topic&"',F_flag=0  where F_ID in ("&upfileinfo&")")
  LastPost=Replace(username,"$","") & "$" & AnnounceID & "$" & DateTimeStr & "$" & Replace(cutStr(topic,20),"$","") & "$" & uploadpic_n & "$" & Dvbbs.UserID & "$" & RootID & "$" & Dvbbs.BoardID
  LastPost=reubbcode(Replace(LastPost,"'",""))
 End If


就可以了。
 

上一页  1 2 

Tags:论坛 教程 最后

编辑录入:爽爽 [复制链接] [打 印]
[]
  • 好
  • 好的评价 如果觉得好,就请您
      0%(0)
  • 差
  • 差的评价 如果觉得差,就请您
      0%(0)
赞助商链接