Author |
Topic |
|
debbieC
Starting Member
2 Posts |
Posted - 29 April 2002 : 11:49:18
|
How do I link the message board to our website privacy policy? Or do I have to paste it onto the mb, and if so, how do I do that?
|
|
Kat
Advanced Member
United Kingdom
3065 Posts |
|
debbieC
Starting Member
2 Posts |
Posted - 29 April 2002 : 12:11:06
|
Thanks. Not very clued up on asp, but will give it a try.
|
|
|
Kat
Advanced Member
United Kingdom
3065 Posts |
Posted - 29 April 2002 : 12:18:52
|
It isn't all that hard for the links. Just search for one of the other links and then copy the structure for yours. Add yours at the end (or whereever you want it to show). The 'Home' link is probably a good one to copy.
KatsKorner
Installation Help | Snitz Mods | Forum Hosting
|
|
|
Cycas
Starting Member
United Kingdom
14 Posts |
Posted - 01 May 2002 : 11:10:38
|
Hi This is sort of a branch from this topic. I want to link to a couple of pages on the site from inc_top.asp, (preferably as new windows which have no further links) but I need to pass some sort of variable to retain the login status and identify the user (one of the pages is for a survey form the data from which must be linked to the user).
I am virtually ASP clueless though I have managed (eventually) to install a small MOD. Please can anyone out there point me in the right direction?
Phil
|
|
|
mortioli
Average Member
United Kingdom
898 Posts |
Posted - 01 May 2002 : 11:17:50
|
I started with no knowledge, and have got hooked on MODing my forum!
Trust me, you'll learn a lot of new things!
Oli
MortiOli Site | MortiOli Forum |
|
|
Cycas
Starting Member
United Kingdom
14 Posts |
Posted - 01 May 2002 : 17:43:05
|
Thanks for the moral support Oli, but I still need to know where to look for the session variable (if that's the right thing).
Phil
|
|
|
joatham
Junior Member
United Kingdom
169 Posts |
Posted - 01 May 2002 : 20:28:56
|
quote:
Thanks for the moral support Oli, but I still need to know where to look for the session variable (if that's the right thing).
Phil
Hi Phil, somewhere in inc_top.asp (can't give you a specific line number as mine is radically changed from the original [;-)] you will find this code:-
Select Case strAuthType Case "nt" Response.Write (Session(strCookieURL & "username") & " (" & Session(strCookieURL & "userid") & ")") Case "db" Response.Write (ChkString(strDBNTUserName, "display")) End Select
Anywhere after that you should be able to refer to these variables and send them as parameters to your other page. Is the other page an asp page, or html? If it's html you could open the page in Javascript and send the member name as a parameter. If it's asp you could send it in the page url (like ../mypage.asp?strUsername=joatham)
The other option is to use one of the survey mods which have been written, they should take care of the user information.
John
For more snitz mods and information, see the Cosmic Cat Snitz Mods Homepage |
|
|
Cycas
Starting Member
United Kingdom
14 Posts |
Posted - 02 May 2002 : 10:18:51
|
John
Thanks for that.
I now have a few options as to how to spend the next few days and maybe you can help!
1)I tried to install Poll MOD but it didn't work. I could have another go but I need a poll where people can change their vote after viewing the discussion. Is this an option in Poll MOD (I won't know until I've spent a few days installing it)?
2)Now that you have pointed me to the variable names I could struggle (ASP clueless/novice) to do as you have suggested, though I would almost certainly be straight back asking for more advice.
3)You wrote "one of the survey mods". I can only find Poll MOD. I s there one which is easier to install (Snitz v3.3) and would serve my purposes?
I suppose this is a little survey in itself!
Thanks for your help.
Phil
I have now installed poll mod and moved on to option 2!
Edited by - Cycas on 03 May 2002 09:51:45 |
|
|
joatham
Junior Member
United Kingdom
169 Posts |
Posted - 18 May 2002 : 19:51:28
|
Hi Phil, hopefully you've got things up and running now after our email conversations. If not, let me know and I will see if I can help
John
Edited by - joatham on 18 May 2002 19:52:04 |
|
|
Roland
Advanced Member
Netherlands
9335 Posts |
Posted - 18 May 2002 : 21:16:21
|
quote:
1)I tried to install Poll MOD but it didn't work. I could have another go but I need a poll where people can change their vote after viewing the discussion. Is this an option in Poll MOD (I won't know until I've spent a few days installing it)?
I've never seen any polls where people can change their vote afterwards (you can't change your vote after you voted for a president either, can you?). So no, it's not an option in the Poll MOD for Snitz.
quote:
2)Now that you have pointed me to the variable names I could struggle (ASP clueless/novice) to do as you have suggested, though I would almost certainly be straight back asking for more advice.
Just passing the username might be enough for you, but if you need interaction with the forums and need to pull the username from the database on a page, you'll also have to include config.asp, inc_functions.asp and (part of) inc_top.asp
http://www.frutzle.com
Snitz Exchange | Do's and Dont's |
|
|
Cycas
Starting Member
United Kingdom
14 Posts |
Posted - 19 May 2002 : 04:39:06
|
Thanks Joatham. Yes (as we have discussed via email) I have cracked it now by using a session variable (equal to the member_id) created in inc_top after MEMBER_ID has been defined.
Frutzle, thanks for your helpful comments. By the way, we have this old fashioned thing in our justice system called trial by jury. A bunch of odd-bodds sit and listen to a load of stuff and then they go into a room somewhere and play canasta. Every now and then someone says "Right, hands up who's for "guilty" and who's for....". After another round of canasta they might have another go, until they can all (or most of them) agree. Apparently it can go on for some time and Henry Fonda made great a film about it (they use this system in the States too (where they also vote for a President)). So there you go.
Phil
Edited by - Cycas on 19 May 2002 04:42:15 |
|
|
|
Topic |
|