Community Answers
-
teraßyte's post in Setting to force newline before and after an inserted image? was marked as the answer
If you want to update all images regardless, you can add this CSS to your theme:
img.ipsImage.ipsImage_thumbnailed { display: block; } This will move all images to a new line, even ones left inline on purpose, though.
Instead, if you want the editor to add a new line before and after the image only when first inserting it, you'll need a custom modification since it requires altering how the javascript works.
-
teraßyte's post in Import Member List? was marked as the answer
You can import any list really, as long as it is in a CSV format and contains at least the required field to create an account (name, email, etc.).
-
teraßyte's post in Physical Products deprecated, also digital products that renew? was marked as the answer
Yes, they'll continue working without any changes.
What they're removing is the setting Physical? when setting up a product in ACP and the Shipping methods/APIs.
-
teraßyte's post in Managing my DNS is impossible? was marked as the answer
The only way is to open a ticket/send them an email with what you need. They'll add it for you.
-
teraßyte's post in Hiding the "Courses" section from members? was marked as the answer
You can put the application offline in ACP and allow only specific groups access to it.
To do so go in ACP > System > SITE FEATURES > Applications > Courses > Permissions (lock icon). From there Disable the setting Application Online and extra settings to choose the groups and enter an offline message will appear.
-
teraßyte's post in Removing Search Box from a Page? was marked as the answer
You can use a similar rule to the one I posted in the other topic:
body[data-pagelocation="front"][data-pageapp="cms"][data-pagecontroller="page"][data-pagemodule="pages"][data-pagename="PAGE_FILENAME"] #elSearchWrapper { display: none; } Replace PAGE_FILENAME as usual. I simply changed the navbar breadcrumb for the search ID element #elSearchWrapper.
-
teraßyte's post in Placing Advertisements via Blocks? was marked as the answer
You need to create an HTML block (not Editor; image #2) in order to use IPS template logic, and then add the code in the Content tab/textarea:
{advertisement="TinkAd1"}
As template key (image #3) instead use something like ad_block_tinkad1. Everything else can remain as is.
-
teraßyte's post in Pages as Default App - Still Shows Unread Content, etc. was marked as the answer
You should be able to hide those links with some CSS by targeting that specific page. Each page has a body element similar to this one (this is taken from this very page):
<body class="ipsApp ipsApp_front ipsJS_has ipsClearfix" data-controller="core.front.core.app,cloud.front.realtime.viewingService" data-message="" data-pageapp="forums" data-pagelocation="front" data-pagemodule="forums" data-pagecontroller="topic" data-pageid="475515" >
You can use a rule similar to this one:
body[data-pagelocation="front"][data-pageapp="cms"][data-pagecontroller="page"][data-pagemodule="pages"][data-pagename="PAGE_FILENAME"] nav.ipsBreadcrumb.ipsBreadcrumb_top { display: none; } Just replace PAGE_FILENAME with your page's filename.
-
teraßyte's post in [BUG] Providers filters are broken was marked as the answer
The old Provider directory is still broken (link above), but the new one seems to work just fine: https://invisioncommunity.com/third-party/providers-directory/
I guess we can consider this "fixed".
-
teraßyte's post in Where is Profile Field data stored? was marked as the answer
The data is saved in the table core_pfields_content in the column field_X, where X is the ID of the field you added in ACP.
-
teraßyte's post in Join recently badge was marked as the answer
That icon is not based on post count. It remains visible for the first 30 days after the member has registered the account:
/** * Has this member joined recently? * * @return boolean */ public function joinedRecently() : bool { if ( $this->member_id AND $this->joined->diff( \IPS\DateTime::ts( time() ) )->days < 30 ) { return TRUE; } return FALSE; }
There is no setting to change the value, either. If you want to change it, you'll need a custom modification.
-
teraßyte's post in Can IPS import member accounts from website? was marked as the answer
There is an option to create a Login Handler based on an external MySQL database (it has options to specify all the data/fields needed). The forum will load the data from it and, based on how it's setup, create/sync accounts on the forums.
You can take a look at it on your site to verify how it works. Here's a link to the guide:
If that won't work, or if your friend needs something different, creating a custom Login Handler is also an option.
-
teraßyte's post in Plugin compatiblity was marked as the answer
The best option is to ask the developer, Stuart, directly.
-
teraßyte's post in Do we need mod_perl and mod_python? was marked as the answer
No, they're not needed modules. Unless you use them for some other software, you can go ahead.
-
teraßyte's post in Alert after lasted update was marked as the answer
Click on Optional patch available in the first box (Invision Community) in your screenshot.
-
teraßyte's post in Editing last Activity/Logged in Date was marked as the answer
As a workaround, you can temporarily move those users to a different group and avoid searching inside it for users to delete. Once you're done move them back to their original group.
-
teraßyte's post in [QUESTION] Can you allow users to post entries on existing blogs but not create their own blogs? was marked as the answer
You can create a Group Blog in ACP:
And then disable their group option to be able to create new blogs.
-
teraßyte's post in I could not post any topic or post a reply, please help was marked as the answer
Any JS error in the browser console? Have you already tried clearing the cache from ACP > Support?
-
teraßyte's post in Profile - Images Link was marked as the answer
@Chris027 It's a bug in the 4.7.7 version:
-
teraßyte's post in Mobile Browser - Issue with latest update was marked as the answer
That's a bug with the Chrome browser. It was introduced around version 108, and they've fixed it for the upcoming version 111 if I remember correctly.
-
teraßyte's post in [BUG 4.7.6] Rebuilding achievements throws an error on gallery albums was marked as the answer
@Daniel F No idea honestly. I'm just helping someone upgrade their site from 4.4. There are 5 such items in the table. And after you mentioned it I looked also for \IPS\gallery\Album\Item and there is 1 such record.
Looking at the database there are 5 albums like that, all promoted in the second half of 2017. And based on the upgrade history table, the suite was on version 4.2.3. An old bug maybe?
I guess the proper fix here then would be to update any \IPS\gallery\Album in the promote_class column to \IPS\gallery\Album\Item instead.
-
teraßyte's post in Download - Forum Topics - Include field in topics? was marked as the answer
It's a bug in the code. I reported it ~6 months ago:
There's a patch included in that topic if you want to temporarily apply it until IPS fixes the bug.
-
teraßyte's post in How To Change Group Assignment At Registration? was marked as the answer
You need to edit the conf_global.php file in your forum's root folder and change the member_group value with the ID of the New Members group you created. By default the Members group ID is 3:
The format will be either: 'member_group' => 3, OR $INFO['member_group'] = 3;
-
teraßyte's post in Upgrade from IPB 3.4.x was marked as the answer
In an earlier reply I suggested testing with a version up to 4.7.3 and PHP 7.4 (as long as they had the files). With PHP 8 being much more strict, legacy upgrades are throwing all kinds of new errors for code that previously simply failed and/or worked silently.
-
teraßyte's post in Fatal error during update was marked as the answer
That error means at least one of your 3rd party applications or plugins is not compatible with PHP 8. Use RECOVERY MODE to disable them all:
Once you've done that login in ACP and see if you have any pending updates for your installed modifications (there's a button you can use in the applications page).
After all updates are done look at your support page and see if you have any errors listed there that need to be fixed.
As a final step re-enable your modifications 1 by 1 and check each time if your site still works. Should the site stop working you have to go back and use recovery mode again, keep also note of which modification you enabled that made the site crash and take care of skipping it next time.