Author |
Topic  |
|
animedj
Junior Member
 
USA
190 Posts |
|
webshorts
New Member

USA
96 Posts |
|
animedj
Junior Member
 
USA
190 Posts |
Posted - 04 August 2000 : 20:16:23
|
ohh yeah.. sorry... well that it's going to be fixed in the new version that I'm finishing. This one will support the last modified by for the forums.asp page.
|
 |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 06 August 2000 : 03:26:56
|
<deleted>
change was made by author already...
<img src=icon_smile.gif border=0 align=middle>
Edited by - Richard Kinser on 06 August 2000 20:41:32 |
 |
|
Nathan L
New Member

USA
83 Posts |
Posted - 06 August 2000 : 10:46:43
|
Hey animedj, I like your statistics section! <img src=icon_smile.gif border=0 align=middle>
Response.Write ("The Reign of Nice") |
 |
|
animedj
Junior Member
 
USA
190 Posts |
Posted - 06 August 2000 : 11:29:14
|
Thanks Nathan, That's going to be my next add-on release after I finish this new Last modified by (need to do a little more tweaking)
Edited by - animedj on 06 August 2000 11:37:11 |
 |
|
animedj
Junior Member
 
USA
190 Posts |
|
webshorts
New Member

USA
96 Posts |
|
Lord Maverick
New Member

Norway
92 Posts |
Posted - 07 August 2000 : 03:51:04
|
I really like your addition to the forum, animedj!
I've installed it but I'm getting this error:
Microsoft JET Database Engine error '80040e10'
No value given for one or more required parameters.
/Forum2000/last_user.asp, line 20
I think its because I have'nt updated my database (I'm using MS Acc 2000). I've uploaded the necessary files to my server, but I don't know how to actually update the database.
|
 |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 07 August 2000 : 04:56:58
|
You just need to run the last_user_setup.asp file by typing it in your browser address bar.
http://(whatever the address of your site is)/Forum2000/last_user_setup.asp
that should do it.
don't forget to read the last_user_setup.asp file before you run it. If you didn't use the first version then make sure that the first 4 lines of code (not the actual comments) are <b>not</b> commented out with a <b>'</b>.
Edited by - Richard Kinser on 07 August 2000 05:04:28 |
 |
|
blkrogue
New Member

USA
79 Posts |
Posted - 07 August 2000 : 05:52:33
|
How about inserting this 'last post by' function also in the active topics page as most forum users use this option to check an excisting forum for new messages ?
Blkrogue
In the darkness of my soul a sparkling light has appeared |
 |
|
blkrogue
New Member

USA
79 Posts |
Posted - 07 August 2000 : 06:03:08
|
Thus also inserting the include file line-of-code in the active.asp file and modifying the code with:
Approx. Line 180:
<pre id=code><font face=courier size=2 id=code> <td bgcolor="<% =strForumCellColor %>" valign="top" align="center" nowrap><font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>" color="<% =strForumFontColor %>"><b><% =ChkDate(rs("T_LAST_POST")) %></b> <% =ChkTime(rs("T_LAST_POST")) %></font></td> </font id=code></pre id=code>
replace with:
<pre id=code><font face=courier size=2 id=code> <td bgcolor="<% =strForumCellColor %>" valign="top" align="center" nowrap><font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>" color="<% =strForumFontColor %>"><b><% =ChkDate(rs("T_LAST_POST")) %></b> <% =ChkTime(rs("T_LAST_POST")) %><%= last_user(rs("FORUM_ID")) %></font></td> </font id=code></pre id=code>
Blkrogue
In the darkness of my soul a sparkling light has appeared |
 |
|
Lord Maverick
New Member

Norway
92 Posts |
Posted - 07 August 2000 : 07:39:23
|
Thnx Kinser, that helped a lot and its working now.
When a new post is added and then removed again, the date and author is not updated though, neither in default.asp or forum.asp. It would be nice if this addition could be updated whenever a post is deleted... I think this should be considered as a bug in animedjs fine addition...
|
 |
|
animedj
Junior Member
 
USA
190 Posts |
Posted - 07 August 2000 : 08:45:25
|
hmm good idea about deleted post thought it' going to be a lil more complicated. Thanks Blkrogue.. I didn't take in count the active.asp... I'll be adding it to the new documentation.
|
 |
|
gor
Retired Admin
    
Netherlands
5511 Posts |
Posted - 18 August 2000 : 09:56:13
|
This has been added to the source-code. I changed the original code so instead of the member-name the member-id is stored in the database. Otherwise if you change a member-name (an administrator can do that !) you need to make sure that all the fields get updated.
I also took another look at the code that updated the counts for replies en posts. There were some errors when you moved a topic from one forum to the other.
Also, now when a reply or topic is deleted or a topic is moved from one forum to the other, the last post by is updated.
It's going to be hard to make a readme with all the codechanges for this though. Because I integrated the code as much as possible with the existing code so it would use existing recordsets if possible etc.
Sorry about that.
<center><b>Pierre Gorissen </b> <font color=purple><font size=1>I'm a fulltime workaholic back from vacation...</font id=size1></font id=purple></center> |
 |
|
|
Topic  |
|