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: MOD Implementation
 Database question
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Zuel
Average Member

USA
540 Posts

Posted - 21 October 2005 :  11:43:23  Show Profile  Visit Zuel's Homepage
This is for "Front Page News" by Wesley Brown.
http://www.snitzbitz.com/mods/details.asp?Version=All&mid=47

Problem is the Database file.

What I want to do is post some news but the max character string is defined in the Database.


MEMBER_ID#int#NULL#
N_DATE#varchar(20)#NULL#
N_TEXT#varchar(255)#NULL#


N_TEXT#varchar(255)#NULL#

I want that string 255 to become unlimited or a high number. Since my forum is usually active majority of the time, is there an updated script I can write to do this?

Thanks!

My Completed Mods: News Mod | Zuel's Avatar Add-on
In Development: World of Warcraft Member Roster | [C# Based Forum]

Note - I may take a few days to recieve your email. Hotmail filters all new emails as junk. Would be best to post all questions, concerns in a forum topic to catch my immediate attention. This way others can assist and also correct any similar mistakes.

MSN / E-Mail: ucyimDa_Ruler@Hotmail.com

Personal Bookmarks: How to work a DBS File

Edited by - Zuel on 21 October 2005 11:44:02

AnonJr
Moderator

United States
5768 Posts

Posted - 21 October 2005 :  12:55:52  Show Profile  Visit AnonJr's Homepage
Off the top of my head, if you haven't added anything yet, I'd drop the row and add it back as N_TEXT#text#NULL# - if memory serves me correctly (or at least the 6 cups of coffee...) 'text' will make a memo field which will give you what you need.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 21 October 2005 :  14:51:45  Show Profile  Send ruirib a Yahoo! Message
It should be

N_TEXT#memo#NULL#


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Zuel
Average Member

USA
540 Posts

Posted - 21 October 2005 :  15:01:03  Show Profile  Visit Zuel's Homepage
Works perfectly thanks!

My Completed Mods: News Mod | Zuel's Avatar Add-on
In Development: World of Warcraft Member Roster | [C# Based Forum]

Note - I may take a few days to recieve your email. Hotmail filters all new emails as junk. Would be best to post all questions, concerns in a forum topic to catch my immediate attention. This way others can assist and also correct any similar mistakes.

MSN / E-Mail: ucyimDa_Ruler@Hotmail.com

Personal Bookmarks: How to work a DBS File
Go to Top of Page

Zuel
Average Member

USA
540 Posts

Posted - 21 October 2005 :  15:10:24  Show Profile  Visit Zuel's Homepage
Oh, haven't tried the memo. But his way worked too.

My Completed Mods: News Mod | Zuel's Avatar Add-on
In Development: World of Warcraft Member Roster | [C# Based Forum]

Note - I may take a few days to recieve your email. Hotmail filters all new emails as junk. Would be best to post all questions, concerns in a forum topic to catch my immediate attention. This way others can assist and also correct any similar mistakes.

MSN / E-Mail: ucyimDa_Ruler@Hotmail.com

Personal Bookmarks: How to work a DBS File
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 21 October 2005 :  19:45:35  Show Profile  Visit AnonJr's Homepage
quote:
Originally posted by ruirib

It should be

N_TEXT#memo#NULL#




really? according to the alt. mod guide I had dug up somewhere around here it didn't mention memo as a viable option... just text. Or is the guide in need of an update?
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 21 October 2005 :  19:52:25  Show Profile  Send ruirib a Yahoo! Message
This is what I know: http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=5120


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 22 October 2005 :  04:52:40  Show Profile  Visit modifichicci's Homepage
memo doesn't work in mysql, needs text

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 22 October 2005 :  06:51:05  Show Profile  Send ruirib a Yahoo! Message
quote:
Originally posted by modifichicci

memo doesn't work in mysql, needs text


If you care to take a look at admin_mod_dbsetup.asp, in the MySQL code, you'd see that 'memo' is replaced by 'text'.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 22 October 2005 :  07:13:12  Show Profile  Visit modifichicci's Homepage
I hadn't seen . Thank you.

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 22 October 2005 :  15:03:43  Show Profile  Visit AnonJr's Homepage
quote:
Originally posted by ruirib

This is what I know: http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=5120



Don't know what to tell you. I see in the post it says memo, but in the txt file I downloaded (not sure if it was the same post) it says text ...

But since it worked I guess its a moot point. Maybe if I get the time today I'll dig in the code a little and see what I can see.
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.39 seconds. Powered By: Snitz Forums 2000 Version 3.4.07