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

 All Forums
 Community Forums
 Graphics & Style in Snitz!
 A few questions about customization
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 3

luminousnerd
New Member

USA
97 Posts

Posted - 10 August 2006 :  18:02:18  Show Profile  Visit luminousnerd's Homepage  Send luminousnerd an AOL message  Send luminousnerd a Yahoo! Message
Hey all,

Okay here are my questions. They don't all have to do with Graphics but most do, and I figured it was the best forum for all of them together. Thanks

1. Will it screw anything up if I replace the 'star'/rank images with slightly larger (pixel-wise) images? Same question for New Topic buttons, logout button, etc etc. Thanks

2. Can I point the Forum Logo to my home page instead of the main forum page?

3. On the sign up page (once you click approve), I see a grey table background. It also appears a few other spots, like new topic, the admin page for changing colors, and a few others I think. What do I change to make this #FFFFFF?

4. My stars aren't showing up. I remember seeing a FAQ about this, but I can't find it now.

5. Can I put Flash somewhere on the layout that will appear on every page? Essentially, can I manually modify the layout, and if so, how/with which file?

6. Is it possible that when a user signs up, I run an additional script which would add them to our newsletter automatically? I don't know ASP, we had our database developped, whould I need them to develop another script to do this? Or is it relatively simple and someone could help me with it here? Thanks

7. Is it possible to change the look of the text boxes and text areas across the site? I'd like them to appear dark reddish, to go with my layout a little more, and have white text.

8. When I take more than 5 minutes or so to fill something out, and hit submit, I have to log back in. Can I have it keep me logged in until I log out?

9. This ties in with #5, but can I change the links at the top right? And can I add links somewhere up there?

10. Is there a way to integrate a blog with Snitz? So that I could add a forum that would be a blog? Similar to popular blog styles and such? Most importantly, the top few posts (if not all) would show the full text of the entry on the category page, and not have to click the subject to see it. I know you could just use the regular system, but I'd like it to be more blog-oriented.

11. Is there a way to integrate some sort of news-system with Snitz? With archival options, and the like? I know you can just make a forum and have it be for that, but I'd like to have a more advanced system, but only if I can integrate it with Snitz.

12. Is it possible to change the font size to 11px? There's only settings for 10 and 12.

13. Can I edit the "permissions" I guess they would be called of each forum topic? For example, say one forum is no posts except by admins? And another might be no new topics except admins, but regulars can reply. I'd really like to be able to do this.

Thanks a ton to whoever can help me with all these!! I might add a few more as they come! Sorry there are so many!

leatherlips
Senior Member

USA
1838 Posts

Posted - 10 August 2006 :  21:48:32  Show Profile  Visit leatherlips's Homepage
I can answer some of your questions:

1. You can change any of your graphics. The easiest way would be to name them the same as what they are replacing, then they can simply overwrite the original graphic. However, if they are a different size, you will need to update the width and height in the inc_iconfiles.asp file.

2. Yes. In the Admin Section > Main Forum Configuration, set the Forum URL to your main home page.

3. You can adjust all colors in the Admin Section > Font/Table Color Code Configuration.

4. Stars will not appear until a user reaches the number of posts set in Member Level 1 in the Admin Level > Ranking Configuration.

5. Yes. You can modify the inc_header.asp page. Or you could add the Site Integration MOD.

7. Yes. See number 3 above.

9. Yes. Changes need to be made in the inc_header.asp page.

11. There is a Newsletter MOD that may do what you are asking.

12. Yes. You will need to modify the code in the admin_config_colors.asp page. Look for the section with the font sizes. You can either adjust one of the existing ones, (say change the size 10 to 11) or you could add a new one with 11 as an option.

I'm sure others will chime in and help you with your other questions or add to my answers.

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD

Edited by - leatherlips on 10 August 2006 21:58:10
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 10 August 2006 :  21:59:53  Show Profile  Visit AnonJr's Homepage
Whew. That's quite a bit of question... so here's a chunk of answer:

1. Probably not, though you may want to play with it a bit in a private testing environment first.

2. Yes, the code is in inc_header.asp

3. You can edit it in the Admin panel - I forget the actual area. You can use hex and RGB values even though it comes with the color names. Just make sure you prefix/format it properly {#RRGGBB for hex and RGB(rrr,ggg,bbb) for RGB}.

4. Its in your Admin Panel, under "Ranking Configuration" - Set the drop-down to "Rank and Stars"

5. Depends on where you want it... inc_header.asp has most of the header stuff. You may want to start there. If you are feeling adventurous you could look into the Site Integration MOD and really jazz it up.

6. I'm sure you can, and I know this had been discussed numerous times before - a quick search should turn up what you need.

7. You could add some CSS in inc_header.asp - that would probably be one of the easier routs. Also, there is a CSS'd version of the forum floating around (look for "Speed Ball 2" or "SB2" or use a "II" instead of a 2). I use it in all my sites, but it means that any MODs you may want to add will require a little extra work to get to work...

8. Are you referring to whey you are working in the Admin area or anywhere in the forum?

9. Again, its in inc_header.asp in a Sub near the bottom of the page (the name escapes me and I no longer use it in any of my forums)

10. That is a topic in its own right and has been discussed a few times before. If you can't find some of the earlier topics I'd start a whole new thread for this one.

11. There are a few MODs floating around here and over at http://www.snitzbitz.com and a little custom coding can get you what you want. Try the newsletter link at the top of the Warsong Records Forums - that is being pulled from one of the forums. Or look at the History link at the Eastover Fire Department site - that is a little custom code pulling all the info from a forum topic. This too is a topic all on its own.

12. Not sure in the base Snitz... I'd think so even if it would require a little code alteration.

13. Depending on exactly what you want, it ranges from fairly easy to a little complex.... more information would be helpful.

That get most of it?
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 10 August 2006 :  22:03:28  Show Profile  Visit AnonJr's Homepage
Dang, beat me to it... that's what I get for stopping to check my spelling.

I did almost forget about adjusting inc_iconfiles.asp for the icon sizes...
Go to Top of Page

luminousnerd
New Member

USA
97 Posts

Posted - 11 August 2006 :  12:22:08  Show Profile  Visit luminousnerd's Homepage  Send luminousnerd an AOL message  Send luminousnerd a Yahoo! Message
Thanks for the help guys. I didn't get everything resolved from that though :/

1. Okay, great, thanks :)

2. The setting for Forum URL is currently set to my home page. But the logo still goes to the forum. I tried editing inc_header but I don't see it. In fact there's not even an "<img" tag in that whole file.

3. I know how to edit those colors, I've done it a lot, but I need to know which one to edit for those greyish colors that are showing up are because I can't figure it out.

4. I have it set to that, and I'm the only member and have just 2 posts, but shouldn't admins have stars anyway?

5. Same thing, that inc_header page is all ASP so I can't even see anything in Dreamweaver...I could mod the HTML but like I said, I can't find the right spot. However, I will check out that MOD you linked me to. Sound cool.

6. I wouldn't even know where to begin with a search. I couldn't get my description of that under several sentances! How would I search for something like that?

7. Umm...this doesn't relate to #3 at all...I want the textboxes and text areas to change color, there's no way to do that with the admin tools. As far as adding CSS into the header file, I again would have no idea where to put it.

8. Just the admin area I suppose. I just assumed it was the whole forum, but yea, it just happened in the admin area.

9. -_- inc_header sucks. I wish there were a way to edit with Dreamweaver, it's much faster and so much easier...is there? All of this code is very confusing - I know HTML but this is all funky since it's inside the ASP.

10. Hmm...okay I'll look around.

11. But I don't want a newsLETTER, I just want NEWS...we have a newsletter seperately, we just want to be able to put news on the site. I'll look through the MODs, but I can't code in ASP. It's too counter-intuitive and limiting for my taste :P

12. But in this file they are using HTML number-value font sizes...I would like to use CSS-like pixel sizes...unless there's a way with just HTML to get 11, but I don't think there is, is there?

13. Well this is kinda to go with the blog and news. I would want people responding to the blog and news, but I wouldn't want them posting new blogs or news articles.

I'm gonna check out them MODs, sound pretty nice. Thanks tons for the help guys!
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 11 August 2006 :  14:26:57  Show Profile  Visit AnonJr's Homepage
2. You won't find an "<img" because it treats the logo like an icon and makes a call to the appropriate sub {getCurrentIcon()}

3. If its the one I think you're thinking of, you'll need to edit the Pop Up Table Color... I think.

4. Admins earn stars the same as everyone else in the base install. There is a MOD over at http://www.snitzbitz.com that will automatically give the Admin stars.

5. If you are using Dreamweaver you'll need to look at it in source (code) view - no WYSIWYG here.

6. I'd proably look for "auto join newsletter" or something like that. If you don't find anything by the time I get home from work today I'll take a quick look.

7. In inc_header.asp you'll find two sets of <html> tags. The second set is used in all the pages. You could add your CSS there. I'll re-download the base install and see if I can find the actual line numbers.

8. If I remember right, that depends on what your session timeout is set at on the server. While you could remove the check altogether, I wouldn't as it could leave you open for problems if somebody got on a computer you left without logging out of...

9. http://www.w3schools.com has some good beginner ASP tutorials. You can edit the pages in Dreamweaver by going to the code view. If you have Dreamweaver MX 2004 (I think... It may be in MX as well and I'm just drawing a blank) or better there is a certain degree of IntelliSense which can help.

11. There are a couple of News MODs out there or if you like what I did with the front page of www.eastoverfd.com (the front news pulls from a forum) I can share that with you. I did a simmilar trick with the newsletter over at http://warsongrecords.waywardsondevelopers.com/jj_newsletter.asp

12. Not sure on that one... that's part of why I'm using the CSS'd version of Snitz.

Does this help?
Go to Top of Page

luminousnerd
New Member

USA
97 Posts

Posted - 11 August 2006 :  14:47:59  Show Profile  Visit luminousnerd's Homepage  Send luminousnerd an AOL message  Send luminousnerd a Yahoo! Message
2. Okay, can you tell me a rough line number where I would find the logo and what to look for? I'd appreciate that.

3. That one did it! Thanks!

4. Oh okay, well it's all good, just as long as it's working properly. We're not too concerned about stars anyway, hehe. Thanks

5. Yea, I know, and I have been of course, and using a text editor as well. guess I'll figure this one out.

6. Alright cool, I appreciate that, i'll look around and let you know if I find anything.

7. I'd much appreciate it. Sorry I'm so confused by all this... :/

8. I would like it to at least stay logged in for more than 2 minutes. I go through and modify stuff and then click go and I'm already logged out by the time I do that :( I mean, I'd rather just make sure and log out every time I left. Would you be able to tell me/point me to a howto on removing it? Thanks

9. Well, I understand what most of it does and can modify it okay (though there's a lot of code to go through, I'm used to looking at it in dreamweaver, clicking the spot in the WYSIWYG part, then going up to the code part and putting in the code I want in there, then refreshing and seeing how it looks, etc) I just think so much of it is weird compared to PHP which I'm more used to. Is there a guide of what is where in that file?

11. Yea, that's exactly what I'm going for! That would be awesome if you could tell me where to download that if it's a MOD or how to implement it otherwise.

12. How difficult to change over from the non-css'd to the css'd?

You're all very, very helpful here and I appreciate it tons! Thanks!
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 11 August 2006 :  15:17:14  Show Profile  Visit AnonJr's Homepage
2. On a default install with the 3.4.05 code, the logo is around line 281. You should see a line of code that looks something like:

" <td valign=""top"" width=""50%""><a href=""default.asp"" tabindex=""-1"">" & getCurrentIcon(strTitleImage & "||",strForumTitle,"") & "</a></td>" & vbNewLine & _

Just change the part in red.

7. On a default install with the 3.4.05 code, you can add your CSS for the text boxes et al around lines 260 - 273 (there is some CSS there already)

8. I think you can programmatically change the duration of session variables, but it may be a server setting. I'll have to double-check myself....

9. There is no official guide at this point... most of what I've learned about finding stuff is through ye ole "trial and error" and searching here. =/

11. That is some custom coding that I've done. I've got it at the house... I should be home in another 2-3 hours. (I hope)

12. If you haven't installed any MODs or done much custom coding, its as simple as replacing the files. Just bear in mind that any MODs you want to install later will have to be edited to use the style sheet instead of the forum's color variables.
Go to Top of Page

luminousnerd
New Member

USA
97 Posts

Posted - 11 August 2006 :  16:31:34  Show Profile  Visit luminousnerd's Homepage  Send luminousnerd an AOL message  Send luminousnerd a Yahoo! Message
2. Excellent now it's pointed the correct place! Thank you!

7. I did some googling and the codes I find are not css to change textareas. Would it be a bother for you to tell me how to color those? I can change hex values and the like, of course.

8. Ah, well, it's not a HUGE deal but it would be nice. I appreciate your help

9. Lol, okay, well, I guess I'll do it the old-fashion way: trying to find it myself and if I can't, begging for help from people who know where it is ;)

11. Okay, heh. I'll be home then too but I'm going to be putting in some overtime so I'll likely be working on this anyway.

12. I have done some MODs already though -- I put about 5 hours into that. Do you s'pose it will save enough time to make up for that? Are you saying that the color vars won't work?

Thanks tons!
Go to Top of Page

luminousnerd
New Member

USA
97 Posts

Posted - 11 August 2006 :  16:37:04  Show Profile  Visit luminousnerd's Homepage  Send luminousnerd an AOL message  Send luminousnerd a Yahoo! Message
I found the CSS code. How would I turn this into ASP?

input.ohboy {
color:lime;
background-colorrange;
border:none;
font-size:9px;
font-family:"Times New Roman", serif;
}
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 11 August 2006 :  20:02:12  Show Profile  Visit AnonJr's Homepage
Assuming lines 260 - 273 look like:

		"<style type=""text/css"">" & vbNewLine & _
		"<!--" & vbNewLine & _
		"a:link    {color:" & strLinkColor & ";text-decoration:" & strLinkTextDecoration & "}" & vbNewLine & _
		"a:visited {color:" & strVisitedLinkColor & ";text-decoration:" & strVisitedTextDecoration & "}" & vbNewLine & _
		"a:hover   {color:" & strHoverFontColor & ";text-decoration:" & strHoverTextDecoration & "}" & vbNewLine & _
		"a:active  {color:" & strActiveLinkColor & ";text-decoration:" & strActiveTextDecoration & "}" & vbNewLine & _
		".spnMessageText a:link    {color:" & strForumLinkColor & ";text-decoration:" & strForumLinkTextDecoration & "}" & vbNewLine & _
		".spnMessageText a:visited {color:" & strForumVisitedLinkColor & ";text-decoration:" & strForumVisitedTextDecoration & "}" & vbNewLine & _
		".spnMessageText a:hover   {color:" & strForumHoverFontColor & ";text-decoration:" & strForumHoverTextDecoration & "}" & vbNewLine & _
		".spnMessageText a:active  {color:" & strForumActiveLinkColor & ";text-decoration:" & strForumActiveTextDecoration & "}" & vbNewLine & _
		".spnSearchHighlight {background-color:" & strSearchHiLiteColor & "}" & vbNewLine & _
		"input.radio {background:" & strPopUpTableColor & ";color:#000000}" & vbNewLine & _
		"-->" & vbNewLine & _
		"</style>" & vbNewLine & _


You can add the part in red:

		"<style type=""text/css"">" & vbNewLine & _
		"<!--" & vbNewLine & _
		"a:link    {color:" & strLinkColor & ";text-decoration:" & strLinkTextDecoration & "}" & vbNewLine & _
		"a:visited {color:" & strVisitedLinkColor & ";text-decoration:" & strVisitedTextDecoration & "}" & vbNewLine & _
		"a:hover   {color:" & strHoverFontColor & ";text-decoration:" & strHoverTextDecoration & "}" & vbNewLine & _
		"a:active  {color:" & strActiveLinkColor & ";text-decoration:" & strActiveTextDecoration & "}" & vbNewLine & _
		".spnMessageText a:link    {color:" & strForumLinkColor & ";text-decoration:" & strForumLinkTextDecoration & "}" & vbNewLine & _
		".spnMessageText a:visited {color:" & strForumVisitedLinkColor & ";text-decoration:" & strForumVisitedTextDecoration & "}" & vbNewLine & _
		".spnMessageText a:hover   {color:" & strForumHoverFontColor & ";text-decoration:" & strForumHoverTextDecoration & "}" & vbNewLine & _
		".spnMessageText a:active  {color:" & strForumActiveLinkColor & ";text-decoration:" & strForumActiveTextDecoration & "}" & vbNewLine & _
		".spnSearchHighlight {background-color:" & strSearchHiLiteColor & "}" & vbNewLine & _
		"input.radio {background:" & strPopUpTableColor & ";color:#000000}" & vbNewLine & _
		"input.ohboy {color:lime;background-color:orange;border:none;font-size:9px;font-family:""Times New Roman"",serif;}" & vbNewLine & _
		"-->" & vbNewLine & _
		"</style>" & vbNewLine & _
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 11 August 2006 :  20:12:29  Show Profile  Visit AnonJr's Homepage
The www.eastoverfd.com front page consists of:

%><!--#INCLUDE FILE="config.asp"-->
<!--#INCLUDE FILE="inc_func_secure.asp" -->
<!--#INCLUDE FILE="inc_sha256.asp"-->
<!--#INCLUDE FILE="inc_header.asp" -->
<% 
'get the most recent frontmatter for the first page.

If strDBType = "mysql" Then
	strSql = "SELECT T.T_SUBJECT, T.T_MESSAGE " & _
			"FROM " & strTablePrefix & "TOPICS T " & _
			"WHERE T.FORUM_ID = " & intFPNewsForum & " " & _
				"AND T.T_STATUS = 1 " & _
			"ORDER BY T.T_DATE DESC " & _
			"LIMIT 1"
Else
	strSql = "SELECT TOP 1 T.T_SUBJECT, T.T_MESSAGE " & _
			"FROM " & strTablePrefix & "TOPICS T " & _
			"WHERE T.FORUM_ID = " & intFPNewsForum & " " & _
				"AND T.T_STATUS = 1 " & _
			"ORDER BY T.T_DATE DESC"
End If


set oRS = Server.CreateObject("ADODB.Recordset")
oRS.Open strSql, my_Conn, adOpenForwardOnly, adLockReadOnly, adCmdText

If Not oRS.BOF Then oRS.MoveFirst
If Not oRS.EOF Then
	strTitle = oRS("T_SUBJECT")
	strContent = oRS("T_MESSAGE")
Else
	'An oops and/or there is no frontmatter
	strTitle = "Welcome"
	strContent = "Please enjoy the Easover Fire Department's Website."
End If

oRS.Close
Set oRS = Nothing

Response.Write	"<table border=""0"" class=""tc"" width=""100%"">" & vbNewLine & _
		"<tr>" & vbNewLine & _
		"<td align=""left"" nowrap>" & vbNewLine & _
		"Home<hr width=""100%"" color=""#C0C0C0""></td>" & vbNewLine & _
		"</tr>" & vbNewLine & _
		"</table>" & vbNewLine 

Response.Write("<h2>News for Now: " & formatStr(strTitle) & "</h2>" & vbNewLine)
Response.Write("<div class=""tbc fcc"" style=""padding:5px;"">" & formatStr(strContent) & "</div>" & vbNewLine)
Response.Write("<br />" & vbNewLine)
%><!-- #include file="inc_simple_slash.asp" --><%
Response.Write("<br />" & vbNewLine)
Call WriteFooter
%>


Where intFPNewsForum is a variable I created and defined in config.asp and contains the integer of the forum I wish to pull from. Also inc_simple_slash.asp is from the Simple Slash MOD (Not bad, but about to be replaced with a modified Syndication MOD).

Also keep in mind, all it is going to do is pull the first post from the most current topic - I didn't get a chance to test one way or the other, but I think if someone replies to an older topic it will replace it... I just made sure all topics were locked after posting and that the forum itself is moderated so that no one other than those specified can post in them.

Edited by - AnonJr on 11 August 2006 20:13:09
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 11 August 2006 :  20:16:37  Show Profile  Visit AnonJr's Homepage
quote:
Originally posted by luminousnerd

12. I have done some MODs already though -- I put about 5 hours into that. Do you s'pose it will save enough time to make up for that? Are you saying that the color vars won't work?


You could probably maintain the Color Admin page, and still use the color vars as well... I just think that its more work in the long run than its worth.

I, personally, have found that the greater flexibility in the long-term has more than made up for the extra short-term work I have to do to all the MODs (and had to re-do to the MODs I'd added prior to going this route).... but that's just me. You have to decide just how important having CSS is.
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 11 August 2006 :  20:21:20  Show Profile  Visit AnonJr's Homepage
quote:
Originally posted by luminousnerd

7. I did some googling and the codes I find are not css to change textareas. Would it be a bother for you to tell me how to color those? I can change hex values and the like, of course.

I think you can just set a style for textarea in your CSS... I've done it to change the fonts; not sure if it would work with the colors too.


quote:
Originally posted by luminousnerd

8. Ah, well, it's not a HUGE deal but it would be nice. I appreciate your help

I can't seem to find this at the moment... must've lost some brain cells in that meeting I finished the day with.
Go to Top of Page

luminousnerd
New Member

USA
97 Posts

Posted - 15 August 2006 :  16:43:08  Show Profile  Visit luminousnerd's Homepage  Send luminousnerd an AOL message  Send luminousnerd a Yahoo! Message
Hey Anon

I've got most everything either working or foregone, but just have a couple questions left.

I'm not understanding how CSS works and don't know the code anyway for making text boxes colored. Do you think you could be more specific?

I'm also still seeking a means of automatically adding them to our email databse - I can't find anything here on the Snitz forums or Google. Seems like it might be a custom hack I need. Do you know anyone who we might be able to pay to set that up for us?

And I'm not finding anything on news or blogs within a forum...do you have any suggestions? I've looked through every MOD I could find :/
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 15 August 2006 :  20:38:33  Show Profile  Visit AnonJr's Homepage
As far as the specifics of setting the background color for a text box, I'm a little rusty... you may just need to create a class and assign all your text boxes that class.

As far as getting them automatically added to the e-mail list I'm sure there was something not too far back... though it may have been archived - I'll check in a minute.

[edit]Can't seem to locate it at the moment...[/edit]

You might want to contact ILLHILL about the blog. Most of what he did can be found by searching around, though you probably won't find everything by looking for just the keyword "blog"

Just out of curiosity, what have you declared "forgone"?

Edited by - AnonJr on 15 August 2006 21:00:56
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
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.23 seconds. Powered By: Snitz Forums 2000 Version 3.4.07