Jump to content

h_ybrid

Clients
  • Joined

  • Last visited

  1.    h_ybrid reacted to a post in a topic: Gallery album image counter
  2. I think self hosted is great value, cloud on the other hand is day light robbery. Id happily pay more if you merged features and had self hosted tiers like cloud, but the current pricing for that is yikes. Essentially an 10x for a few things that frankly are not remotely worth it. And this is coming from someone who doesn’t worry about money.
  3. Hi, was this ever fixed/resolved beyond editing core files?
  4. I have a gallery album image counter that is wrong, I assume a task updates this but I've ran them all and its still wrong. How/when does this update? Thanks.
  5.    h_ybrid reacted to a post in a topic: Default homepage
  6. h_ybrid posted a post in a topic in General Questions
    Sweet. Thank you sir.
  7. h_ybrid posted a post in a topic in General Questions
    Also is it normal to show breadcrumbs on the homepage.
  8. h_ybrid posted a post in a topic in General Questions
    So I can set the system as my default app, and this then defaults the homepage to all activity on cloud which is cool but on self hosted its featured content as the homepage. Can I change that to a different feed?
  9. Ok but self hosting is feature poor. You allow mods on cloud, they manipulate the DB, so how is running a query in a admin box any different?
  10. Seems to be really random. Maybe browser/isp/server. I need to pin it down more but thought id ask maybe its a issue seen before. Technically possible to make an app the can grab tables etc, seems plausable if we can build apps?
  11. I have a funny issue with gallery uploads. You can select 1 or more images and most time its fine but every now and then everything uploads fine but you click 'Submit all images' the progress bar completes or even skips and either way you get back to the album but only 1 image will be uploaded. No errors. And another query i have, if on cloud, whats the proceedure with mysql issues, say you uplaod a APP and it does some quirky stuff. Do we have access at all or its all done through support? Thank you.
  12.    h_ybrid reacted to a post in a topic: Invision Community 5.0.1 Released
  13. I get this on my cloud install after a fine upgrade when accessing any page, including admin cp Welcome to Invision Community 5 Before we can begin, please rename conf_global.dist.php to conf_global.php in /var/www/html/5000052 and ensure it is writable (usually CHMOD 0777).
  14. Thank you.
  15. So thats all good but also displays in forum app.
  16. Yes, bizarre. <?php namespace IPS\galleryai\extensions\core\Loader; use IPS\Dispatcher; use IPS\Extensions\LoaderAbstract; use function defined; /* To prevent PHP errors (extending class does not exist) revealing path */ if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) ) { header( ( $_SERVER['SERVER_PROTOCOL'] ?? 'HTTP/1.0' ) . ' 403 Forbidden' ); exit; } class CustomCSS extends LoaderAbstract { public function css(): array { $cssFiles = []; # Only add to the frontend, and for a specific app if ( \IPS\Dispatcher::checkLocation( 'front', 'gallery' ) ) { $cssFiles[] = \IPS\Theme::i()->css( 'custom.css', 'galleryai', 'front' ); } return $cssFiles; } } https://develop.emtbw.com/album/9-bike-stuff/ <?php namespace IPS\galleryai\extensions\core\Loader; use IPS\Dispatcher; use IPS\Extensions\LoaderAbstract; use function defined; /* To prevent PHP errors (extending class does not exist) revealing path */ if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) ) { header( ( $_SERVER['SERVER_PROTOCOL'] ?? 'HTTP/1.0' ) . ' 403 Forbidden' ); exit; } class CustomCSS extends LoaderAbstract { public function css(): array { $cssFiles = []; # Only add to the frontend, and for a specific app if ( \IPS\Dispatcher::checkLocation( 'front', 'gallery' ) ) { $cssFiles[] = \IPS\Theme::i()->css( 'custom.css', 'galleryai', 'front' ); } return $cssFiles; } }
  17. Beautiful, thank you very much sir. Oh spoke to soon, it runs but shows everywhere.
  18. <?php namespace IPS\galleryai\extensions\core\Loader; use IPS\Extensions\LoaderAbstract; use function defined; /* To prevent PHP errors (extending class does not exist) revealing path */ if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) ) { header( ( $_SERVER['SERVER_PROTOCOL'] ?? 'HTTP/1.0' ) . ' 403 Forbidden' ); exit; } class CustomCSS extends LoaderAbstract { public function css(): array { // Manually construct the URL using the base URL from IPS settings $baseUrl = \IPS\Settings::i()->base_url; $url = rtrim($baseUrl, '/') . '/applications/galleryai/dev/css/front/custom.css'; return [ [(string) $url] ]; } }That works but is system wide. public function getLocationData(): array { $app = Dispatcher::i()->application ? Dispatcher::i()->application->directory : null; $module = Dispatcher::i()->module ? Dispatcher::i()->module->key : null; $controller = Dispatcher::i()->controller ?? null; $id = \IPS\Request::i()->id ? (int)\IPS\Request::i()->id : null; return array( 'app' => $app, 'module' => $module, 'controller' => $controller, 'id' => $id ); }That retruns null.