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)
 Mini-Mod : Who Has Posted
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 3

richfed
Average Member

United States
999 Posts

Posted - 02 February 2003 :  11:04:59  Show Profile  Visit richfed's Homepage
Ever uncover the mysteries of the archives & this mod, Hamlin?
Go to Top of Page

BitByter
New Member

Netherlands
53 Posts

Posted - 02 February 2003 :  20:21:22  Show Profile  Visit BitByter's Homepage
is it also possible to make this also for "read"

so u can see who read the topics how many times?
and ofcourse that is is visible only for moderators+administrators

in my old snitz forum i had a topic voyeur mod what did exactly this...

___________________
creativity: look where everbody looks, see what nobody sees
Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 03 February 2003 :  07:29:43  Show Profile
quote:

Ever uncover the mysteries of the archives & this mod, Hamlin?


Forgot to look, keep reminding me
Go to Top of Page

richfed
Average Member

United States
999 Posts

Posted - 04 February 2003 :  05:59:25  Show Profile  Visit richfed's Homepage
Will do!
Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 16 February 2003 :  11:49:18  Show Profile
quote:

Ever uncover the mysteries of the archives & this mod, Hamlin?



Sorry it took me so long to get round to this, my laziness got the better of me

Anyway here is the update so that the link works with archived topics.

Step 1 : Forum.asp

Find the code we added for this mod, around line 545 and add the red code.


		if CLng(Topic_Replies) > 0 then
			response.write "                <td bgcolor=""" & strForumCellColor & """ valign=""middle"" align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strForumFontColor & """><span class=""spnMessageText""><acronym title=""Click here to see who has posted in this topic. (" & ChkString(Topic_Subject,"title") & ")""><a href=""JavaScript:openWindow3('pop_posted.asp?" & ArchiveLink & "Topic_ID=" & Topic_ID & "')""" & dWStatus("Who has posted?") & ">" & Topic_Replies & "</a></acronym></span></font></td>" & vbNewLine
		else
			response.write "                <td bgcolor=""" & strForumCellColor & """ valign=""middle"" align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strForumFontColor & """>" & Topic_Replies & "</font></td>" & vbNewLine
		end if 


Step 2 : pop_posted.asp

Download the new pop_posted.asp file from Who Has Posted Mod for Snitz 3.4.x.x and put it in with your forum files.

I also added the tool tip text DJBBIZ wanted, and added notes on where to edit active.asp for the links to show up there, as suggested by Neil Washbrook.
Go to Top of Page

richfed
Average Member

United States
999 Posts

Posted - 16 February 2003 :  12:48:42  Show Profile  Visit richfed's Homepage
Thanks ... lazy??? Hey, it's free! You did good!

Rich
[size=1]A Complete Idiot's Guide to MOD Implementation || On the Trail of the Last of the Mohicans[/size=1]
Go to Top of Page

Image
Average Member

Canada
574 Posts

Posted - 17 February 2003 :  19:11:04  Show Profile  Visit Image's Homepage  Send Image an ICQ Message
quote:
Originally posted by Hamlin

quote:
Originally posted by dayve

There was originally a mod for this on 3.1 and 3.3 and it not only incorporated Who Replied, but Who Viewed. I believe the mod was called Who Viewed or something like that. You may want to check it out so the new 3.4 version you have released can include the Who Viewed portion. This is a valuable mod and nice to see that someone took it upon themselves to get it working with 3.4



I was un-aware of a previous version, do you know who authored it? I should really add them to the readme.txt I suppose.

I know there is a Who Viewed This mod by Kal Korp, but I did not think of adding that option here.



Topic View and Reply Voyeur MOD for 3.3

Author: Da_Stimulator

http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=18014&SearchTerms=voyeur

Demo on 3.3 : http://www.efrance.fr/image2/image/forum.asp?FORUM_ID=1

Demo on 3.4.03 : http://www.3000fr.com/forumimage/forum.asp?FORUM_ID=1
Go to Top of Page

Danomatic
Starting Member

16 Posts

Posted - 17 February 2003 :  19:44:00  Show Profile
I've been looking for the Who's Posted/Who's Viewed type mod for 3.4.x. I had it on 3.3.05 and my members loved it. Hope this puppy can end up serving the same function.
Go to Top of Page

svx
Starting Member

USA
35 Posts

Posted - 17 March 2003 :  02:13:52  Show Profile  Visit svx's Homepage  Send svx an AOL message  Send svx an ICQ Message
/edit

Found WhoSeen for SH

{ISV-K}SVX
"I'm on Fire!"
www.isv-knights.org

Edited by - svx on 17 March 2003 02:27:13
Go to Top of Page

svx
Starting Member

USA
35 Posts

Posted - 17 March 2003 :  02:15:55  Show Profile  Visit svx's Homepage  Send svx an AOL message  Send svx an ICQ Message
btw, thanks for the mod.

{ISV-K}SVX
"I'm on Fire!"
www.isv-knights.org
Go to Top of Page

Gargoyle
Junior Member

USA
280 Posts

Posted - 19 March 2003 :  19:31:52  Show Profile  Visit Gargoyle's Homepage
Thanks for the MOD Hamlin.. And your quote!!

I edited the readme file and posted this mod on the SH forum. I hope you don't mind ??? I loved it so much I thought it would be cool for them to be able to use it as well..

Here is a link to my Snitz powered Drag Racing site.
Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 20 March 2003 :  04:03:27  Show Profile
quote:
Originally posted by Gargoyle

Thanks for the MOD Hamlin.. And your quote!!

I edited the readme file and posted this mod on the SH forum. I hope you don't mind ??? I loved it so much I thought it would be cool for them to be able to use it as well..



Do what you want with it.
Go to Top of Page

Arne2
New Member

Denmark
51 Posts

Posted - 21 March 2003 :  10:56:28  Show Profile
I have been sitting with this code for 3 days now, and I am lost. Snitz v.3.4 mySQL IIS

When I do the sql directly on my mySQL I get it nice and clear:

mysql> SELECT M.M_NAME,Count(M.M_NAME) AS total_posts,R.R_AUTHOR FROM XX_MEBERS M, XX_REPLY R WHERE M.MEMBER_ID = R.R_AUTHOR AND R.TOPIC_ID = 653 GROUP BY M.M_NAME, R.R_AUTHOR;

+----------+-------------+----------+
| M_NAME   | total_posts | R_AUTHOR |
+----------+-------------+----------+
|--Arne----|-----------4-|--------7-|
|--jor-----|-----------2-|--------9-|
|--shazamed|-----------2-|----- 568-|
+----------+-------------+----------+
3 rows in set (0.02 sec)

mysql>


I have used a fixed topic_id to experiment on. But getting this written out in the popup has not succeeded yet. And the original asp code does not work for me. I just get the popup saying "There Was A Problem With Your Details" and "There are no replies to this topic!" And I am using the same fixed sql sentence for the request together with the original (both).

Any ideas, as I am almost giving up?

Regards
Arne
Proxomitron Forum 2002
http://asp.flaaten.dk/proxo/

Edited by - Arne2 on 21 March 2003 10:57:28
Go to Top of Page

Arne2
New Member

Denmark
51 Posts

Posted - 22 March 2003 :  04:20:18  Show Profile
Just to make sure it works, I made a simplyfied version using PHP in my forum like this:

<?php
...
$result = mysql_query("SELECT M.M_NAME, Count(M.M_NAME) AS total_posts,  
R.R_AUTHOR FROM xx_MEMBERS M, xx_REPLY R WHERE M.MEMBER_ID = R.R_AUTHOR AND 
R.TOPIC_ID =".$Topic_ID. " GROUP BY M.M_NAME, R.R_AUTHOR");

while ($row = mysql_fetch_array($result,MYSQL_ASSOC)) {


$total = $row['total_posts'];
print "<b>".$row{'M_NAME'}. "</b> has posted <b>" . $total . "</b> time(s).<br>";
}
...


And it has no problems at all. So I assume that there is something about the total_posts in the asp code that is not working for me. But I can't see what is wrong. I have put up this php experimental popup on my forum, so you can see it works.
Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 22 March 2003 :  05:13:28  Show Profile
So the SQL query works fine? Just not on the ASP page...and you dont get any error messages using the original pop_posted.asp page?
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Previous Page | Next Page
 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.28 seconds. Powered By: Snitz Forums 2000 Version 3.4.07