Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 External Links 4 category titles
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

122Y
Starting Member

31 Posts

Posted - 16 May 2006 :  10:00:30  Show Profile


I noticed on the Snitzbitz Forum that they have a links category that links to external links rather than Forum topics.

http://www.snitzbitz.com/forum/default.asp

How can I do this??

Izzy :)

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 16 May 2006 :  10:13:26  Show Profile  Visit HuwR's Homepage
if you are logged in as an admin and go to default.asp, you should notice a little globe icon down the right hand side of the table (to the right of the category heading), this is to create a new link instead of a new forum

Edited by - HuwR on 16 May 2006 10:14:15
Go to Top of Page

122Y
Starting Member

31 Posts

Posted - 16 May 2006 :  10:39:35  Show Profile
Cool Thx
Go to Top of Page

122Y
Starting Member

31 Posts

Posted - 18 May 2006 :  06:37:35  Show Profile
Is it possible to set the link to open in the current window rarther than open a new window?
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 18 May 2006 :  06:47:02  Show Profile  Visit AnonJr's Homepage
That would have to be modified in the code. By default, the forum sets all links to open in a new window. While its a very debatable issue, I'd recommend you continue to let the external links open in a new window... but that's just me.
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 18 May 2006 :  07:42:19  Show Profile
Fine the following beginning on line 498 of default.asp and remove the code in green:
if ForumFType = 0 then
	ChkIsNew(ForumLastPost)
else 
	Response.Write	"<a href=""" & ForumURL & """ target=""_blank"">" & getCurrentIcon(strIconUrl,"Visit " & chkString(ForumSubject,"display"),"hspace=""0""") & "</a>"
end if 
Response.Write	"</td>" & vbNewline & _
		"                <td"
if ForumFType = 1 then
	Response.Write	" colspan=""4"""
end if
Response.Write	" bgcolor=""" & strForumCellColor & """ valign=""top"">" & _
		"<font face=""" & strDefaultFontFace & """ color=""" & strForumFontColor & """ size=""" & strDefaultFontSize & """><span class=""spnMessageText""><a href="""
if ForumFType = 0 then
	Response.Write	"forum.asp?FORUM_ID=" & ForumID
else 
	Response.Write	ForumURL & """ target=""_blank"
end if

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

122Y
Starting Member

31 Posts

Posted - 18 May 2006 :  10:59:09  Show Profile
That’s was interesting shaggy all that did was to remove the little world icon it still opened up in a new window.my mistake thankx shaggy

I am using it link to the classifieds mod which is the only external link so it’s confusing to have just one section that opens in a new window.

Whist im on the subject of the classifieds mod I don’t suppose there is anyone here that knows of a mod for it that allows admin posts before the become publicly available… I have asked this in Mods W/C Forum but no one has answered there

Izzy

Edited by - 122Y on 18 May 2006 11:04:24
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 18 May 2006 :  11:02:46  Show Profile
Are sure you only deleted what I highlighted in green and didn't accidnetally delete one or more quatation marks? If so, can you post a *.txt copy of your default.asp?


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

122Y
Starting Member

31 Posts

Posted - 18 May 2006 :  11:06:01  Show Profile
oops you were quicker than I was its workin fine now shaggy thanx
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 18 May 2006 :  11:09:50  Show Profile
You're welcome


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
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 1.39 seconds. Powered By: Snitz Forums 2000 Version 3.4.07