Перейти к содержанию

Lafko

Пользователи
  • Постов

    205
  • Зарегистрирован

  • Посещение

Сообщения, опубликованные Lafko

  1. Или помогите написать скрипт для внесения данных в другую БД вот в этот метод

     

    	public function save()
    	{
    		if ( !$this->key )
    		{
    			do
    			{
    				$this->key = $this->generate();
    			}
    			while ( \count( \IPS\Db::i()->select( '*', 'nexus_licensekeys', array( 'lkey_key=?', $this->key ) ) ) );
    		}
    		return parent::save();
    	}

     

  2. Добрый день.
    Подскажите как мне сделать так чтобы IPS после покупки определенного продукта выполнил php скрипт?
    Или как сделать так чтобы после покупки IPS внёс лицензионный ключ в другую таблицу? По умолчанию он вносит ключ в таблицу _nexus_licensekeys

    Screenshot_2.thumb.png.851e211605dc2082f6edacab69ae236a.png

  3. 2 минуты назад, Respected сказал:

    Баг движка. Для временного исправления отредактировать файл:

    applications/downloads/extensions/core/ContentRouter/downloads.php

    Найти:

    
    public function __construct( \IPS\Member $member = NULL )

    Заменить на:

    
    public function __construct( $member = NULL )

     

    Помогло, санке

  4. TypeError: Argument 1 passed to IPS\downloads\extensions\core\ContentRouter\_Downloads::__construct() must be an instance of IPS\Member or null, instance of IPS\Member\Group given, called in /home/j/j25940kk/ipb/public_html/system/Application/Application.php on line 824 (0)
    #0 /home/j/j25940kk/ipb/public_html/system/Application/Application.php(824): IPS\downloads\extensions\core\ContentRouter\_Downloads->__construct(Object(IPS\Member\Group))
    #1 /home/j/j25940kk/ipb/public_html/system/Application/Application.php(300): IPS\_Application->extensions('core', 'ContentRouter', true, Object(IPS\Member\Group))
    #2 /home/j/j25940kk/ipb/public_html/applications/core/extensions/core/GroupForm/Content.php(36): IPS\_Application::allExtensions('core', 'ContentRouter', Object(IPS\Member\Group))
    #3 /home/j/j25940kk/ipb/public_html/applications/core/modules/admin/members/groups.php(202): IPS\core\extensions\core\GroupForm\_Content->process(Object(IPS\Helpers\Form), Object(IPS\Member\Group))
    #4 /home/j/j25940kk/ipb/public_html/system/Dispatcher/Controller.php(85): IPS\core\modules\admin\members\_groups->form()
    #5 /home/j/j25940kk/ipb/public_html/applications/core/modules/admin/members/groups.php(34): IPS\Dispatcher\_Controller->execute()
    #6 /home/j/j25940kk/ipb/public_html/system/Dispatcher/Dispatcher.php(146): IPS\core\modules\admin\members\_groups->execute()
    #7 /home/j/j25940kk/ipb/public_html/sdgnjksdglJHfsdl/index.php(14): IPS\_Dispatcher->run()
    #8 {main}

     

  5. https://lafkomods.ru/store/product/38-pubg-launcher-pakers-na-30-dney/
    Попробуйте купить не проходя регистрацию, а попробовать зарегистрироваться во время покупки 
    Форма регистрации есть но как только нажимаешь оформить, регистрация не происходит и естественно робокасса выдаёт ошибку 

    Это баг движка или у меня проблема?
    В настройках выставлял такие параметры
    Screenshot_1.thumb.png.c342084958514fd55b99df83b11c54cf.png

  6. Automation Rules


    Не смог найти на форуме данную версию. 

    Synopsis

    • Automatically update/modify content and member attributes, statuses, and properties
    • Automatically send emails, create conversations, and send notifications
    • Add your own custom data fields to any content, categories, or members
    • Build relationships between fields and content to keep data synchronized
    • Create rule sets that work together to form automated workflows
    • Define your own custom actions that can be used in rules
    • Schedule actions to happen at specific times (one-time or recurring)
    • Schedule bulk processing routines for content and members on your site
    • Share and refine your rules with other communities using import/export

    Notable Features

    • Over 500 built in events, conditions, and actions for stock IPS products and contributed apps.
    • Rule actions can be configured to happen in real time or at a future time.
    • Schedule and unscheduled actions from inside of rules or manually through your ACP.
    • Built in lists of “replacement tokens” for including variable data in text entry fields (like email content)
    • Fully extensible by other apps and plugins to add new tokens, events, conditions, and actions.
    • Look for Rules Expansion Packs in the marketplace which add new events/conditions/actions.
    • Create your own custom actions within the rules app which can be invoked by rules.
    • Create your own custom data fields for any entity on your site to manipulate with rules.
    • Rules can be grouped together into rule groups and rule sets for easy management.
    • Easily import and export rules and sets to share with friends or distribute as your own rule packs.
    • Built-in rule debugging console for full visibility of what your rules are doing on your system.
    • Built in rules error and performance logging console.

    Complete Stock ECA List:

    Standard Content Driven Events

    • Content has been created or updated
    • Content has been approved
    • Content has been pinned / unpinned
    • Content has been featured / unfeatured
    • Content has been locked / unlocked
    • Content has been hidden / unhidden
    • Content has been reported
    • Content has been deleted
    • Content author has changed
    • Content Item has been published / unpublished
    • Content Item has been moved
    • Content Items are being merged
    • Content Item tags have been updated
    • Content Item is being viewed

    Standard Custom Events

    • Custom data has been updated
    • Custom event has been triggered

    Standard Member Driven Events

    • Member logged in / out of system
    • Member account is created
    • Member profile is updated
    • Member is flagged as spammer
    • Member is unflagged as spammer
    • Member is banned
    • Member is unbanned
    • Member account is validated
    • Member accounts being merged
    • Member account is deleted
    • Member receives reputation points
    • Member has been given a warning

    Standard Global Events

    • Any record is created or updated in the database
    • Any record is deleted from the database
    • Any page is being viewed

    Standard Content Conditions

    • Content is of a certain type
    • Content has a particular status ( pinned, locked, featured, etc )
    • Content has a particular author
    • Content has particular tags
    • Content attribute values ( comment count, start date, last post, etc )
    • Content is in a particular container ( Forum, Category, etc )

    Standard Member Conditions

    • Member is in certain member group(s)
    • Member has a particular status ( validated, banned, etc )
    • Member attribute values ( post count, join date, title, etc )
    • Member is following another member
    • Member is ignoring another member

    Standard Global Conditions

    • String values ( starts with, contains, ends with, etc )
    • Number values ( greater than, less than, equal to, etc )
    • Truth values ( is true, is false, is not empty, etc )
    • Value type ( string, integer, currency, etc )
    • Array (list) values ( list length, list contains, etc )
    • Date comparisons ( before, after, on, etc )
    • Object comparisons ( object class, object subclass, etc )
    • Board Status ( Offline / Online )
    • Execute Custom PHP Code

    Standard Content Actions

    • Modify content tags ( add to, remove from, set explicitly )
    • Pin / unpin content
    • Feature / unfeature content
    • Lock / unlock content
    • Hide / unhide content
    • Delete content
    • Change content author
    • Move content to a new container
    • Create new content
    • Create new comment

    Standard Custom Actions

    • Trigger custom action
    • Update custom data value

    Standard Member Actions

    • Change primary group of member
    • Add secondary group(s) to member
    • Remove secondary group(s) from member
    • Set secondary group(s) on member
    • Change member title
    • Flag / unflag member as spammer
    • Ban / unban member
    • Prune member

    Standard Global Actions

    • Send an email
    • Create new private conversation
    • Create new member notification
    • Display inline message on page
    • Redirect to another page
    • Delete a scheduled action
    • Execute Custom PHP Code

    New in Version 1.1.x

    • New range of custom data input fields for public/admin use
    • Limit custom data fields by category/container
    • Set member group permissions on custom data fields
    • View complete overview summaries of rules and rulesets
    • Choose content items from autocomplete form input

    Maintenance Updates

    • fixed EX1048 error when creating custom data fields
    • fixed 2RI00/B error when importing rules on IPS 4.1.14+

    • Добавил
    • Добавлено
      16.01.2018
    • Категория
    • Язык
      Английский

     

  7. Какае-то ерунда происходит у меня, в ручную удалил вторичные группы пользователям которые не оплатили счета, начали жаловаться что оплачивали, захожи в АЦ а статус Оплачено, хотя вчера ещё не было оплачено....

  8. 15 минут назад, Cheshir сказал:

    Возможно перевод обратно осуществляется только по основной группе.

    нет, вторичные тоже возвращает, настройки верные, скорее всего это какой-то сбой из за какого то сервиса типо cron или redis, некоторые пользователи возвращаются обратно, некоторые нет. Не совсем верно выразился, пользователи возвращаются обратно только после того как происходит истечение счёта или его отмена, но если весит статус продление то возврат не происходит

  9. При покупке товара пользователи переходят во вторичную группу. После 30 дней им генерируется счёт который они не оплачивают, пользователи по прежнему остаются во вторичной группе. Что у меня не так с настройками?

     

    Спойлер

    5a20170a34b7e_.thumb.png.4504fdc9ede3abd64b2e87c377226932.png

     

×
×
  • Создать...