Search found 382 matches

by webform
Sat Jan 16, 2021 10:21 pm
Forum: Modules/Add-Ons
Topic: FormBuilder Using a Pulldown from UDT
Replies: 1
Views: 30

Re: FormBuilder Using a Pulldown from UDT

I think i've figured it out; I'm creating an User Defined Tag named height_dropdown : $form_id = isset($params['form_id']) ? $params['form_id'] : ''; $string = '<select class="form-control" name="' . $form_id . '" id="height_dropdown">' . PHP_EOL; $string .= '<option selected="" value="">Choose one<...
by webform
Sat Jan 16, 2021 9:52 pm
Forum: Modules/Add-Ons
Topic: FormBuilder Using a Pulldown from UDT
Replies: 1
Views: 30

FormBuilder Using a Pulldown from UDT

Is there a clever way i can get a Pulldown in FormBuilder without manually have to create all the +100 Pulldown Options? I need a Pulldown with a numeric range between 60 - 230 and it would be cumbersome to add Pulldown Options one by one by hand. I've tried to make a numeric range pulldown as an UD...
by webform
Sat Jan 09, 2021 4:14 pm
Forum: Modules/Add-Ons
Topic: CGFEURegister/FrontEndUsers insert serial number on creation
Replies: 4
Views: 324

Re: CGFEURegister/FrontEndUsers insert serial number on creation

Yes, you're right, Velden.

{$entry->id} was available in the admin_userlist.tpl template.
by webform
Fri Jan 08, 2021 7:59 pm
Forum: Modules/Add-Ons
Topic: FrontEndUsers dropdown inserts invisible character
Replies: 1
Views: 71

Re: FrontEndUsers dropdown inserts invisible character

OK! I've found the problem. after searching high and low.

I've changed cms_html_entity_decode to html_entity_decode and now dropdowns handle values correctly.
by webform
Thu Jan 07, 2021 7:10 pm
Forum: Modules/Add-Ons
Topic: Back button on CGUserDirectory search gives form warning
Replies: 1
Views: 54

Re: Back button on CGUserDirectory search gives form warning

It happens as CGUserDirectory search uses POST in submitting the form. And using the back button gives a warning in the browser. I've solved it but changing POST to GET in the search template. Maybe not the prettiest solution, but it works for now: {$formstart|replace:'method="post"':'method="get"'}
by webform
Wed Jan 06, 2021 12:25 am
Forum: Modules/Add-Ons
Topic: Back button on CGUserDirectory search gives form warning
Replies: 1
Views: 54

Back button on CGUserDirectory search gives form warning

When a user does a search in CGUserDirectory, click on details for a user and then click the back button to go back to the search results, gets a browser warning asking to confirm reloading the page search form. There doesn't seem to be a back functionality built into CGUserDirectory detail view, so...
by webform
Sun Jan 03, 2021 5:57 pm
Forum: Modules/Add-Ons
Topic: FrontEndUsers dropdown inserts invisible character
Replies: 1
Views: 71

FrontEndUsers dropdown inserts invisible character

I'm trying to create a dropdown user property in FrontEndUsers 2.14.3.4 , but i've noticed that every carriage return for a value get inserted with an invisible character, which mess up the value, so the value inserted in the database is not "10" but "10 ". When i edit the property i can see the inv...
by webform
Sat Jan 02, 2021 2:41 pm
Forum: Modules/Add-Ons
Topic: FrontEndUsers import dates into a User Property
Replies: 3
Views: 78

Re: FrontEndUsers import dates into a User Property

OK! Some further test shows it seems not to matter if the date is imported to a User Property (Type Text) as an Unix Timestamp or like YYYY-MM-DD format. As soon i convert the User Property (Type Text) to Type Date it looks to output the correct birthdate for the user. The question now is what is th...
by webform
Sat Jan 02, 2021 12:31 pm
Forum: Modules/Add-Ons
Topic: FrontEndUsers import dates into a User Property
Replies: 3
Views: 78

Re: FrontEndUsers import dates into a User Property

I think i maybe found a workable work-around; Create a User Property in FEU and set it as Type Text. Convert birthdays in the import file to a Unix Timestamp. Import the users. Convert the User Property in FEU to Type Date. My little test sample seems to convert to the correct birthday for the user,...
by webform
Sat Jan 02, 2021 11:52 am
Forum: Modules/Add-Ons
Topic: FrontEndUsers import dates into a User Property
Replies: 3
Views: 78

FrontEndUsers import dates into a User Property

I have to import a file of new users to FEU and one FEU User Property is a date field (birthday), but FEU won't let me import dates past 1970-01-02. Is where a work-around so i can import users with birthdays before 1970-01-02? I've tried different formatting including using Unix Timestamp but to no...
by webform
Mon Dec 14, 2020 4:00 pm
Forum: Modules/Add-Ons
Topic: Error loading CGUserDirectory in admin
Replies: 5
Views: 191

Re: Error loading CGUserDirectory in admin

I had the same thought and tried to downgrade PHP to 7.3, which is the lowest version on the server, but i didn't help either.

Only the "hack" to the core function file seems to correct the error.
by webform
Mon Dec 14, 2020 2:58 pm
Forum: Modules/Add-Ons
Topic: Error loading CGUserDirectory in admin
Replies: 5
Views: 191

Re: Error loading CGUserDirectory in admin

Hmm! A downgrade to FEU 2.14.3.4. didn't help. CGUserDirectory still only partial loads (even after a reinstall). There must be something else causing the problem, maybe CGExtensions? (I can't load "Import Users" in FEU either). This Bug Report for FEU solve the "Import User" error and if i do the e...
by webform
Mon Dec 14, 2020 9:54 am
Forum: Modules/Add-Ons
Topic: Error loading CGUserDirectory in admin
Replies: 5
Views: 191

Re: Error loading CGUserDirectory in admin

No FEU is 3.x on the new site and 2.x on the old site.

I'l try to downgrade and see if it helps!
by webform
Mon Dec 14, 2020 3:26 am
Forum: Modules/Add-Ons
Topic: Error loading CGUserDirectory in admin
Replies: 5
Views: 191

Error loading CGUserDirectory in admin

I not sure whats going on but i've installed CGUserDirectory on a site and the module does only partial load in admin. (only html body loads). I've also have same version CMSMS, PHP, CGUserDirectory and CGExtensions on a different website and host and here CGUserDirectory loads with no problems ??? ...
by webform
Mon Dec 14, 2020 2:01 am
Forum: Modules/Add-Ons
Topic: CGFEURegister/FrontEndUsers insert serial number on creation
Replies: 4
Views: 324

Re: CGFEURegister/FrontEndUsers insert serial number on creation

Cool! Thanks! ;D

Yes, it is FEU 3.x but i guess it should be similar. I'll play around with it and see if i can get it to work.

Go to advanced search