Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Last modified by
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

animedj
Junior Member

USA
190 Posts

Posted - 04 August 2000 :  08:04:56  Show Profile  Visit animedj's Homepage  Send animedj an ICQ Message
well, here's an add-on for anyone that would like to see a last-modified by in the default page.

d/l : http://animedj.com/community/forums/hacks/last_post.zip

demo : http://animedj.com/go.asp?catid=3

webshorts
New Member

USA
96 Posts

Posted - 04 August 2000 :  18:56:12  Show Profile  Visit webshorts's Homepage  Send webshorts an ICQ Message
Thanks. With a little tweaking I got it to work. The new version uses pop_profile, instead of member_profile for the user information.

Daniel Short
Chief Designer,
Web Shorts Site Design

DHTML at DHTMLShock.com
JavaScript and DHTML forum, powered by Snitz
Go to Top of Page

animedj
Junior Member

USA
190 Posts

Posted - 04 August 2000 :  20:16:23  Show Profile  Visit animedj's Homepage  Send animedj an ICQ Message
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.

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 06 August 2000 :  03:26:56  Show Profile
<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
Go to Top of Page

Nathan L
New Member

USA
83 Posts

Posted - 06 August 2000 :  10:46:43  Show Profile  Send Nathan L an AOL message  Send Nathan L an ICQ Message  Send Nathan L a Yahoo! Message
Hey animedj, I like your statistics section! <img src=icon_smile.gif border=0 align=middle>

Response.Write ("The Reign of Nice")
Go to Top of Page

animedj
Junior Member

USA
190 Posts

Posted - 06 August 2000 :  11:29:14  Show Profile  Visit animedj's Homepage  Send animedj an ICQ Message
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
Go to Top of Page

animedj
Junior Member

USA
190 Posts

Posted - 06 August 2000 :  12:27:02  Show Profile  Visit animedj's Homepage  Send animedj an ICQ Message
Okay, finished the new version, this one has the fix for the member profile and supports last modified in the forums page as well.

d/l : http://animedj.com/community/forums/hacks/last_post.zip

demo : http://animedj.com/go.asp?catid=3



Go to Top of Page

webshorts
New Member

USA
96 Posts

Posted - 06 August 2000 :  13:59:55  Show Profile  Visit webshorts's Homepage  Send webshorts an ICQ Message
AWESOME!!! We love you man!!!

Daniel Short
Chief Designer,
Web Shorts Site Design

DHTML at DHTMLShock.com
JavaScript and DHTML forum, powered by Snitz
Go to Top of Page

Lord Maverick
New Member

Norway
92 Posts

Posted - 07 August 2000 :  03:51:04  Show Profile  Send Lord Maverick an ICQ Message
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.

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 07 August 2000 :  04:56:58  Show Profile
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
Go to Top of Page

blkrogue
New Member

USA
79 Posts

Posted - 07 August 2000 :  05:52:33  Show Profile
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
Go to Top of Page

blkrogue
New Member

USA
79 Posts

Posted - 07 August 2000 :  06:03:08  Show Profile
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>&nbsp;<% =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>&nbsp;<% =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
Go to Top of Page

Lord Maverick
New Member

Norway
92 Posts

Posted - 07 August 2000 :  07:39:23  Show Profile  Send Lord Maverick an ICQ Message
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...



Go to Top of Page

animedj
Junior Member

USA
190 Posts

Posted - 07 August 2000 :  08:45:25  Show Profile  Visit animedj's Homepage  Send animedj an ICQ Message
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.

Go to Top of Page

gor
Retired Admin

Netherlands
5511 Posts

Posted - 18 August 2000 :  09:56:13  Show Profile  Visit gor's Homepage
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>
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.14 seconds. Powered By: Snitz Forums 2000 Version 3.4.07