Search found 209 matches

by peebee
2019-05-17 07:43
Forum: Advanced Customizations > Others
Topic: Force password reset 90 days after last change
Replies: 2
Views: 258

Re: Force password reset 90 days after last change

Sory for late reply. Have been sidetracked on another project.

Sounds like a great and relatively simple plan for what I need to achieve. I'll give it a go as soon as time permits. Thanks! Much appreciated.
by peebee
2019-05-08 05:14
Forum: Advanced Customizations > Others
Topic: Force password reset 90 days after last change
Replies: 2
Views: 258

Force password reset 90 days after last change

For purposes of a security audit, I'm looking to implement a function to force a password reset for all users, 90 days after their last password change. How exactly to achive that with minimum fuss and hopefully not requiring further tables/fields is the problem? I'm thinking a cron script might do ...
by peebee
2019-02-17 23:13
Forum: Feature Suggestions
Topic: Updating multiple records using Batch Action
Replies: 2
Views: 263

Re: Updating multiple records using Batch Action

Although I can't actually find an Appgini licence agreement anywhere (?), I'm pretty sure it doesn't have any restriction on editing generated code and that the developer Ahmad has no objection to the editing of (generated) source code. See this: https://forums.appgini.com/phpbb/viewtopic.php?t=743 ...
by peebee
2019-02-17 22:29
Forum: Getting Started
Topic: mask CPF e Tel
Replies: 4
Views: 383

Re: mask CPF e Tel

This jquery mask also works extremely well and includes input validation. I use it myself. https://github.com/RobinHerbots/Inputmask Can be loaded with hooks. Call the jquery.inputmask.bundle.js in your hooks/header-extras.php and include the jquery Inputmask function in your hooks/tablename-dv.js Y...
by peebee
2019-02-11 03:09
Forum: Bugs/annoyances
Topic: Error when generating project with 5.73/5,74
Replies: 3
Views: 286

Re: Error when generating project with 5.73/5,74

What version of PHP are you running? Not sure as I haven't seen lib.php in V5.73 or 5.74 yet but it is possibly an anonymous function causing the error? Anonymous functions are not supported on PHP < 5.3 If that is the problem and if you are running PHP 5.2 or lower, you would be well advised to upg...
by peebee
2019-02-08 05:00
Forum: Advanced Customizations > Others
Topic: Why this provision?
Replies: 13
Views: 785

Re: Why this provision?

Yes, as bescott53 and jsetzer suggested it looks you need to limit the amount of characters viewable per field by entering a value in the "Max characters in table view" box for each field to be shown in the specific table view. See below. screenshot.jpg Or you can control column widths in hooks with...
by peebee
2019-01-30 04:25
Forum: Bugs/annoyances
Topic: Creation and Edit DateTime data not visible in Detail View when set to read only?
Replies: 1
Views: 148

Re: Creation and Edit DateTime data not visible in Detail View when set to read only?

OK, User error after all. :oops: Should have spent a bit more time and worked out what I was doing wrong before posting to save embarrassment. Perhaps it might somebody some time into the future...... What I did wong: The App config is set to display UK short date/time format (30/01/2019 03:15 PM) I...
by peebee
2019-01-30 00:26
Forum: Bugs/annoyances
Topic: Creation and Edit DateTime data not visible in Detail View when set to read only?
Replies: 1
Views: 148

Creation and Edit DateTime data not visible in Detail View when set to read only?

In AggGini V5.72 Use <%%creationDateTime%%> or <%%editingDateTime%%> as Auto default value with DateTime data type. Set field to "Read Only" as prompted by AppGini Creation and Edit date and time is stored correctly in the database and displayed OK in Table View but field is blank in Detail View? Re...
by peebee
2019-01-25 00:59
Forum: Advanced Customizations > Others
Topic: Separate individual Child tables from the Child Tables tabs?
Replies: 5
Views: 424

Re: Separate individual Child tables from the Child Tables tabs?

Thanks pböttcher but sadly not so simple. Required <scripts> from parent-children.php are not loaded without being wrapped in <div id="parenttable-children">. Without that <div>, you just end up with an empty Child panel but no table/data. The problem is of course; adding the <div id="parenttable-ch...
by peebee
2019-01-24 05:48
Forum: Advanced Customizations > Others
Topic: Separate individual Child tables from the Child Tables tabs?
Replies: 5
Views: 424

Separate individual Child tables from the Child Tables tabs?

I have an app with completely customised Detail View templates based on bootstrap tabs/tables. By default, Appgini Child Tables are displayed below the main detail view within their own tabbed format, which is elegant and perfect in most instances. I can move those Child tabs anywhere I want by simp...
by peebee
2019-01-14 23:31
Forum: Getting Started
Topic: Aligning integer field data
Replies: 8
Views: 522

Re: Aligning integer field data

I don't recall how/where the CSS alignment was set for templates in the pre-bootstrap versions of Appgini (and included /style.css file?) but a simple CSS class edit/addition should quickly and easily achieve what you're after. Try using Chrome's built in "Inspect Element" to determine what class yo...
by peebee
2019-01-02 22:27
Forum: Advanced Customizations > Hooks
Topic: [Need Help] JS Disable Select2 Not Working
Replies: 15
Views: 1538

Re: [Need Help] JS Disable Select2 Not Working

Not sure if this is going to help in every situation but are you aware that replacing <%%COMBO(fieldname)%%> in the desired template with <%%COMBOTEXT(fieldname)%%> returns a readonly text output for select2 dropdowns? https://forums.appgini.com/phpbb/viewtopic.php?t=1110 https://forums.appgini.com/...
by peebee
2018-12-21 01:13
Forum: Tips And Tricks
Topic: Get user mail to send a result
Replies: 2
Views: 281

Re: Get user mail to send a result

$memberInfo is an associative array containing logged member's info $memberInfo['email']: the email address of the member See here: https://bigprof.com/appgini/help/advanced-topics/hooks/memberInfo-array See here for example usage: https://bigprof.com/appgini/help/advanced-topics/hooks/table-specifi...
by peebee
2018-12-19 04:51
Forum: Advanced Customizations > Others
Topic: Don't rename image files
Replies: 4
Views: 574

Re: Don't rename image files

I didn't actually try out what I posted as I always rename uploads (to save duplicate file name issues and also for security reasons). I am imagining that if you use the file upload checkbox, you will likely not end up with thumbnail images but more likely a downloadable link? I haven't got time to ...
by peebee
2018-12-19 01:50
Forum: Bugs/annoyances
Topic: Time for prototype.js to retire
Replies: 2
Views: 262

Re: Time for prototype.js to retire

Just to add to the my own post above. You can fix some (if not all?) Prototype conflicts by adding the following to your hooks/header-extras.php I've tested and fixes my bootstrap issues at least. No apparent negative effects at this stage. Not tested in all browsers however...... <script> jQuery.no...
by peebee
2018-12-19 01:31
Forum: Bugs/annoyances
Topic: Time for prototype.js to retire
Replies: 2
Views: 262

Time for prototype.js to retire

I see current version of Appgini is still loading prototype.js (resources/lightbox/js - Prototype V1.7.1) Prototype is know to have several conflicts with both Bootstrap and select2 (I see some fixes have been added to common.js.php & dynamic.css.php in the current Appgini to remedy some conflicts) ...
by peebee
2018-12-19 00:40
Forum: Advanced Customizations > Others
Topic: Don't rename image files
Replies: 4
Views: 574

Re: Don't rename image files

When selecting image/file upload option for a field you will be presented with the popup dialogue box below. Check the "Don't rename uploaded files" checkbox. Done.
screenshot3.jpg
screenshot3.jpg (133.44 KiB) Viewed 565 times
by peebee
2018-12-10 03:04
Forum: Bugs/annoyances
Topic: Detail View Uncaught Reference Error
Replies: 6
Views: 583

Re: Detail View Uncaught Reference Error

I suspect your /common.js file may also not be the current version?

I'd suggest generate a fresh set of AppGini files and make sure ALL of the .js files (common.js and resources/jquery/js) are all overwritten with the latest version
by peebee
2018-11-21 01:01
Forum: Bugs/annoyances
Topic: Password and session management within AppGini
Replies: 6
Views: 2245

Re: Password and session management within AppGini

Just wondering how far off AppGini 5.73 with enhanced password/session security is from release?

Thanks
by peebee
2018-05-03 04:35
Forum: Getting Started
Topic: Receiving this Error message
Replies: 6
Views: 1111

Re: Receiving this Error message

What is your session name? Have a look for this line below in the generated lib.php at around line 76. That's where your Users session ID is set. @session_name('what-is-here'); For Admin, you will also have to find the same line in admin/incCommon.php, at around line 54 @session_name('what-is-here')...
by peebee
2018-02-20 00:47
Forum: Bugs/annoyances
Topic: Embedding AppGini into website
Replies: 5
Views: 2057

Re: Embedding AppGini into website

Wow, must have posted at the same time. Pity, should have waited and I could have saved myself some time typing the reply... :-)
by peebee
2018-02-20 00:46
Forum: Bugs/annoyances
Topic: Embedding AppGini into website
Replies: 5
Views: 2057

Re: Embedding AppGini into website

I haven't actually tried V5.70 yet so I am guessing at this but..... X-Frame-Options to prevent clickjacking must have been added to the new Appgini code output. It is actually a good thing from a security point of view and one of the basics in penetration testing of databases. You can read more her...
by peebee
2018-01-31 07:10
Forum: Advanced Customizations > Hooks
Topic: File download restriction.
Replies: 4
Views: 1644

Re: File download restriction.

baudwalker - to allow PDF ONLY upload, you can do one of two things: 1. To generate the code to restrict uploads of PDF only through AppGini itself; edit the \appgini\add-ons\fileTypes.cfg file. Add a new line in the cfg file under existing lines with just the file type pdf. You'll then see the PDF ...