Author |
Topic |
Freeman II
Junior Member
232 Posts |
|
samyot
Junior Member
Canada
242 Posts |
Posted - 09 July 2001 : 14:46:39
|
I found a problem with this MOD:
Quote taken from this post. Please see this topic for details.
quote:
When I installed the New Colour template MOD it entered 'Verdana,Arial,Helvetica' for strDefaultFontFace.
All my default users have an entry of 'Verdana, Arial, Helvetica' for strDefaultFontFace (with spaces after the comma). My 'Admin' account uses a new theme from this MOD.
When you hit 'Reply with Quote' from an 'Admin' post, the <blockquote> doesn't get converted to [quote] because of this.
Sylvain Amyot http://syltek.dingojunction.com/forum
|
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 12 July 2001 : 00:01:53
|
Is there somewhere that I could find the color picker MOD? I see so many tantalizing mentions of it, but it is nowhere to be found
@tomic
|
|
|
simonduz
Junior Member
161 Posts |
|
tomasalsbro
Average Member
Sweden
818 Posts |
Posted - 12 July 2001 : 07:12:10
|
Hi, after implementing this mod I found all templetes repeted three times. You can se a image of it here: . Does anyone have any suggestion what I should do? Cheeers / Tomas
!-Keep distance in traffic-! www.whiplash.se www.whiplash.pp.se
Edited by - tomasalsbro on 12 July 2001 07:34:33 |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 12 July 2001 : 14:07:14
|
Thanks! I can't wait to try that out.
@tomic
|
|
|
big9erfan
Average Member
540 Posts |
Posted - 12 July 2001 : 14:16:35
|
Check the table and see if they are in there 3 times as well. If so then you know you've added them 3 times
http://www.ugfl.net/forums |
|
|
tomasalsbro
Average Member
Sweden
818 Posts |
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 12 July 2001 : 22:41:07
|
It seems to work fine. All I had to do was add a link for the Import/Export MOD at the top and it was functioning great! I was using the adjustment Big9erfan posted.
@tomic
|
|
|
tomasalsbro
Average Member
Sweden
818 Posts |
Posted - 13 July 2001 : 03:26:44
|
quote:
It seems to work fine. All I had to do was add a link for the Import/Export MOD at the top and it was functioning great! I was using the adjustment Big9erfan posted.
@tomic
Hi @tomic, sorry - I'm not so familiar with coding. Exactly where did you put the link and how does the link look like? Cheers / Tomas
!-Keep distance in traffic-! www.whiplash.se www.whiplash.pp.se |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 13 July 2001 : 12:48:37
|
This is what I did to the top of admin_config_colors.asp
This is the table right above where you actually input the colors.
<form method="post" action="admin_colour_templates.asp" name="formUseTemplate"> <table border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td bgcolor="<% =strPopUpBorderColor %>"> <table border="0" cellspacing="1" cellpadding="4" width="436"> <tr valign="top"> <td bgcolor="<% =strHeadCellColor %>" colspan="2"><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>" color="<% =strHeadFontColor %>"><b>Color Templates</b></font></td> </tr> <tr align="center" valign="top"> <td bgcolor="<% =strPopUpTableColor %>" align="right" valign="middle" width="50%" nowrap> <font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><b>Template:</b></font> </td> <td bgcolor="<% =strPopUpTableColor %>" width="50%" nowrap> <div align="center"><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"> <select name="select"> <!-- BEGIN COLORMOD TEMPLATE --> <% ' Load the listbox with the available templates 'Select the existing entries On Error Resume Next strSql = "SELECT " & strTablePrefix & "COLOURS.C_TEMPLATE " strSql = strSql & " FROM " & strTablePrefix & "COLOURS ORDER BY C_TEMPLATE" set rs = my_Conn.execute (strSql) do until rs.EOF 'Response.Write " <option value=""" & rs("C_TEMPLATE") & """>" & rs("C_TEMPLATE") & "</option>" & vbCrLf Response.Write " <option value=""" & trim(rs("C_TEMPLATE")) & """" if LCase(rs("C_TEMPLATE")) = LCase(strCurrentTemplate) then Response.Write " selected " Response.Write ">" & rs("C_TEMPLATE") & "</option>" & vbCrLf rs.movenext loop rs.Close %> <!-- END COLORMOD TEMPLATE --> </select> </font> <input type="submit" name="Submit" value=" Use "></div> <input type="hidden" name="template" value="Write">
</td></form> </tr> <tr align="center" valign="top"><form method="post" action="admin_colour_templates.asp" name="formSaveTemplate"> <td bgcolor="<% =strPopUpTableColor %>" align="right" valign="middle"><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"> <b>Save As...</b> </font></td> <td bgcolor="<% =strPopUpTableColor %>"><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"> <input type="text" name="newtemplate" value="(Type Name)" size="13"> <input type="hidden" name="template" value="Save"> <input type="submit" name="Submit" value=" Save "> </font></td> </tr> <tr> <td bgcolor="<% =strPopUpTableColor %>" valign="middle" nowrap><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"> <b>Import/Export Themes:</b> </font></td> <td bgcolor="<% =strPopUpTableColor %>" align="center"> <a href="admin_color_impexp.asp"><b><font face="Arial">Import/Export</font></b></a> </td> </tr> </table> </td> </tr> </table> </form> <!-- Replace your existing form in admin_config_colors.asp with this form --> <!-- Each row with a color definition contains an additional column that dislays --> <!-- in the currently selected color upon page entry
Edited by - @tomic on 13 July 2001 12:53:18 |
|
|
Man[0]War
Starting Member
United Arab Emirates
40 Posts |
Posted - 24 July 2001 : 00:39:21
|
From what I have read, this seems to be an excellent MOD. Sadly I'm having a slight problem (or so I hope) ... I get the following error :
The error appears to be in : admin_colour_templates.asp, line 28 Microsoft OLE DB Provider for ODBC Drivers error '80040e07'
[Microsoft][ODBC SQL Server Driver][SQL Server]Disallowed implicit conversion from datatype 'varchar' to datatype 'smallint' Table: 'WEB.dbo.FORUM_CONFIG', Column: 'C_STRTOPICNOWRAPLEFT' Use the CONVERT function to run this query.
Edited by - man[0]war on 24 July 2001 00:41:03 |
|
|
Topic |
|