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)
 Simple Slash Mod v.1.0
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 11

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 19 May 2004 :  10:42:37  Show Profile  Visit Gremlin's Homepage

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

stuF
Average Member

United Kingdom
561 Posts

Posted - 19 May 2004 :  18:55:25  Show Profile  Visit stuF's Homepage
is there anyway of implementing a paging system for this mod. On my site im going to be using it for all of the mojar content areas, and after a while, there might be quite a long list of articles. I would like to be able to show just 5 topics per page, and then show a link to 'older articles' at the foot of the page.

Anoter feature which may be useful would be to show a 'topic listing' page, where all of the topics from a particular forum are listed, and on clicking, the user is directed to the article itself (on the slash page, not the forum topic itself)

Unfortunatley i have no clue about ASPm abd therefore am unable to do this myself, however i think it would be a valuable addition to the mod if it could be implemented.

Also, in simple_slash.asp you have to specify a number of characters to display, is it possible to set this to show the whole topic, either by placing 0, or ANY in that field.

http://36-degrees.co.uk

Edited by - stuF on 19 May 2004 18:59:55
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 20 May 2004 :  02:33:56  Show Profile  Visit Gremlin's Homepage
Not really sure paging is required, you could just put a link at the bottom of it taking you to the forum for folks to view the other topics by editing the HTML in the file pretty easily.

Regarding characters to display, just put some really big number in there for now and that should work most of the time. When I get further on with the a new more official slash mod I'll include options to enable/disable things like that. ... don't expect much in a hurry though as this is just going to be a little side project for me really in between customer work.

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

stuF
Average Member

United Kingdom
561 Posts

Posted - 20 May 2004 :  04:17:31  Show Profile  Visit stuF's Homepage
ok, the reason iwas after paging though is becuase im planning to use this as my sole content management system, and im pulling threads from a non-public forum, so i will be taking out the links to view replies, read more etc...without paging of topics it just means i will get everything on one page, but i think ill be able to do somthing in terms of archiving, as in showing 5 topics and then pulling all of the archive topics onto a seperate page.

http://36-degrees.co.uk
Go to Top of Page

pould
Starting Member

16 Posts

Posted - 20 May 2004 :  06:30:13  Show Profile  Send pould an AOL message  Send pould a Yahoo! Message
OK, I've popped the inc_ code into www.anglican-mainstream.net/testindex.asp (modified to refer to the subdirectory of the forum) but now have two probs:

i) The forum block has an enormous cell
ii) The right hand cell of the page is now parallel to this forum cell.

Now obviously these two problems are linked, but I've been through the code and can't see where the tables are interacting. Anybody want to have a look at the source for me and suggest what I'm doing wrong.

Thanks!!! This is a great mod, apart from the few probs I'm having.
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 20 May 2004 :  22:11:58  Show Profile  Visit Gremlin's Homepage
Are you intentionally including the forum header in there as well? ie the logon stuff etc?

Post a text link to your code and I'll take a looksee.

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

pould
Starting Member

16 Posts

Posted - 21 May 2004 :  05:46:29  Show Profile  Send pould an AOL message  Send pould a Yahoo! Message
quote:
Originally posted by Gremlin

Are you intentionally including the forum header in there as well? ie the logon stuff etc?

Post a text link to your code and I'll take a looksee.



No - just doing the code as given - once I sort out the table issue then I'll junk what I don't need.

Code at www.anglican-mainstream.net/testindexcode.txt
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 23 May 2004 :  01:26:48  Show Profile  Visit Gremlin's Homepage
You probably don't need all those includes

<!--#include file="./forum/config.asp"-->
<!--#include file="./forum/inc_func_common.asp" -->
<!--#INCLUDE FILE="./forum/inc_func_secure.asp" -->
<!--#INCLUDE FILE="./forum/inc_sha256.asp"-->
<!--#INCLUDE FILE="./forum/inc_header.asp" -->
<!--#INCLUDE FILE="./forum/inc_func_member.asp" -->
<!--#INCLUDE FILE="./forum/inc_moderation.asp" -->
<!--#INCLUDE FILE="./forum/inc_subscription.asp" -->

All you actually need to include is just the simple_slash.asp file. You may need to just edit it to change the paths of the two includes at the top if your including it from a page outside your forum.

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

randomcow
Starting Member

3 Posts

Posted - 24 May 2004 :  04:22:18  Show Profile
quote:
Originally posted by RebelTech

Enigma,

I added these includes to the top of simple_slash.asp and it worked outside the forum directory. Make sure config.asp is at the top since others depend on it.


<!--#include file="./forum/config.asp"-->
<!--#include file="./forum/inc_func_common.asp" -->

<!--#INCLUDE FILE="./forum/inc_func_secure.asp" -->
<!--#INCLUDE FILE="./forum/inc_sha256.asp"-->
<!--#INCLUDE FILE="./forum/inc_header.asp" -->
<!--#INCLUDE FILE="./forum/inc_func_member.asp" -->
<!--#INCLUDE FILE="./forum/inc_moderation.asp" -->
<!--#INCLUDE FILE="./forum/inc_subscription.asp" -->



Hi -

I think this is the appropriate place to ask my question.

I am trying to integrate Snitz forums into my existing site. I have my main shopping cart files in the root directory, and then from there I have a subdirectory called "forums" in which I have installed Snitz forums. The forum works fine if I just link to it from my existing homepage, albeit completely seperately.

What I would like to do is use this Simple Slash Mod on my site's homepage (default.asp) which is in the root directory.

Has anyone managed to do this? I thought I could do it by using the code above, which would take care of all the includes I'd need, but I keep getting the following error:

Syntax error
/mj/shopping/forums/inc_iconfiles.asp, line 150
function getCurrentIcon(fIconName,fAltText,fOtherTags)

Any help on this would be much appreciated. I'm sure it has been covered before, as I don't think I am trying to do anything profound, but I honestly couldn't think of any more ways to search for this problem.

Justin
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 26 May 2004 :  02:41:17  Show Profile  Visit Gremlin's Homepage
You should be able to use the slash mod just to display topics on your main website as thats basically what it was designed to do. If your trying to integrate the entire forum with your website then this probably isn't the right mod to use, you might want to look at something like the site integration mod instead (should be at www.snitzbitz.com in the mods section somewhere)

Whats your Cookie Setting in your Snitz admin set as? Website or Forum? If it's forum try changing to website.

Kiwihosting.Net - The Forum Hosting Specialists

Edited by - Gremlin on 26 May 2004 02:41:44
Go to Top of Page

randomcow
Starting Member

3 Posts

Posted - 28 May 2004 :  07:00:05  Show Profile
Hi Gremlin -

Thanks so much for the reply.

Ok, I'll try to explain a little better what I am trying to do.

I have a main page called default.asp. From this I #include a file called shop$db.asp, then call a sub with shoppageheader. This sub is just a #include for shoppageheader.asp

Inside shoppageheader.asp (an HTML file), somewhere between the body tags, I have the #include for simple_slash.asp

I haven't modified simple_slash.asp. It's in the /forums directory, with the rest of the forum files.

Has anyone else had the same error, or can think of a reason why I'm getting it? It could be because the base of my site is VPASP shopping cart software, though I don't think so.

Has anyone else managed to use VPASP and Snitz together?

Thanks again.

Justin



Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 30 May 2004 :  04:42:41  Show Profile  Visit Gremlin's Homepage
Have you checked your cookie settings as suggested earlier?

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

randomcow
Starting Member

3 Posts

Posted - 02 June 2004 :  04:34:17  Show Profile
yes - set to website as suggested.

(sorry - I thought I had included that in my last reply)

Justin
Go to Top of Page

cwolff
Starting Member

11 Posts

Posted - 08 July 2004 :  17:27:31  Show Profile
quote:
Originally posted by acoustika

%>
<!--#include virtual="/inc_simple_slash.asp"-->
<%

Something like that instead (adjusted to your homepage, but remember the Slash in front)
AND cookies to website.


I want to include (just) the simple_slash.asp - but how do i do that on a html-page (the frontpage)?

Thanks

C Wolff - www.fcbayern.dk
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 10 July 2004 :  06:28:34  Show Profile  Visit Gremlin's Homepage
The page must be a .asp page not .htm else generally speaking it wont work.

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page
Page: of 11 Previous Topic Topic Next Topic  
Previous Page | Next Page
 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.2 seconds. Powered By: Snitz Forums 2000 Version 3.4.07