Author |
Topic |
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 30 July 2008 : 20:28:15
|
[quote]Originally posted by leatherlips
I know I'm probably starting to be a pain, but I don't have anything on that page that says 50%.
Also, when I keep the link without the on/off it fits just fine. When I add the code for the on/off it goes to a new line.
I'm losing my mind!
Line 671 - remove the page break "br" immediately before the link. See below: < |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 30 July 2008 : 20:29:53
|
quote: Originally posted by Massimo
Remove in petition.asp this include not on original snitz:
<!--#INCLUDE FILE="googiespell/inc_googie.asp" -->
I thought I'd caught all of them - there were about 20 other lines to take out as well. Funny that nobody else got an error on it.< |
|
|
leatherlips
Senior Member
USA
1838 Posts |
Posted - 30 July 2008 : 20:30:43
|
quote: Originally posted by Massimo
Remove in petition.asp this include not on original snitz:
<!--#INCLUDE FILE="googiespell/inc_googie.asp" -->
and...
End if If strIcons = "1" and strShowSmiliesTable = "1" Then
<!--#INCLUDE FILE="inc_smilies.asp" --> (why this include? this not work?!)
End If Response.Write " </font></td>" & vbNewLine & _
I did not include the googiespell. I noticed that too in Carefree's recent petition.asp code.
Regarding the smilies. I commented them out because I did not think a petition would need them. However, I left that code in just in case individuals wanted to have them anyway.
If you want to smiles to work, then change that line to:
< |
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 |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 30 July 2008 : 20:33:54
|
quote: Originally posted by Massimo <!--#INCLUDE FILE="inc_smilies.asp" --> (why this include? this not work?!)
If you are collecting signatures for an official thing like a petition, you do NOT want it full of smiley faces, cute icons, etc. Also, the format will not be used to ensure html & forum code are sanitized, it's going to be printed like a word document.< |
|
|
Massimo
Junior Member
Italy
125 Posts |
Posted - 30 July 2008 : 20:35:35
|
i edit my post:
replace whit:
If strIcons = "1" and strShowSmiliesTable = "1" Then %> <!--#INCLUDE FILE="inc_smilies.asp" --> <% End If
;)< |
Massimo Farieri Snitz Italian Community =============== http://www.snitz.it http://www.superdeejay.net/forum/
|
Edited by - Massimo on 30 July 2008 20:38:24 |
|
|
leatherlips
Senior Member
USA
1838 Posts |
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 30 July 2008 : 23:20:56
|
I don't care about the credit. I just enjoy helping out where I can.< |
|
|
Andy Humm
Average Member
United Kingdom
908 Posts |
Posted - 31 July 2008 : 05:18:31
|
quote: Originally posted by Carefree
I don't care about the credit. I just enjoy helping out where I can.
CF You should accept the acknowledgement and we can clearly see your enthusiasm in helping us all as always and is wideley appreciated.
I am looking at trying to modify the strPDT=DateToStr(rsPrint("P_DATE")) and " <td colspan=""1""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & strPDAT & "" & vbNewLine & _ to allow the dates to display the same as the rest of my forum. The chkdate I have changes the date from 31/07/08 14:14:19 to 31 July 2008 14:14 format Is there a quick tweak to ensure the date displays the same I tried ChkDate instead of DateToStr but it does not work. Thanks as always Andy< |
Edited by - Andy Humm on 31 July 2008 05:30:33 |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 31 July 2008 : 05:55:36
|
ChkDate is what you should use to format dates consistantly, what exactly is wrong with the date display, you only give an example of how chkdate formats it, how are you expecting it to be formatted ?< |
|
|
Andy Humm
Average Member
United Kingdom
908 Posts |
Posted - 31 July 2008 : 07:47:25
|
Hi Huwr, The code I have to create the string is strPDT=DateToStr(rsPrint("P_DATE")) and where it is being displayed I have the following code: "<td colspan=""1""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & strPDAT & "" & vbNewLine & _
I have the following date output 31/07/08 12:44:11 I am tring to get it to display 31 July 08 12:44 which works on all the other date formats.
Strangley, I have included an additional date at the top of the page which shows Printed: 31 July 2008 @ 12:44 and I used this code: "<tr colspan=""8"" align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Printed: " & FormatDateTime(StrToDate(P_Date), 1) & " @ " & FormatDateTime(StrToDate(P_Date), 4) & vbNewLine & _
I tried slotting in the FormatDateTime which, probably through wrong coding does not work. This is my pop up page for petition print and text file
Thanking you Andy
< |
Edited by - Andy Humm on 31 July 2008 07:48:23 |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 31 July 2008 : 07:55:18
|
chkDate(strPDT,"",true) should display the date as 31 July 08 12:44 chkDate(strPDT,"@", true) should display the date as 31 July 08 @ 12:44
(obviously, the above format depends on your forum date setting)
< |
|
|
Andy Humm
Average Member
United Kingdom
908 Posts |
Posted - 31 July 2008 : 08:16:59
|
Huwr, thank you for quick fix, I have used chkDate(strPDT,"",true) which displays the date as 31 July 08 12:44:12 As you say, the date format is controlling the hh:mm:ss Its probably to much to change to remove the :ss Is there a switch at the end of chkDate(strPDT,"",true) which would control the hh:mm:ss Just a thought. If not, thanking you Andy
Edit: oops spelling< |
Edited by - Andy Humm on 31 July 2008 08:22:07 |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 31 July 2008 : 08:28:02
|
no, currently there is no method to remove the seconds from being displayed, however you could edit the chkTime function to stop it displaying seconds< |
|
|
Andy Humm
Average Member
United Kingdom
908 Posts |
Posted - 31 July 2008 : 11:44:44
|
Thank you, we'll have to live with it..< |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 31 July 2008 : 12:37:05
|
Andy, if you still want the seconds gone; look for this line in "inc_func_common" (appx line 506):
Change it to say: < |
|
|
Topic |
|