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/Code)
 Mini MOD: open topics in new window (forum.asp)
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 11 July 2002 :  15:18:57  Show Profile
MOD Function: make it easier for your visitors, moderators and of course yourself to check more than one
topic at the same time by adding an icon to open the topics in a new window.
As seen on: FrutZle.com -=- Forums
Made by: FrutZle
Made on: July 11th 2002 (originally the 10th, but that topic is missing )
Files to change: 1 (forum.asp)
Number of changes: 5

Files needed:

Instructions: based on forum.asp for version 3.3.05

Open forum.asp and go to line 327:

<td align="center" bgcolor="<% =strHeadCellColor %>"><b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"> </font></b></td>


Add the same code right below that line

Go to line 346:

<td colspan="7" bgcolor="<% =strForumCellColor %>"><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><b>No Topics Found</b></font></td>


Change the 7 into 8

Go to line 368:

<td bgcolor="<% =strForumCellColor %>" valign="center" align="left">
<font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><a href="topic.asp?<%= ArchiveLink %>TOPIC_ID=<% =Topic_ID %>"><% =ChkString(left(rs("T_SUBJECT"), 50),"display") %></a> </font>


Add the following right before that:

<td bgcolor="<% =strForumCellColor %>" valign="center" align="center"><a href="topic.asp?<%= ArchiveLink %>TOPIC_ID=<% =TopicID %>" target="_blank"><img src="icon_newwin.gif" border="0" alt="Open Topic In A New Window" title="Open Topic In A New Window" width="15" height="15"></a></td>


Go to line 412:

<td colspan="5">


Change the 5 into 6

Go to line 436:

<img alt="Locked Topic" src="images/icon_folder_locked.gif" width="15" height="15"> Locked topic.<br>


Add the following right below that:

<img src="icon_newwin.gif" height="15" width="15" alt="Open Topic In A New Window" title="Open Topic In A New Window"> Open topic in a new window.<br>


That's it!
Next up are some extra comments:


- keep in mind that the URLs for the icon might be different if you dont upload it to the same directory as your forum files.
- make a backup of your files before you make any changes!
- use of this MOD is at your own risk (not that anything can go wrong, but it sounds cool )
- Support can be gotten in this forum
- if you need help, make sure you use a clear subject so I won't miss it (I normally don't check that forum!)
- good luck

<edit> If you can't get it working and would like the file that already has the changes made, please reply to this topic so I know I won't be uploading it for no reason </edit>

<edit> This file, together with the image, a version of active.asp with the same functionality and a readme file can now be downloaded from http://www.ls3k.com/snitz/mods.asp?action=details&ID=114
Please note that the ASP files in the ZIP that you can download there have one extra functionality that is NOT in this file: topic paging has been added.
Please read the readme1st.txt file before you use the files!</edit>

Roland

http://www.frutzle.com

Snitz Exchange | Do's and Dont's


Edited by - FrutZle on 11 July 2002 15:20:28

Edited by - FrutZle on 12 July 2002 16:49:00

dayve
Forum Moderator

USA
5820 Posts

Posted - 11 July 2002 :  17:33:20  Show Profile  Visit dayve's Homepage
Looks really good, I think I would have more of a use for this
in Active Topics so I will be using it there. Thanks Frutzle


http://www.nineinchnailz.com
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 11 July 2002 :  17:36:44  Show Profile
quote:

Looks really good, I think I would have more of a use for this
in Active Topics so I will be using it there. Thanks Frutzle



There's a topic with the changes for active.asp in this same forum
I'm glad you think it's usefull.


Roland

http://www.frutzle.com

Snitz Exchange | Do's and Dont's
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.23 seconds. Powered By: Snitz Forums 2000 Version 3.4.07