Author |
Topic |
|
stealthc
Starting Member
21 Posts |
Posted - 22 April 2001 : 21:18:50
|
Ok well forgive me a bit, I'm a little new to asp, originally I was into inline html (it is soo much easier to use than asp), but now I guess I need to learn asp. I have already done some pretty basic stuff. Some of the stuff I see is still a little confusing, however, I really like those collapsing menus. They are pretty **** good. In fact I want to use that on my page, and I need to figure out how I can get them on there. Unfortunately when I look in the code, I can't find any reference to "hidecat" or the pictures used (icon_minus.gif and icon_plus.gif I believe they are). Where the hell is the code for this? Can I have a little help in taking those code snippets, and adding them to my news page---there are links on the side bar and I want them to be collapsable because they aren't needed by everybody using the site. I am using the latest alpha of snitz available on the site. Can somebody help me figure this out (it should be better documented in the code). I thought I woulda found it in the inc_functions.asp page, but nope. Where the hell is it?
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 22 April 2001 : 21:35:31
|
It's all in default.asp |
|
|
stealthc
Starting Member
21 Posts |
Posted - 22 April 2001 : 22:30:45
|
Really... where (can you gimmie a hint as to where I should be looking for this?) Cuz I was looking for something in the end product that would show me where it's hiding instead of having to try to figure out lengthy bits of code piece by piece... See I come up on this line: Last Post</font></b></td> So I know it's after, because this piece of code is what I see where it says last post in the table--->so it's definitely after it. Then there's a line for moderators. Then there's a check for stuff: No Categories/Forums Found so it's still further down in the script. then an else statement doing a bit of checkin. Then I see this <% =ChkString(rs("CAT_NAME"),"display") %> That's what I think is used to obtain category names. Therefore the code for the plus and minus images must be referenced to before the category name is placed on the page. But it's not there. WTF.
Oh and I even went looking for functions that handle this in the default.asp file and all included files. Where the hell is this code? It's in there, but I'll be ****ed if I can find it because it's not referencing the same bloody images it's using for the buttons that handle this---which is what I was looking for to lead me to the right spot in the code... ugh.
Edited by - stealthc on 22 April 2001 22:34:01 |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 22 April 2001 : 22:42:32
|
all of it is commented.
The first part is between:
'## Begin code section for Minimizing Categories '## End code section for Minimizing Categories
the second part is between:
'##### This code will specify whether or not to show the forums under a category ##### '##### Above code will specify whether or not to show the forums under a category #####
the third part is commented with this:
'##### added as part of Minimize Category Mod #####
the last part is commented with this:
' ##### Added as part of Minimize Category Mod ##### |
|
|
stealthc
Starting Member
21 Posts |
Posted - 23 April 2001 : 01:22:19
|
Nevermind...I'm stupid I was looking at an older versions code---not the same as what is on the site because I had forgotten I put it in a subfolder. Although I do have something else to ask--- Have you ever considered taking the whole set of code and modifying it for news display (with news pages seperated into categories life the forum is---so that more than one news page can be used with the same script). Or links management (which is another thing I was thinking of modifying it for---the side menu on my site)? Just a few thoughts but I can see that with a bit of tweaking, then some optimizations (removing most of the forum junk) these scripts could serve those purposes as well (as seperate systems).
|
|
|
Gremlin
General Help Moderator
New Zealand
7528 Posts |
Posted - 23 April 2001 : 08:51:28
|
Stealthc, I would really reccommend that you check out some of the older posts on the support forums here, several of the things you mention are already available as MODS. Thse MODS have been created by people in their own time, and donated to the Snitz community free of charge.
You appear to have an understanding of ASP yourself, perhaps if theres something you want seen in Snitz thats not currently available, you could write the MOD and also donate you expertise to the Snitz community
|
|
|
stealthc
Starting Member
21 Posts |
Posted - 23 April 2001 : 09:13:25
|
ok. I don't have ms office to make an access database, plus I found this a tad bit confusing to do (so there may be errors with the script), but I'm guessing that somebody who is more familiar with asp may be-able to quickly fix the errors and setup a database that will work with this (no admin pages for it yet). This is designed to be a link management system, which I have snipped pieces of code from the default.asp page with, I will post soon a zip file containing the file I have created (don't worry about the missing head and body tags, they are in a parent document). Now before I post the link I need to make sure that information that is relevant in the inc files is included with this page, if all is ok then I will zip up and upload the file to my website for somebody to download and help me with. This should prove to be interesting because if it works it'll be a nice piece of work---with the html code stored directly in the database for use with the links. Anyways I will post in a few minutes the link where this can be downloaded at. If anybody can help, thanks in advance (most of the work is already finished).
|
|
|
stealthc
Starting Member
21 Posts |
|
|
Topic |
|