| Author |
Message |
Slackervaara
Newbie


Joined: Nov 03, 2007
Posts: 127
|
Posted:
Sun Mar 16, 2008 10:26 am |
|
The newsletter is really a fantastic program, I must say. The only feature I miss is the possibility to show more than 99 of the latests posts in the forum. My site is pretty big, so it happens that there are more than 99 active topics in the forum per week. |
| |
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 1360
|
Posted:
Sun Mar 16, 2008 10:43 am |
|
Yes, I never anticipated a need for this large number of posts. This is quite easy to change. Within this script:
modules\HTML_Newsletter\admin\admin.php
find:
//Latest News
and for each of the ones you want to change, simply change the maxlength=\"2\" to maxlength=\"3\"
I am not validating the size as this is an admin function and if you don't trust your admins....  |
_________________ “To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins |
|
|
 |
Slackervaara
Newbie


Joined: Nov 03, 2007
Posts: 127
|
Posted:
Sun Mar 16, 2008 11:25 am |
|
Thanks for the rapid response!
I could not find
//Latest Forums in the code but instead //Latest Weblinks twice, but I found the code for Forums and changed it as suggested to: maxlength=\"3\" , but this was not enough and I had to change: size=\"2\ to size=\"3\ . It is working perfectly now for forum posts above 99. |
| |
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 1360
|
Posted:
Sun Mar 16, 2008 10:07 pm |
|
size=2 would have worked too, but it would have just looked funny on the page as you typed. Glad you got it working. |
_________________ “To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins |
|
|
 |
Slackervaara
Newbie


Joined: Nov 03, 2007
Posts: 127
|
Posted:
Mon Mar 17, 2008 4:01 am |
|
No, size 2 did not work for me, because it was only possible to write two digits in the box then, like 99. but with size 3 I could write 100 without problems. |
| |
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 1360
|
Posted:
Mon Mar 17, 2008 8:19 am |
|
That is weird. "Size" only controls the physical dimensions of the text box, not how much can be entered into it. Are you sure that you were just not seeing the numbers? "Maxlength" is what controls the number of characters that can be entered into the text box.
Anyways, glad things are working now as you like.
Also, thanks for pointing out the issue with my commenting. Sorry about that. |
_________________ “To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins |
|
|
 |
Slackervaara
Newbie


Joined: Nov 03, 2007
Posts: 127
|
Posted:
Mon Mar 17, 2008 10:03 am |
|
I have rechecked everything and you were absolutely right. It works now with
maxlength 3 only. Sorry, about this, but the update of the file must have failed in some way. |
| |
|
|
 |
|
|