Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Suggestions?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

The Zim
Junior Member

107 Posts

Posted - 15 February 2009 :  15:06:18  Show Profile  Visit The Zim's Homepage
I guess I should put suggestions for features I would like to see added to Snitz Forums here. But anyways, the first is more like a question.

On my site, I have it set up with several "Bad Words" being replaced, however, whenever someone types in a word such as: assume, the first three letters are replaced. Help!

Another thing, is there a way to archive just individual topics, rather than the whole forum? I would like to keep some of the posts in a forum, but I don't need them all in there and I don't want to delete those ones either. Is there already a way to do this that I haven't found yet? Or am I just misunderstanding the option? I've posted a link to the forum that I don't want them all to be archived.
http://users5.titanichost.com/zimsgizmos/forums/forum.asp?FORUM_ID=5

moved here by HuwR<

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 15 February 2009 :  15:30:58  Show Profile  Visit HuwR's Homepage
in answer to your bad words question, add it so that there is a space before AND after the word you want replacing.

You can prevent particular topics from being archived by setting the do not archive flag. It is a bit peculiar (I though we had changed it, but on checking we have not) to mark a topic not to be archived, click the 'lock' topic icon, then check the 'do not archive' check box and click ok. unfortunately, this has the effect of locking the topic aswell, so to unlock it, click on the 'unlock' icon, make sure the 'do not archive' is still checked and click ok, the topic will now be unlocked, but will not get archived when using the archive functions.

<
Go to Top of Page

bobby131313
Senior Member

USA
1163 Posts

Posted - 15 February 2009 :  17:19:37  Show Profile  Visit bobby131313's Homepage
On both of my forums only leading spaces stick in the bad word filter, trailing spaces are not saved to the database (MySql) and as far back as I can remember they have not.<

Switch the order of your title tags
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 16 February 2009 :  01:40:20  Show Profile  Visit HuwR's Homepage
never heard of such a thing before, it is not the job of a database to trim what you are trying to insert into it, do you have some odd setting on your db that might cause that? I would be extremely angry if my dtabase interfeered with my data in that way.<
Go to Top of Page

bobby131313
Senior Member

USA
1163 Posts

Posted - 16 February 2009 :  03:15:14  Show Profile  Visit bobby131313's Homepage
quote:
do you have some odd setting on your db that might cause that?

I don't know, I'll look closer tomorrow. I know over the years I have seen this issue mentioned several times. Here's one I found...

http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=37295<

Switch the order of your title tags
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 16 February 2009 :  06:42:27  Show Profile  Visit HuwR's Homepage
there is definately nothing in the code that would trim it, are you able to check what is in the table in the database to see if the space disappears on insert or when retrieving ?<
Go to Top of Page

bobby131313
Senior Member

USA
1163 Posts

Posted - 16 February 2009 :  08:43:28  Show Profile  Visit bobby131313's Homepage
Yes. I have SQLYog.

I'm sure now it's not my forum code. If I add the row manually in SQLYog, then refresh the table, the trailing space is gone, so the DB is doing it.... Grrr....<

Switch the order of your title tags
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 16 February 2009 :  08:59:37  Show Profile  Visit HuwR's Homepage
what version of MySQL are you using ?
The problem only affects earlier versions of MySQL prior to version 5<
Go to Top of Page

bobby131313
Senior Member

USA
1163 Posts

Posted - 16 February 2009 :  09:04:37  Show Profile  Visit bobby131313's Homepage
SQLYog, while doing a "test connect", tells me it's 4.1.22.<

Switch the order of your title tags
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 16 February 2009 :  09:16:48  Show Profile  Visit HuwR's Homepage
right, that is probably why then, according to MySQL site varchar fields have trailing spaces removed in versions upto and including 4.1
quote:
Trailing spaces in MySQL version up to and including 4.1 are removed from values when stored in a VARCHAR column; this also means that the spaces are absent from retrieved values.


so, you can either upgrade the version of your MySQL, or alternativley you could change the varchar column into a Text column instead, then it will not trim the trailing spaces.<
Go to Top of Page

bobby131313
Senior Member

USA
1163 Posts

Posted - 16 February 2009 :  11:23:51  Show Profile  Visit bobby131313's Homepage
Well, how cool is that! I may be able to finally fix this. I'll talk to my host first to see which we'll do.

Thanks!<

Switch the order of your title tags
Go to Top of Page

The Zim
Junior Member

107 Posts

Posted - 17 February 2009 :  11:53:28  Show Profile  Visit The Zim's Homepage
Well, the archive thing works, but could you maybe put a button for archiving individual topics in a later version?<

Go to Top of Page

bobby131313
Senior Member

USA
1163 Posts

Posted - 17 February 2009 :  12:12:02  Show Profile  Visit bobby131313's Homepage
I think there's a mod for that floating around if you search for it.<

Switch the order of your title tags
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 17 February 2009 :  13:10:17  Show Profile  Visit AnonJr's Homepage
There are a couple of MODs in various stages of "beta" - all with people using them. Here's the two I had bookmarked:

http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=55145&whichpage=3

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=63568<
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.32 seconds. Powered By: Snitz Forums 2000 Version 3.4.07