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)
 How to add information below logo top left
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

gibsongk55
Starting Member

Thailand
33 Posts

Posted - 28 November 2006 :  23:05:20  Show Profile  Visit gibsongk55's Homepage
Hi,

I would like to show users online for x7chat below the forum logo on the top left of the forum page. I have the code in a php file. How would i add it there without causing a mess? I know nothing about php and asp.

Thanks

pdrg
Support Moderator

United Kingdom
2897 Posts

Posted - 29 November 2006 :  07:13:13  Show Profile  Send pdrg a Yahoo! Message
eek! php and asp are managed by 2 different handlers - to work with snitz (all asp) you'd need to translate the php code to asp. they won't work together - explanation below...

your webserver knows how to treat each file it's asked for by the extension (eg .htm, .asp, .php, etc). In IIS an ISAPI filter is invoked for the appropriate file type (.htm passes straight through, .asp invokes the ASP ISAPI parser, etc). As your file will have extension .asp (all snitz files have), the ASP parser is invoked, and it doesn't speak PHP. If you changed the filename to PHP, the PHP parser won't understand the ASP. Either way, it ain't gonna work unless you get both bits of code in the same language (I suggest ASP if you want the page to work with the rest of snitz!)

hth
Go to Top of Page

gibsongk55
Starting Member

Thailand
33 Posts

Posted - 29 November 2006 :  18:48:35  Show Profile  Visit gibsongk55's Homepage
Thanks for the info. So do you know of any open source chat programs that will work with this situation? Or better yet one that can interface with snitz forums to also update new members into the chat database? Or should i make a new post of this?

Thanks,

Bill
Go to Top of Page

Jezmeister
Senior Member

United Kingdom
1141 Posts

Posted - 29 November 2006 :  19:36:32  Show Profile  Visit Jezmeister's Homepage
with your existing chat scripts: one way to do it would be to record who's online in your chat room in your forum database through php then find out who's online on the forum page in ASP by calling the information from the database.

otherwise have a search of the mod w/code forum and www.snitzbitz.com i'm sure i've seen some chat room add-ons floating around.
Go to Top of Page

pdrg
Support Moderator

United Kingdom
2897 Posts

Posted - 30 November 2006 :  11:36:21  Show Profile  Send pdrg a Yahoo! Message
Oh and Bill, could youpost back letting us know how you got on, whether you found something that did the trick?

Cheers :)
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.89 seconds. Powered By: Snitz Forums 2000 Version 3.4.07