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
 Birthday MOD Thick Line
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

leatherlips
Senior Member

USA
1838 Posts

Posted - 30 April 2008 :  15:27:03  Show Profile  Visit leatherlips's Homepage
I usually have this problem. Whenever I add something to the statistics table I get a thick line. It happened again when I added the Birtday MOD. I know it has to do with at td or tr somewhere but I can never find them. Here is the url. It's near the bottom. Do you need to see the default.asp code or the inc_birthdays.asp code?

<

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD

Edited by - leatherlips on 30 April 2008 16:20:00

leatherlips
Senior Member

USA
1838 Posts

Posted - 30 April 2008 :  15:30:06  Show Profile  Visit leatherlips's Homepage
OK, this is weird. The thick line does not appear if you visit as a guest. It also does not appear if you log in as a normal user. I only see it when I log in as the admin. I have this same issue with the picture resize mod too. What is going on?<

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD

Edited by - leatherlips on 30 April 2008 16:19:50
Go to Top of Page

phy1729
Average Member

USA
589 Posts

Posted - 30 April 2008 :  17:21:13  Show Profile
Try taking the source of the page that doesn't work and put it through the W3C Validator<
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 30 April 2008 :  17:43:59  Show Profile
It looks like you both have a colspan value for a tablecell set too high for normal user. Try lowering it by one, that should fix it. The colspan value is set with a function, sGetColspan(7,6), and it is most likely caused by either the table used for AU- or for the Birthday-mod. You will have to do some trial and error to nail it down.
Source: http://forum.snitz.com/forum/topic.asp?TOPIC_ID=59590

I recalled the same proble with the AU and Birthday mod a while ago, in the end I took the birthday mod off.

<
Go to Top of Page

richfed
Average Member

United States
999 Posts

Posted - 30 April 2008 :  18:08:52  Show Profile  Visit richfed's Homepage
quote:
Originally posted by Andy Humm


I recalled the same proble with the AU and Birthday mod a while ago, in the end I took the birthday mod off.





Me, too ... exactly!<

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

leatherlips
Senior Member

USA
1838 Posts

Posted - 30 April 2008 :  19:05:00  Show Profile  Visit leatherlips's Homepage
quote:
Originally posted by Andy Humm

It looks like you both have a colspan value for a tablecell set too high for normal user. Try lowering it by one, that should fix it.
sGetColspan(7,6)

How do you lower it by one? Do you lower both numbers or just one of them? If just one, which one, the first or second? I don't understand what these number are supposed to mean.<

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD

Edited by - leatherlips on 30 April 2008 19:05:19
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 30 April 2008 :  19:22:03  Show Profile  Visit leatherlips's Homepage
I've tried a few things and get some changes. Do these numbers mean anything to anyone?

In inc_birthdays.asp there are 6 lines of code that has a sGetColspan.

The original ones are first. They work for guests and normal users but cause the thick line for the admin. They are in this order:

7,6
7,6
7,5
7,5
7,5
7,5

I changed to the ones below (in red) and they work for admin but cause a weird extra block for guests and normal users.

7,6
7,6
6,4
6,4
6,4
6,4


I changed the one below (in red) and it works for guests and normal users but returns the thick line for the admin.

7,6
7,6
6,4
7,5
6,4
6,4

Anyone see a pattern or know which one will fix it for everyone?<

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD

Edited by - leatherlips on 30 April 2008 19:24:31
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 01 May 2008 :  15:29:30  Show Profile  Visit leatherlips's Homepage
Perhaps this is another clue for someone to help me figure this out.

If I collapse the birthday section (by clicking the + sign in the table) it causes the thick line to go away. Anything someone get think of?<

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 01 May 2008 :  19:02:33  Show Profile
Quote: sGetColspan(7,6)
How do you lower it by one? Do you lower both numbers or just one of them? If just one, which one, the first or second? I don't understand what these number are supposed to mean.

I wasn't sure either but when I experience the same symptoms, I was given the answer just adjust them by trial and error. I know its not much help, but it was all I was given about two years ago.
Thinking about collapsing the birthday section (by clicking the + sign in the table) it causes the thick line to go away, is that suggesting the birthday section is larger than the original table sizes and causing the original borders to stretch out or showing a background of black..
Good luck andy
<
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 01 May 2008 :  20:01:37  Show Profile  Visit leatherlips's Homepage
I finally got it!

The border is now gone for guests, normal users and admins!

Here are the numbers that worked for me:

7,6
7,6
6,5
6,5
6,5
6,5

I'm a happy camper now! <

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 02 May 2008 :  05:10:19  Show Profile
Which lines are the sGetColspan(x,x) situated on

7,6
7,6
6,5
6,5
6,5
6,5
Congrats in getting border sorted..
andy

<
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 02 May 2008 :  07:57:41  Show Profile  Visit leatherlips's Homepage
quote:
Originally posted by Andy Humm

Which lines are the sGetColspan(x,x) situated on

Here are the line numbers (at least in my file):

158
160
168
171
175
179<

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD

Edited by - leatherlips on 02 May 2008 07:58:04
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 02 May 2008 :  08:26:10  Show Profile
thank you<
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 02 May 2008 :  09:13:46  Show Profile
You might want to tweak the way the mod displays a birthday for today.
Currently if there is no birthday it displays None.
If there is a birthday it displays the members name and birthdate in brackets

I have amended my inc_birthdays.asp file so that the font is the same size as the recent and upcoming bithday list, and amended the text so that if there are no birthdays today it displays
Birthday's Today: None
Also if a birthday occurs, it will display
Today's Birthday(s): membersname (May 2).

To do this open inc_birthdays.asp
Find Line 62
strTodaysBD = ""
Amend to:
strTodaysBD = "Birthday's Today: "

Line 149
strTodaysBD = "None."
Amend to
strTodaysBD = "Birthday's Today: None"

line 171
" <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strForumFontColor & """>" & strTodaysBD & "</font>" & vbNewLine & _
Amend to
" <font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """ color=""" & strForumFontColor & """>" & strTodaysBD & "</font>" & vbNewLine & _

Changes in Red
Regards andy


<

Edited by - Andy Humm on 02 May 2008 09:41:55
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.31 seconds. Powered By: Snitz Forums 2000 Version 3.4.07