Author |
Topic |
|
rollerblast
New Member
76 Posts |
Posted - 02 April 2005 : 11:08:29
|
ok i think my forum is nearlly complete but two problems im having trouble with that are probably easy to solve:
1, trying to move the change catagory group below the news mod.
2, change the colour of the statistics text header and private message box text header.
Im sure these are really easy to solve but im abit silly..
THanks for the help!!!>
the forum is www.rollerblast.co.uk/rbforum/ |
Edited by - ruirib on 02 April 2005 15:12:57 |
|
Ghostnetworks
New Member
95 Posts |
Posted - 02 April 2005 : 12:47:47
|
2 Easy solutions...
Move the news mod right underneath all the include lines ( <!--#INCLUDE FILE="somefile.asp" --> lines )
I was wondering why the "Statistics" text was invisible Statistics text is the same color as the Category font color... You can change that in the admin area.
edit_ You may want to change the forum width to match the news mod width. It'll look nicer.
BTW. Make a default.css file in Notepad and write..
input {
border:1px solid #000;
font-family:Verdana, Arial, Helvetica, Sans-Serif;
background:#AFD6FF;
} Then open up inc_header.asp and modify
"<title>" & strForumTitle & "</title>" & vbNewline
Into...
"<title>" & strForumTitle & "</title>" _
"<link rel=""stylesheet"" href=""default.css"">" & vbNewline
It'll make your login info better match the colors. |
|
Edited by - Ghostnetworks on 02 April 2005 13:01:13 |
|
|
rollerblast
New Member
76 Posts |
Posted - 02 April 2005 : 16:00:49
|
ok. a few more questions. Which page with the include file lines are you talking about.
and when i change
"<title>" & strForumTitle & "</title>" & vbNewline
to this:
"<title>" & strForumTitle & "</title>" _ "<link rel=""stylesheet"" href=""default.css"">" & vbNewline
i get this error message:
Microsoft VBScript compilation error '800a0400'
Expected statement
/rbforum/inc_header.asp, line 85
"<link href="default.css" rel="stylesheet" type="text/css">" ^
im sure ive seen this before i just dont no how to fix it. I tried adding a end if on the line below but that didnt work.
Thanks for the help with the statistics thing. theres 1 more thing bugging me that ur probably smart enough to help me with:
i would really like the border on the forum news to be the same as the actual forum!! how would i go about doing that?
THANKS so much for the help. I really am greatful. |
cool guy |
|
|
Ghostnetworks
New Member
95 Posts |
Posted - 02 April 2005 : 18:19:44
|
Oops
Make that...
"<title>" & strForumTitle & "</title>"& _
"<link rel=""stylesheet"" href=""default.css"">" & vbNewline
Forgot the "&" at the end before the "_"
edit_
The file with the include lines is the main page (default.asp)
Basically look on any page where you applied the news mod... Just move it up and right underneath the include lines. |
|
Edited by - Ghostnetworks on 02 April 2005 18:21:37 |
|
|
rollerblast
New Member
76 Posts |
Posted - 02 April 2005 : 20:34:29
|
That login looks wicked. Still struggling with moving the catagory thing. I have changed the code to look like this:
%> <!--#INCLUDE FILE="config.asp"--> <!--#INCLUDE FILE="inc_func_secure.asp" --> <!--#INCLUDE FILE="inc_sha256.asp"--> <!--#INCLUDE FILE="inc_header.asp" --> <!--#INCLUDE FILE="inc_func_member.asp" --> <!--#INCLUDE FILE="inc_moderation.asp" --> <!--#INCLUDE FILE="inc_subscription.asp" --> <!--#INCLUDE FILE="inc_news_body.asp" --> <%
is that what you ment? the <!--#INCLUDE FILE="inc_news_body.asp" --> began directly under the <!--#INCLUDE FILE="inc_header.asp" --> |
cool guy |
|
|
Ghostnetworks
New Member
95 Posts |
Posted - 04 April 2005 : 05:46:27
|
That should be it... Those include lines have all the needed info, so the mod should work.
edit_
What exactly does your default.asp file look like in that section? Could you copy > paste what you have so far of the include lines? |
|
Edited by - Ghostnetworks on 04 April 2005 05:48:54 |
|
|
rollerblast
New Member
76 Posts |
Posted - 04 April 2005 : 12:44:57
|
here is the top part of my default.asp:
quote:
<% '################################################################################# '## Snitz Forums 2000 v3.4.04 '################################################################################# '## Copyright (C) 2000-04 Michael Anderson, Pierre Gorissen, '## Huw Reddick and Richard Kinser '## '## This program is free software; you can redistribute it and/or '## modify it under the terms of the GNU General Public License '## as published by the Free Software Foundation; either version 2 '## of the License, or (at your option) any later version. '## '## All copyright notices regarding Snitz Forums 2000 '## must remain intact in the scripts and in the outputted HTML '## The "powered by" text/logo with a link back to '## http://forum.snitz.com in the footer of the pages MUST '## remain visible when the pages are viewed on the internet or intranet. '## '## This program is distributed in the hope that it will be useful, '## but WITHOUT ANY WARRANTY; without even the implied warranty of '## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the '## GNU General Public License for more details. '## '## You should have received a copy of the GNU General Public License '## along with this program; if not, write to the Free Software '## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. '## '## Support can be obtained from our support forums at: '## http://forum.snitz.com '## '## Correspondence and Marketing Questions can be sent to: '## manderson@snitz.com '## '#################################################################################
%> <!--#INCLUDE FILE="config.asp"--> <!--#INCLUDE FILE="inc_func_secure.asp" --> <!--#INCLUDE FILE="inc_sha256.asp"--> <!--#INCLUDE FILE="inc_header.asp" --> <!--#INCLUDE FILE="inc_func_member.asp" --> <!--#INCLUDE FILE="inc_moderation.asp" --> <!--#INCLUDE FILE="inc_subscription.asp" --> <!--#INCLUDE FILE="inc_news_body.asp" --> <%
Dim UnapprovedFound, UnModeratedPosts
if Request.QueryString("CAT_ID") <> "" and IsNumeric(Request.QueryString("CAT_ID")) = True then Cat_ID = cLng(Request.QueryString("CAT_ID")) end if
scriptname = request.servervariables("script_name")
if strAutoLogon = 1 then if (ChkAccountReg() <> "1") then Response.Redirect("register.asp?mode=DoIt") end if end if
if IsEmpty(Session(strCookieURL & "last_here_date")) then Session(strCookieURL & "last_here_date") = ReadLastHereDate(strDBNTUserName) end if
if strModeration = "1" and mLev > 2 then UnModeratedPosts = CheckForUnmoderatedPosts("BOARD", 0, 0, 0) end if
' -- Get all the high level(board, category, forum) subscriptions being held by the user Dim strSubString, strSubArray, strBoardSubs, strCatSubs, strForumSubs if MySubCount > 0 then strSubString = PullSubscriptions(0,0,0) strSubArray = Split(strSubString,";") if uBound(strSubArray) < 0 then strBoardSubs = "" strCatSubs = "" strForumSubs = "" else strBoardSubs = strSubArray(0) strCatSubs = strSubArray(1) strForumSubs = strSubArray(2) end if end If
How should this be changed to make the group catagory box below the news mod?
thanks for the help.
www.rollerblast.co.uk/rbforum/default.asp is the default page in the forum |
cool guy |
|
|
Ghostnetworks
New Member
95 Posts |
Posted - 04 April 2005 : 20:56:16
|
I think I got it.
Move <!--#INCLUDE FILE="inc_news_body.asp" --> directly under <!--#INCLUDE FILE="inc_header.asp" -->
<!--#INCLUDE FILE="config.asp"--> <!--#INCLUDE FILE="inc_func_secure.asp" --> <!--#INCLUDE FILE="inc_sha256.asp"--> <!--#INCLUDE FILE="inc_header.asp" --> <!--#INCLUDE FILE="inc_news_body.asp" --> <!--#INCLUDE FILE="inc_func_member.asp" --> <!--#INCLUDE FILE="inc_moderation.asp" --> <!--#INCLUDE FILE="inc_subscription.asp" --> |
|
|
|
rollerblast
New Member
76 Posts |
Posted - 05 April 2005 : 21:06:18
|
hmm did it but still no change.. |
cool guy |
|
|
Ghostnetworks
New Member
95 Posts |
Posted - 06 April 2005 : 11:03:52
|
Try this...
Open up inc_header.asp and find the following lines..
'########### GROUP Categories ########### %>
<!--#INCLUDE FILE="inc_groupjump_to.asp" -->
<% '######## GROUP Categories ##############
Change them into..
%>
<tr>
<td>
<!--#INCLUDE FILE="inc_news_body.asp" -->
</td>
</tr>
<%'########### GROUP Categories ###########
<!--#INCLUDE FILE="inc_groupjump_to.asp" -->
<% '######## GROUP Categories ##############
|
|
|
|
|
Topic |
|