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
 IPGate Fonts
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 02 June 2008 :  05:55:01  Show Profile
I have just installed the IPGate Mod, and noticed that the admin_ipgate.asp displays the fonts all differently from the other forum pages. In particular the directory tree has all large fonts and the rest of the table structure/fonts is not consistant.
Response.Write	"      <table border=""0"" width=""100%"" style=""border-collapse: collapse"" cellspacing=""1"">" & vbNewLine & _
		"        <tr>" & vbNewLine & _
		"          <td width=""33%"" align=""left"">" & vbNewLine & _
		"          " & getCurrentIcon(strIconFolderOpen,"","") & " <a href=""default.asp"">All Forums</a><br />" & vbNewLine & _
		"          " & getCurrentIcon(strIconBar,"","") & getCurrentIcon(strIconFolderOpen,"","") & " <a href=""admin_home.asp"">Admin Section</a><br />" & vbNewLine & _
		"          " & getCurrentIcon(strIconBlank,"","") & getCurrentIcon(strIconBar,"","") & getCurrentIcon(strIconFolderOpenTopic,"","" ) & " <a href=""admin_ipgate.asp"">IPGate Configuration</a></td>" & vbNewLine & _
		"        </tr>" & vbNewLine & _
		"      </table>" & vbNewLine



Looking at the way the code has been written I makes this file very rigid and any external global font/style/colour changes by the forum admin config will not be actioned on this page. Coudl there be any easy fix to bring the settings inline with all the other forum pages, ie when the config setup changes these settings change.

This seems what is is being used for the fonts etc.

if strIPGateCss=1 then
   tableheadstyle="class=""header"""
   tableheadfont=""
   tablehead2style="class=""header2"""
   tablehead2font=""
   categorytable="class=""category"""
   categoryfont=""
   categoryfontlink=""
   category2table="class=""category2"""
   category2font=""
   forumtable="class=""forumcellcolor"""
   forumfont=""
   endfont=""
   ClassText = "class=""text"""
   ClassBouton = "class=""bouton"""
else
   tableheadstyle="bgcolor=""" & strHeadCellColor & """"
   tableheadfont="<font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """>"
   tablehead2style="bgcolor=""" & strHeadCellColor & """"
   tablehead2font="<font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """>"
   categorytable="bgcolor=""" & strCategoryCellColor & """"
   categoryfont="<font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """>"
   categoryfontlink="<font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strLinkColor & """>"
   category2table="bgcolor=""" & StrForumFirstCellColor & """"
   category2font="<font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strForumFontColor & """>"
   forumtable="bgcolor=""" & StrForumCellColor & """"
   forumfont="<font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strForumFontColor & """>"
   endfont="</font>"
end if
<

Edited by - Andy Humm on 02 June 2008 08:24:59

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 02 June 2008 :  08:24:02  Show Profile
admin_ipgate.asp text file<

Edited by - Andy Humm on 02 June 2008 08:24:35
Go to Top of Page

gpctexas
Junior Member

320 Posts

Posted - 02 June 2008 :  08:37:08  Show Profile  Visit gpctexas's Homepage
From what I remember when I rebuilt the page is the admin page does use the forum code for fonts and tables except in certain places for table headers. As long as the image css switch in its settings is off.<

ipgate 2.4.4 RC3
http://www.gpctexas.net/ipgate_v244.zip
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 02 June 2008 :  13:10:04  Show Profile
ipgate 2.4.4 RC3 is the one I installed and the admin page and others all do not mirror the other forum page formats. Where is the css switch to turn off. Will this bring all the font settings inline with the rest of forum pages, in particular the directory tree, headers and category headings..<
Go to Top of Page

gpctexas
Junior Member

320 Posts

Posted - 02 June 2008 :  13:35:38  Show Profile  Visit gpctexas's Homepage
It is in the ipgate settings. Should be named "Use Image's CSS Skin" This should be already off by default. WOuldn't hur t to check.<

ipgate 2.4.4 RC3
http://www.gpctexas.net/ipgate_v244.zip
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 02 June 2008 :  15:19:03  Show Profile
I've tried that and like said, all the fonts do not run in line with the other forum style.. There is coding in the table settings which are hard settings ie font size =5 <%fonttable%> surely the page should be more dynamic and pick up the str settings like the other forum pages.
Example from above code:
if strIPGateCss=1 then
tableheadstyle="class=""header"""
tableheadfont=""

The "" has no settings

Where are the font settings for the directory tree as in the first block of code I posted in the initial post.<
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 03 June 2008 :  19:14:01  Show Profile
Not to worry, I have looked at the file and decided to restructure the way the admin_ipgate page displays. I've sorted the directory tree fonts size issue, and I will post a link so all can share when finished. There is a lot of tidying up of the file to bring the styles inline with the existing forum settings..<

Edited by - Andy Humm on 03 June 2008 19:14:48
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 04 June 2008 :  05:59:15  Show Profile
As promised I have done some tidying up of the layout and left all the functionality the same. The Naviagetion links are all consistent with the main forum styles. The page title headers and category headers to each page, will be consistant with forum headings, you may notice I have background image to the headers, but the original bgcolor=""" & strHeadCellColor & """ still works if no image available.
Here are some snap shots of the pages:
Main Menu:

Ban User

Edit Blocked Pages

The admin_ipgate.asp file layout code has been changed from the original, the functionality is kept.

Copy of my admin_ipgate.asp file Text Version

Comments and observations appreciated.

The only thing I am tring to do is get the Title Headers for all pages to show exactly one line below the directory tree structure, so when navigating between the pages, we do not see slight jumps.<

Edited by - Andy Humm on 04 June 2008 06:01:39
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.38 seconds. Powered By: Snitz Forums 2000 Version 3.4.07