How to increase characters accepted in the submission blanks

Can't get it installed? Not sure how a feature works? Then post here.

How to increase characters accepted in the submission blanks

Postby multig » 2012-02-29 12:09 pm

I have tried increasing the maxlenght at the script of the join_form.Tpl file:

Code: Select all
<input name="url" type="text" size="50" maxlength="75" value="http://">
</td></tr><tr><td>
<#lng{'g_title'}>
</td><td>
<input name="title" type="text" size="50" maxlength="32">
</td></tr><tr><td>
<#lng{'g_description'}>
</td><td>
<input name="description" type="text" size="50" maxlength="255">
</td></tr><tr><td>
<#lng{'g_email'}>
</td><td>
<input name="email" type="text" size="50" maxlength="70">
</td></tr><tr><td>
<#lng{'g_password'}>
</td><td>
<input name="password" type="password" size="50" maxlength="32">


but without results……There is another change to do in this and/or other file script?

Thanks.
multig
Advanced Member
 
Posts: 44
Joined: 2006-08-20 03:25 pm

Re: How to increase characters accepted in the submission bl

Postby multig » 2012-03-06 11:55 am

Some reply to this post?
multig
Advanced Member
 
Posts: 44
Joined: 2006-08-20 03:25 pm

Re: How to increase characters accepted in the submission bl

Postby OS-Mark » 2012-03-06 05:34 pm

you will need to edit the database structure for this.

using a tool like phpmyadmin, alter the "description" field on the "ats_sites" table from varchar(255) to text(999)
CSS / HTML / Aardvark Stuff
VisioList - A Paid Fork Of The Worlds Best Topsite: Aardvark Topsites
Why VisioList? Fast, timely support. Constant updates and improvements, modification plugins for smooth upgrades and more!
OS-Mark
Advanced Member
 
Posts: 545
Joined: 2005-05-02 01:37 am
Location: Canada

Re: How to increase characters accepted in the submission bl

Postby multig » 2012-03-06 06:14 pm

Thanks OS-Mark,

I found what you said at the "asb_members" table (there is no "ats_sites" table, may be due the topsites version 4.2.2).

I just increase the length/values but keeping the same "varchar" without changing it to "text"..........and it worked too.

So, which is the reason to change from "varchar" to "text"?

And other question: What the camp "jointime" is for?
multig
Advanced Member
 
Posts: 44
Joined: 2006-08-20 03:25 pm

Re: How to increase characters accepted in the submission bl

Postby OS-Mark » 2012-03-06 07:30 pm

in older MySQL version varchar was limited to 255, so switching to text would work for those using old versions.

jointime is the time the user joined...

PS. for security reasons, you really should update to the latest version of aardvark topsites as soon as possible. Its also a far superior product than the old 4.x series..
CSS / HTML / Aardvark Stuff
VisioList - A Paid Fork Of The Worlds Best Topsite: Aardvark Topsites
Why VisioList? Fast, timely support. Constant updates and improvements, modification plugins for smooth upgrades and more!
OS-Mark
Advanced Member
 
Posts: 545
Joined: 2005-05-02 01:37 am
Location: Canada

Re: How to increase characters accepted in the submission bl

Postby multig » 2012-03-07 10:27 am

Yes, one of these days I'll upgrade to the latest one in that moment.

I'm not clear about "jointime"....It is the limited time that a new member can waste while joining?......And it is in seconds or in minutes?

In my case it is setted INT 10........if it is 10 seconds it looks like too low.
multig
Advanced Member
 
Posts: 44
Joined: 2006-08-20 03:25 pm

Re: How to increase characters accepted in the submission bl

Postby OS-Mark » 2012-03-07 12:32 pm

jointime would be the date/time the member joined, there is no other logical use for this. I have no idea what format that old version used but I would suspect its unix timestamp
CSS / HTML / Aardvark Stuff
VisioList - A Paid Fork Of The Worlds Best Topsite: Aardvark Topsites
Why VisioList? Fast, timely support. Constant updates and improvements, modification plugins for smooth upgrades and more!
OS-Mark
Advanced Member
 
Posts: 545
Joined: 2005-05-02 01:37 am
Location: Canada

Re: How to increase characters accepted in the submission bl

Postby multig » 2012-03-07 01:04 pm

Thanks so much OS-Mark.

I've surfed around your sites and find them quite interesting.
multig
Advanced Member
 
Posts: 44
Joined: 2006-08-20 03:25 pm


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 3 guests

cron