sonnb - XenGallery (XenForo Gallery) [Deleted]

Got an error after I clicked on the 'Import Comment's' button when importing as 'User Medias to Albums'.

ErrorException: Undefined index: message - library/sonnb/XenGallery/Importer/XenMedioFree.php:504 Generated By: DRE, 2 minutes ago Stack Trace #0 /home/blah/public_html/library/sonnb/XenGallery/Importer/XenMedioFree.php(504): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/blah/publi...', 504, Array) #1 /home/blah/public_html/library/XenForo/Importer/Abstract.php(77): sonnb_XenGallery_Importer_XenMedioFree->stepComments(0, Array) #2 /home/blah/public_html/library/XenForo/ControllerAdmin/Import.php(195): XenForo_Importer_Abstract->runStep(Object(XfAddOns_Blogs_Override_ControllerAdmin_Import), Object(XenForo_ImportSession), 'comments', 0, Array) #3 /home/blah/public_html/library/XenForo/ControllerAdmin/Import.php(143): XenForo_ControllerAdmin_Import->_runStep(Object(sonnb_XenGallery_Importer_XenMedioFree), Object(XenForo_ImportSession), 'comments', 0, Array) #4 /home/blah/public_html/library/XenForo/FrontController.php(347): XenForo_ControllerAdmin_Import->actionImport() #5 /home/blah/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch)) #6 /home/blah/public_html/admin.php(13): XenForo_FrontController->run() #7 {main} Request State array(3) { ["url"] => string(37) "http://8th.us/admin.php?import/import" ["_GET"] => array(1) { ["import/import"] => string(0) "" } ["_POST"] => array(1) { ["_xfToken"] => string(8) "********" } }

I'm deleting all the videos I imported since the comments did not make it. It's 29 albums 909 videos. I rebuild the caches, found them in admincp (thanks for this option to delete albums from admincp) deleted the video albums and then rebuild caches again. Guess I'll wait for a fix.
You are right. There is an issue when importing comments from XenMedio.
One thing I dislike about the vid display is that big press play button in the middle of the vids. Is there an option to remove it?
Of course, you can edit CSS to remove it.
This phrase is missing.
View attachment 63489
Will be fixed.
 
Instead of removing it, I created a slightly different, but more transparent icon.
You are right. There is an issue when importing comments from XenMedio.

Of course, you can edit CSS to remove it.

Will be fixed.
Is the issue because there are comments from a user that was deleted?
 
Instead of removing it, I created a slightly different, but more transparent icon.

Is the issue because there are comments from a user that was deleted?
No it is not. It is because wrong field name in the importer.
 
No it is not. It is because wrong field name in the importer.
Can you add an option to change the default Gallery Index to be latest pics and videos?

This would be more instagram-like. Peeps love Instagram.

http://www.sonnb.com/threads/latest-pics-and-vids-on-index.229/
A such option has been planned to be implemented.
In the meantime can we have a BD Widget that lets us add both videos and pics to the home page in one block? Also a good example of how this could look is the 'Attachment Grid' block from xfrocks BD Image addon. That block is awesome because it resizes according to the page. Actually yours also does that now that I think about it.
 
Code:
Fix issue with XenMedio Free importer while importing comments
What about me? That already imported my Xen Medio data and already uninstalled it.
Does it fix my comment's also?
 
Is there a way to make the video titles show? Just realized that I can't see the titles of vids unless I actually view the video. The titles don't show on the album or gallery index.
 
After close review, I decided not to convert over from XenMedio because it's going to be harder to find a vid I want to see that I can't remember the name of because XenGallery does not organize videos by categories and you can't even read the titles from the grid view.
 
Nah! That's bad.
I'm not going to do that :(
@sonnb any suggestion?
Do you keep the import logs?
Is there a way to make the video titles show? Just realized that I can't see the titles of vids unless I actually view the video. The titles don't show on the album or gallery index.
There is always a way there. We can do the same with album's layout. Show title, author,... Maybe I will add it as an option in Style Properties in the next version.
 
Maybe a search and replace to the xengallery comments database table will do?
Like:

Search '[URL]' replace with blank.
 
Last edited:
Attachment Deleted.
But you didn't fix it all.
Some are still using http, like creating an album.
Location suggestion is not working because of it.

Instead of declaring https directly, just change all instances to //maps.googleapis.com/maps/api/js
 
ErrorException: Argument 1 passed to sonnb_XenGallery_Model_Content::canViewDeletedContent() must be of the type array, string given, called in /home/blah/public_html/library/sonnb/XenGallery/ControllerPublic/XenGallery/Photo.php on line 1330 and defined - library/sonnb/XenGallery/Model/Content.php:991 Generated By: cubuhh, Today at 12:44 AM Stack Trace #0 /home/blah/public_html/library/sonnb/XenGallery/Model/Content.php(991): XenForo_Application::handlePhpError(4096, 'Argument 1 pass...', '/home/blah/publi...', 991, Array) #1 /home/blah/public_html/library/sonnb/XenGallery/ControllerPublic/XenGallery/Photo.php(1330): sonnb_XenGallery_Model_Content->canViewDeletedContent('photo') #2 /home/blah/public_html/library/XenForo/FrontController.php(347): sonnb_XenGallery_ControllerPublic_XenGallery_Photo->actionDelete() #3 /home/blah/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch)) #4 /home/blah/public_html/index.php(13): XenForo_FrontController->run() #5 {main} Request State array(3) { ["url"] => string(40) "http://8th.us/gallery/photos/1620/delete" ["_GET"] => array(0) { } ["_POST"] => array(7) { ["reason"] => string(0) "" ["hard_delete"] => string(1) "0" ["_xfConfirm"] => string(1) "1" ["_xfToken"] => string(8) "********" ["_xfRequestUri"] => string(21) "/gallery/photos/1620/" ["_xfNoRedirect"] => string(1) "1" ["_xfResponseType"] => string(4) "json" } }
 
Back
Top Bottom