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 - 14 December 2003 :  13:43:47  Show Profile  Reply with Quote
If i just put the new files in my forum dir.
This error occurs(I see the portal but this is in my content):
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

[Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression 'CONT_LAST_EDIT < '20031210002630' AND CAT_ID='.

/squad23/portal.asp, line 496

<
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 14 December 2003 :  13:48:34  Show Profile  Reply with Quote
Is the content you are viewing assigned to a category?<

The UK MkIVs Forum
Go to Top of Page

squad23
Starting Member

Netherlands
40 Posts

Posted - 14 December 2003 :  13:50:11  Show Profile  Reply with Quote
No it is the default content.<
Go to Top of Page

squad23
Starting Member

Netherlands
40 Posts

Posted - 14 December 2003 :  13:51:19  Show Profile  Reply with Quote
Here you can see it:
http://www21.brinkster.com/squad23/portal.asp<
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 14 December 2003 :  13:52:02  Show Profile  Reply with Quote
change line 217 to read

	if IsNumeric(rsContent("CAT_ID")) then call DisplayArticleNavigation(ContentID, rsContent("CAT_ID"), rsContent("CONT_LAST_EDIT"))


i'll update the zip<

The UK MkIVs Forum
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 14 December 2003 :  13:55:03  Show Profile  Reply with Quote
zip updated<

The UK MkIVs Forum
Go to Top of Page

squad23
Starting Member

Netherlands
40 Posts

Posted - 14 December 2003 :  14:08:18  Show Profile  Reply with Quote
It worked

Thx again <
Go to Top of Page

StephenD
Senior Member

Australia
1044 Posts

Posted - 15 December 2003 :  20:13:42  Show Profile  Send StephenD a Yahoo! Message  Reply with Quote
The 'Article Nav' function and the 'More Articles in this Category' link don't work for Home Page content or CategoryID = 0.

I've put a:
If TheCat > "0" then

before each of these lines to hide them on Home Page content.<
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 16 December 2003 :  04:37:44  Show Profile  Reply with Quote
quote:
Originally posted by StephenD

The 'Article Nav' function and the 'More Articles in this Category' link don't work for Home Page content or CategoryID = 0.

I've put a:
If TheCat > "0" then

before each of these lines to hide them on Home Page content.



This is already fixed for the Article Navigation and there is no More Articles in this Category option<

The UK MkIVs Forum

Edited by - DavidRhodes on 16 December 2003 04:43:24
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 16 December 2003 :  05:11:45  Show Profile  Reply with Quote
There is no variable called TheCat in the page?<

The UK MkIVs Forum
Go to Top of Page

StephenD
Senior Member

Australia
1044 Posts

Posted - 16 December 2003 :  05:50:15  Show Profile  Send StephenD a Yahoo! Message  Reply with Quote
quote:
Originally posted by aspwiz

Nice touches David!!

Thanks.

As a little MOD to this MOD, I have put just before the main() function:-
Dim TheCat, TheTitle
TheCat = CInt(Request.QueryString("CategoryID"))
Just after this code in the DisplayCategories Function:-
call StartTable(Width, rsCatList.Fields("CAT_TITLE").Value)
I have put this:-
If lCategoryID = TheCat then TheTitle = rsCatList.Fields("CAT_TITLE").Value
And within the DisplayContentItem, I changed to use this code:-
Response.Write formatStr(rsContent.Fields("CONT_BODY").Value) &"<br /><br />"& vbCrLf
  Response.write "<a href=""portal.asp?CategoryID=" & TheCat & """>More " & TheTitle & " Articles</a><BR><BR>"
  Response.write "Author: <a href=""pop_profile.asp?mode=display&id="& rsContent.Fields("CONT_AUTHOR").Value & """>"& getMemberName(rsContent.Fields("CONT_AUTHOR").Value) & "</a><br />" &_
  "Posted: "& ChkDate(rsContent.Fields("CONT_DATE").Value, "</b>" ,true) &vbCrLf

Now at the foot of each article, I get this:-
More [category_name] Articles

This obviously links to more articles in the same category.

Just wondered if you would consider including that in the MOD!



Ah sorry, I had applied aspwiz' code above.<
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 17 December 2003 :  18:48:57  Show Profile  Reply with Quote
I'll add More Article in this category to the next release<

The UK MkIVs Forum
Go to Top of Page

Trina
Starting Member

31 Posts

Posted - 21 December 2003 :  12:56:47  Show Profile  Reply with Quote
I am obviously an idiot, but in the directions where it says:

Instructions:
1. Upload all files to your forum directory.
2. Run the dbs file dbs_portal.asp.
3. Run setup.asp

What exactly does "run" mean? Of course I have gone thorough the setup.asp before, but when I try to go to the dbs_portal.asp page, it makes me think there is more to it This is what I get:
http://www.trot.org/newforum2/dbs_portal.asp

Help please Thanks!!!<
Go to Top of Page

Kal Corp
Average Member

USA
878 Posts

Posted - 29 December 2003 :  22:03:11  Show Profile  Visit Kal Corp's Homepage  Reply with Quote
Trina,

In the admin section goto MOD Setup and select "David's Portal Mod"

That is running the file dbs_portal.asp.<


{VAS}-Kal Corp
VAS Development NetWork - Forums for old Snitz Mods!
Creator of all things {VAS}
Go to Top of Page

James
Average Member

USA
539 Posts

Posted - 31 December 2003 :  20:34:32  Show Profile  Visit James's Homepage  Reply with Quote
I have a couple feature request. A simple way to add links to a category. For instance, you could make a category called "Site Navigation" and set it to be for links only. The links could be added to that category and selected either yes or no to open in a new window. This way, you could have a left side category called Site Navigation that has links to all the different parts of your site. Also, you should be able to set the amount of content that shows in the center. Like the abilty to have 2 or 3 items instead of just one default one. Lastly, the ability to show active users.

I do love this mod though. I haven't had much time to do anything with the site in a while and this mod looks to make my life easier.<

*Interested in Radio Control*
*The RC Web Board - http://www.rcwebboard.com/*
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.1 seconds. Powered By: Snitz Forums 2000 Version 3.4.07