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/O Code)
 Simple Slash Mod
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 5

RebelTech
Average Member

USA
613 Posts

Posted - 28 November 2003 :  14:33:15  Show Profile  Visit RebelTech's Homepage  Send RebelTech an ICQ Message
Ok Gremlin here it goes. Still having the same problem with the length (I think).
Live links:

www.spinbusters.com/forum/mytest.asp My include set with a length limit of 80
http://www.spinbusters.com/forum/gremlinslashoriginal.asp Your original code except forum id set to "any" because I don't have forum#5

Text links:
http://www.spinbusters.com/ftp/gremlinslash.txt my include
http://www.spinbusters.com/ftp/gremlinslashoriginal.txt
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 28 November 2003 :  16:48:00  Show Profile
Rebel I've been working on something similar to Gremlins code for a web log. It looks like you've run into the same problem I did. The problem occurs when the message is cut off between html tags. You have an open quote tag and font tag (view the source). When you close the message before the quote it works fine. I haven't had time to work on a fix and I'm not sure I can. Might be beyond my minimal skills .

    _-/Cripto9t\-_

Edited by - cripto9t on 28 November 2003 16:52:20
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 28 November 2003 :  17:09:50  Show Profile  Visit masterao's Homepage
There is a function in the Content Display mod which removes all forum code from a message. That sounds as if it should work here just as well, although it will probably have to be changed a little. If you decide to use it, you should comment the function and mention which mod the function comes from along with the author's name (@tomic), so that you credit him properly.

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 28 November 2003 :  17:27:36  Show Profile  Visit Gremlin's Homepage
Updated with an HTML Strip function thrown in.

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

cripto9t
Average Member

USA
881 Posts

Posted - 28 November 2003 :  17:33:17  Show Profile
Thanks guys .

    _-/Cripto9t\-_
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 28 November 2003 :  17:36:12  Show Profile  Visit Gremlin's Homepage
:) Play around let me know how it goes.

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

cripto9t
Average Member

USA
881 Posts

Posted - 28 November 2003 :  18:22:39  Show Profile
quote:
Originally posted by Gremlin

:) Play around let me know how it goes.

I just added the function to my code and its working great.
I sure appreciate it. That was a major bug in my web log. Maybe now I'll finish it up ;^)

    _-/Cripto9t\-_
Go to Top of Page

RebelTech
Average Member

USA
613 Posts

Posted - 29 November 2003 :  00:07:41  Show Profile  Visit RebelTech's Homepage  Send RebelTech an ICQ Message
Gremlin, I just now got back online. I have tried the latest out as a stand-alone and as an include. It works great! Good job and very quick also. This is exactly what I have been looking for. I will punch it up with tables and forum category/cell colors. I will post it here. I was thinking maybe you should move this over to mod with code. There have been a lot of posts concerning this subject and I think you may have just provided a lot of folks with a very good mod. Thanks for everything!

Edited by - RebelTech on 29 November 2003 00:08:46
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 29 November 2003 :  00:12:56  Show Profile  Visit Gremlin's Homepage
Glad to be of assistance.

How about you tidy it up and release it as a MOD ? you have full permission to take my code there and restructure it and put your name to it if you wish.

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

RebelTech
Average Member

USA
613 Posts

Posted - 29 November 2003 :  00:23:12  Show Profile  Visit RebelTech's Homepage  Send RebelTech an ICQ Message
Still has the same problem!

If the CharsToDisplay is set to 80 or to your original 2000 then it works perfect. When I set it to 100 it stops at three posts.
Live link:
http://www.spinbusters.com/forum/gremlinslashoriginal.asp
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 29 November 2003 :  00:54:10  Show Profile  Visit Gremlin's Homepage
You'll need to tweak the list of HTML tags to strip out, add BLOCKQUOTE in there as well and see if that fixes it. I only put the bare minimum of tags in there that I could think of.

By the way thats showing 5 posts not 3, have you changed it ?

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

RebelTech
Average Member

USA
613 Posts

Posted - 29 November 2003 :  01:21:34  Show Profile  Visit RebelTech's Homepage  Send RebelTech an ICQ Message
No, I have not changed it. That is what the html tag is doing to it I think. I will go try to add blockquote to the list now
Go to Top of Page

RebelTech
Average Member

USA
613 Posts

Posted - 29 November 2003 :  01:24:50  Show Profile  Visit RebelTech's Homepage  Send RebelTech an ICQ Message
Gremlin, I hate dumping the simplest of tasks on you and not doing them myself. I just went and looked at your function and I have no idea of how to add BLOCKQUOTE to the list of html tags to strip out...
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 29 November 2003 :  02:31:42  Show Profile  Visit Gremlin's Homepage
TAGLIST=";A;B;IMG;CENTER;FONT;PRE;"

Just add additional tags into that line.

e.g.

TAGLIST=";A;B;IMG;CENTER;FONT;PRE;BLOCKQUOTE;"

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

RebelTech
Average Member

USA
613 Posts

Posted - 29 November 2003 :  03:18:49  Show Profile  Visit RebelTech's Homepage  Send RebelTech an ICQ Message
Alright! It is working flawlessly (as far as I can tell). This could even be modified a little and used for a display of a Snitz blog ??? What do you think about making the last line look something like this:
More >> Replies (12)

by adding the number of replies and a link to the last post? Or do you think that is too much?
Go to Top of Page
Page: of 5 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.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07