sonnb - XenGallery (XenForo Gallery) [Deleted]

sonnb updated sonnb - XenGallery with a new update entry:

New options and bug fixing

- Added option allow to specify how many related photos would be shown in photo view.
- Added option that allow specify how many comments would be pre-loaded in album/photo view.
- Added option to enable/disable Category and Collection feature.
- Added option to allow show current user's activity location in gallery. (Cost more queries).
- Added option to enable/disable RSS feature.
- Added option to allow and [MEDIA] BBCode in comments.
- Added a privacy option: "People I follow".
- Added...

Read the rest of this update entry...
 
Phrase error: <phrase title="sonnb_xengallery_add_photos_to_album_x" version_id="100" version_string="1.0.0"><![CDATA[Add Photos to the the album "{title}"]]></phrase>
 
Gives me an error with every image.
What can be wrong?
Server Error

Wrong parameter count for round()
1.XenForo_Application::handlePhpError()
2.round() in sonnb/XenGallery/Model/Photo.php at line 358
3.sonnb_XenGallery_Model_Photo->getPositionsAroundPhoto() in sonnb/XenGallery/ControllerPublic/XenGallery/Photo.php at line 36
4.sonnb_XenGallery_ControllerPublic_XenGallery_Photo->actionIndex() in XenForo/FrontController.php at line 337
5.XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
6.XenForo_FrontController->run() in /*****/*******/public_html/****/index.php at line 13


Edit:
ErrorException: Use of undefined constant PHP_ROUND_HALF_DOWN - assumed 'PHP_ROUND_HALF_DOWN' - library/sonnb/XenGallery/Model/Photo.php:358

Code:
array(3) {
  ["url"] => string(60) "http://*******************/****/index.php?gallery/photos/15/"
  ["_GET"] => array(1) {
    ["gallery/photos/15/"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
 
Last edited:
Got this error when going to my sites RSS http://8thos.com/gallery/index.rss

Gonna turn RSS fornow since it's acting weird.

An exception occurred: Undefined index: photos in /home/blah/public_html/library/sonnb/XenGallery/ViewPublic/Album/List.php on line 44

  1. XenForo_Application::handlePhpError() in sonnb/XenGallery/ViewPublic/Album/List.php at line 44
  2. sonnb_XenGallery_ViewPublic_Album_List->renderRss() in XenForo/ViewRenderer/Abstract.php at line 227
  3. XenForo_ViewRenderer_Abstract->renderViewObject() in XenForo/ViewRenderer/Rss.php at line 31
  4. XenForo_ViewRenderer_Rss->renderView() in XenForo/FrontController.php at line 572
  5. XenForo_FrontController->renderView() in XenForo/FrontController.php at line 158
  6. XenForo_FrontController->run() in /home/blah/public_html/index.php at line 13
 
Speaking of Manage Albums, can "Photo: Default View Privacy" also be added to that section?

Making albums public, but the photos inside them requiring members to sign in, is also pretty convenient.

Instead of it saying "There is no photo in this album yet." it should say "login to view the photos in this album"
 
Last edited:
Phrase error: <phrase title="sonnb_xengallery_add_photos_to_album_x" version_id="100" version_string="1.0.0"><![CDATA[Add Photos to the the album "{title}"]]></phrase>
Thanks
Gives me an error with every image.
What can be wrong?



Edit:
ErrorException: Use of undefined constant PHP_ROUND_HALF_DOWN - assumed 'PHP_ROUND_HALF_DOWN' - library/sonnb/XenGallery/Model/Photo.php:358

Code:
array(3) {
  ["url"] => string(60) "http://*******************/****/index.php?gallery/photos/15/"
  ["_GET"] => array(1) {
    ["gallery/photos/15/"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
It is because you are on PHP earlier than 5.3.0. Fixed this.
Got this error when going to my sites RSS http://8thos.com/gallery/index.rss

Gonna turn RSS fornow since it's acting weird.

An exception occurred: Undefined index: photos in /home/blah/public_html/library/sonnb/XenGallery/ViewPublic/Album/List.php on line 44

  1. XenForo_Application::handlePhpError() in sonnb/XenGallery/ViewPublic/Album/List.php at line 44
  2. sonnb_XenGallery_ViewPublic_Album_List->renderRss() in XenForo/ViewRenderer/Abstract.php at line 227
  3. XenForo_ViewRenderer_Abstract->renderViewObject() in XenForo/ViewRenderer/Rss.php at line 31
  4. XenForo_ViewRenderer_Rss->renderView() in XenForo/FrontController.php at line 572
  5. XenForo_FrontController->renderView() in XenForo/FrontController.php at line 158
  6. XenForo_FrontController->run() in /home/blah/public_html/index.php at line 13
Fixed.
Is it possible to "downgrade" it to the previous version?
Going to send the update now.
 
I don't like this new version, how can I get the name of the album and how many pictures to show 24/7. I don't like this new hover over deal.

Greg
 
Going to send the update now.

You are worth :
Michael-Fuller-53-insisted-his-million-dollar-note-was-real-when-he-was-trying-to-buy-476-worth-of-items-including-a-vacuum-cleaner-and-a-microwave-oven.jpg
 
Upgraded, still problem :


1.XenForo_Application::handlePhpError()
2.round() in sonnb/XenGallery/Model/Photo.php at line 344
3.sonnb_XenGallery_Model_Photo->getPositionsAroundPhoto() in sonnb/XenGallery/ControllerPublic/XenGallery/Photo.php at line 36
4.sonnb_XenGallery_ControllerPublic_XenGallery_Photo->actionIndex() in XenForo/FrontController.php at line 337
5.XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
6.XenForo_FrontController->run() in /*****/*******/public_html/****/index.php at line 13
 
Upgraded, still problem :


1.XenForo_Application::handlePhpError()
2.round() in sonnb/XenGallery/Model/Photo.php at line 344
3.sonnb_XenGallery_Model_Photo->getPositionsAroundPhoto() in sonnb/XenGallery/ControllerPublic/XenGallery/Photo.php at line 36
4.sonnb_XenGallery_ControllerPublic_XenGallery_Photo->actionIndex() in XenForo/FrontController.php at line 337
5.XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
6.XenForo_FrontController->run() in /*****/*******/public_html/****/index.php at line 13
Is there any chance to upgrade PHP to 5.3.0 and higher?
 
Back
Top Bottom