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)
 Active.asp topics open in new window
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 3

Steve D.
Average Member

USA
640 Posts

Posted - 04 April 2002 :  13:16:15  Show Profile  Visit Steve D.'s Homepage  Send Steve D. a Yahoo! Message
quote:

Actually, I would make it an option at the top of the active.asp page so the user has some context.

It could be set the same way the other active.asp options are set like Active Topics Since and Reload Page.

Basically, it could say:

Make links appear in new window: checkbox

--Aaron


I like that idea. I'm going to struggle with my minimal skill set and see what I can come up with. Anybody have any snippets as good examples I'd love to see them.

----------------------------------------
Badges? We don't need no stinking badges
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 04 April 2002 :  14:15:09  Show Profile
I've made a small change to my initial plan (it's easier as I don't feel like continuing this MOD right now): I simply added a link to a second page (active2.asp) which will open the links in a new window. Active.asp is still the original one.

Perhaps for version 3.4 I'll make it a select box and add the value to a cookie so it'll stick when you change it and leave the forums.



http://www.frutzle.com

Snitz Exchange | Do's and Dont's
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 04 April 2002 :  14:28:22  Show Profile  Visit HuwR's Homepage
quote:

Perhaps for version 3.4 I'll make it a select box and add the value to a cookie so it'll stick when you change it and leave the forums.



This idea sounds like a good one, that way you can default the link to behave how you want, no extra icons, just a minor change based on your cookie.

Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 04 April 2002 :  14:32:35  Show Profile
quote:

quote:

Perhaps for version 3.4 I'll make it a select box and add the value to a cookie so it'll stick when you change it and leave the forums.



This idea sounds like a good one, that way you can default the link to behave how you want, no extra icons, just a minor change based on your cookie.



Yep. It's quite simple to do by using an if statement checking the cookie and depending on that it either does or doesn't show the target.

I'll see what I can do to make it work now and then when 3.4 is released I'll make the necessary changes and release it right away.



http://www.frutzle.com

Snitz Exchange | Do's and Dont's
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 04 April 2002 :  14:51:42  Show Profile  Visit HuwR's Homepage
I'm sure you could do it with out an if statment if you chose the cookie value correctly you could just rewrite the links as

target=""" & request.cookie("target") & """>"

or something like that, better to set a vaiable to the cookie though, that way if the cookie is empty you can give it a default behaviour.

Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 04 April 2002 :  15:58:42  Show Profile
How's this: http://www.frutzle.com/forum/active.asp

I can send someone who knows more about cookies a clean active.asp for version 3.3.03, but it works. Default value, like when there's no cookie, is same window.



http://www.frutzle.com

Snitz Exchange | Do's and Dont's
Go to Top of Page

Aaron S.
Average Member

USA
985 Posts

Posted - 04 April 2002 :  16:14:35  Show Profile  Visit Aaron S.'s Homepage
Looks good!

--Aaron



MySubs Email MOD
MOD to Smile Mgr
HotKeys MOD
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 04 April 2002 :  16:16:36  Show Profile  Visit HuwR's Homepage
verry nice Frutzle

Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 04 April 2002 :  16:21:43  Show Profile
Anyone care to look at the codes to see if it can be improved? As I said, I'm defenately not good with cookies.

Just mail me and I'll send the codes.



http://www.frutzle.com

Snitz Exchange | Do's and Dont's
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 04 April 2002 :  16:30:59  Show Profile
Okay, Nathan has talked me into finishing the MOD a bit further. What I'm going to do:
1- add the option to open links in a new window to the profile page
2- save the value in the database (easier to call on other pages)
3- make it two checkboxes instead of one select box:
> open in new window on active.asp
> open in new window on forum.asp
4- edit active.asp and forum.asp accordingly

If you think of anything else you think I should do, let me know before tomorrow afternoon because that's when I'll start this mini mod project



http://www.frutzle.com

Snitz Exchange | Do's and Dont's
Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 04 April 2002 :  16:58:05  Show Profile  Visit Nathan's Homepage
quote:

3- make it two checkboxes instead of one select box:
> open in new window on active.asp
> open in new window on forum.asp



You will need to use a set of radio buttons (those are the round ones ), not checkboxes.

  Nathan Bales - Romans 15:13
----------------------------------

Snitz Exchange | Do's and Dont's
Go to Top of Page

Aaron S.
Average Member

USA
985 Posts

Posted - 04 April 2002 :  17:08:40  Show Profile  Visit Aaron S.'s Homepage
Checkboxes would work fine:

__ Open active.asp links in new window

__ Open forum.asp links in new window

Radio buttons would be if you were saying you could only do active.asp OR forum.asp.

--Aaron



MySubs Email MOD
MOD to Smile Mgr
HotKeys MOD
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 04 April 2002 :  17:09:35  Show Profile
No, not radiobuttons, check boxes. Those square thingies that you can check (makes you wonder where the name check box comes from eh? lmao).
Radiobuttons can't be turned off so it'd be 4 radio buttons versus 2 checkboxes.



http://www.frutzle.com

Snitz Exchange | Do's and Dont's
Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 04 April 2002 :  18:21:53  Show Profile  Visit Nathan's Homepage
Oh I see what your doing. I was just thingking new window vs same winodow, your doing one checkbox for each page.

  Nathan Bales - Romans 15:13
----------------------------------

Snitz Exchange | Do's and Dont's
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 04 April 2002 :  18:29:01  Show Profile
Oh you mean radio button ON / OFF per page?
I'll keep it a surprise but I'll probably do that lol

I mailed the active.asp with cookie stuff to two people so far. As I said, I'm going to start on the "final" version of this mini-mod tomorrow around noon and hope to have it done tomorrow around this time, otherwise it'll be done some time Saturday.



http://www.frutzle.com

Snitz Exchange | Do's and Dont's
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Previous Page | 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.21 seconds. Powered By: Snitz Forums 2000 Version 3.4.07