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
Next Page
Author Previous Topic Topic Next Topic
Page: of 9

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 07 December 2003 :  13:52:01  Show Profile  Reply with Quote
Following on from v1.0

Additions
Login
Google Search
Active Topics

Changes
Topics in left/right columns are now ordered by last date edited decending

To upgrade from v1.0
replace admin_config_cms.asp
replace portal.asp
re-do changes to config.asp

Download here<

The UK MkIVs Forum

Edited by - DavidRhodes on 07 December 2003 14:18:29

aspwiz
Junior Member

250 Posts

Posted - 07 December 2003 :  14:04:54  Show Profile  Visit aspwiz's Homepage  Reply with Quote
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!<

Edited by - aspwiz on 07 December 2003 14:05:59
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 07 December 2003 :  14:11:59  Show Profile  Reply with Quote
Rob, that was meant to be in this, must have forgot it somewhere along the way

I'll get together a few more suggestions before making another release<

The UK MkIVs Forum
Go to Top of Page

squad23
Starting Member

Netherlands
40 Posts

Posted - 08 December 2003 :  14:18:23  Show Profile  Reply with Quote
Hi

i have a problem:

I installed the mod and added some content etc.

But i get an error

Error
You must set a value for 'Homepage Content' in 'CMS Configuration'

I'm new to this stuff so maybe this is some stupid fault of mine
but can you help me ?<
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 08 December 2003 :  14:50:50  Show Profile  Reply with Quote
Go to CMS Configuration in admin options and set some content for the Default Article<

The UK MkIVs Forum
Go to Top of Page

squad23
Starting Member

Netherlands
40 Posts

Posted - 08 December 2003 :  14:54:31  Show Profile  Reply with Quote
Thats the weird thing
I did that

Everytime i go there the fields are blank<
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 08 December 2003 :  15:48:07  Show Profile  Reply with Quote
have you added the required code to config.asp?<

The UK MkIVs Forum
Go to Top of Page

squad23
Starting Member

Netherlands
40 Posts

Posted - 08 December 2003 :  15:50:35  Show Profile  Reply with Quote
Yes i did

but when i do the database setup there does not stand tables allready exists (if i do it for the second time ).
<
Go to Top of Page

Faizan
Average Member

United Kingdom
592 Posts

Posted - 08 December 2003 :  16:05:30  Show Profile  Visit Faizan's Homepage  Send Faizan an AOL message  Send Faizan an ICQ Message  Send Faizan a Yahoo! Message  Reply with Quote
This is very nice David. Thankyou for that...


<


»Snitz Graphics
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 08 December 2003 :  16:20:59  Show Profile  Reply with Quote
quote:
Originally posted by squad23

Yes i did

but when i do the database setup there does not stand tables allready exists (if i do it for the second time ).




Are any of the other values saving, eg. "Page Title" in "CMS Configuration"<

The UK MkIVs Forum
Go to Top of Page

squad23
Starting Member

Netherlands
40 Posts

Posted - 08 December 2003 :  16:26:20  Show Profile  Reply with Quote
no all the fields are blank when i return.<
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 08 December 2003 :  17:17:19  Show Profile  Reply with Quote
squad23, double check you have made the additions to config.asp, that is the only way this can occur<

The UK MkIVs Forum
Go to Top of Page

squad23
Starting Member

Netherlands
40 Posts

Posted - 08 December 2003 :  17:37:02  Show Profile  Reply with Quote
Checked it and the problem was that i'm really dumb

I renamed the file to config.asp.asp

Don't know how

Thx for youre help

I love the mod!!!
And hate myself <
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 08 December 2003 :  18:21:07  Show Profile  Reply with Quote
no probs, have you got a link to your site, it will be useful as a demo. I haven't got a live demo of this mod myself<

The UK MkIVs Forum
Go to Top of Page

squad23
Starting Member

Netherlands
40 Posts

Posted - 09 December 2003 :  17:59:43  Show Profile  Reply with Quote
I don't think my site is suiteble but i have seen enough beutiful site's whit your mod so maybe someone else ?
<
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 11 December 2003 :  04:37:31  Show Profile  Reply with Quote
Post any suggestions/additions to this mod that you would like to see, next release will probably include:
Print topic button on articles
Send to friend button on articles
Member in spotlight mod incorporated
Slash mod incorporated<

The UK MkIVs Forum
Go to Top of Page
Page: of 9 Previous Topic Topic Next Topic  
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.19 seconds. Powered By: Snitz Forums 2000 Version 3.4.07