-
lang issue
-
Theme hook with {url=...} issue
- Theme hook with {url=...} issue
Tried to make a hook on the \IPS\core\modules\front\members\profile, add button before "Edit profile". Add button code <li>...<a href='{url="app=core&module=members&controller=profile&do=testform&id=...}" ...</li>, with seo template (defined in furlDefinition()), but get broken link, looks like %7Burl=? Ok, replace <li>.. </li> with {template='myProfileButton' group="plugins" location="global" app="core" params='$member'} , move button code to myProfileButton - everything is fine, correct link. I can't use {url=""} template in theme hook? clean IPS 4.6.0- Bookmarks - Support Topic
// $where[] = array( 'member_id=?', $this->member->member_id ); // $where[] = array( 'visibility_type=1 OR (visibility_type=2 and member_id=?)',\IPS\Member::loggedIn()->member_id ) ; $where[] = array( 'member_id=?', $this->member->member_id ); $where[] = array( 'visibility_type=1 OR visibility_type=2' ) ; I don't want see my own bookmarks in other users' profiles! Or did I get something wrong? 1.6.1- Google - Invalid object type for field "itemReviewed"
/* Are ratings allowed? */ if(0) // AND !$topic->isArchived() AND $topic->container()->forum_allow_rating AND $topic->averageRating() ) { \IPS\Output::i()->jsonLd['topic']['aggregateRating'] = array( '@type' => 'AggregateRating', 'ratingValue' => $topic->averageRating(), 'ratingCount' => $topic->numberOfRatings(), ); }- lang issue
Oh, my God, it happened! :) Thanks!- lang issue
After attach pdf to post we see attach block: In english all ok In russian - problem Fast solution: in file system/Lang/Lang.php replace $replacement = mb_substr( json_encode( $replacement ), 1, -1 ); to $replacement = mb_substr( json_encode( $replacement, JSON_UNESCAPED_UNICODE ), 1, -1 ); now all fine- Move core_members_* to another mysql server..
Yep, already clone \IPS\Db and IPS\Select, add db selection to IPS\ActiveRecord, move table to another server and it works! :) This will be sufficient to keep the copy up to date and will give the provider the opportunity to honestly answer the question "Are there requests to the database from Germany?". But as the bfarber correctly noted, the ips code has a huge number of direct calls and joins to this table, so the question can be considered closed, this is impossible. Ilia, only one option: create the illusion of working with remote tables, so I will follow the path you proposed. Are you kidding? :) I'm too small for both lawyers and rkn. And certainly I'm not going to let rkn know about my plans. Thank you all for your advice.- Move core_members_* to another mysql server..
I understand that there is no out of the box solution, i'd like to understand how to correctly solve this problem. For example, in IPS\ActiveRecord\select a database connection based on the table name and add a new structure to IPS\Db for the second connection? I need your clue, you better understand the architecture of the system.- Move core_members_* to another mysql server..
There is a requirement (in Russia) to store personal user information on a server that is located in Russia. My server is in Germany, would like to understand the best way to solve this problem. And is that even possible?- gmail accounts with dots in names - fix it, please!!!
Morrigan, yep! Really not exactly correct formulated, sorry.- gmail accounts with dots in names - fix it, please!!!
compare red lined emails letter by letter- gmail accounts with dots in names - fix it, please!!!
Problem is that my.name@ and m.yname@ - the same email for google, it does not use points in the name. But for the forum these are different emails.- gmail accounts with dots in names - fix it, please!!!
- My JS doesnt work without IN_DEV..
'front_shop.js'. - Theme hook with {url=...} issue