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
 Code Support: ASP (Non-Forum Related)
 linking names to profiles
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Alfred
Senior Member

USA
1527 Posts

Posted - 26 August 2003 :  14:00:59  Show Profile  Visit Alfred's Homepage
I had a topic where the task of linking names to their profiles was discussed and solved, but it doesn't seem to be under my "non-archived" topics any longer, at least I can't find it there.

I think this statement was part of the solution:
quote:
strMemberName = myScen("COMMANDER")
numMemberID = GetMemberID(strMemberName)

but I also seem to remember somethng about "joining" tables to make this possible.
Can anyone shed some light on this, in a general sense?

Alfred
The Battle Group
CREDO

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 26 August 2003 :  14:28:59  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=43776

This post is sponsored by Search.

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 26 August 2003 :  15:38:36  Show Profile  Visit Alfred's Homepage
Some time ago I had been told by an Admin that topics only get archived after two years, so I didn't expectit to be there yet.

Following the procedures in that old topic I got the page to look ok, but for some reason the link looks in the wrong folder.
This page is one folder above "forums", but the links do not include "forums" in the address.

These are the files I included:
<!--#INCLUDE FILE="forums/config.asp"-->
<!--#INCLUDE FILE="forums/inc_func_secure.asp" -->
<!--#INCLUDE FILE="forums/inc_func_common.asp" -->

...which are the same that I have in the other page (which works with the linked names).

PS.: Sorry - I figured out what was wrong, and adjusted the folder destinations!

But a different problem came up:
Although I am logged on the "INVALID ID" pops up and denies me entry to the profile. This is a feature I have built into other links, but didn't expect to happen when one is logged on properly.

I uploaded a txt file: http://www.ggholiday.com/bg/forums/game_records.txt

Alfred
The Battle Group
CREDO

Edited by - Alfred on 26 August 2003 16:19:22
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 26 August 2003 :  16:10:54  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
quote:
Some time ago I had been told by an Admin that topics only get archived after two years, so I didn't expectit to be there yet.

Who said that? This is not true, as an admin you can choose
- when to archive
- which topics are archives (older than 1 month up to 1 year).

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 26 August 2003 :  16:22:06  Show Profile  Visit Alfred's Homepage
I understand that.
What I was told was that in this forum it is set for 2 years.

Repeat from above:
Although I am logged on the "INVALID ID" pops up and denies me entry to the profile. This is a feature I have built into other links, but didn't expect to happen when one is logged on properly.

I uploaded a txt file: http://www.ggholiday.com/bg/forums/game_records.txt

Alfred
The Battle Group
CREDO
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 26 August 2003 :  16:56:17  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
If you're talking about this page, I don't get any error messages there.
On which page are you getting the error message?

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 26 August 2003 :  17:57:16  Show Profile  Visit Alfred's Homepage
No, I mean on this page: http://www.ggholiday.com/bg/forums/game_records.txt
when I click on the name link I am denied access to th profile.
Not a real error message, but a security screen to preent non-members from going into the profiles.

Alfred
The Battle Group
CREDO
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 26 August 2003 :  18:08:01  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Change the following code:

strChallengerName = allGames("Challenger")
numChallengerID = GetMemberID(strMemberName)

strDefenderName = allGames("Defender")
numDefenderID = GetMemberID(strMemberName)

to

strChallengerName = allGames("Challenger")
numChallengerID = GetMemberID(strChallengerName)

strDefenderName = allGames("Defender")
numDefenderID = GetMemberID(strDefenderName)


Then change the following code
if allGames("TYPE")="Ladder Duel" then
	response.write "<td align=""center"" style=""border-style: outset; border-width: 1"" bordercolorlight=""#CCCCCC"" bordercolordark=""#000000"">" & profileLink(strChallengerName, numMemberID) & " (" & "<font color=""white"">" & allGames("Chall_spot") & "</font>)</td>"
	response.write "<td align=""center"" style=""border-style: outset; border-width: 1"" bordercolorlight=""#CCCCCC"" bordercolordark=""#000000"">" & profileLink(strDefenderName, numMemberID) & "  (" & "<font color=""white"">" & allGames("Def_spot") & "</font>)</td>"
else
	response.write "<td align=""center"" style=""border-style: outset; border-width: 1"" bordercolorlight=""#CCCCCC"" bordercolordark=""#000000"">"  & profileLink(strChallengerName, numMemberID) & "</td>"
	response.write "<td align=""center"" style=""border-style: outset; border-width: 1"" bordercolorlight=""#CCCCCC"" bordercolordark=""#000000"">" & profileLink(strDefenderName, numMemberID) & "</td>"
end if

to
if allGames("TYPE")="Ladder Duel" then
	response.write "<td align=""center"" style=""border-style: outset; border-width: 1"" bordercolorlight=""#CCCCCC"" bordercolordark=""#000000"">" & profileLink(strChallengerName, numChallengerID) & " (" & "<font color=""white"">" & allGames("Chall_spot") & "</font>)</td>"
	response.write "<td align=""center"" style=""border-style: outset; border-width: 1"" bordercolorlight=""#CCCCCC"" bordercolordark=""#000000"">" & profileLink(strDefenderName, numDefenderID) & "  (" & "<font color=""white"">" & allGames("Def_spot") & "</font>)</td>"
else
	response.write "<td align=""center"" style=""border-style: outset; border-width: 1"" bordercolorlight=""#CCCCCC"" bordercolordark=""#000000"">"  & profileLink(strChallengerName, numChallengerID) & "</td>"
	response.write "<td align=""center"" style=""border-style: outset; border-width: 1"" bordercolorlight=""#CCCCCC"" bordercolordark=""#000000"">" & profileLink(strDefenderName, numDefenderID) & "</td>"
end if

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 26 August 2003 :  18:16:58  Show Profile  Visit Alfred's Homepage
That works now - thanks!

Alfred
The Battle Group
CREDO
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 26 August 2003 :  18:24:50  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
You're welcome.

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
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.36 seconds. Powered By: Snitz Forums 2000 Version 3.4.07