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: General / Classic ASP versions(v3.4.XX)
 Forum/Site Integration
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

khazargems
Starting Member

14 Posts

Posted - 24 January 2005 :  17:59:40  Show Profile
Hello,

I just installed the latest version of the forum on my site and was surprised at how easy it was. ASP is so much easier to set up than Perl. This looks to be a great forum. Open source is the way to go isn’t it?

Now to my problem... I would like to integrate the forum into my site so that the forum pages have the same left nav and header as the rest of my site. I've searched for info on this and have not been able to find any whether it is possible or not.

A little background... I use Dreamweaver to edit my site and an msSQL database for the forum. My main site URL is: http://www.khazargems.com and the link to my new forum is: http://www.khazargems.com/community .

I've installed a Portal mod (CMS?) thinking this would help, but think I just went sideways here. Any ideas? Someone must have done this already.

Thanks,

Jim

PS: On another note, what is the best way to track usage statistics (number of visitors, what threads they are reading, spiders, etc)?


Jim
Khazargems

Edited by - khazargems on 24 January 2005 18:01:07

muzishun
Senior Member

United States
1079 Posts

Posted - 25 January 2005 :  00:21:41  Show Profile  Visit muzishun's Homepage
Check Snitzbitz for the Site Integration MOD. It'll do exactly what you're asking for.

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Go to Top of Page

khazargems
Starting Member

14 Posts

Posted - 25 January 2005 :  12:35:22  Show Profile
muzishun,

Thanks. That is exactly what I needed. Can someone help point me in the right direction now?

If I am correct, the module that actually prints the head and body tag is the inc_header.asp. I would like to add this:

leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('/images/tabov.gif' ..more.. "

When I look at it in the file, I am getting confused with all the """. Can someone help translate this? Do I need to just triple all the quote symbols?

Also, what about the java script for the roll over images? Can I just include it in inc_header.asp, or is there something I need to do there also?

Jim
Khazargems
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 25 January 2005 :  16:36:13  Show Profile  Visit muzishun's Homepage
If you post the full line that you have a question about, I can format it to work with the forum code. Basically, you just double all quotes.

i.e.

leftmargin="0" topmargin="0" .... leftmargin=""0"" topmargin=""0""

If you're using variables, which it doesn't seem like you're doing, you need to have the same "" "" around the variable, but also " & & ", so it looks like this:

leftmargin=""" & lmar & """ topmargin=""" & tmar & """

Hope that helps.

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Go to Top of Page

khazargems
Starting Member

14 Posts

Posted - 25 January 2005 :  17:58:38  Show Profile
Thanks again Bill. I'll try to do it myself and if I have trouble, I'll post the entire line. I kind of thought that was what was needed to be done.

As far as the java roll over script that needs to be put in the head of the page, can I just copy the code into it, or do I need to format it with some kind of "write", "print", etc? I might be able to figure it out for myself; however, because there is some code there that is being written into the head that I may be able to copy. If I can't, I'll post some of the code like I did above so that you can show me.

Thanks again,


Jim
Khazargems
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 25 January 2005 :  18:50:00  Show Profile  Visit muzishun's Homepage
No problem. For the jscript stuff, find the current scripts that are in the head tags right now. There should already be a couple. Format yours the same way.

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Go to Top of Page

khazargems
Starting Member

14 Posts

Posted - 25 January 2005 :  19:33:59  Show Profile
OK. I guess I'm not up to this today. I took a look and am all confused again. So that I can learn, what is wrong?

"<body" & strTmpPageBGImageURL & " bgColor=""" & strPageBGColor & """ text=""" & strDefaultFontColor & """ link=""" & strLinkColor & """ aLink=""" & strActiveLinkColor & """ vLink=""" & strVisitedLinkColor & "" leftmargin=""0"" topmargin=""0"" marginwidth=""0"" marginheight=""0"" onLoad=""MM_preloadImages('/images/tabov.gif','/images/menu/storev.gif','/images/menu/cartov.gif','/images/menu/orderstatusv.gif','/images/menu/searchov.gif','/images/menu/affiliatesov.gif','/images/menu/contactov.gif','/images/menu/about_usv.gif','/images/menu/mining_alexandritev.gif','/images/menu/auctionsv.gif','/images/menu/color_change_gemsv.gif','/images/menu/custom_jewelryv.gif','/images/menu/store_policiesv.gif','/images/menu/faqv.gif','/images/menu/gemnewsv.gif','/images/menu/loose_gemsv.gif','/images/menu/cutting_alexandritev.gif','/images/menu/cutting_alexandritev.gif','/images/menu/orderstatusv.gif','/images/menu/color_and_gemstonesv.gif')""">" & vbNewLine & _

Here is what it looks like now:

"<body" & strTmpPageBGImageURL & " bgColor=""" & strPageBGColor & """ text=""" & strDefaultFontColor & """ link=""" & strLinkColor & """ aLink=""" & strActiveLinkColor & """ vLink=""" & strVisitedLinkColor & """>" & vbNewLine & _


and here is what I need to put in:

leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('/images/tabov.gif','/images/menu/storev.gif','/images/menu/cartov.gif','/images/menu/orderstatusv.gif','/images/menu/searchov.gif','/images/menu/affiliatesov.gif','/images/menu/contactov.gif','/images/menu/about_usv.gif','/images/menu/mining_alexandritev.gif','/images/menu/auctionsv.gif','/images/menu/color_change_gemsv.gif','/images/menu/custom_jewelryv.gif','/images/menu/store_policiesv.gif','/images/menu/faqv.gif','/images/menu/gemnewsv.gif','/images/menu/loose_gemsv.gif','/images/menu/cutting_alexandritev.gif','/images/menu/cutting_alexandritev.gif','/images/menu/orderstatusv.gif','/images/menu/color_and_gemstonesv.gif')">




Yeah! The java script was much easier. My first try didn't work. I forgot about doubling the " symbols.

Jim
Khazargems

Edited by - khazargems on 25 January 2005 20:30:21
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 25 January 2005 :  21:28:42  Show Profile  Visit muzishun's Homepage
Try this:

"<body" & strTmpPageBGImageURL & " bgColor=""" & strPageBGColor & """ text=""" & strDefaultFontColor & """ link=""" & strLinkColor & """ aLink=""" & strActiveLinkColor & """ vLink=""" & strVisitedLinkColor & """ leftmargin=""0"" topmargin=""0"" marginwidth=""0"" marginheight=""0"" onLoad=""MM_preloadImages('/images/tabov.gif','/images/menu/storev.gif','/images/menu/cartov.gif','/images/menu/orderstatusv.gif','/images/menu/searchov.gif','/images/menu/affiliatesov.gif','/images/menu/contactov.gif','/images/menu/about_usv.gif','/images/menu/mining_alexandritev.gif','/images/menu/auctionsv.gif','/images/menu/color_change_gemsv.gif','/images/menu/custom_jewelryv.gif','/images/menu/store_policiesv.gif','/images/menu/faqv.gif','/images/menu/gemnewsv.gif','/images/menu/loose_gemsv.gif','/images/menu/cutting_alexandritev.gif','/images/menu/cutting_alexandritev.gif','/images/menu/orderstatusv.gif','/images/menu/color_and_gemstonesv.gif')"">" & vbNewLine & _

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Go to Top of Page

khazargems
Starting Member

14 Posts

Posted - 25 January 2005 :  22:56:37  Show Profile
Bill,

Thanks again. I got it working and like the results so far.


Jim
Khazargems
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 26 January 2005 :  00:41:42  Show Profile  Visit muzishun's Homepage
You're welcome. Glad to help.

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
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 2.41 seconds. Powered By: Snitz Forums 2000 Version 3.4.07