Author |
Topic |
GauravBhabu
Advanced Member
4288 Posts |
Posted - 25 July 2001 : 11:08:45
|
bignerfan, I just found out that the following need to be corrected in my_themes.asp.
strNewFontColor = objRS2("C_STRNEWFONTCOLOR")
end if
End if
objRS2.close objRS3.close
set objRS2 = nothing set objRS3 = nothing
%>
It should be as below: strNewFontColor = objRS2("C_STRNEWFONTCOLOR")
end if
objRS2.close objRS3.close
set objRS2 = nothing set objRS3 = nothing
End if
%>
Checkout forumSquare
gauravbhabu
There is only one miracle...That is LIFE! |
|
|
big9erfan
Average Member
540 Posts |
Posted - 25 July 2001 : 11:44:54
|
Gaura,
This is what I have as my_theme.asp
I'll put all the Ifs in red and end if in blue
<% '#Created by Mohammed Faizul Wahid For Snitz '#faizw@bigfoot.com '#31st day of May 2001 '#snitz username : faiz %>
<% if not Request.Cookies(strUniqueID & "User")("Name") = "" then '##Get Member Page Configuration from Table FORUM_MY_CONFIG id = getMemberID(Request.Cookies(strUniqueID & "User")("Name"))
strSQL = "SELECT THEME_ID FROM " & strTablePrefix & "MY_CONFIG WHERE MEMBER_ID=" & id Set objRS = my_Conn.Execute(strSQL)
strSQL3 = "SELECT MAX( CONFIG_ID ) AS MaxOfCONFIG_ID FROM " & strTablePrefix & "COLOURS" Set objRS3 = my_Conn.Execute(strSQL3)
if objRS.EOF or objRS.BOF then themeid = 1 'default theme is 1 else if objRS("THEME_ID") > objRS3("MaxOfCONFIG_ID") then themeid = 1 elseif objRS("THEME_ID") < 1 then themeid = 1 else themeid = objRS("THEME_ID") end if end if
strSQL = "" strSQL = "SELECT * FROM " & strTablePrefix & "COLOURS WHERE CONFIG_ID=" & themeid Set objRS2 = my_Conn.Execute(strSQL)
if themeid <> 1 then
strDefaultFontFace = objRS2("C_STRDEFAULTFONTFACE") strDefaultFontSize = objRS2("C_STRDEFAULTFONTSIZE") strHeaderFontSize = objRS2("C_STRHEADERFONTSIZE") strFooterFontSize = objRS2("C_STRFOOTERFONTSIZE") strPageBgColor = objRS2("C_STRPAGEBGCOLOR") strDefaultFontColor = objRS2("C_STRDEFAULTFONTCOLOR") strLinkColor = objRS2("C_STRLINKCOLOR") strLinkTextDecoration = objRS2("C_STRLINKTEXTDECORATION") strVisitedLinkColor = objRS2("C_STRVISITEDLINKCOLOR") strVisitedTextDecoration = objRS2("C_STRVISITEDTEXTDECORATION") strActiveLinkColor = objRS2("C_STRACTIVELINKCOLOR") strHoverFontColor =objRS2("C_STRHOVERFONTCOLOR") strHoverTextDecoration = objRS2("C_STRHOVERTEXTDECORATION") strHeadCellColor = objRS2("C_STRHEADCELLCOLOR") strHeadFontColor = objRS2("C_STRHEADFONTCOLOR") strCategoryCellColor = objRS2("C_STRCATEGORYCELLCOLOR") strCategoryFontColor = objRS2("C_STRCATEGORYFONTCOLOR") strForumFirstCellColor = objRS2("C_STRFORUMFIRSTCELLCOLOR") strForumCellColor = objRS2("C_STRFORUMCELLCOLOR") strAltForumCellColor = objRS2("C_STRALTFORUMCELLCOLOR") strForumFontColor = objRS2("C_STRFORUMFONTCOLOR") strForumLinkColor = objRS2("C_STRFORUMLINKCOLOR") strTableBorderColor = objRS2("C_STRTABLEBORDERCOLOR") strPopUpTableColor = objRS2("C_STRPOPUPTABLECOLOR") strPopUpBorderColor = objRS2("C_STRPOPUPBORDERCOLOR") strNewFontColor = objRS2("C_STRNEWFONTCOLOR")
end if
end if
objRS2.close objRS3.close
set objRS2 = nothing set objRS3 = nothing
%>
I see a matching end if for every if, could you please point out what I'm missing??
http://www.ugfl.net/forums |
|
|
Morten
Junior Member
Denmark
251 Posts |
Posted - 25 July 2001 : 13:15:43
|
well I downloaded big9erfan´s latest zip - and works perfect, just that f****** my_topic.asp that noboddy seems to have
|
|
|
big9erfan
Average Member
540 Posts |
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 25 July 2001 : 14:47:17
|
I recall that there never was a my_topic.asp I think it was mentioned somewhere in this topic.
@tomic
|
|
|
bonkers
Junior Member
United Kingdom
122 Posts |
Posted - 25 July 2001 : 15:39:33
|
quote:
you'll have to get it from faiz, who origionally released this mod.I was never able to get my hands on it.
I hope this is what you are looking for it`s from the original my_snitz.zip http://home.domaindlx.com/bonkers/problems/my_topics.txt p.s remove this ../forums from these line`s <!--#INCLUDE FILE="../forums/inc_jump_to.asp" --> <!--#INCLUDE FILE="../forums/inc_footer.asp" -->
bonkers bonkers Test Portal http://user.7host.com/bonkers/
Edited by - bonkers on 25 July 2001 15:42:55 |
|
|
Morten
Junior Member
Denmark
251 Posts |
Posted - 25 July 2001 : 15:48:16
|
Thanks man!
Morten
|
|
|
bonkers
Junior Member
United Kingdom
122 Posts |
Posted - 25 July 2001 : 15:54:21
|
quote:
Thanks man!
Morten
No problem from memory I think there may be a java script error when using this. If you have problems let me know i may have whats needed
Edited by - bonkers on 25 July 2001 15:57:53 |
|
|
Morten
Junior Member
Denmark
251 Posts |
Posted - 25 July 2001 : 16:12:07
|
Absolutly no problems at all - my_topic.asp is working fine after I changed the location settings of those include files. The intire mod runs perfectly be me now
|
|
|
Freeman II
Junior Member
232 Posts |
Posted - 25 July 2001 : 17:53:40
|
can you zip this mod along with huwr's color template mod? cuz that topic is really confusing me...
(did they fix the save template bug? and added the delete templates function?)
|
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 27 July 2001 : 02:05:25
|
quote:
strPopUpBorderColor = objRS2("C_STRPOPUPBORDERCOLOR") strNewFontColor = objRS2("C_STRNEWFONTCOLOR")
end if
end if
objRS2.close objRS3.close
set objRS2 = nothing set objRS3 = nothing
%>
I see a matching end if for every if, could you please point out what I'm missing??
http://www.ugfl.net/forums
strPopUpBorderColor = objRS2("C_STRPOPUPBORDERCOLOR") strNewFontColor = objRS2("C_STRNEWFONTCOLOR")
end if
objRS2.close objRS3.close
set objRS2 = nothing set objRS3 = nothing
end if %> [/code]
It is not about missing end if. if and end if are correct. What I am saying is objRS2 and objRS3 needs to be closed inside the end if statement.
Share A Square at forumSquare
gauravbhabu
There is only one miracle...That is LIFE!
|
|
|
sakex
Starting Member
1 Posts |
Posted - 27 July 2001 : 05:02:39
|
I get this error Creating table(s)... CREATE TABLE FORUM_MY_CONFIG( MEMBER_ID#int## NOT NULL , THEME_ID#int##0 NOT NULL , MAX_MY_TOPICS#int##5 NOT NULL , SHOW_RECENT_TOPICS#int##1 NOT NULL , SHOW_MY_TOPICS#int##1 NOT NULL , SHOW_PM#int##1 NOT NULL ) -2147217900 | Errore di sintassi nella definizione del campo.
The translation is approximatively: "Syntax Error in the field definition."
by adding this mod i've corrupted my database ..... & i've lost all my users in my forum. I know that was my fault that i must backup the database and try on a different forum the mods.... btw .... :° help me if you can.
Tnx alot. Bye
|
|
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 01 August 2001 : 17:17:12
|
on my.asp viewing the Topics you have Started I would like the topics grouped correctly instead of showing the category name more than once. for example, the I started look like this:
-nine inch nails what is your favorite song -other did you hear the new deep song? -nine inch nails trent reznor working on new project
This should instead look like this:
-nine inch nails what is your favorite song trent reznor working on new project -other did you hear the new deep song?
just like the normal forum view
Dayve |
|
|
netanel
New Member
Israel
89 Posts |
Posted - 02 August 2001 : 06:54:37
|
in the mod ther is a way that serfer can change the color of his page. how can i add mor color?
|
|
|
SHARKMAN
Starting Member
USA
2 Posts |
Posted - 04 August 2001 : 22:35:30
|
Ok. I have followed this thread from the begining and I am very lost. Could someone please post the compleated mod with any other mods that are necessary to make this work on version 3.3 final.
I am also looking for the mod that creates the portal start page. I am looking for the mod that makes the popout tool bar on the side of your pages.
Free stuff Rocks! |
|
|
Topic |
|