On own installation: How to raise the default number limit?

Discussion re sg development. You don't have to be a developer.

On own installation: How to raise the default number limit?

Postby superniemand » Thu Jul 28, 2011 4:08 pm

Hi,

after my own installation is running fine I would like to be able to raise the default number limit (which is currently 20) above that limit.
How do I do that? I found no switch in the config file, so I guess it must be a switch in the modules themselves. A hint / location as to how to raise this limit would be much appreciated.

Thanks
supernierniemand

PS: I really hope everyone is OK and I get at leat a lifesign!
superniemand
 
Posts: 6
Joined: Sat Jul 16, 2011 10:27 pm

Postby josh » Thu Aug 25, 2011 6:44 pm

in the main code, look for:


$mcount = 20 if $mcount > 20;


I think it's in two places. You'd probably also need to make some changes to the web code to support it.
josh
 
Posts: 1371
Joined: Fri Aug 29, 2003 2:28 pm

Postby superniemand » Thu Aug 25, 2011 7:29 pm

Hi Josh,

it's really good to hear from you after all that time. I solved my problem by simply setting these entrys directly via MySQL. After all, tinyint is used in the database, so the limit is lower than what I wanted anyways, so setting this via MySQL seems to be the best sollution for me :-)

Many thanks for the great framework you created. I now run my own instance of spamgourmet and I am quite happy with it..

Greetings
superniemand
superniemand
 
Posts: 6
Joined: Sat Jul 16, 2011 10:27 pm


Return to Developers

Who is online

Users browsing this forum: No registered users and 0 guests

cron