Mick23
-
Posts
70 -
Joined
Content Type
Downloads
Release Notes
IPS4 Guides
IPS4 Developer Documentation
Invision Community Blog
Development Blog
Deprecation Tracker
Providers Directory
Forums
Events
Store
Gallery
Posts posted by Mick23
-
-
-
I have now, thanks. But it has caused chaos on my community 😕
-
-
-
Awesome, thank you!
-
When a member makes an anonymous post, their post appears five times after this error appears on the frontend:
[[Template forums/front/topics/topic is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]
There are no modifications to that template file, and no option to revert because of that. Caches have been cleared.
The system log contains:
TypeError: IPS\forums\_Forum::setLastComment(): Argument #2 ($updatedItem) must be of type ?IPS\Content\Item, IPS\forums\Topic\Post given, called in /home/everybum/public_html/community/system/Content/Comment.php on line 1360 (0) #0 /home/mysitename/public_html/community/system/Content/Comment.php(1360): IPS\forums\_Forum->setLastComment(NULL, Object(IPS\forums\Topic\Post)) #1 /home/mysitename/public_html/community/system/Content/Content.php(3292): IPS\Content\_Comment->changeAuthor(Object(IPS\Member), false) #2 /home/mysitename/public_html/community/system/Content/Comment.php(199): IPS\_Content->setAnonymous(true, Object(IPS\Member)) #3 /home/mysitename/public_html/community/applications/forums/sources/Topic/Post.php(140): IPS\Content\_Comment::create(Object(IPS\forums\Topic), '<p>\n\tTest post\n...', false, NULL, NULL, Object(IPS\Member), NULL, NULL, NULL, true)
This appears to have started after the most recent update was applied: 4.7.15
-
I want to extend /global/forms/uploads and add a button so I can launch a form that will gather some information from the user, pass that to the OpenAI image endpoint and return an avatar image. I would then want to set this image as their profile picture.
Before I get started I want to know if it's possible for a custom plugin to do this. I know that the stock photos extension works by opening a form, browsing for pictures and then selecting one. Am I likely to encounter any limitations with this approach?
Any advice would be most appreciated, thanks.
-
I have one anonymous forum and quite often members will overlook selecting the "post anonymously" toggle.
Is it possible to force this to be checked by default when anonymous posting is permitted in the forum?
I had a look in the templates to see if I could customize the add new topic forum but couldn't find anything that looked like it would do.
Thanks!
-
Books
in Marketplace
2 hours ago, Adriano Faria said:No. They are content items like topics or gallery images. Content items automatically shows there. What you’re showing above is for non content items, those can be manually added.
A simple solution for you would be to create a new stream, not select Books in their items and set it as default.
Try telling my members that! 🤣
But yes, quite correct, thanks.
-
Books
in Marketplace
@Adriano Faria would it be possible in some future version to be able to hide new books & bookshelves in the Activity Stream Settings?
-
I figured out the issue - there were a couple of entries in core_achievements_rules for the "Movies" application that is no longer installed.
-
I disabled them and got the same error.
-
On my achievement rules page I am getting this error:
[[Template core/admin/achievements/rulesListRows is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]
How can I fix this? I'm not sure what support tool I am meant to run.
I have errors in the system logs that I believe relate to this:
Stack trace:
TypeError: in_array(): Argument #2 ($haystack) must be of type array, bool given in TypeError: in_array(): Argument #2 ($haystack) must be of type array, bool given in /applications/core/sources/Achievements/Actions/AbstractContentAchievementAction.php:252 Stack trace: #0 /applications/core/sources/Achievements/Actions/AbstractContentAchievementAction.php(252): in_array('IPS\\Content\\Com...', false) #1 /applications/core/extensions/core/AchievementAction/NewContentItem.php(139): IPS\core\Achievements\Actions\_AbstractContentAchievementAction->_nodeFilterDescription(Object(IPS\core\Achievements\Rule)) #2 /system/Theme/Theme.php(885) : eval()'d code(1443): IPS\core\extensions\core\AchievementAction\_NewContentItem->ruleDescription(Object(IPS\core\Achievements\Rule)) #3 /system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_admin_achievements->rulesListRows(Object(IPS\Patterns\ActiveRecordIterator)) #4 /system/Theme/Theme.php(885) : eval()'d code(1354): IPS\Theme\_SandboxedTemplate->__call('rulesListRows', Array) #5 /system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_admin_achievements->rulesList(Object(IPS\Patterns\ActiveRecordIterator), '', Array) #6 /applications/core/modules/admin/achievements/rules.php(94): IPS\Theme\_SandboxedTemplate->__call('rulesList', Array) #7 /system/Dispatcher/Controller.php(118): IPS\core\modules\admin\achievements\_rules->manage() #8 /system/Node/Controller.php(69): IPS\Dispatcher\_Controller->execute() #9 /applications/core/modules/admin/achievements/rules.php(45): IPS\Node\_Controller->execute() #10 /system/Dispatcher/Dispatcher.php(153): IPS\core\modules\admin\achievements\_rules->execute() #11 /admin/index.php(13): IPS\_Dispatcher->run() #12 {main}/applications/core/sources/Achievements/Actions/AbstractContentAchievementAction.php:252 Stack trace: #0 /applications/core/sources/Achievements/Actions/AbstractContentAchievementAction.php(252): in_array('IPS\\Content\\Com...', false) #1 /applications/core/extensions/core/AchievementAction/NewContentItem.php(139): IPS\core\Achievements\Actions\_AbstractContentAchievementAction->_nodeFilterDescription(Object(IPS\core\Achievements\Rule)) #2 /system/Theme/Theme.php(885) : eval()'d code(1443): IPS\core\extensions\core\AchievementAction\_NewContentItem->ruleDescription(Object(IPS\core\Achievements\Rule)) #3 /system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_admin_achievements->rulesListRows(Object(IPS\Patterns\ActiveRecordIterator)) #4 /system/Theme/Theme.php(885) : eval()'d code(1354): IPS\Theme\_SandboxedTemplate->__call('rulesListRows', Array) #5 /system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_admin_achievements->rulesList(Object(IPS\Patterns\ActiveRecordIterator), '', Array) #6 /applications/core/modules/admin/achievements/rules.php(94): IPS\Theme\_SandboxedTemplate->__call('rulesList', Array) #7 /system/Dispatcher/Controller.php(118): IPS\core\modules\admin\achievements\_rules->manage() #8 /system/Node/Controller.php(69): IPS\Dispatcher\_Controller->execute() #9 /applications/core/modules/admin/achievements/rules.php(45): IPS\Node\_Controller->execute() #10 /system/Dispatcher/Dispatcher.php(153): IPS\core\modules\admin\achievements\_rules->execute() #11 /admin/index.php(13): IPS\_Dispatcher->run() #12 {main}
Backtrace:
#0 /system/Theme/SandboxedTemplate.php(71): IPS\_Log::log(Object(TypeError), 'template_error') #1 /system/Theme/Theme.php(885) : eval()'d code(1354): IPS\Theme\_SandboxedTemplate->__call('rulesListRows', Array) #2 /system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_admin_achievements->rulesList(Object(IPS\Patterns\ActiveRecordIterator), '', Array) #3 /applications/core/modules/admin/achievements/rules.php(94): IPS\Theme\_SandboxedTemplate->__call('rulesList', Array) #4 /system/Dispatcher/Controller.php(118): IPS\core\modules\admin\achievements\_rules->manage() #5 /system/Node/Controller.php(69): IPS\Dispatcher\_Controller->execute() #6 /applications/core/modules/admin/achievements/rules.php(45): IPS\Node\_Controller->execute() #7 /system/Dispatcher/Dispatcher.php(153): IPS\core\modules\admin\achievements\_rules->execute() #8 /admin/index.php(13): IPS\_Dispatcher->run() #9 {main}
Loaded hooks:
applications/axenfontawesome6/hooks/loadJSandCSS.php applications/ignoretopics/hooks/itFurl.php
Cheers,
Mick
-
Is it possible to get the current forum view method (table, fluid etc.) in code?
I notice that the URL to set the method contains these parameters so was hopeful they could be easily retrieved somehow in JS:
do=setMethod&method=fluid
-
@InvisionHQ awesome news, thank you!!
-
Hi everyone,
I've recently added Google Ads to my community (that was ... fun).
It appears to be interfering with the Content View Behaviour:
On a mobile device, when you click a topic link the page loads and starts to auto-scroll to where it's supposed to go, but then the Google anchor ad appears at the top and it stops scrolling almost immediately, breaking the behaviour.
Can anybody point me in the direction of the code that I can look at in order to try to rectify this? Where is the function that "takes me to the comments I haven't read".
I get the feeling it's not going to be as easy as adding a setTimeout but a man can hope 😄
Thanks for any help.
-
8 minutes ago, Jim M said:
Please be advised I have moved this to a ticket to better investigate. Please check your email for further instructions.
Thanks Jim
-
Sorry for the avalanche of posts, I just want to make sure I'm providing enough info 🙂
The issue I am having is on a self-hosted installation. One of my other communities on the cloud plan is not experiencing this issue despite being on the same version.
-
I've confirmed with PayPal that there are no limitations on my account.
Has anybody else been experiencing PayPal issues after installing the latest patch?
-
25 minutes ago, DawPi said:
You need check what is that hook name and debug it more deeply, probably with that hook author.
Yes I agree - but I don't think the log entries are related to the PayPal issue I'm experiencing.
The log message is about the "Mark notification read from toast" plugin, and likely not relevant.
-
-
Hi,
I have just started a membership drive, got a bunch of subscribers but noticed the transactions were not processing.
I have already applied the latest patch to the community (a week ago).
I tried subscribing and I got this error:
This is appearing in my system logs:
Error: Call to a member function setQueryString() on string (0) #0 [host_path]/applications/core/modules/front/system/ajax.php(483): IPS\Notification\hook28->getData() #1 [host_path]/system/Dispatcher/Controller.php(107): IPS\core\modules\front\system\_ajax->instantNotifications() #2 [host_path]/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute() #3 [host_path]/index.php(13): IPS\_Dispatcher->run() #4 {main}
This is really urgent for me to get sorted out, can I get some assistance please?
-
I am also having this issue, I'll start a new topic.
-
Ideally I'd like to modify the existing filter to include the location (state/province):
And have a search bar inline next to the Sort and Filter buttons:
Fluid mode showing topics from protected forums
in Technical Problems
Posted
Yeah a week is probably ok - it's just that this kind of thing disrupts my community for a long time and reduces the trust members have in the overall security of the site.