BraCa
Clients-
Posts
63 -
Joined
-
Last visited
Recent Profile Visitors
3,081 profile views
BraCa's Achievements
-
Hi, I have some admins with restricted access, so that they can access AdminCP but they cannot use all features that a "normal" admin can. But it seems that even with some features restricted on Admin CP (such as themes) those admins can still access the Theme Editor through the User menu on the website, making it possible for them to make changes to the theme, when they shouldn't have that access. Thanks
-
Hi, I have a couple of users that uses pcs with small screens, where some pages such as the Messages get a little bit difficult to work with on the theme with side panel turned on. On my end I will most likely add a 'classic' theme to allow users to select the best theam for them, but I still think that there might be something that can be done here, for instance, give more space for the conversation column (by reducing the inbox) or even make it a single column for this kind of screen resolution. Thanks
-
Hello, I have 30+ of these errors since I upgrade from v4 to V5 beta 4 yesterday TypeError: IPS\DateTime::ts(): Argument #1 ($timestamp) must be of type int, null given, called in /home/braca/vhosts/fmrte.com/applications/forums/applications/core/extensions/core/MemberFilter/Lastvisit.php on line 176 (0) #0 /home/braca/vhosts/fmrte.com/applications/forums/applications/core/extensions/core/MemberFilter/Lastvisit.php(176): IPS\DateTime::ts(NULL) #1 /home/braca/vhosts/fmrte.com/applications/forums/system/Member/GroupPromotion.php(337): IPS\core\extensions\core\MemberFilter\Lastvisit->matches(Object(IPS\Member), Array, Object(IPS\Member\GroupPromotion)) #2 /home/braca/vhosts/fmrte.com/applications/forums/system/Member/Member.php(4659): IPS\Member\GroupPromotion->matches(Object(IPS\Member)) #3 /home/braca/vhosts/fmrte.com/applications/forums/system/Member/Member.php(512): IPS\Member->checkGroupPromotion() #4 /home/braca/vhosts/fmrte.com/applications/forums/system/Login/Handler/OAuth2/OAuth2.php(530): IPS\Member->save() #5 /home/braca/vhosts/fmrte.com/applications/forums/system/Login/Handler/OAuth2/OAuth2.php(404): IPS\Login\Handler\OAuth2->_processAccessToken(Object(IPS\Login), Array) #6 /home/braca/vhosts/fmrte.com/applications/forums/system/Login/Handler/OAuth2/OAuth2.php(194): IPS\Login\Handler\OAuth2->_handleAuthorizationResponse(Object(IPS\Login)) #7 /home/braca/vhosts/fmrte.com/applications/forums/system/Login/Login.php(353): IPS\Login\Handler\OAuth2->authenticateButton(Object(IPS\Login)) #8 /home/braca/vhosts/fmrte.com/applications/forums/applications/core/modules/front/system/login.php(93): IPS\Login->authenticate() #9 /home/braca/vhosts/fmrte.com/applications/forums/system/Dispatcher/Controller.php(139): IPS\core\modules\front\system\login->manage() #10 /home/braca/vhosts/fmrte.com/applications/forums/system/Dispatcher/Dispatcher.php(169): IPS\Dispatcher\Controller->execute() #11 /home/braca/vhosts/fmrte.com/applications/forums/index.php(16): IPS\Dispatcher->run() #12 {main} Thanks
-
BraCa started following IC5 Beta 4 - Argument #1 ($output) must be of type array|string|null
-
Hi, I'm using IC5 Beta4, and on my System Logs I have douzens of these errors, not quite sure what's causing them TypeError: IPS\Lang::replaceWords(): Argument #1 ($output) must be of type array|string|null, stdClass given, called in /home/applications/forums/system/Lang/Lang.php on line 1811 (0) #0 /home/applications/forums/system/Lang/Lang.php(1811): IPS\Lang->replaceWords(Object(stdClass)) #1 /home/applications/forums/system/Dispatcher/Api.php(378): IPS\Lang->parseOutputForDisplay(Object(stdClass)) #2 /home/applications/forums/api/index.php(11): IPS\Dispatcher\Api->run() #3 {main}
-
I have a few clients using our API (provided by ipboard) And with version 5, I have this error, not quite sure what's causing it, but forcing the Controller.shouldLog to return false fixes it (I'm not loging the requests so it's not a big deal for me) TypeError: IPS\Api\OAuthClient::scopeShouldLog(): Argument #1 ($scope) must be of type string, null given, called in /home/applications/forums/system/Api/Controller.php on line 138 (0) #0 /home/applications/forums/system/Api/Controller.php(138): IPS\Api\OAuthClient->scopeShouldLog(NULL, 'myApp', 'profile', 'GETindex') #1 /home/applications/forums/system/Api/Controller.php(168): IPS\Api\Controller->shouldLog('myApp', 'profile', 'GETindex') #2 /home/applications/forums/system/Dispatcher/Api.php(371): IPS\Api\Controller->execute(Array, false) #3 /home/applications/forums/api/index.php(11): IPS\Dispatcher\Api->run() #4 {main}
-
BraCa reacted to a comment: Upgrade won't remove previous 4.X dev tools, causing css to break on DEV MODE
-
I've upgraded my previous 4.X test installation to the latest 5.0 beta 2 with developer tools as well. When I enable DEV mode the whole website css breaks, it fails to load the css, with a error 500. I was able to find out what was causing it, and it was some old developer tools files (from 4.X versions) that weren't removed during the upgrade. Some details about the error TypeError array_key_exists(): Argument #2 ($array) must be of type array, null given Failed to load resource: the server responded with a status of 500 () https://www.xxxxx.xxxx/applications/core/interface/css/css.php?css=applications/core/dev/css/global/framework/1-1-reset.css,applications/core/dev/css/global/framework/1-2-settings.css,applications/core/dev/css/global/framework/1-3-variables.css,applications/core/dev/css/global/framework/1-4-colors.css,applications/core/dev/css/global/framework/1-5-global.css,applications/core/dev/css/global/framework/3-badges.css,applications/core/dev/css/global/framework/3-boxes.css,applications/core/dev/css/global/framework/3-buttons.css,applications/core/dev/css/global/framework/3-carousel.css,applications/core/dev/css/global/framework/3-color-scheme-changer.css,applications/core/dev/css/global/framework/3-compose.css,applications/core/dev/css/global/framework/3-cover-photo.css,applications/core/dev/css/global/framework/3-data-tables.css,applications/core/dev/css/global/framework/3-editor.css,applications/core/dev/css/global/framework/3-engagement.css,applications/core/dev/css/global/framework/3-entries.css,applications/core/dev/css/global/framework/3-forms.css,applications/core/dev/css/global/framework/3-grid.css,applications/core/dev/css/global/framework/3-hidden-animations.css,applications/core/dev/css/global/framework/3-iconpicker.css,applications/core/dev/css/global/framework/3-images.css,applications/core/dev/css/global/framework/3-inputs.css,applications/core/dev/css/global/framework/3-lightbox.css,applications/core/dev/css/global/framework/3-lists.css,applications/core/dev/css/global/framework/3-loading.css,applications/core/dev/css/global/framework/3-menus.css,applications/core/dev/css/global/framework/3-messages.css,applications/core/dev/css/global/framework/3-misc.css,applications/core/dev/css/global/framework/3-page-header.css,applications/core/dev/css/global/framework/3-pagination.css,applications/core/dev/css/global/framework/3-popup.css,applications/core/dev/css/global/framework/3-post-content.css,applications/core/dev/css/global/framework/3-posts.css,applications/core/dev/css/global/framework/3-prettify.css,applications/core/dev/css/global/framework/3-progress.css,applications/core/dev/css/global/framework/3-rating.css,applications/core/dev/css/global/framework/3-richtext.css,applications/core/dev/css/global/framework/3-social-icons.css,applications/core/dev/css/global/framework/3-step-bar.css,applications/core/dev/css/global/framework/3-streams.css,applications/core/dev/css/global/framework/3-tables.css,applications/core/dev/css/global/framework/3-tabs.css,applications/core/dev/css/global/framework/3-tags.css,applications/core/dev/css/global/framework/3-toolbox.css,applications/core/dev/css/global/framework/3-truncate.css,applications/core/dev/css/global/framework/3-typography.css,applications/core/dev/css/global/framework/4-breadcrumb.css,applications/core/dev/css/global/framework/4-footer.css,applications/core/dev/css/global/framework/4-global.css,applications/core/dev/css/global/framework/4-header.css,applications/core/dev/css/global/framework/4-layout.css,applications/core/dev/css/global/framework/4-mobile-footer.css,applications/core/dev/css/global/framework/4-navigation-panel.css,applications/core/dev/css/global/framework/4-offcanvas.css,applications/core/dev/css/global/framework/4-search-dialog.css,applications/core/dev/css/global/framework/4-width.css,applications/core/dev/css/global/framework/5-animation.css,applications/core/dev/css/global/framework/5-background.css,applications/core/dev/css/global/framework/5-basis.css,applications/core/dev/css/global/framework/5-border.css,applications/core/dev/css/global/framework/5-color.css,applications/core/dev/css/global/framework/5-flex-grid-gap.css,applications/core/dev/css/global/framework/5-margin.css,applications/core/dev/css/global/framework/5-opacity.css,applications/core/dev/css/global/framework/5-other.css,applications/core/dev/css/global/framework/5-padding.css,applications/core/dev/css/global/framework/5-responsive.css,applications/core/dev/css/global/framework/5-typography.css,applications/core/dev/css/global/framework/6-debug.css,applications/core/dev/css/global/framework/_vars.css,applications/core/dev/css/global/framework/animation.css,applications/core/dev/css/global/framework/badges.css,applications/core/dev/css/global/framework/blocks.css,applications/core/dev/css/global/framework/buttons.css,applications/core/dev/css/global/framework/cards.css,applications/core/dev/css/global/framework/comments.css,applications/core/dev/css/global/framework/compose.css,applications/core/dev/css/global/framework/data-lists.css,applications/core/dev/css/global/framework/engagement.css,applications/core/dev/css/global/framework/fonts.css,applications/core/dev/css/global/framework/forms.css,applications/core/dev/css/global/framework/global.css,applications/core/dev/css/global/framework/layout.css,applications/core/dev/css/global/framework/lightbox.css,applications/core/dev/css/global/framework/menus.css,applications/core/dev/css/global/framework/messages.css,applications/core/dev/css/global/framework/misc.css,applications/core/dev/css/global/framework/navigation.css,applications/core/dev/css/global/framework/normalize.css,applications/core/dev/css/global/framework/pagination.css,applications/core/dev/css/global/framework/popup.css,applications/core/dev/css/global/framework/post-content.css,applications/core/dev/css/global/framework/posts.css,applications/core/dev/css/global/framework/prettify.css,applications/core/dev/css/global/framework/spectrum.css,applications/core/dev/css/global/framework/streams.css,applications/core/dev/css/global/framework/table-of-contents.css,applications/core/dev/css/global/framework/tables.css,applications/core/dev/css/global/framework/tabs.css,applications/core/dev/css/global/framework/tags.css,applications/core/dev/css/global/framework/toolbox.css,applications/core/dev/css/global/framework/typography.css&v=58102e73a11729880439 These were the .css files that seems to be from previous versions of the dev tools but for some reason IPS 5 were trying to load them applications/core/dev/css/global/framework/_vars.css applications/core/dev/css/global/framework/blocks.css applications/core/dev/css/global/framework/global.css applications/core/dev/css/global/framework/layout.css applications/core/dev/css/global/framework/misc.css applications/core/dev/css/global/framework/typography.css I've fixed this by removing all the dev folders, and then installing the new dev tools again. Thanks
-
BraCa reacted to a post in a topic: Downloads - REST API - Version date is not set
-
BraCa started following Invision Community Insider
-
BraCa reacted to a post in a topic: Downloads - REST API - Version date is not set
-
I will try, but just to be clear, do you mean to add to the body new properties named "date" and "updated"? Also, in what format should those values be?
-
Yes, but it's not PHP, it's written in C#, but here it goes var fileContentsAsByteArray = await File.ReadAllBytesAsync(filepath).ConfigureAwait(false); var fileContents = HttpUtility.UrlEncode(fileContentsAsByteArray); var body = new Dictionary<string, string> { { "category", request.CategoryId.ToString() }, { "author", request.AuthorId.ToString() }, { "title", HttpUtility.UrlEncode(request.Title)}, { "description", HttpUtility.UrlEncode(request.Description)}, { $"files[{request.Filename}]", fileContents}, }; if (!string.IsNullOrWhiteSpace(request.Version)) { body["version"] = HttpUtility.UrlEncode(request.Version); } if (!string.IsNullOrWhiteSpace(request.Changelog)) { body["changelog"] = HttpUtility.UrlEncode(request.Changelog); } var bodyString = body.ConvertToQueryString(); var uriPath = fileId.HasValue ? $"index.php?/downloads/files/{fileId.Value}/history" : "index.php?/downloads/files"; var response = await httpClient.PostAsync<UploadFileResult>( httpClient.BaseAddress, uriPath, bodyString, contentType: "application/x-www-form-urlencoded").ConfigureAwait(false);
-
BraCa started following Downloads - REST API - Version date is not set
-
Hi, I'm using the REST API to upload files I use the following endpoints: "index.php?/downloads/files" and "index.php?/downloads/files/{fileId}/history" (depending if I'm uploading a new version for an existent file or not) Anyway, regardless of the endpoint, all the files that I uploaded through the API are stored with a version date of "Released January 1, 1970" When I upload them via the website, the version date is stored properly, this only happens when I use the REST API to upload files Thanks
-
Is it normal, that when a guest submits a form, the form author becames my own user?
-
Hi, I have a simple form with a couple of fields, where one field is 'Upload' Field Type, so that the user can upload a file if needed. My form when submited creates a new topic. The topic is being created properly, and everything else seems to be working, but the file upload isn't. When I click in the attachment in the topic, I get this error: This is my form And the form settings Any idea what's causing this? Thanks