Search found 372 matches
- Mon Nov 02, 2020 11:49 pm
- Forum: General Discussion
- Topic: recommended max records per table
- Replies: 2
- Views: 272
Re: recommended max records per table
Thanks again for yet another detailed response, JoMorg. At this point, you put more work into this module than I have. :) While the scope of the project isn't fully clear yet, I feel more confident it will work regardless of what they throw at me. Very good point about shared hosting, though. That's...
- Mon Nov 02, 2020 12:59 am
- Forum: General Discussion
- Topic: recommended max records per table
- Replies: 2
- Views: 272
recommended max records per table
I am looking into writing a module to record timesheets for employees (and process them via export to external software). Each workday would create a record, per employee. If I only record the actual days worked, I have about 200 records per employee, per year. A company of 50 employees would theref...
- Fri Oct 23, 2020 2:43 am
- Forum: Modules/Add-Ons
- Topic: Form Browser strips out text formating
- Replies: 3
- Views: 343
Re: Form Browser strips out text formating
Check your templates and pages and remove any {strip} blocks. also, if content is stored in variable {$content|strip} will also remove those line breaks.
- Tue Aug 11, 2020 1:01 am
- Forum: Modules/Add-Ons
- Topic: FEU new property does not show immediately
- Replies: 0
- Views: 1061
FEU new property does not show immediately
hi when I add a property to FEU and assign to a group, these properties are not added to the user until the changesettings form (via frontend) is submitted, or the user is modified in the backend. There's a new entry in table "module_feusers_propdefn" but nothing in "module_feusers_properties". Is t...
- Tue Aug 04, 2020 9:32 pm
- Forum: Modules/Add-Ons
- Topic: Change single setting in FEU
- Replies: 5
- Views: 1099
Re: Change single setting in FEU
Yes, process_pagedata is called before assigning first content block. I use the "Smarty data or logic that is specific to this page" section on many other pages and it works fine. I since reported this as bug (maybe prematurely) . But I managed to work around it with a small modification to core mod...
- Tue Aug 04, 2020 4:00 pm
- Forum: Modules/Add-Ons
- Topic: Change single setting in FEU
- Replies: 5
- Views: 1099
Re: Change single setting in FEU
i tried in "Smarty data or logic that is specific to this page" with no luck.
Code: Select all
{cms_module_hint module=FrontEndUsers changesettingstemplate='feu_change_single_field.tpl'}
- Tue Aug 04, 2020 4:12 am
- Forum: Modules/Add-Ons
- Topic: Change single setting in FEU
- Replies: 5
- Views: 1099
Re: Change single setting in FEU
I since found a bug report that sounds related, but CG marked as 'works for me'. http://dev.cmsmadesimple.org/bug/view/12268 i think the chance settings script runs twice, first time using the default orig_changesettings template, and second time my custom template. When I changed the reference to t...
- Tue Aug 04, 2020 1:37 am
- Forum: Modules/Add-Ons
- Topic: Change single setting in FEU
- Replies: 5
- Views: 1099
Change single setting in FEU
Hi, I'm trying to use FEU to keep records of employees. e.g. working at height ticket expiry dates, first aid expiry date, etc. most of this is entered/update via back end. Now, some settings I want to change via front-end "change settings", e.g. "I have read this document and agree to it." my page ...
- Thu May 21, 2020 8:26 pm
- Forum: Modules/Add-Ons
- Topic: FEU: protected part of a page
- Replies: 6
- Views: 849
Re: FEU: protected part of a page
i'm not sure i understand exactly what you are trying to do, but you can get the current userid Then place your content inside Untested.
Code: Select all
{$currentUserId=feu_smarty::get_current_userid()}
Code: Select all
{if $currentUserId == 123}blah{/if}
- Thu May 14, 2020 11:41 pm
- Forum: Developers Discussion
- Topic: database connection errors
- Replies: 3
- Views: 2020
Re: database connection errors
i have since seen the access logs. while i didn't see a pattern, there's one IP that just went nuts with requests. and many of these had not so random parameters, urlencoded queries like (decoded:) /**/AND/**/(SELECT/**/5983/**/FROM(SELECT/**/COUNT(*),CONCAT(0x7170706a71,(SELECT/**/(ELT(5983=5983,1)...
- Thu May 14, 2020 4:50 am
- Forum: Developers Discussion
- Topic: database connection errors
- Replies: 3
- Views: 2020
database connection errors
If have a problematic site with frequent errors in CMSMS error log: user xxx has exceeded the max_user_connections ... I spoke to host, and they by now successfully updated it. so there's no immediate drama. However, the errors were logged on random times, mostly over night. Initially, I did not pay...
- Sat Apr 18, 2020 8:51 am
- Forum: Modules/Add-Ons
- Topic: Can FEU module prevent deep linking of files?
- Replies: 8
- Views: 959
Re: Can FEU module prevent deep linking of files?
i put files that i don't want to share outside the webroot, hence they cannot be linked to. here's a PHP script that lists all the subfolders and files in those subfolders inside a directory named employees, but the link points to a script and the file and path are query variables. there are probabl...
- Sat Mar 07, 2020 6:30 pm
- Forum: Modules/Add-Ons
- Topic: FEU 3x for CMSMS 2.3 upwards only ?
- Replies: 2
- Views: 601
Re: FEU 3x for CMSMS 2.3 upwards only ?
I'm using FEU3.2 on 2.2.13. i only have a very basic setup, but no problems to report.
- Thu Feb 27, 2020 4:21 pm
- Forum: Modules/Add-Ons
- Topic: CGCalendar display calendar OK, no items display in any list
- Replies: 3
- Views: 614
- Tue Feb 18, 2020 12:37 am
- Forum: Modules/Add-Ons
- Topic: FEU 3.2 and CMSMS 2.2.13 and admin log
- Replies: 0
- Views: 448
FEU 3.2 and CMSMS 2.2.13 and admin log
Until recently, I had an entry in the admin log every time a front end user logged in. This is now no longer the case. I do not know whether the FEU upgrade or the CMSMS upgrade caused this to change. I can also imagine that this behaviour is intended. Some websites may have lots of users. In my cas...