Jump to content

teraßyte

Clients
  • Posts

    33,425
  • Joined

  • Days Won

    47

Reputation Activity

  1. Like
    teraßyte got a reaction from David N. in Pages as Default App - Still Shows Unread Content, etc.   
    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.
  2. Like
    teraßyte got a reaction from I_cant_Swim_ in Can I force logout for all guests?   
    If you are on Windows, once you find the access logs, you can try using this application to parse/view them in a more readable format: https://www.apacheviewer.com/
    The free version should be more than enough for what you need. You can filter by those guests' IPs, etc.
  3. Thanks
    teraßyte got a reaction from I_cant_Swim_ in Can I force logout for all guests?   
    You could remove the guests' permission to see those specific forums, but it would impact the ability of search engines to index your content, too.
     
    You might be able to tell what they're doing if you look at the access logs of your server. If you're unsure where they are, try asking your hosting. Every page opened/viewed is recorded in those logs (as log as the server has the option enabled). You might be able to see what exactly they're doing that way.
  4. Like
    teraßyte got a reaction from I_cant_Swim_ in Can I force logout for all guests?   
    Guests aren't "logged in" so you can't log them out. If you don't want them around, the only option is to ban their IP (range?) at the server level.
    However, as you mentioned, it's possible those "guests" are actually bots crawling your site to index it. Unless you have some reason to be wary of those guests, I'd just ignore them.
  5. Like
    teraßyte got a reaction from SeNioR- in CHMOD Settings   
    You can find the recommended CHMOD settings inside the init.php file:
    // File permissions // For example: when making folders for files to be uploaded to, what permissions // that should be created with 'IPS_FOLDER_PERMISSION' => 0777, // Writeable folders 'FOLDER_PERMISSION_NO_WRITE' => 0755, // Non-writeable folders 'IPS_FILE_PERMISSION' => 0666, // Writeable files 'FILE_PERMISSION_NO_WRITE' => 0644, // Non-writeable files Those are the default values IPS suggests (and uses), but depending on your server's configuration, you might need to adjust them. That part is best discussed with your hosting, though.
     
    As for writable folders, the default ones usually are applications, datastore, plugins, and uploads.
    Anyway, you'll get an error during upgrades if something that needs to be writable isn't. Unless you're having issues with your site (for example, files not uploading, etc), I wouldn't change anything.
  6. Like
    teraßyte got a reaction from SeNioR- in Can I force logout for all guests?   
    Guests aren't "logged in" so you can't log them out. If you don't want them around, the only option is to ban their IP (range?) at the server level.
    However, as you mentioned, it's possible those "guests" are actually bots crawling your site to index it. Unless you have some reason to be wary of those guests, I'd just ignore them.
  7. Like
    teraßyte got a reaction from SeNioR- in [4.7.15] Cloning a custom Commerce package throws an "Access to undeclared static property" error   
    I created a new type of Commerce package for a client, and when trying to clone it an error is thrown.
    Here's the stacktrace:
    Error thrown with message "Access to undeclared static property IPS\premium\Package\Premium::$packageDatabaseColumns" Stacktrace: #6 Error in \applications\nexus\sources\Package\Package.php:264 #5 IPS\nexus\_Package:__clone in \system\Node\Controller.php:915 #4 IPS\Node\_Controller:copy in \system\Dispatcher\Controller.php:107 #3 IPS\Dispatcher\_Controller:execute in \system\Node\Controller.php:69 #2 IPS\Node\_Controller:execute in \applications\nexus\modules\admin\store\packages.php:46 #1 IPS\nexus\modules\admin\store\_packages:execute in \system\Dispatcher\Dispatcher.php:153 #0 IPS\_Dispatcher:run in \init.php:934  
    The issue is caused by the __clone() method in applications/nexus/sources/Package/Package.php which is missing the isset() check:
    foreach ( $this->_data as $k => $v ) { if ( !\in_array( $k, array( 'id', 'reviews', 'unapproved_reviews', 'hidden_reviews' ) ) ) { if ( \in_array( "p_{$k}", static::$packageDatabaseColumns ) ) { $secondaryTable[ "p_{$k}" ] = $v; } else { $primaryTable[ "p_{$k}" ] = $v; } } } Every other method properly checks if the variable is set before using it, but the __clone() method doesn't.
     
    Here's an example from the save() method where the isset() check is properly implemented:
    foreach ( $this->changed as $k => $v ) { if ( isset( static::$packageDatabaseColumns ) and \in_array( "p_{$k}", static::$packageDatabaseColumns ) ) { $secondaryTable[ "p_{$k}" ] = $v; unset( $this->changed[ $k ] ); } elseif ( !\in_array( "p_{$k}", array( [...] ) ) ) { unset( $this->changed[ $k ] ); } }
  8. Like
    teraßyte got a reaction from Marc Stridgen in How to sort template_ipc_group Error?   
    The error is coming from the ipc_group plugin: class_core_global_plugins->ipc_group
     
    The name doesn't remind me of anything right now, though. 🤔
    Do you have a plugin with that name? And if you do, does disabling it make the error go away?
  9. Like
    teraßyte got a reaction from AlexWebsites in Uses deprecated APIs ...   
    It's the same file, simply loaded from a different file storage.
  10. Like
    teraßyte got a reaction from sulervo in [4.7.15] Cloning a custom Commerce package throws an "Access to undeclared static property" error   
    I created a new type of Commerce package for a client, and when trying to clone it an error is thrown.
    Here's the stacktrace:
    Error thrown with message "Access to undeclared static property IPS\premium\Package\Premium::$packageDatabaseColumns" Stacktrace: #6 Error in \applications\nexus\sources\Package\Package.php:264 #5 IPS\nexus\_Package:__clone in \system\Node\Controller.php:915 #4 IPS\Node\_Controller:copy in \system\Dispatcher\Controller.php:107 #3 IPS\Dispatcher\_Controller:execute in \system\Node\Controller.php:69 #2 IPS\Node\_Controller:execute in \applications\nexus\modules\admin\store\packages.php:46 #1 IPS\nexus\modules\admin\store\_packages:execute in \system\Dispatcher\Dispatcher.php:153 #0 IPS\_Dispatcher:run in \init.php:934  
    The issue is caused by the __clone() method in applications/nexus/sources/Package/Package.php which is missing the isset() check:
    foreach ( $this->_data as $k => $v ) { if ( !\in_array( $k, array( 'id', 'reviews', 'unapproved_reviews', 'hidden_reviews' ) ) ) { if ( \in_array( "p_{$k}", static::$packageDatabaseColumns ) ) { $secondaryTable[ "p_{$k}" ] = $v; } else { $primaryTable[ "p_{$k}" ] = $v; } } } Every other method properly checks if the variable is set before using it, but the __clone() method doesn't.
     
    Here's an example from the save() method where the isset() check is properly implemented:
    foreach ( $this->changed as $k => $v ) { if ( isset( static::$packageDatabaseColumns ) and \in_array( "p_{$k}", static::$packageDatabaseColumns ) ) { $secondaryTable[ "p_{$k}" ] = $v; unset( $this->changed[ $k ] ); } elseif ( !\in_array( "p_{$k}", array( [...] ) ) ) { unset( $this->changed[ $k ] ); } }
  11. Agree
    teraßyte reacted to Nathan Explosion in Mention Tags Cannot Be Removed on Mobile   
    GBoard is the default keyboard of the Google Android OS (it's on Pixel devices, it's on most OnePlus devices, plus others that don't massively deviate from the stock OS)
    'Samsung Keyboard' is the native keyboard on the Samsung version of the Google Android OS, but can be overridden by the manual installation of GBoard from Google Play, just like SwiftKey is available for all Android devices.
  12. Like
    teraßyte got a reaction from Marc Stridgen in Changing allowAdminEmails through API   
    You can use this API: https://invisioncommunity.com/developers/rest-api?endpoint=core/members/POSTitem
    Pass the correct key/value pair using the rawProperties parameter: allow_admin_mails
  13. Like
    teraßyte got a reaction from Owdy in Forum down   
    Do you have some kind of caching enabled (for example: Cloudflare)? If so guests might still be getting the cached page (which bypasses the server), while logged-in members get the disk full error since they hit the server.
  14. Like
    teraßyte got a reaction from Safety1st in Forum down   
    Do you have some kind of caching enabled (for example: Cloudflare)? If so guests might still be getting the cached page (which bypasses the server), while logged-in members get the disk full error since they hit the server.
  15. Like
    teraßyte got a reaction from MaNiAc LRSC in php8 incompatibility...but no application is listed?   
    You can find the list of incompatible modification on the Support page.
  16. Like
    teraßyte got a reaction from Jim M in php8 incompatibility...but no application is listed?   
    You can find the list of incompatible modification on the Support page.
  17. Agree
    teraßyte reacted to Sonya* in Will blocking guests from viewing threads also block search engines?   
    It sounds like a doorway technique, called cloaking. You will be penalized by search engines if you try it.
  18. Haha
    teraßyte reacted to Randy Calvert in PHP 8 & MySQL version 5.7.34-cll-lve problem   
    MySQL5 no longer receives support/updates from the manufacturer.  So if they won't upgrade, I would highly recommend a new host.  That's basically waiting for an accident to happen.
    https://endoflife.date/mysql
    But IPB still works on 5.7... later versions however most likely won't.  So you have time to figure out your plans.  
    EDIT: teraByte and I apparently were on the same train of thought there!  JINX! 😄
  19. Like
    teraßyte got a reaction from Marc Stridgen in Uploading Fresh Files & Removing Outdated Files/Folders?   
    There isn't any need to make a copy of the database. Unless you made one and then cleaned infected tables/content from there, too?
    The best option is to re-upload a fresh set of files, and then compare the folder to check if there are any extra folders/files. Comparing the database tables to a fresh installation helps find the extra ones there, too. You also need to account for 3rd party applications and plugins, though.
     
    If you'd like, I offer a cleanup service. You can check my site or send me a PM.
  20. Like
    teraßyte got a reaction from Safety1st in Anonymous comments to be "reactable"   
    With the way it works now when someone likes a content you post (topic, post, file, image, etc), it shows up in your profile's activity, and you can also look up all the reputation a user has received in their profile.
     
    For example, if you look at my profile right now, you'll see this item in it:
    A list of reputations given and received is also available on this page: https://invisioncommunity.com/profile/145950-teraßyte/reputation/?type=forums_topic_post&change_section=1
    If you follow a link from there, and the post is anonymous, you'll be able to figure out who made the post.
     
    It doesn't work like this right now, it's a function that IPS would need to implement in the framework. I guess you can ask for this topic moved to the Feedback forum instead.
     
    And no, it's not possible to create a custom modification to change this behavior, either. Because of the way reputation is currently implemented (traits), it's not possible to overload/extend the necessary code.
  21. Like
    teraßyte got a reaction from Safety1st in Where is robots.txt file?   
    If you use the "optimized" option it's automatically generated. That's as long as you don't have a robots.txt file on the server itself. In that case, the request isn't rerouted and the static file is provided.
  22. Like
    teraßyte got a reaction from Adlago in 3rd Part Marketplace?   
    Some active developers moved to a new site and created a marketplace there.
    Here's the link: https://www.invisioneer.org/
  23. Like
    teraßyte got a reaction from Adriano Faria in 3rd Part Marketplace?   
    Some active developers moved to a new site and created a marketplace there.
    Here's the link: https://www.invisioneer.org/
  24. Thanks
    teraßyte got a reaction from tim260 in Template Broken after move from Cloud   
    Downgrade to PHP 8.1, the 8.2 version is not supported yet.
  25. Like
    teraßyte got a reaction from Safety1st in [BUG 4.7.15] Fresh install throws an error trying to enter the Web App settings page   
    None that I can think of without editing the code/database.
     
    I managed locally by temporarily altering the code to disable the json_decode line and saving the settings page.
    Updating the setting's default value in the DB and clearing the caches from ACP should work too.
×
×
  • Create New...