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/O Code)
 Current Connections
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

Jotts
New Member

77 Posts

Posted - 12 September 2004 :  01:28:09  Show Profile
I have active users 4.0 and serverhacker mod forum and i want to know if there is a code that say like there are 40 active users anything over that you want to forward to a different server which is located about 970 miles away. On a port like http://www.purerc.com:5501 is tehre anyway to do this

Edited by - ruirib on 19 September 2004 13:33:06

Jotts
New Member

77 Posts

Posted - 13 September 2004 :  16:03:59  Show Profile
*BUMP*
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 13 September 2004 :  17:20:30  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
You could use response.redirect to any url when the active user count goes above 40.

Why do you want to do it? Load balancing?

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

Jotts
New Member

77 Posts

Posted - 14 September 2004 :  11:09:11  Show Profile
Yes i do but i do not know how to configure the if statement for active users?... I use Response.redirect alot but this active users has stumped me
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 14 September 2004 :  18:41:11  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Haven't tested this but it would probably be achieved by adding something like this to the end
of inc_activeusers.asp


if intActiveMembers > 40 then
	  response.redirect("http://www.purerc.com:5501")
end if

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.

Edited by - Podge on 14 September 2004 18:41:40
Go to Top of Page

Jotts
New Member

77 Posts

Posted - 15 September 2004 :  10:32:37  Show Profile
Thank you...
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 15 September 2004 :  11:18:32  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
No problem.

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

Jotts
New Member

77 Posts

Posted - 15 September 2004 :  15:44:44  Show Profile
I changed it to 1 and www.google.com and it didn't work
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 15 September 2004 :  18:37:26  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Can you put a text version of your inc_activeusers.asp up somewhere?

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

Jotts
New Member

77 Posts

Posted - 15 September 2004 :  19:44:24  Show Profile
Yes Sir(or mam)... BTW thanx for helping me out on this

http://www.purerc.com/txt/inc_activeusers.txt

Edited by - Jotts on 15 September 2004 19:51:20
Go to Top of Page

Jotts
New Member

77 Posts

Posted - 16 September 2004 :  11:13:25  Show Profile
*BUMP*
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 16 September 2004 :  14:03:31  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
No need to bump it.

I just didn't have time to look at it yet. I'll let you know.

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

Jotts
New Member

77 Posts

Posted - 16 September 2004 :  19:41:32  Show Profile
O ok... i thought it would have gone away from the active topics as that is all i read
Go to Top of Page

Gargoyle
Junior Member

USA
280 Posts

Posted - 16 September 2004 :  22:27:34  Show Profile  Visit Gargoyle's Homepage
You'd probably want to put the code into inc_header.asp or inc_footer.asp if you are using serverhackers code. Otherwise the only time the redirect would work is if they go to the active_users.asp page.

Here is a link to my Snitz powered Drag Racing site.
Go to Top of Page

Jotts
New Member

77 Posts

Posted - 17 September 2004 :  10:29:34  Show Profile
Thanks for the reply but we did that and it didn't work... Iplaced it directly after the ################ for the snitz word...etc.


EDIT: I just relized that podge wrote inc_activeusers and i put it in inc_header

Edited by - Jotts on 17 September 2004 10:30:48
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 17 September 2004 :  13:35:16  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Try it in inc_header.asp like this

if intActiveMembers > 0 then
	  response.redirect("http://www.google.com")
end if


If you have it "> 1" then there would need to be at least 2 users before it will work.


Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page
Page: of 2 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.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07