Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - bilgi mod v1.0: forum log information
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

bilgi mod v1.0: forum log information

 Post Reply Post Reply Page  <123>
Author
GopCa View Drop Down
Newbie
Newbie


Joined: 03 May 2006
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote GopCa Quote  Post ReplyReply Direct Link To This Post Posted: 07 February 2007 at 11:54pm
Log sistemini dosyaları entegre etmeden kullanmak sitiyorsanız aşağıdaki işlemleri yapınız.
 
1. delete_poll.asp dosyasını açınız ve
Dim satırı altına şunları ekleyiniz;
 
Dim bilgi, strbilgi, i, tempbilgi, strsubject
Dim aktar(40)
 
daha sonra
 
'Clean up
rsCommon.Close
Call closeDatabase()
%>
<!-- #include file="includes/browser_page_encoding_inc.asp" -->
<script language="JavaScript">
 window.opener.location.href = 'forum_posts.asp?TID=<% = lngTopicID %><% = strQsSID2 %>'
 window.close();
</script>
</head>
</html>
 
bölümünü
 
'Clean up
rsCommon.Close
strSQL = "SELECT tblConfiguration.Bilgi FROM tblConfiguration "
  rscommon.Open strSQL, adoCon,2,3
  strbilgi = strloggedinusername&";poll deleted;"&strSubject&";"& now&";"&lngloggedinuserid&";"&lngTopicID&";"&"$"
  with  rscommon
  bilgi = .fields("Bilgi")
  if bilgi <>"" then
   if UBound(Split(bilgi, "$"))=40 then
   bilgi= Split(bilgi, "$")
    for i =1 to 39
      aktar(i-1) = bilgi(i)
   tempbilgi=tempbilgi&aktar(i-1)&"$"
   next
      else
   tempbilgi=.fields("Bilgi")
  end if
  end if
      tempbilgi=tempbilgi&strbilgi
   .fields("Bilgi")= tempbilgi
   .update
   'Clean up
         .Close
   end with
Call closeDatabase()
%>
<!-- #include file="includes/browser_page_encoding_inc.asp" -->
<script language="JavaScript">
 window.opener.location.href = 'forum_posts.asp?TID=<% = lngTopicID %><% = strQsSID2 %>'
 window.close();
</script>
</head>
</html>
 
şeklinde değiştiriniz ve kaydedip kapatınız.
 
2. delete_post.asp dosyasını açınız ve Dim satırı altına şunları ekleyiniz;
Dim bilgi, strbilgi, i, tempbilgi, strsubject
Dim aktar(40)
 
daha sonra
 
'Update the number of topics and posts in the database
Call updateForumStats(intForumID)

'Reset Server Objects
Call closeDatabase()
 
satırlarını silip
 
'Update the number of topics and posts in the database
Call updateForumStats(intForumID)
   strSQL = "SELECT tblConfiguration.Bilgi FROM tblConfiguration "
  rscommon.Open strSQL, adoCon,2,3
  strbilgi = strloggedinusername&";post deleted;"&strSubject&";"& now&";"&lngloggedinuserid&";"&lngTopicID&";"&"$"
  with rscommon
  bilgi = .fields("Bilgi")
  if bilgi <>"" then
   if UBound(Split(bilgi, "$"))=40 then
   bilgi= Split(bilgi, "$")
    for i =1 to 39
      aktar(i-1) = bilgi(i)
   tempbilgi=tempbilgi&aktar(i-1)&"$"
   next
      else
   tempbilgi=.fields("Bilgi")
  end if
  end if
      tempbilgi=tempbilgi&strbilgi
   .fields("Bilgi")= tempbilgi
   .update
   .Close
   end with
'Reset Server Objects
Call closeDatabase()
 
satırlarını ekleyip kaydediniz.
 
3. delete_topic.asp dosyasını açınız ve Dim satırı altına aşağıdaki satırları ekleyiniz.
 
Dim bilgi, strbilgi, i, tempbilgi, strsubject
Dim aktar(40)
 
 
daha sonra
 
'Update the number of topics and posts in the database
Call updateForumStats(intForumID)

'Reset main server variables
Call closeDatabase()
 
 
satırlarını silip
 
 
 
'Update the number of topics and posts in the database
Call updateForumStats(intForumID)
   strSQL = "SELECT tblConfiguration.Bilgi FROM tblConfiguration "
  rscommon.Open strSQL, adoCon,2,3
  strbilgi = strloggedinusername&";topic deleted;"&strSubject&";"& now&";"&lngloggedinuserid&";"&lngTopicID&";"&"$"
  with rscommon
  bilgi = .fields("Bilgi")
  if bilgi <>"" then
   if UBound(Split(bilgi, "$"))=40 then
   bilgi= Split(bilgi, "$")
    for i =1 to 39
      aktar(i-1) = bilgi(i)
   tempbilgi=tempbilgi&aktar(i-1)&"$"
   next
      else
   tempbilgi=.fields("Bilgi")
  end if
  end if
      tempbilgi=tempbilgi&strbilgi
   .fields("Bilgi")= tempbilgi
   .update
   .Close
   end with
'Reset main server variables
Call closeDatabase()
 
satırlarını ekleyip kaydediniz.
 
4. move_post.asp dosyasını açınız ve Dim satırları altına aşağıdakileri ekleyiniz.
 
Dim bilgi, strbilgi, i, tempbilgi, strsubject
Dim aktar(40)
 
 
daha sonra
 
 
'Update the forum stats to get the topics in the correct order etc.
 Call updateTopicStats(lngOldTopicID)
 Call updateTopicStats(lngTopicID)
End If
'Reset main server variables
Call closeDatabase()
 
 
satırlarını silip
 
 
 
strSQL = "SELECT tblConfiguration.Bilgi FROM tblConfiguration "
  rscommon.Open strSQL, adoCon,2,3
  strbilgi = strloggedinusername&";post moved;"&strSubject&";"& now&";"&lngloggedinuserid&";"&lngTopicID&";"&"$"
  with rscommon
  bilgi = .fields("Bilgi")
  if bilgi <>"" then
   if UBound(Split(bilgi, "$"))=40 then
   bilgi= Split(bilgi, "$")
    for i =1 to 39
      aktar(i-1) = bilgi(i)
   tempbilgi=tempbilgi&aktar(i-1)&"$"
   next
      else
   tempbilgi=.fields("Bilgi")
  end if
  end if
      tempbilgi=tempbilgi&strbilgi
   .fields("Bilgi")= tempbilgi
   .update
   .close 
   end with
 
 'Update the forum stats to get the topics in the correct order etc.
 Call updateTopicStats(lngOldTopicID)
 Call updateTopicStats(lngTopicID)
End If
Back to Top
T50webmaster View Drop Down
Groupie
Groupie


Joined: 28 December 2006
Status: Offline
Points: 52
Post Options Post Options   Thanks (0) Thanks(0)   Quote T50webmaster Quote  Post ReplyReply Direct Link To This Post Posted: 08 February 2007 at 12:57am
MANY PROBLEMS WITH IT
 
1). Where is the place to view it?
2). HOW do I keep the TEXT in ENGLISH??? instead of Turkish
Back to Top
GopCa View Drop Down
Newbie
Newbie


Joined: 03 May 2006
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote GopCa Quote  Post ReplyReply Direct Link To This Post Posted: 08 February 2007 at 1:01am
i am bad english :((
Back to Top
T50webmaster View Drop Down
Groupie
Groupie


Joined: 28 December 2006
Status: Offline
Points: 52
Post Options Post Options   Thanks (0) Thanks(0)   Quote T50webmaster Quote  Post ReplyReply Direct Link To This Post Posted: 08 February 2007 at 1:02am

Nevermind i figured it out. Great mod Now I have to do is link it into the Admin part



Edited by T50webmaster - 08 February 2007 at 1:21am
Back to Top
iamzaga View Drop Down
Groupie
Groupie
Avatar

Joined: 03 March 2005
Location: Turkey
Status: Offline
Points: 43
Post Options Post Options   Thanks (0) Thanks(0)   Quote iamzaga Quote  Post ReplyReply Direct Link To This Post Posted: 11 February 2007 at 2:40am
Please ask the words, and i will translate them to English.For example, bilgi= info (information)
Back to Top
gölge View Drop Down
Groupie
Groupie


Joined: 16 April 2005
Location: Turkey
Status: Offline
Points: 182
Post Options Post Options   Thanks (0) Thanks(0)   Quote gölge Quote  Post ReplyReply Direct Link To This Post Posted: 12 February 2007 at 11:47am
Originally posted by -koen- -koen- wrote:

Agian a bad message Cry
your database type is mysql. this mod doesnt support mysql!
Cry

Can you pm me the most common thing for this mod? Mabey i can make it MySQL so i even can run it.
 
gopca modificated data file for mysql you can download it from here.
 
thanks gopca
"A lie travels round the world while Truth is putting on her boots" C.H. Sturgeon
PLEASE VISIT www.tallarmeniantale.com AND SEE THE TRUTH.
Back to Top
gölge View Drop Down
Groupie
Groupie


Joined: 16 April 2005
Location: Turkey
Status: Offline
Points: 182
Post Options Post Options   Thanks (0) Thanks(0)   Quote gölge Quote  Post ReplyReply Direct Link To This Post Posted: 12 February 2007 at 12:04pm
Originally posted by <FONT size=1>T50webmaster</FONT> T50webmaster wrote:

Nevermind i figured it out. Great mod Now I have to do is link it into the Admin part
 
for example you can add a link to navigation menu for admins. open navigation_buttons_inc.asp at includes folder and add this code to line 67.
 
 
'If user admin then show top secret button
if blnadmin then  Response.Write ("&nbsp;&nbsp;<a href=""bilgi.asp"" class=""nav""><img src=""" & strImagePath & "hidden_topics.gif"" border=""0"" align=""absmidle"" alt=""elMuhaberat :)"">Top Secret</a>")       


Edited by gölge - 12 February 2007 at 12:05pm
"A lie travels round the world while Truth is putting on her boots" C.H. Sturgeon
PLEASE VISIT www.tallarmeniantale.com AND SEE THE TRUTH.
Back to Top
MortiOli View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 May 2002
Location: United Kingdom
Status: Offline
Points: 514
Post Options Post Options   Thanks (0) Thanks(0)   Quote MortiOli Quote  Post ReplyReply Direct Link To This Post Posted: 15 March 2007 at 12:44pm
Is this download still available anywhere?
 
Is it possible to make it log deletion of posts aswell as topics?
 
Thanks.
Back to Top
 Post Reply Post Reply Page  <123>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.