Search found 141 matches

by D Oliveira
2020-02-27 01:37
Forum: Getting Started
Topic: force specific image dimensions for upload? trying to give standardized looks for the app
Replies: 0
Views: 12

force specific image dimensions for upload? trying to give standardized looks for the app

hi all, is there a way to force specific image dimensions for upload? (500x600) trying to give standardized looks for the app, if users keeps uploading images with different sizes it makes the display of table view ugly, so, any clues anyone? :)
by D Oliveira
2020-02-24 04:25
Forum: Getting Started
Topic: help with sql statement, query table based on another table
Replies: 2
Views: 78

Re: help with sql statement, query table based on another table

solution ajax :) you can 'echo' using that 'if statement' to loop through it, if needed. $id = makesafe($_REQUEST['id']); $gp = '325'; sql("UPDATE `membership_userrecords` SET `groupID` = '{$gp}' WHERE `tableName` = 'recipes' AND `pkValue` = '{$id}'", $eo); $sql = "SELECT pkValue FROM membership_use...
by D Oliveira
2020-02-23 20:53
Forum: Getting Started
Topic: help with sql statement, query table based on another table
Replies: 2
Views: 78

Re: help with sql statement, query table based on another table

also, would the statement update all records of 'meals' that have meals.recipes_id = '{$data['id']}' )' or just one single record? need to make sure all records are updated properly
by D Oliveira
2020-02-23 20:26
Forum: Getting Started
Topic: help with sql statement, query table based on another table
Replies: 2
Views: 78

help with sql statement, query table based on another table

Hey guys, what would be the proper way to accomplish that? update a table based on a query of another table ('membership_userrecords' based on 'meals') hooks/recipes.php/after update function: sql("UPDATE membership_userrecords SET `groupID` = '325' WHERE `tableName` = 'meals' AND pkValue = (SELECT ...
by D Oliveira
2020-02-19 03:43
Forum: Tips And Tricks
Topic: [TUTORIAL] HOTMART INTEGRATION - ENABLE PAID SUBSCRIPTIONS FOR YOUR APPGINI APP
Replies: 2
Views: 177

Re: [TUTORIAL] HOTMART INTEGRATION - ENABLE PAID SUBSCRIPTIONS FOR YOUR APPGINI APP

Hello all, hope this helps the community, in this tutorial we are gonna process subscription payment through hotmart and give the user access to your appgini application once payment approved. 1- Create an account with hotmart: https://app-vlc.hotmart.com/ 2- Create a subscription product 3- Go to ...
by D Oliveira
2020-02-18 22:33
Forum: Tips And Tricks
Topic: [TUTORIAL] HOTMART INTEGRATION - ENABLE PAID SUBSCRIPTIONS FOR YOUR APPGINI APP
Replies: 2
Views: 177

[TUTORIAL] HOTMART INTEGRATION - ENABLE PAID SUBSCRIPTIONS FOR YOUR APPGINI APP

Hello all, hope this helps the community, in this tutorial we are gonna process subscription payment through hotmart and give the user access to your appgini application once payment approved. 1- Create an account with hotmart: https://app-vlc.hotmart.com/ 2- Create a subscription product 3- Go to y...
by D Oliveira
2020-02-18 21:56
Forum: Getting Started
Topic: AppGini Showcase
Replies: 43
Views: 41074

Re: AppGini Showcase

here is my latest :)

https://fitbookapp.net/

user: teste
pass: teste
by D Oliveira
2020-02-18 21:54
Forum: Getting Started
Topic: force cache refresh?
Replies: 3
Views: 101

Re: force cache refresh?

Yes, wherever you request a CSS or JS file, pass any unique string as parameter, for example: mytheme.css?rnd=12345678abcdefg or myscript.min.js?tmp=112358 This makes every request for a remote resource unique. Change that random code on every call using PHP or Javascript. Doing it this way, the br...
by D Oliveira
2020-02-18 20:57
Forum: Getting Started
Topic: force cache refresh?
Replies: 3
Views: 101

force cache refresh?

simple question, is there a way to force cache refresh for js files without requiring the user to clear it by himself?
by D Oliveira
2020-02-17 17:32
Forum: Getting Started
Topic: Simfatic Form integrating in AppGini software
Replies: 1
Views: 92

Re: Simfatic Form integrating in AppGini software

Hello guys, This is my first Topic and hoping that someone can help me out with my problem. I have create a form outside the AppGini software. The form is created with ( Simfatic forms) I would like to integrate this in the AppGini software. For example if someone opens the Simfatic form and add in...
by D Oliveira
2020-02-13 13:34
Forum: Getting Started
Topic: auto increment getting string val?
Replies: 3
Views: 169

Re: auto increment getting string val?

UPDATE: yes, 'Not Assigned' was a default value inside appgini application but i have never written that there, my application is in portuguese, maybe by clicking autoincrement in an appgini older version you had 'Not Assigned' to be set as default value, anyway.... removing that FIXED THE ISSUE! th...
by D Oliveira
2020-02-13 13:21
Forum: Getting Started
Topic: auto increment getting string val?
Replies: 3
Views: 169

Re: auto increment getting string val?

Hmm ... where does the 'Not assigned' string in the query come from? Is it specified as a default value for the field in AppGini? Please try going to the admin area > Utilities menu > Rebuild fields ... does the page report any issues in the database? 'not assigned' string comes from appgini standa...
by D Oliveira
2020-02-13 02:30
Forum: Getting Started
Topic: auto increment getting string val?
Replies: 3
Views: 169

auto increment getting string val?

hi, please take a look at these two images, my prinary key “id” is an auto increment integer and works fine on local host, but when uploading the application to server look what happens, somehow the ‘Not Assigned’ value is begin pushed through, that field should be ommited in that statement, any com...
by D Oliveira
2020-02-09 06:16
Forum: Getting Started
Topic: Upload to another server!
Replies: 3
Views: 175

Re: Upload to another server!

no man, linking two separate servers is no easy task at all, nor it can be accomplished without a secure approach, i recommend u get in touch with an experienced developer so this function won't help? function getUploadDir($dir){ global $Translation; if($dir==""){ $dir=$Translation['ImageFolder']; }...
by D Oliveira
2020-02-09 03:51
Forum: Getting Started
Topic: Upload to another server!
Replies: 3
Views: 175

Re: Upload to another server!

make the server mail the file to the other server, then put a pipe script on the other server to save it, tough quest, u need change file permissions set, .htaccess file also When uploading a file, is there a way to have it saved into a folder that's on another server? I think I need to change the v...
by D Oliveira
2020-02-08 19:19
Forum: Getting Started
Topic: Issues with ajax when using AppGini 5.81
Replies: 11
Views: 272

Re: Issues with ajax when using AppGini 5.81

that might be a delay for the on change function [...] I guess this will not be the reason. You are right, that we cannot use jQuery's $j(selector).on("change", ...) -handler for AppGini lookup fields, because lookups are being created dynamically AFTER document ready. There are couple of forum pos...
by D Oliveira
2020-02-08 17:59
Forum: Getting Started
Topic: Issues with ajax when using AppGini 5.81
Replies: 11
Views: 272

Re: Issues with ajax when using AppGini 5.81

that might be a delay for the on change function, try replacing $j('#ProductID-container').on('change', function(){ for $j('#ProductID-container').on('click', function(){ Thanks Jan. I added console.log(data); after success and checked the console, there were no errors, but ajax returned wrong value...
by D Oliveira
2020-02-07 17:23
Forum: Getting Started
Topic: Issues with ajax when using AppGini 5.81
Replies: 11
Views: 272

Re: Issues with ajax when using AppGini 5.81

Thanks D Oliveira. I've tried to implement the code instead of what I have in "ajax-product-price.php" but it returns this now ([object Object]), don't have much of experience in PHP programming so maybe I implemented the code wrong? not getting why the same code works for 5.51 and not for 5.81 :( ...
by D Oliveira
2020-02-06 21:08
Forum: Getting Started
Topic: Blank Page after creating the DB
Replies: 2
Views: 110

Re: Blank Page after creating the DB

Hello everyone, I'm using Appgini 5.30. When I create a new project and upload it to the Database, the appgini tables are not created in Phpmyadmin. I register by entering the data of the db and the admin but then release me a blank page. Can anyone help me solve it? Thanks so much. just create a t...
by D Oliveira
2020-02-06 21:06
Forum: Getting Started
Topic: Issues with ajax when using AppGini 5.81
Replies: 11
Views: 272

Re: Issues with ajax when using AppGini 5.81

I used to have the following code working with version 5.51 but it stopped when switched to 5.81, can't figure why. Using northwind application I have two hooks files: ajax-product-price.php <?php $currDir = dirname(__FILE__) . '/..'; include("$currDir/defaultLang.php"); include("$currDir/language....
by D Oliveira
2020-02-03 19:52
Forum: Getting Started
Topic: How to hide records by Group or user?
Replies: 18
Views: 382

Re: How to hide records by Group or user?

ok, thank you for your help. last try... function damaged_defective_us_after_insert($data, $memberInfo, &$args) { ?> <script> if($j('#vendor_code').val() == '1'){ <?php sql("UPDATE `membership_userrecords` SET `groupID` = '21' WHERE `pkValue` = '{$data['id']}' AND `tableName` = 'damaged_defective_u...
by D Oliveira
2020-02-03 17:33
Forum: Getting Started
Topic: How to hide records by Group or user?
Replies: 18
Views: 382

Re: How to hide records by Group or user?

"id" is correct. I can confirm that the code above is NOT changing the owner of the records after insert or update. Not sure why, but I can tell through Phpmyadmin that the group owner does not change. the above code worked for me, you're gonna have to hire a developer and give them access to your ...
by D Oliveira
2020-02-01 21:29
Forum: Getting Started
Topic: How to hide records by Group or user?
Replies: 18
Views: 382

Re: How to hide records by Group or user?

mgoetze wrote:
2020-02-01 17:41
The core issue that remains is that the owner of the record is not changing to Group 21 when the record is created or updated. My guess is there is something wrong with the pkvalue code string.
it is case sensitive, can you try changing 'id' to 'ID' ?
by D Oliveira
2020-02-01 02:13
Forum: Getting Started
Topic: How to hide records by Group or user?
Replies: 18
Views: 382

Re: How to hide records by Group or user?

I used the code above as a template but when the user logs it says they do not have any permission to view any pages. I tried changing the permission of the group to All for view, edit, and delete, but that didnt help. Somehow the code below locks anyone in group ID 21 from viewing the damaged_defe...