Skocz do zawartości

ArashDev

Użytkownik
  • Postów

    87
  • Dołączył

  • Ostatnia wizyta

  • Wygrane w rankingu

    1

Treść opublikowana przez ArashDev

  1. I want to put a default image.
  2. hi as title say I'm going to add a upload item in theme setting so I need put a default image in default value. how should I do this? thanks
  3. hi in creating setting for my theme i use below code: <?php return new \IPS\Helpers\Form\Stack( "core_theme_setting_title_{$row['sc_id']}", explode( ',', $value ), FALSE, array( 'stackFieldType' => 'Text' ), NULL, NULL, NULL, 'theme_setting_' . $row['sc_key'] ); I want to impose a restriction in this code that prevents creating more than 5 items. for solution I write below code: $items_created = count(explode(',', $value)); if ($items_created < 5) { return new \IPS\Helpers\Form\Stack( "core_theme_setting_title_{$row['sc_id']}", explode( ',', $value ), FALSE, array( 'stackFieldType' => 'Text' ), NULL, NULL, NULL, 'theme_setting_' . $row['sc_key'] ); } but it doesn't work! how can I do this?
  4. hi my lords as title say I have a problem with my gateway. when I select a gateway and click on confirm and pay I got below error: There was an error processing the payment. Please try a different payment method or contact us for assistance. system error log: #0 /home/**********/public_html/applications/nexus/modules/front/checkout/checkout.php(1542): IPS\nexus\Gateway\_razorpay->auth() #1 /home//**********//public_html/system/Helpers/Wizard/Wizard.php(181): IPS\nexus\modules\front\checkout\_checkout->_pay() #2 /home//**********//public_html/applications/nexus/modules/front/checkout/checkout.php(170): IPS\Helpers\_Wizard->__toString() #3 /home//**********//public_html/system/Dispatcher/Controller.php(118): IPS\nexus\modules\front\checkout\_checkout->manage() #4 /home//**********//public_html/applications/nexus/modules/front/checkout/checkout.php(57): IPS\Dispatcher\_Controller->execute() #5 /home//**********//public_html/system/Dispatcher/Dispatcher.php(153): IPS\nexus\modules\front\checkout\_checkout->execute() #6 /home//**********//public_html/index.php(13): IPS\_Dispatcher->run() #7 {main} It was working fine until yesterday! thanks!
  5. hi I want to show all topics and post statistics from one forum after forum title: for this I used below code: {{$all = \IPS\Db::i()->select( 'SUM(topics) as t, SUM(posts) as p', 'forums_forums', array( 'parent_id = ?', $category->_id ) )->first();}} <i class="fa fa-question-circle" data-ipsTooltip title='{lang="__api_forums_topics"}: {$all['t']} | {lang="__api_forums_posts"}: {$all['p']}'></i> but it doesn't show real statistics. what's the problem with this code?
  6. hi I wanna add an icon in the userbar so that admins can see the unapproved content count and manage those. <li class="cUserNav_icon"> <a href='{url="app=core&module=modcp&controller=modcp&tab=approval" seoTemplate="modcp_approval"}' data-ipsTooltip title='{lang="modcp_approval" escape="true"}'> When I click on it, I will be redirected to the following page: I want the unapproved content list to be displayed in a popup like below:
  7. just default methods "Standard & Converter" reCAPTCHA V2 question ans answers challenge Converter
  8. hi I installed IPS on subdomain as a test forum and in user login and admin login I got this text "Bot domain invalid" what is mean?
  9. I find this example: $form->add( new \IPS\Helpers\Form\Stack( 'site_social_profiles', \IPS\Settings::i()->site_social_profiles ? json_decode( \IPS\Settings::i()->site_social_profiles, true ) : array(), FALSE, array( 'stackFieldType' => '\IPS\core\Form\SocialProfiles', 'maxItems' => 50, 'key' => array( 'placeholder' => 'http://example.com', 'size' => 20 ) ) ) );
  10. hi I wanna add an option in my plugin so I need to use a field like below: I know this is a stack Item: $form->add( new \IPS\Helpers\Form\Stack() but there is no documents on invision. can someone help me to how to use that?
  11. hi I want users to have 10 posts in forum B to view forum A, which has been approved by the management. In other words, I want to force users to post 10 posts in forum B to view the educational content that I post in forum A. is It possible to do this؟
  12. I solved with: /** * Authorize * * @param \IPS\nexus\Transaction $transaction Transaction * @param array|\IPS\nexus\Customer\CreditCard $values Values from form OR a stored card object if this gateway supports them * @param \IPS\nexus\Fraud\MaxMind\Request|NULL $maxMind *If* MaxMind is enabled, the request object will be passed here so gateway can additional data before request is made * @param array $recurrings Details about recurring costs * @param string|NULL $source 'checkout' if the customer is doing this at a normal checkout, 'renewal' is an automatically generated renewal invoice, 'manual' is admin manually charging. NULL is unknown * @return \IPS\DateTime|NULL Auth is valid until or NULL to indicate auth is good forever * @throws \LogicException Message will be displayed to user */ public function auth( \IPS\nexus\Transaction $transaction, $values, \IPS\nexus\Fraud\MaxMind\Request $maxMind = NULL, $recurrings = array(), $source = NULL ) {
  13. I did it. but now I got below error: Fatal error: Declaration of IPS\nexus\Gateway\_zarinpal::auth(IPS\nexus\Transaction $transaction, $values, ?IPS\nexus\Fraud\MaxMind\Request $maxMind = null, $recurrings = []) must be compatible with IPS\nexus\_Gateway::auth(IPS\nexus\Transaction $transaction, $values, ?IPS\nexus\Fraud\MaxMind\Request $maxMind = null, $recurrings = [], $source = null) in /home/smooksh1/test.smook.shop/applications/nexus/sources/Gateway/zarinpal/zarinpal.php on line 46
  14. I have a payment gateway that unfortunately does not work with php8 or higher. After selecting the payment method, I get a white screen error. To check this problem, I enabled error display and saw the following error: Fatal error: Declaration of IPS\nexus\Gateway\_zarinpal::checkValidity(IPS\nexus\Money $amount, ?IPS\GeoLocation $billingAddress = null, ?IPS\nexus\Customer $customer = null) must be compatible with IPS\nexus\_Gateway::checkValidity(IPS\nexus\Money $amount, ?IPS\GeoLocation $billingAddress = null, ?IPS\nexus\Customer $customer = null, $recurrings = []) in /home/smooksh1/test.smook.shop/applications/nexus/sources/Gateway/zarinpal/zarinpal.php on line 26 zarinpal.php how can I fix that? please help me
  15. yes I know But I meant like below image:
  16. @aXen hi Is it possible to update this plugin for two column and three column mode?
  17. I know this But I mean the following method
  18. hi how can I config login with email address like invision forum?
  19. I fixed the error for now with the following method that Marc said. If there is an error in the next few days, I will have to check the problem again https://invisioncommunity.com/forums/topic/469051-locked-task-queue/
  20. No. there's nothing in system logs
  21. Hello. I recently got the following error in admin And after clicking Run Now button, I get the following message: At the same time, there is no case in the background processes!!!
  22. Maybe it's from the autoreply app. But this app is not active in the downloads sections! 2.3.3. but after disable that everything good works! thanks to guide
  23. I decided to move 5 files from one category to another and I did it. But in the adminCP, I saw some background Processes and then click on manually run them now and I got below error: system error logs: SELECT * FROM `forums_forums` WHERE autoreply_text<>"" OR autoreply_onoff=1 ORDER BY id ASC LIMIT 0,500 Unknown column 'autoreply_text' in 'where clause' what should I do?
  24. sent you in a private message!
  25. Sorry, there was a typo <!--mothod 1--> <li {{if settings.dataaosforums_setting_ed}}data-address="location"{{endif}}> <!--method 2--> <li {{if \IPS\Settings::i()->dataaosforums_setting_ed == '1'}}data-address="location"{{endif}}>
×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Umieściliśmy na Twoim urządzeniu pliki cookie, aby pomóc Ci usprawnić przeglądanie strony. Możesz dostosować ustawienia plików cookie, w przeciwnym wypadku zakładamy, że wyrażasz na to zgodę.