Developing (v7+)

Sorting by custom field

I'm trying the following: [code] use Concrete\Core\User\UserList; $list = new UserList(); $list->sortBy('sponsor'); $endlist = $list->getResults(); [/code] But it errors out as it can't see the custom field 'sponsor'. Do I need…

show custom error/info message on login page

hello every one, I have a requirement to show custom error/success message on login page. the message will be show based on when user password has expired. The logic Is running inside on_user_login event. when user tries to login, first will be che…

Event does not fire on_user_deactivate

hello everyone, I have a requirement, send an email to the user, and deleted his login attempts from the "userloginattempts" table. both functionalities will be called on the deactivate account. I have written some code in the \application\bootstrap\…

8.5.2 UserList Issues

I apologize in advance if this is a a stupid question and for the long post. I've looked carefully at the documentation and I am struggling with the UserList. I'm attempting to look up a user by a custom attribute. This is what i have so far I'm…

Locally hosted website testing

Hi Everyone, I am building a new website but before hosting it I want to make sure it works fine on all major browsers. I am trying LambdaTest tool for the same, however connecting tunnel seems to be an issue. Can someone help me here. https://www.lamb…

phpass PasswordHash timing out

Hi everyone, I'm hoping someone can help me out. I have a site running on Concrete 5.8.2 and I'm getting the following error in my server error logs. [Thu Sep 24 10:12:49.066018 2020] [php7:error] [pid 15544:tid 2084] [client 10.0.16.1:45182] PHP Fatal…

Exporting data to CSV

I am looking to export data from members to csv/xlsx. The method I am looking at is to use PHP to write the header as csv/text allowing the user to click and download. This downloads the full html, so I am looking to stop all of that data. Do I need to…

Install error

Hvy do this error message come after sendt all concrete files til hostserver, and shall start installation?????? Someone who know?? Fatal error: Cannot use Concrete\Core\Foundation\Object as Object because 'Object' is a special class name in /customers…

form block- not sending email

I have a strange situation with sending email from a site. my host will only allow a qualified email address setup in cpanel. if i setup in SMTP and run back end email test the email arrives. If i then use a form and test the email shows as sent and is…

(mySQL/database Question) Calender and deleted pages

I am having some issues with deleted events on an external C5 application. I have accessed the Concrete5 Team's Calender information - my application is a mini events ticker on a non-C5 site. I am using information gathered from the 'PageSearchIndex' tabl…

Filter Posts