Search found 370 matches

by rotezecke
Fri Oct 23, 2020 2:43 am
Forum: Modules/Add-Ons
Topic: Form Browser strips out text formating
Replies: 3
Views: 61

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.
by rotezecke
Tue Aug 11, 2020 1:01 am
Forum: Modules/Add-Ons
Topic: FEU new property does not show immediately
Replies: 0
Views: 704

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...
by rotezecke
Tue Aug 04, 2020 9:32 pm
Forum: Modules/Add-Ons
Topic: Change single setting in FEU
Replies: 5
Views: 956

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...
by rotezecke
Tue Aug 04, 2020 4:00 pm
Forum: Modules/Add-Ons
Topic: Change single setting in FEU
Replies: 5
Views: 956

Re: Change single setting in FEU

i tried

Code: Select all

{cms_module_hint module=FrontEndUsers changesettingstemplate='feu_change_single_field.tpl'}
in "Smarty data or logic that is specific to this page" with no luck.
by rotezecke
Tue Aug 04, 2020 4:12 am
Forum: Modules/Add-Ons
Topic: Change single setting in FEU
Replies: 5
Views: 956

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...
by rotezecke
Tue Aug 04, 2020 1:37 am
Forum: Modules/Add-Ons
Topic: Change single setting in FEU
Replies: 5
Views: 956

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 ...
by rotezecke
Thu May 21, 2020 8:26 pm
Forum: Modules/Add-Ons
Topic: FEU: protected part of a page
Replies: 6
Views: 687

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

Code: Select all

{$currentUserId=feu_smarty::get_current_userid()}
Then place your content inside

Code: Select all

{if $currentUserId == 123}blah{/if}
Untested.
by rotezecke
Thu May 14, 2020 11:41 pm
Forum: Developers Discussion
Topic: database connection errors
Replies: 3
Views: 1852

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)...
by rotezecke
Thu May 14, 2020 4:50 am
Forum: Developers Discussion
Topic: database connection errors
Replies: 3
Views: 1852

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...
by rotezecke
Sat Apr 18, 2020 8:51 am
Forum: Modules/Add-Ons
Topic: Can FEU module prevent deep linking of files?
Replies: 8
Views: 781

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...
by rotezecke
Sat Mar 07, 2020 6:30 pm
Forum: Modules/Add-Ons
Topic: FEU 3x for CMSMS 2.3 upwards only ?
Replies: 2
Views: 525

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.
by rotezecke
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: 394

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...
by rotezecke
Sun Feb 09, 2020 6:15 pm
Forum: Modules/Add-Ons
Topic: FEU 3.2 import and manage problems
Replies: 1
Views: 384

Re: FEU 3.2 import and manage problems

php error logs may hold clues. also, another user suggests a fix to the import part in the bug reports http://dev.cmsmadesimple.org/bug/list/1 ... osed=false
by rotezecke
Tue Feb 04, 2020 6:24 pm
Forum: CMSMS Core
Topic: Customizing news module backend with Jquery
Replies: 2
Views: 508

Re: Customizing news module backend with Jquery

i assume that on edit, the event is load, not change.

Code: Select all

  $('select').on('load change',function(e) { 
    //your code
  } );

Go to advanced search