Solutions
-
teraßyte's post in Removing Search Box from a Page? was marked as the answerYou 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 answerYou 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 answerYou 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 answerThe 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 answerThe 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 answerThat 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 answerThere 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 answerThe 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 answerNo, 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 answerClick 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 answerAs 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 answerYou 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 answerAny 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 answerThat'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 answerIt'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 answerYou 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 answerIn 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 answerThat 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.
-
teraßyte's post in Help with fixing database before update was marked as the answerLooks like you have the converter application installed but didn't upload the updated files for it. When downloading the zip from your client area there is a checkbox you need to select in order to include the Convert application in the download.
Re-download the zip with the checkbox selected and then upload again the files to your server. Once you do that the errors should all go away.
-
teraßyte's post in Attachment Max File Size changed without me changing it? was marked as the answerThe user is probably hitting the Total maximum storage limit setup for their group.
Let's say you limit a group to upload 10 MB and the user uploads 6 files large 1.5 MB each (for a total of 9MB). At this point the attachment field would show that your upload limit is 1 MB instead of 2 MB (because you've already used up 9 out of 10 MB available for the account).
-
teraßyte's post in Blogs - User choice to have their blog in front of or behind the paywall? was marked as the answerBlog itself doesn't support paywalls, but maybe you can use the clubs feature and have them setup a paid club to access their content/blog.
-
teraßyte's post in changing display name redirects to my account woocommerce was marked as the answerThat's probably it then. Try disabling it temporarily and see what happens.
-
teraßyte's post in New accounts unable to be created was marked as the answerMost likely you've reached the MAXIMUM VALUE of the data type used for the member_id column in the ipb__core_pfields_content table.
The current default value is BIGINT(20) but in the past it had a lower limit. The column was not updated properly in one of the upgrade steps probably.