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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Donating Member MOD Error
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

richfed
Average Member

United States
999 Posts

Posted - 22 April 2006 :  12:46:00  Show Profile  Visit richfed's Homepage
I recently installed the Donating Member MOD by ClassicMotorcycling.

If I turn the MOD off in the Members Config area, all is ok. Forums operate as usual without the Donating Member MOD.

If I turn it on, but do not edit any members profile to indicate that they are a Donating Member, topic.asp shows a big black box at the top of the table.

If, on the other hand, I DO edit the member's profile, I get the same black box only it repeats the words "Donating Member" in the box.

Here is a screen shot of the latter:



My topic.asp file can be found here. [in txt. format]

Any ideas?

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 22 April 2006 :  13:56:54  Show Profile  Visit MarkJH's Homepage
I think it has something to do with this code in your topic.asp:

			        Response.Write  "                <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><br><small><i>Bumppo's</i> Patron since [at least]:<br><b> " & ChkDate(Reply_MemberDate, " " ,false) & "</b></small></font></p>" & vbNewLine
			        Response.Write  "                <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small>Status: "& AUMemberStatus(arrOnlineMembers, Reply_MemberID) &"</small></font></p></td>" & vbNewLine 
'                        Response.Write	"                <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small>" & Reply_MemberPosts & " Posts" & vbNewLine
			if strDonation = "1" then
				Response.Write	"<p>" & vbNewLine
				if Reply_MemberDonation = "0" then
					Response.Write	" "
				elseif Reply_MemberDonation = "1" then
					Response.Write	"Donating Member"
				elseif Reply_MemberDonation = "2" then
					Response.Write	"Moderator"
				elseif Reply_MemberDonation = "3" then
					Response.Write	"Administrator"
				end if
			end if
			Response.Write "</small></font></p></td>" & vbNewLine


My coding skills are scratchy and very trial and error so I can't see the exact problem but I think it's breaking out of the table. It's probably the same number of "Donating Member" repeats as it is members posting in that topic who are donating members.

I'll have to leave it to a more experienced coder to rubbish verify my solution.

Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/

Edited by - MarkJH on 22 April 2006 14:01:10
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2085 Posts

Posted - 22 April 2006 :  17:35:01  Show Profile
Rich,

I think I see your issue and Mark was close:
			        Response.Write  "                <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><br><small><i>Bumppo's</i> Patron since [at least]:<br><b> " & ChkDate(Reply_MemberDate, " " ,false) & "</b></small></font></p>" & vbNewLine
			        Response.Write  "                <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small>Status: "& AUMemberStatus(arrOnlineMembers, Reply_MemberID) &"</small></font></p></td>" & vbNewLine 
'                        Response.Write	"                <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small>" & Reply_MemberPosts & " Posts" & vbNewLine
			if strDonation = "1" then
				Response.Write	"<p>" & vbNewLine
				if Reply_MemberDonation = "0" then
					Response.Write	" "
				elseif Reply_MemberDonation = "1" then
					Response.Write	"Donating Member"
				elseif Reply_MemberDonation = "2" then
					Response.Write	"Moderator"
				elseif Reply_MemberDonation = "3" then
					Response.Write	"Administrator"
				end if
			end if
			Response.Write "</small></font></p></td>" & vbNewLine
'##### EZ Anony 2-3 : break above line and insert "end if" 1 line
'end if
'########## EZ Anony ########## (remember below Response.Write ")                        
                        Response.Write	"                </p></td>" & vbNewLine & _
See the things in red, you need to remove them to work with the extra code from the EZ Anony mods code that is added. Give it a try and let me know. Also do not forget to do the same at the simular code further at about line 1200 for you.

Try it an see if it works with it.


Cheers,

David Greening
Go to Top of Page

richfed
Average Member

United States
999 Posts

Posted - 22 April 2006 :  19:21:04  Show Profile  Visit richfed's Homepage
Thanks David & Mark. I, too, believe the problem to be in that area[s]. I just can't figure it out. Of course, my figuring is all try this, see if it works; if not, try that, see if it works ... and so on.

In any event, removing those 2 instances of "</p></td>" did not have any effect whatsoever. The exact same appearance. And, yes, Mark, each "Donating Member" that appears in the black box corresponds to a post by a donating member in the thread. AND, the longer the thread, the bigger the black box.

Edited by - richfed on 23 April 2006 09:00:38
Go to Top of Page

techknow
Junior Member

USA
149 Posts

Posted - 23 April 2006 :  00:55:27  Show Profile  Visit techknow's Homepage
I have this mod that I have been configuring... However, I can not figure out how to get the .gif's to display... Oh how I wish I knew what I was doing with code...

Here's the link...

http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=51932

Best Regards,
Techknow
http://myinternetfunnies.com
Go to Top of Page

richfed
Average Member

United States
999 Posts

Posted - 24 April 2006 :  19:26:30  Show Profile  Visit richfed's Homepage
Just noticed the little red "'" above which I had overlooked in my first attempt.

Eliminating the two instances of that comment [which blocks the number of posts from showing] simply added the number of posts field to the black box - one entry for each poster in the thread. So, now there were both Donating Members entries AND the poster's total number of posts up there.

Seems like it needs an opening "<p><td>". But where?
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2085 Posts

Posted - 25 April 2006 :  04:36:58  Show Profile
I found where the issue was and have tried to e-mail you the updated topic.asp file, but your host keeps rejecting it, so I have placed it HERE. There was an extra <td> in the current status lines:
	        Response.Write  "                <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small>Status: "& AUMemberStatus(arrOnlineMembers, TMember_ID) & "</small></font></p></td>" & vbNewLine
Lines 887 and 1186.

Give it a shot and let me know. The mod was built around a vanilla install of Snitz and your system is modified heaps..

Cheers,

David Greening
Go to Top of Page

richfed
Average Member

United States
999 Posts

Posted - 25 April 2006 :  07:19:04  Show Profile  Visit richfed's Homepage
Ah, yes. Working now! Thank you very much for the help!!!

By the way, this MOD is actually fairly easy to install - and includes an excellent readme file for instructions. As David said, my forum is heavily modded - sometimes makes it tricky adding new stuff.
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2085 Posts

Posted - 25 April 2006 :  14:49:56  Show Profile
GLad I could help...

Cheers,

David Greening
Go to Top of Page

techknow
Junior Member

USA
149 Posts

Posted - 27 April 2006 :  23:14:18  Show Profile  Visit techknow's Homepage
Could I substitute an image rather then the phrase Donating Member?

Best Regards,
Techknow
http://myinternetfunnies.com
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2085 Posts

Posted - 28 April 2006 :  10:16:15  Show Profile
Yes you could, just a couple of simple changes.. Send and image, and I will update the mod to suit if you email me as well..


Cheers,

David Greening
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.35 seconds. Powered By: Snitz Forums 2000 Version 3.4.07