Author |
Topic  |
|
richfed
Average Member
  
United States
999 Posts |
Posted - 22 April 2006 : 12:46:00
|
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
|
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 |
 |
|
Classicmotorcycling
Development Team Leader
    
Australia
2085 Posts |
Posted - 22 April 2006 : 17:35:01
|
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 |
 |
|
richfed
Average Member
  
United States
999 Posts |
Posted - 22 April 2006 : 19:21:04
|
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 |
 |
|
techknow
Junior Member
 
USA
149 Posts |
|
richfed
Average Member
  
United States
999 Posts |
Posted - 24 April 2006 : 19:26:30
|
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? |
 |
|
Classicmotorcycling
Development Team Leader
    
Australia
2085 Posts |
Posted - 25 April 2006 : 04:36:58
|
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 |
 |
|
richfed
Average Member
  
United States
999 Posts |
Posted - 25 April 2006 : 07:19:04
|
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. |
 |
|
Classicmotorcycling
Development Team Leader
    
Australia
2085 Posts |
Posted - 25 April 2006 : 14:49:56
|
GLad I could help... |
Cheers, David Greening |
 |
|
techknow
Junior Member
 
USA
149 Posts |
Posted - 27 April 2006 : 23:14:18
|
Could I substitute an image rather then the phrase Donating Member? |
Best Regards, Techknow http://myinternetfunnies.com |
 |
|
Classicmotorcycling
Development Team Leader
    
Australia
2085 Posts |
Posted - 28 April 2006 : 10:16:15
|
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 |
 |
|
|
Topic  |
|