Xen Media Gallery (Media Gallery for XenForo) [Paid] [Deleted]

Status
Not open for further replies.
For the first problem of the lengthy URL, could you please run this database query in PHP My Admin?

Code:
ALTER TABLE xengallery_media CHANGE media_tag media_tag TEXT DEFAULT NULL

I have made that change in the upcoming XMG 2.1.

For the second problem, it looks like that one might not have been parsed properly but that could be down to the Sound Cloud BB Code you're using or some issue communicating with Sound Cloud or something like that. I can't help too much with that because all we display is the HTML generated by the BB Code system.

That being said, after making the change above and trying with your original URL that threw the error:

upload_2014-5-2_8-57-45.webp

It seems to work fine.
 
Then I would recommend seeking support from the author of the Sound Cloud BB Code you're using or to use the BB Code that @Martok recommended earlier.
 
Then I would recommend seeking support from the author of the Sound Cloud BB Code you're using or to use the BB Code that @Martok recommended earlier.

ok this bbcode works. thanks

I have my own video site that I added it but the thumbnails is not loading how would I fix that?
 
You can set up thumbnails for media sites in options:

upload_2014-5-2_9-34-11.webp

Unless the provider of the media site makes it easy to fetch their thumbnails, it may require custom development to retrieve the thumbnail path from their API. Or you could just upload a standard image that appears for every video that uses that media site.
 
I received this server error, added it here because out of all the mumbo jumbo stuff I saw Xengallery somewhere in there, if its in the wrong place, please let me know.

Code:
Server Error Log
Error Info
Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Duplicate entry '8425-1472' for key 'PRIMARY' - library/Zend/Db/Statement/Mysqli.php:214
Generated By: Posh Punk, Yesterday at 11:02 PM
Stack Trace
#0 /home/admin/public_html/community/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /home/admin/public_html/community/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /home/admin/public_html/community/library/Zend/Db/Adapter/Abstract.php(574): Zend_Db_Adapter_Abstract->query('INSERT INTO `xf...', Array)
#3 /home/admin/public_html/community/library/XenForo/DataWriter.php(1624): Zend_Db_Adapter_Abstract->insert('xf_user_follow', Array)
#4 /home/admin/public_html/community/library/XenForo/DataWriter.php(1613): XenForo_DataWriter->_insert()
#5 /home/admin/public_html/community/library/XenForo/DataWriter.php(1405): XenForo_DataWriter->_save()
#6 /home/admin/public_html/community/library/XenForo/Model/User.php(1741): XenForo_DataWriter->save()
#7 /home/admin/public_html/community/library/XenGallery/Model/User.php(7): XenForo_Model_User->follow(Array, true, NULL)
#8 /home/admin/public_html/community/library/XenForo/ControllerPublic/Member.php(461): XenGallery_Model_User->follow(Array)
#9 /home/admin/public_html/community/library/XenForo/FrontController.php(347): XenForo_ControllerPublic_Member->actionFollow()
#10 /home/admin/public_html/community/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#11 /home/admin/public_html/community/index.php(13): XenForo_FrontController->run()
#12 {main}
Request State
array(3) {
  ["url"] => string(132) "http://sphynxlair.com/community/members/violetsmom.1472/follow?_xfToken=8425%2C1398999755%2C0fc4786c93e3f6c4f9ac3bf233b530f89dfa3904"
  ["_GET"] => array(1) {
    ["_xfToken"] => string(56) "8425,1398999755,0fc4786c93e3f6c4f9ac3bf233b530f89dfa3904"
  }
  ["_POST"] => array(5) {
    ["_xfConfirm"] => string(1) "1"
    ["_xfRequestUri"] => string(35) "/community/members/violetsmom.1472/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
Is there anything you can do to reproduce this as currently I can't, but I will keep trying.
 
Is there anything you can do to reproduce this as currently I can't, but I will keep trying.
Lol -not sure how it even happened, sorry! Perhaps I should just delta the error, and see if it happens again? The only change recently on my site was the sitemap update, not sure if that has anything at all to do with it.
 
If it has only happened once, yes it should be safe to ignore. Not entirely convinced its an XMG error. It does extend some code there (which is why you see XenGallery in the trace which is my add-on rather than sonnb_XenGallery in case you were wondering), but not anything that would cause this that I can tell.

I'll do some more testing around that area and let you know.

Cheers.
 
If it has only happened once, yes it should be safe to ignore. Not entirely convinced its an XMG error. It does extend some code there (which is why you see XenGallery in the trace which is my add-on rather than sonnb_XenGallery in case you were wondering), but not anything that would cause this that I can tell.

I'll do some more testing around that area and let you know.

Cheers.
Yeah didn't think of the the other gallery being I removed/ uninstalled it but I guess some stuff sticks around. Ok, no prob.
 
Ha, actually no. User error (on my part).

This is the default EXIF data that is set up automatically:

upload_2014-5-2_12-40-34.webp

I have added some others at http://xenmediagallery.com:

upload_2014-5-2_12-41-24.webp

To ensure custom EXIF attributes can be shown and to ensure people can translate them and give them friendly names, etc. you have to create the phrases for them. And I forgot to do that.

Check again, I have added the phrases now :)
 
  • Like
Reactions: rdn
Hey Chris,

Is this possible with XMG:

1 - require public uploads to be approved/moderated before going live, to prevent porn uploads, but also keep a steady flow of images.
2 - easiest way to put a "UPLOAD" tab in the navigation that points to the "upload media" page.
3 - how do we hide the exif info if a picture has no description? when we share on facebook, it just gives the default text, and displaying no text would be better than that.

thanks!!!
 
1. Yes, there is a permission to bypass the moderation queue.
2. The default upload URL is media/add/ you would need another add-on (Nodes as Tabs) or to edit templates to add that.
3. There's no such feature to hide the EXIF info at the minute so you would need to edit it out of the xengallery_media_view template (search for exif in that template). I'm not sure I understand what it has to do with the description, though. The description is input by the user on upload.
 
Status
Not open for further replies.
Top Bottom