Jump to content
You're invited! Join our 4.6 Live Event on ZOOM 6/24 ×



  • Posts

  • Joined

  • Last visited

 Content Type 



IPS4 Providers

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog



Everything posted by wegorz23

  1. @bfarber When I extends class to \IPS\cms\RecordsMYID , it does not work at all. I tried to use var_dump(), but it is not displayed. Earlier with extends class \IPS\cms\Records, var_dump worked.
  2. Hello, I created my own hook. This hook has the task of entering the value into the database. My code looks like this : //<?php /* To prevent PHP errors (extending class does not exist) revealing path */ if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) ) { exit; } class hook57 extends _HOOK_CLASS_ { /** * Process create/edit form * * @param array $values Values from form * @return void */ public function processForm( $values ) { if(static::$customDatabaseId == 30) { $values['field_157'] = 1; } parent::processForm( $values ); } } But when I add a record, I get an error : IPS \ Db \ Exception (1366) Incorrect integer value: '' for column 'field_157' at row 1 Why is this happening?
  3. Work! Thanks @newbie LAC !
  4. Hello, in IPB 3.x.x version I could used this code to redirect to another page : ipsRegistry::getClass('output')->silentRedirect($this->settings['my_url']); How can I do that in version 4 ?
  5. Hi, I want to add a quick login panel on my subpage if the user is not logged in. It is required to enter your username and password and click the login button. Does anyone have an example of such an operation? How can I do this?
  6. @Martin A. I make my life difficult :D. Thanks guys for help ! :)
  7. @bfarber I have no idea what you are talking about ?. How can I add them via the developer center to a plugin or application ? Could you explain how to do it?
  8. Ok :). So there is no other way to do it? Where located this file \IPS\Settings ?
  9. Hello, how can I use concatenate in query SELECT ? I have this query : $row = \IPS\Db::i()->select('*', 'cms_custom_database_' . \IPS\Settings::i()->site_ccd, array('member_id=?', \IPS\Member::loggedIn()->member_id)); But this doesnt work . Edit: How can I access variables in a file conf_global.php ? Because \IPS\Settings::i()->site_ccd return null, so this doesnt work
  10. Yes, I have disabled this hook, but the error still appears..
  11. Hello . Can I still count on help in the old version? This is 3.3.4 version. I have a problem that when I go to the page with comments, I get an error HTTP ERROR 500. I checked logs and I gets error : PHP Fatal error: Method user_popup does not exist in viewAvatarsHook_userInfoPane in /home/www/prod.aud iostereo.pl/www/admin/sources/classes/output/publicOutput.php on line 3766 . Can anyone help me ?
  12. Hello. I have a database in which there is a table that stores shops names. I have a special column containing the value 0 or 1. If the store is promoted, the value is 1. If not, then the value is 0. My question is: can I sort the list displaying these records from the database, so that the promoted stores (those with the value 1) are sorted alphabetically at the very top, and the others (with the value 0) will be displayed after these records also alphabetically ?.
  13. Ok, I deal with it. The topic can be closed
  14. No, I don't use proxy / VPN. I tried with others browser and was the same error..
  15. upload_max_filesize - 50M post_max_size - 50M
  16. Hey. I am trying to upload a language pack to my forum. When I click upload button I getting error - Request entity too large . This is error 413 . My server is apache. I tried change value client_max_body_size in htaccess file but this does not work. Do you have any idea to solve this problem?
  17. I do not getting an answer from Wednesday for a ticket. I can find out why ? ticket number - #1013888
  18. I got error - I include screen with error. I am removing the column but the error appears all the time over and over again. The same error also appears with the column 'record_comments'
  19. Yes, I have .htaccess file in /admin directory . I deleted this file, but the error remained ..
  20. I actually upgrade my forum on the IPBoard engine from version 3.3.4 to 4.3.4 version. During the upgrade I got an error : AH01797: client denied by server configuration: /urlToForum/admin/upgrade/index.php Has anyone encountered such an error during the upgrade? How can I solve this problem? Please for help.
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy