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)
 Portal Mod 1.1
 New Topic  Reply to Topic
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 9

squad23
Starting Member

Netherlands
40 Posts

Posted - 11 December 2003 :  07:39:20  Show Profile  Reply with Quote
I've got a question.

I want a table withe regular links.
How can i make that?<
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 11 December 2003 :  07:55:58  Show Profile  Reply with Quote
line 468 before
sub StartTable(byval Width, byval Heading)
add

sub DisplayMyLinks(byval Width)

	call StartTable(Width, "Links")
	
	Response.Write  "              <a href="link1.asp">link 1</a><br />" & vbNewLine
	Response.Write  "              <a href="link2.asp">link 2</a><br />" & vbNewLine
	Response.Write  "              <a href="link3.asp">link 3</a><br />" & vbNewLine
	Response.Write  "              <a href="link4.asp">link 4</a><br />" & vbNewLine
	Response.Write  "              <a href="link5.asp">link 5</a><br />" & vbNewLine
	
	call EndTable()				

end sub



line 81 replace
call DisplayCategories(1, strCMSLeftNavWidth)
with
call DisplayMyLinks(strCMSLeftNavWidth)
call DisplayCategories(1, strCMSLeftNavWidth)

This will display some link below the login box<

The UK MkIVs Forum
Go to Top of Page

squad23
Starting Member

Netherlands
40 Posts

Posted - 11 December 2003 :  09:19:06  Show Profile  Reply with Quote


I get this error

Microsoft VBScript compilation error '800a0401'

Expected end of statement

/squad23/portal.asp, line 483

Response.Write " <a href="link1.asp">link 1</a><br />" & vbNewLine
---------------------------^


Thx for youre help by the way!<
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 11 December 2003 :  09:28:24  Show Profile  Visit Gremlin's Homepage  Reply with Quote
Change those lines to have double quotes e.g

Response.Write " <a href=""link1.asp"">link 1</a><br />" & vbNewLine
<

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

squad23
Starting Member

Netherlands
40 Posts

Posted - 11 December 2003 :  09:30:15  Show Profile  Reply with Quote
Thank you very much!
It works!<
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 11 December 2003 :  09:40:26  Show Profile  Visit Gremlin's Homepage  Reply with Quote
Your welcome.<

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

easymark
Starting Member

28 Posts

Posted - 13 December 2003 :  03:37:13  Show Profile  Reply with Quote
What does this mod do. I can't seem to understand this mod by the description.<
Go to Top of Page

RebelTech
Average Member

USA
613 Posts

Posted - 13 December 2003 :  03:54:43  Show Profile  Visit RebelTech's Homepage  Send RebelTech an ICQ Message  Reply with Quote
If you're talking about the Portal mod in general, it gives you a homepage or portal page that is integrated with your forums. You can display content from your
forums on the this page.

If your asking about this particular addition to the Portal mod:
Adds these features
Login - ability to log in from the portal page
Google Search - search via Google from the portal page
Active Topics - display the active topics from your forums on the portal page

Changes
Topics in left/right columns are now ordered by last date edited decending
<
Go to Top of Page

ace6vel
Junior Member

USA
156 Posts

Posted - 13 December 2003 :  12:08:59  Show Profile  Visit ace6vel's Homepage  Send ace6vel an AOL message  Send ace6vel a Yahoo! Message  Reply with Quote
how can i set it up to be shown on the begining of the forum ??? first to be shown the portal and after that with a link to enter the forum???<

Eminem is the best!!!
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 13 December 2003 :  12:34:09  Show Profile  Reply with Quote
ace6vel, you will need to ask your host to change the Default Document in IIS to portal.asp<

The UK MkIVs Forum
Go to Top of Page

ace6vel
Junior Member

USA
156 Posts

Posted - 13 December 2003 :  13:39:45  Show Profile  Visit ace6vel's Homepage  Send ace6vel an AOL message  Send ace6vel a Yahoo! Message  Reply with Quote
i have free host how can i do that??? the site is not paid<

Eminem is the best!!!
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 13 December 2003 :  14:19:09  Show Profile  Reply with Quote
you could add some code to the top of default.asp to check if the refferer, if it is empty or not on you domain the you could re-direct to portal.asp
<

The UK MkIVs Forum

Edited by - DavidRhodes on 13 December 2003 14:19:24
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 14 December 2003 :  13:18:47  Show Profile  Reply with Quote
Fixed a bug in the Login box
Added Printer Friendly and Previous/Next Article functionality
Simply replace Portal.asp and add pop_printer_friendly_portal.asp

Download Fix<

The UK MkIVs Forum
Go to Top of Page

squad23
Starting Member

Netherlands
40 Posts

Posted - 14 December 2003 :  13:26:01  Show Profile  Reply with Quote
Can you say what is changed?
Because my portal.asp is allready whit some changes.
<
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 14 December 2003 :  13:30:35  Show Profile  Reply with Quote
line 80 should read
if strCMSLoginDisplay = "1" and (mlev = 0) then call DisplayLogin(strCMSLeftNavWidth)


Replace the DisplayContentItem function

Add the DisplayArticleNavigation function<

The UK MkIVs Forum
Go to Top of Page
Page: of 9 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.15 seconds. Powered By: Snitz Forums 2000 Version 3.4.07