Jump to content



  • Posts

  • Joined

  • Last visited

About kindermix

kindermix's Achievements

  1. My primary groups have no Group Formatting (so they use default colors), I have subscription, and this subscription assign secondary group with have new rules and Group Formatting. Is there are any way to make something like this: IF $member NO $groupIdForFormatting THEN FOR EACH $group IN $member DO IF $groupId HAVE $groupIdForFormatting BREAK END END I spend a few hours trying to edit core>front>global>userLinkFromData {{if $id AND \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'members', 'front' ) ) }}<a href='{url="app=core&module=members&controller=profile&id={$id}" seoTemplate="profile" seoTitle="$seoName ?: \IPS\Http\Url::seoTitle( $name )"}' data-ipsHover data-ipsHover-target='{url="app=core&module=members&controller=profile&id={$id}&do=hovercard" seoTemplate="profile" seoTitle="$seoName ?: \IPS\Http\Url::seoTitle( $name )"}' title="{lang="view_user_profile" sprintf="$name"}" class="ipsType_break">{{if $groupIdForFormatting}}{expression="\IPS\Member\Group::load( $groupIdForFormatting )->formatName( $name )" raw="true"}{{else}}{$name}{{endif}}</a>{{else}}{{if $groupIdForFormatting}}{expression="\IPS\Member\Group::load( $groupIdForFormatting )->formatName( $name )" raw="true"}{{else}}{$name}{{endif}}{{endif}} But didn't get any closer, I can't even understand how to trigger all member ids to make my online users display from this: <li> <a href="" data-ipshover="" data-ipshover-target="" title="" class="ipsType_break" id="ips_uid_1532_7"> User </a> </li> To at least this IF they have SecondaryGroup number 37 for example: <li> <a data-membergroup="37" href="" data-ipshover="" data-ipshover-target="" title="" class="ipsType_break" id="ips_uid_1532_7"> User </a> </li> Will appreciate any help.
  2. I'm using custom payment method, so I too would like to make address fields not default required. But the best solution for me, will be to change default billing country to one i want, not US. Is it default region hardcoded in JavaScript file or SQL table? Or default region taken from server OS or PHP settings? P.S. It will be nice if default payment/subscription/registration region will be same as default country of your community in general settings if browser cant detect it. And another question, is if it's possible to remove requirements for real Name and Surname, because I would like to use manual payment method, and our users most likely will enter not real names, or will use nicknames, because of privacy in their minds. Will appreciate any help.
  3. Mate you saved my day, I spend a few hours investigating how I could make it and searching and researching. Many thanks!
  4. After updating from 3.4.6 if I'm right, there is no more hooks. Regarding to this article, it looks like I need to find widgets, but I don't have any. Is there are any pre-build "basic" widgets like forum statistics and so on, or I have to install and buy the from marketplace?
  5. Old server with php 5.4 and mysql 5.5. I convert database with converting tool and followed this instructions to transfer everytnig on new server with php7.2 and mariadb 10.2 (mysql5.5 with 5.6 and 5.7 features) after updating in admin, on member edit, group edit pages i got this error: The URL of page the error occurred on was {domain}/admin/?adsess=7ofknpfk744bk8hd3l5ku4ocdf&app=core&module=members&controller=groups&do=form&id=7 Error: Call to undefined method IPS\Lang::recordWord() (0) #0 /var/web/services/domain.name/applications/cms/sources/Databases/Databases.php(764): IPS\cms\_Databases->recordWord(1) #1 /var/web/services/domain.name/applications/cms/sources/Databases/Databases.php(230): IPS\cms\_Databases->preLoadWords() #2 /var/web/services/domain.name/applications/cms/sources/Databases/Databases.php(175): IPS\cms\_Databases::constructFromData(Array) #3 /var/web/services/domain.name/applications/cms/extensions/core/ContentRouter/Records.php(41): IPS\cms\_Databases::databases() #4 /var/web/services/domain.name/system/Application/Application.php(819): IPS\cms\extensions\core\ContentRouter\_Records->__construct(Object(IPS\Member\Group)) #5 /var/web/services/domain.name/applications/cms/Application.php(257): IPS\_Application->extensions('core', 'ContentRouter', true, Object(IPS\Member\Group)) #6 /var/web/services/domain.name/system/Application/Application.php(300): IPS\cms\_Application->extensions('core', 'ContentRouter', true, Object(IPS\Member\Group)) #7 /var/web/services/domain.name/applications/core/extensions/core/GroupForm/Content.php(35): IPS\_Application::allExtensions('core', 'ContentRouter', Object(IPS\Member\Group)) #8 /var/web/services/domain.name/applications/core/modules/admin/members/groups.php(188): IPS\core\extensions\core\GroupForm\_Content->process(Object(IPS\Helpers\Form), Object(IPS\Member\Group)) #9 /var/web/services/domain.name/system/Dispatcher/Controller.php(85): IPS\core\modules\admin\members\_groups->form() #10 /var/web/services/domain.name/applications/core/modules/admin/members/groups.php(34): IPS\Dispatcher\_Controller->execute() #11 /var/web/services/domain.name/system/Dispatcher/Dispatcher.php(146): IPS\core\modules\admin\members\_groups->execute() #12 /var/web/services/domain.name/admin/index.php(13): IPS\_Dispatcher->run() #13 {main} BACKTRACE #0 /var/web/services/phantoms/init.php(524): IPS\_Log::log('Error: Call to ...', 'uncaught_except...') #1 [internal function]: IPS\IPS::exceptionHandler(Object(Error)) #2 {main} After upgrading from 4.2.8 to 4.3 beta 4, all errors gone. I tryed fresh install of 4.2.8, no errors found, so i think server setup is correct, and it's not php 7.2 or database problems.
  6. This tool give error: Error: Declaration of IPSUtf8\Db::query($query) should be compatible with mysqli::query($query, $resultmode = NULL) File: /system/Db/Db.php Line: 1550 on PHP 7.2.4
  • 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