Search found 139 matches

by bescott53
2019-12-02 10:25
Forum: Advanced Customizations > Others
Topic: KoolReport
Replies: 2
Views: 143

Re: KoolReport

Hi Hugo, I just came across this at the weekend,not tried to integrate yet but i will let you know how i get on in the next few weeks
by bescott53
2019-12-01 18:49
Forum: Advanced Customizations > Others
Topic: Language file
Replies: 3
Views: 123

Re: Language file

Olaf, not sure I understand your suggestion. the variable used in the language file %s is for the username. I do not see how hard coding a line of text will give me the custom1?

Code: Select all

'Hello %s!'
by bescott53
2019-11-27 12:55
Forum: Advanced Customizations > Others
Topic: Language file
Replies: 3
Views: 123

Language file

Hi board, looking in the language file, at the membership profile translations:

Code: Select all

$Translation['Hello User'] = 'Hello %s!';
how do i change this to show the custom 1 entry, where do i find the variables used. I looked into the /admin/incFunctions.php but couldnt see it in there.
by bescott53
2019-11-07 09:33
Forum: Advanced Customizations > Hooks
Topic: Record CSV Downloads
Replies: 1
Views: 132

Record CSV Downloads

is it possible to record in a table what someone has downloaded using csv?
by bescott53
2019-10-03 16:15
Forum: Advanced Customizations > Hooks
Topic: Select Top n Records
Replies: 0
Views: 625

Select Top n Records

Hi There, I am hoping there is a way to select the Top N records.

I want to create a drop down with entries for Top5, Top10, Top20.

Is there way once this is selected then it restricts the records to 5, 10 or 20?
by bescott53
2019-08-30 10:25
Forum: Advanced Customizations > Hooks
Topic: Pull Data from a table into an array
Replies: 4
Views: 749

Re: Pull Data from a table into an array

works like a dream! thank you
by bescott53
2019-08-23 11:01
Forum: Advanced Customizations > Hooks
Topic: Pull Data from a table into an array
Replies: 4
Views: 749

Pull Data from a table into an array

Hi Board! I am trying to pull all entries from a table into an array and restrict the access of the CSV download to this array. here is what i have but its not working, anyone no why? function access_init(&$options, $memberInfo, &$args){ $sql_csvusers = array(sql("select `id` FROM `csv_allowed`")); ...
by bescott53
2019-08-20 09:51
Forum: Bugs/annoyances
Topic: membership tables
Replies: 5
Views: 590

Re: membership tables

Olaf, I did recreate the user but no difference.

Jsetzer, there is a large custom 2 but not sure if that would cause an issue but i will change to see if this is the issue.
by bescott53
2019-08-20 09:07
Forum: Bugs/annoyances
Topic: membership tables
Replies: 5
Views: 590

Re: membership tables

Hi Olaf,no i didn't change anything and all other users are updating properly except the latest one?
by bescott53
2019-08-19 09:27
Forum: Bugs/annoyances
Topic: membership tables
Replies: 5
Views: 590

membership tables

I have an issue where new members are being added to the members table but when the create records the records PK is not stored in the membership_userrecords table?

I have 180 users, is there a limit?
by bescott53
2019-08-17 20:45
Forum: Advanced Customizations > Hooks
Topic: Security, forced logout
Replies: 5
Views: 481

Re: Security, forced logout

jmcgov, there is an old post about this here: viewtopic.php?f=4&t=40

you might find it useful
by bescott53
2019-08-14 10:54
Forum: Advanced Customizations > Others
Topic: Slow App
Replies: 0
Views: 566

Slow App

Hi everyone, my app is running a bit slow. I have indexed tables etc in Mysql but think the issue may be the uploads that go into the images folder.

I currently have around 750mb of data that has been uploaded into here, would this slow the app down? If so do you know how I get round this?
by bescott53
2019-08-14 09:55
Forum: Feature Suggestions
Topic: Users in Multiple Groups
Replies: 3
Views: 785

Users in Multiple Groups

Hi Ahmed, do you have any update on where you are with updating AppGini to allow users to be in more than one group at a time?
by bescott53
2019-05-10 09:34
Forum: Advanced Customizations > Others
Topic: Force password reset 90 days after last change
Replies: 2
Views: 590

Re: Force password reset 90 days after last change

Hi, you need to setup a few things first if you have a `logins` table that records who/when a user last logs in. look at this link here - https://forums.appgini.com/phpbb/viewtopic.php?f=4&t=1369&p=6121&hilit=log+in#p6121 then you can create a view by selecting those members whose login is > 90days,...
by bescott53
2019-04-30 09:28
Forum: Advanced Customizations > Hooks
Topic: Update only if in a specific group
Replies: 3
Views: 352

Re: Update only if in a specific group

pbottcher, jsetzer thanks, here is the final code that worked function commission_approvals_before_update($data, $memberInfo, &$args){ if($memberInfo['groupID']!='3'){ $id=makesafe($data['selectedID']); $complete=sqlValue("select ClaimCompleted from commission_approvals where refnum='" . $id. "'"); ...
by bescott53
2019-04-28 12:23
Forum: Advanced Customizations > Hooks
Topic: Update only if in a specific group
Replies: 3
Views: 352

Update only if in a specific group

Hello board, Ian trying to stop an update from happening if the user is. It in a certain group. It doesn’t seem to work, can someone help? function commission_approvals_before_update($data, $memberInfo, &$args){ if($memberinfo['groupID']!='3'){ $id=makesafe($selectedID); $complete=sqlValue("select `...
by bescott53
2019-03-27 14:35
Forum: Advanced Customizations > Others
Topic: Custom Default Automatic Value
Replies: 2
Views: 487

Re: Custom Default Automatic Value

if you take a look at the /incCommon.php file and go to the function parseCode. you should be able to add it from there? '<%%creatorFullname%%>' => sqlValue("select membership_users.custom1 where memberID=' {$_SESSION['custom1']}'") IMPORTANT - this is a file that is overwritten so maybe someone can...
by bescott53
2019-03-27 12:20
Forum: Advanced Customizations > Others
Topic: Default Filter Based on logged in member
Replies: 1
Views: 304

Default Filter Based on logged in member

Hello everyone, is there a way to apply a default filter based on who has looged in? I have a table called people and another actions, what i want is to be able to filter the actions for 1 logged in member to see all actions entered by other users who have a title of RET Operations in the people tab...
by bescott53
2019-03-22 12:39
Forum: Advanced Customizations > Others
Topic: Import CSV as ordinary user
Replies: 2
Views: 436

Import CSV as ordinary user

Hi there, i am wanting to give access to admin/pageUploadCSV.php to a couple of ordinary users (dont want to give them admin access)

I copied over the page from admin, updated the header includes/required but i am getting a 500 error, has anyone done this before?
by bescott53
2019-03-08 13:15
Forum: Tips And Tricks
Topic: Multiple Super Admins?
Replies: 2
Views: 590

Re: Multiple Super Admins?

Sure, nycwebmaster, go to incfunctions.php in the Admin folder locate the Function get logged admin and update to this function getLoggedAdmin(){ // checks session variables to see whether the admin is logged or not // if not, it returns FALSE // if logged, it returns the user id $adminConfig = conf...
by bescott53
2019-02-13 21:19
Forum: Advanced Customizations > Others
Topic: Drop-down Field and Upload field same line
Replies: 11
Views: 1277

Re: Drop-down Field and Upload field same line

You could change the /templates/yourtable.DV.php file. but one issue with this is that any changes you make will be overwritten Avan. If you post some of your code from the /templates/yourtable.DV.php it may help to point you in the right direction
by bescott53
2019-02-13 14:39
Forum: Advanced Customizations > Others
Topic: Drop-down Field and Upload field same line
Replies: 11
Views: 1277

Re: Drop-down Field and Upload field same line

Avan, I explained where to put this go to your hooks folder first /hooks. You then need to look for the tablename.php file where tablename is the name of your table. once you have found the file open it and scroll down until you see the following function function table_dv where table is the name of...