Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Minimizing Categories
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 8

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 22 December 2000 :  08:00:25  Show Profile
Just right-click the images and choose "Save Picture As" or "Save As"

white plus and minus signs:

<img src="http://www.websamba.com/dssdbs/forum/plus.gif" border=0> <img src="http://www.websamba.com/dssdbs/forum/minus.gif" border=0>

black plus and minus signs:

<img src="http://www1.domaindlx.com/dssdbs/testforum/plus.gif" border=0> <img src="http://www1.domaindlx.com/dssdbs/testforum/minus.gif" border=0>
Go to Top of Page

pinozz
New Member

53 Posts

Posted - 22 December 2000 :  20:00:48  Show Profile
the default setting for the categories is all open or all closed?

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 23 December 2000 :  14:24:03  Show Profile
all open. the setting is stored in the user's cookie. So it's specific to each user.
Go to Top of Page

frankie
Junior Member

Vatican City
304 Posts

Posted - 23 December 2000 :  16:18:06  Show Profile  Visit frankie's Homepage  Send frankie an AOL message  Send frankie an ICQ Message  Send frankie a Yahoo! Message
Richard,

Merry christmas at first. Secondly, I know you are overwhelmed by newbies like me, but is it ok for you to change that minimizecat file you posted and make it more general so we could modify the stat, active users, etc.... sections in the default.asp page. I would appreciate it alot

Thanks <img src=icon_smile.gif border=0 align=middle>



ô¿~
Go to Top of Page

wedont
Junior Member

Canada
344 Posts

Posted - 26 December 2000 :  17:03:58  Show Profile
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>

http://www11.ewebcity.com/dssdbs/files/minimize_cat_v31final.txt
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Sorry to ask Richard, but since my Default is highly modified, would it be possible to "reference" (before or after...) the modifications, cause "line" numbers are ----ed!

Wedont
snitz ver3.1 sr2

<font color=red>Thanks Richard</font id=red>

Edited by - wedont on 26 December 2000 19:27:42
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 26 December 2000 :  17:12:37  Show Profile
wedont,

you can send me your default.asp and I'll modify it for you.
Go to Top of Page

frankie
Junior Member

Vatican City
304 Posts

Posted - 26 December 2000 :  23:15:28  Show Profile  Visit frankie's Homepage  Send frankie an AOL message  Send frankie an ICQ Message  Send frankie a Yahoo! Message
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Richard,

Merry christmas at first. Secondly, I know you are overwhelmed by newbies like me, but is it ok for you to change that minimizecat file you posted and make it more general so we could modify the stat, active users, etc.... sections in the default.asp page. I would appreciate it alot

Thanks <img src=icon_smile.gif border=0 align=middle>

Richard, any ideas on how to modify the other mods?!! Thanks


ô¿~
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

ô¿~
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 26 December 2000 :  23:28:48  Show Profile
frankie,

If you look at the way it was done for the categories you will see what you need to do.

Basically you are splitting the line that writes out the name (either Private Messages or Online Users, etc...) and inserting the code that places the + and - signs.

Then you put a if statement that checks to see whether it should display the part below the name line or not and then put an end if at the end.

For the cookie part, I placed mine in default.asp at the top with the part for HideCat, I named them HideStat, HidePM, and HideOnline.

Here is what I used:

<font size=1><pre id=code><font face=courier size=2 id=code> HideStat = "HideStat"
If Request.QueryString(HideStat) = "Y" then
Response.Cookies(strCookieURL & HideStat) = "Y"
Response.Cookies(strCookieURL & HideStat).Expires = dateAdd("d", 30, strForumTimeAdjust)
Else
If Request.QueryString(HideStat) = "N" then
Response.Cookies(strCookieURL & HideStat) = "N"
Response.Cookies(strCookieURL & HideStat).Expires = dateAdd("d", 30, strForumTimeAdjust)
End If
End If

HidePM = "HidePM"
If Request.QueryString(HidePM) = "Y" then
Response.Cookies(strCookieURL & HidePM) = "Y"
Response.Cookies(strCookieURL & HidePM).Expires = dateAdd("d", 30, strForumTimeAdjust)
Else
If Request.QueryString(HidePM) = "N" then
Response.Cookies(strCookieURL & HidePM) = "N"
Response.Cookies(strCookieURL & HidePM).Expires = dateAdd("d", 30, strForumTimeAdjust)
End If
End If

HideOnline = "HideOnline"
If Request.QueryString(HideOnline) = "Y" then
Response.Cookies(strCookieURL & HideOnline) = "Y"
Response.Cookies(strCookieURL & HideOnline).Expires = dateAdd("d", 30, strForumTimeAdjust)
Else
If Request.QueryString(HideOnline) = "N" then
Response.Cookies(strCookieURL & HideOnline) = "N"
Response.Cookies(strCookieURL & HideOnline).Expires = dateAdd("d", 30, strForumTimeAdjust)
End If
End If</font id=code></pre id=code></font id=size1>
Go to Top of Page

wedont
Junior Member

Canada
344 Posts

Posted - 27 December 2000 :  20:33:57  Show Profile
Hi Richard,

The "minimizing mod" may have a few "schnitz"

1-We have to repeatedly hit "refresh" to reflect a new "change" and previous "Change"(to different categories). Shouldn't the 'refresh' be automatic (buffer ON?)
2-The visitors with "cookies disable" only get confused by this Mod as it then only take into account the new"change". Shouldn't it be turned "off" when cookies are disable?



Wedont
snitz ver3.1 sr2

Edited by - wedont on 29 December 2000 17:19:41
Go to Top of Page

Rob Poretti
Junior Member

Canada
435 Posts

Posted - 23 January 2001 :  21:59:06  Show Profile  Visit Rob Poretti's Homepage
quote:

quote:


http://www11.ewebcity.com/dssdbs/files/minimize_cat_v31final.txt



Sorry to ask Richard, but since my Default is highly modified, would it be possible to "reference" (before or after...) the modifications, cause "line" numbers are ----ed!

Wedont
snitz ver3.1 sr2

Thanks Richard

Edited by - wedont on 26 December 2000 19:27:42



I'm in the same predicament -- there are many mods in my default.asp and the whole thing is nested inside of a complex set of nested tables, etc., etc...

Is there any way of knowing what the actual mods are for the collapsable Categories? (If this is a difficult taks, then I'll proceed with the task -- just hoping for some short cuts.)

Cheers!



Go to Top of Page

Rob Poretti
Junior Member

Canada
435 Posts

Posted - 23 January 2001 :  22:17:34  Show Profile  Visit Rob Poretti's Homepage
OK... I've given it a good shot....

I went back to un-changed default.asp file from 3.1 final in an attempt to find the actual line numbers that are identified in the "minimize_cat_v31final.txt". Once I located the position in the original default.asp, I then searched for the same position in my current default.asp. By the third change in the list of modifications, I knew that I was out of sync - I was inserting in the middle of a sub....

So, if anyone can tell me where in the code I have to either insert or replace the appropriate lines, I'd certainly appreciate it. (Ideally, I should see a line or two before/after the insertion point, or what actually gets replaced.)

Thanks again...

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 23 January 2001 :  23:05:10  Show Profile
Rob, this is from my 3.1 SR4 version of default.asp

(is that the version you are using?)

I have commented where I inserted the code.

Look for the comments on lines 41, 266, 285 & 386

Here is the file: http://www16.brinkster.com/richardk/files/default.txt

Edited by - Richard Kinser on 23 January 2001 23:06:12
Go to Top of Page

Rob Poretti
Junior Member

Canada
435 Posts

Posted - 24 January 2001 :  08:50:15  Show Profile  Visit Rob Poretti's Homepage
No, I'm using sr3,. but I've already implemented a number of mods -- I know about the cookie thing:

substitute strUniqueID with strCookieURL right?


Is there anything else I should be changing to have it work for sr3?
(BTW, the comments with the line numbers make it very obvious -- thanks very much.)


(As an aside, I really like the look of one of your "test" forums -- the black/dark blue wone with the metallic gradations in the category bars. How DID you do that!? Ichecked the "source" and I couldn't see the bit map. JavaScript?)

Cheers!

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 24 January 2001 :  09:20:17  Show Profile
I was just posting the default.txt so you could see exactly where to insert the code.

There's some extra stuff in there that you'd probably need to take out for it to work with your forum.

Here is how I have the graphic in the table header:


<td align=center bgcolor="<% =strHeadCellColor %>" nowrap valign="top" background="colorstripe.gif">
Go to Top of Page

Rob Poretti
Junior Member

Canada
435 Posts

Posted - 24 January 2001 :  13:02:11  Show Profile  Visit Rob Poretti's Homepage
Yes, the insert points were clear with that file you sent.... but, are you saying that the CODE in that file should not be used? If not, which code should I use?

I've tried doing the mod, by inserting the code between your comments in the same place as your code. When I run it I just get IE saying "Web found. Waiting for reply..." in the status bar. It times out eventually...

It stepped through the code in VI and found that it gets hung in the first "if" statement of this loop:

do until rsForum.Eof
if ChkDisplayForum(rsForum("FORUM_ID")) then

(I think this is line 248 in your version.) My default.asp file does not have this problem without the mods!

Still perplexed... any ideas?


(BTW, thanks for the fancy Category Bar gif idea! My version here.)

Cheers,


Rob



Go to Top of Page
Page: of 8 Previous Topic Topic Next Topic  
Previous Page | Next Page
 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.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07