Link Directory (LD) [Deleted]

au lait updated Link Directory (LD) with a new update entry:

Version 2.9

Beautiful Christmas to you all and many thanks!

[fixed] Gutter-Size had no effect
[fixed] if the date is hidden, the comma remained
[fixed] in the URL of the images were two /
[fixed] LD Thread was not deleted correctly
[fixed] Import Bookmarks
[fixed] Recent Activity Bug (template)
[fixed] Recent Activity Bug
[fixed] Performance Fix - for more as 10k Links
[fixed] Category "Usergroups that can view links" && "Usergroups that can add links" does not...

Read the rest of this update entry...
 
Merry x-mas m8! Thanks for the update!

Found 3 errors in ACP after the update. See below. No rush ;) First enjoy the holidays!
Server Error Log
Error Info
ErrorException: Undefined variable: ids - library/phc/LinkDirectory/ControllerPublic/Links.php:683
Generated By: Unknown Account, 4 minutes ago
Stack Trace
#0 /home/axel/public_html/forum/library/phc/LinkDirectory/ControllerPublic/Links.php(683): XenForo_Application::handlePhpError(8, 'Undefined varia...', '/home/axel/publ...', 683, Array)
#1 /home/axel/public_html/forum/library/XenForo/FrontController.php(351): phc_LinkDirectory_ControllerPublic_Links->actionView()
#2 /home/axel/public_html/forum/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#3 /home/axel/public_html/forum/index.php(13): XenForo_FrontController->run()
#4 {main}
Request State
array(3) {
["url"] => string(70) "http://mainecoon.nl/forum/linkdirectory/link/shadow-and-light.221/view"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}

Server Error Log
Error Info
ErrorException: Undefined variable: fetchOptions - library/phc/LinkDirectory/ControllerPublic/Links.php:683
Generated By: Unknown Account, 5 minutes ago
Stack Trace
#0 /home/axel/public_html/forum/library/phc/LinkDirectory/ControllerPublic/Links.php(683): XenForo_Application::handlePhpError(8, 'Undefined varia...', '/home/axel/publ...', 683, Array)
#1 /home/axel/public_html/forum/library/XenForo/FrontController.php(351): phc_LinkDirectory_ControllerPublic_Links->actionView()
#2 /home/axel/public_html/forum/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#3 /home/axel/public_html/forum/index.php(13): XenForo_FrontController->run()
#4 {main}
Request State
array(3) {
["url"] => string(70) "http://mainecoon.nl/forum/linkdirectory/link/shadow-and-light.221/view"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}

Server Error Log
Error Info
ErrorException: Argument 2 passed to phc_LinkDirectory_Model_Rating::getRatingsCount() must be of the type array, null given, called in /home/axel/public_html/forum/library/phc/LinkDirectory/ControllerPublic/Links.php on line 683 and defined - library/phc/LinkDirectory/Model/Rating.php:41
Generated By: Unknown Account, 6 minutes ago
Stack Trace
#0 /home/axel/public_html/forum/library/phc/LinkDirectory/Model/Rating.php(41): XenForo_Application::handlePhpError(4096, 'Argument 2 pass...', '/home/axel/publ...', 41, Array)
#1 /home/axel/public_html/forum/library/phc/LinkDirectory/ControllerPublic/Links.php(683): phc_LinkDirectory_Model_Rating->getRatingsCount(NULL, NULL)
#2 /home/axel/public_html/forum/library/XenForo/FrontController.php(351): phc_LinkDirectory_ControllerPublic_Links->actionView()
#3 /home/axel/public_html/forum/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#4 /home/axel/public_html/forum/index.php(13): XenForo_FrontController->run()
#5 {main}
Request State
array(3) {
["url"] => string(70) "http://mainecoon.nl/forum/linkdirectory/link/shadow-and-light.221/view"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
 
Merry x-mas m8! Thanks for the update!

Found 3 errors in ACP after the update. See below. No rush ;) First enjoy the holidays!
Server Error Log
Error Info
ErrorException: Undefined variable: ids - library/phc/LinkDirectory/ControllerPublic/Links.php:683
Generated By: Unknown Account, 4 minutes ago
Stack Trace
#0 /home/axel/public_html/forum/library/phc/LinkDirectory/ControllerPublic/Links.php(683): XenForo_Application::handlePhpError(8, 'Undefined varia...', '/home/axel/publ...', 683, Array)
#1 /home/axel/public_html/forum/library/XenForo/FrontController.php(351): phc_LinkDirectory_ControllerPublic_Links->actionView()
#2 /home/axel/public_html/forum/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#3 /home/axel/public_html/forum/index.php(13): XenForo_FrontController->run()
#4 {main}
Request State
array(3) {
["url"] => string(70) "http://mainecoon.nl/forum/linkdirectory/link/shadow-and-light.221/view"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}

Server Error Log
Error Info
ErrorException: Undefined variable: fetchOptions - library/phc/LinkDirectory/ControllerPublic/Links.php:683
Generated By: Unknown Account, 5 minutes ago
Stack Trace
#0 /home/axel/public_html/forum/library/phc/LinkDirectory/ControllerPublic/Links.php(683): XenForo_Application::handlePhpError(8, 'Undefined varia...', '/home/axel/publ...', 683, Array)
#1 /home/axel/public_html/forum/library/XenForo/FrontController.php(351): phc_LinkDirectory_ControllerPublic_Links->actionView()
#2 /home/axel/public_html/forum/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#3 /home/axel/public_html/forum/index.php(13): XenForo_FrontController->run()
#4 {main}
Request State
array(3) {
["url"] => string(70) "http://mainecoon.nl/forum/linkdirectory/link/shadow-and-light.221/view"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}

Server Error Log
Error Info
ErrorException: Argument 2 passed to phc_LinkDirectory_Model_Rating::getRatingsCount() must be of the type array, null given, called in /home/axel/public_html/forum/library/phc/LinkDirectory/ControllerPublic/Links.php on line 683 and defined - library/phc/LinkDirectory/Model/Rating.php:41
Generated By: Unknown Account, 6 minutes ago
Stack Trace
#0 /home/axel/public_html/forum/library/phc/LinkDirectory/Model/Rating.php(41): XenForo_Application::handlePhpError(4096, 'Argument 2 pass...', '/home/axel/publ...', 41, Array)
#1 /home/axel/public_html/forum/library/phc/LinkDirectory/ControllerPublic/Links.php(683): phc_LinkDirectory_Model_Rating->getRatingsCount(NULL, NULL)
#2 /home/axel/public_html/forum/library/XenForo/FrontController.php(351): phc_LinkDirectory_ControllerPublic_Links->actionView()
#3 /home/axel/public_html/forum/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#4 /home/axel/public_html/forum/index.php(13): XenForo_FrontController->run()
#5 {main}
Request State
array(3) {
["url"] => string(70) "http://mainecoon.nl/forum/linkdirectory/link/shadow-and-light.221/view"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
fixed!
 
Links in moderation does not give you the actual link for review

its hard to decide rather to approve if you dont know what the link is until after you have approved it
 
The new version throws a lot of errors when running tools from admin control panel;
Code:
#0 /home/nginx/domains/*****/public/library/XenForo/DataWriter.php(1401): XenForo_DataWriter->_haveErrorsPreventSave()
#1 /home/nginx/domains/****/public/library/phc/LinkDirectory/Extend/XenForo/DataWriter/Discussion/Thread.php(48): XenForo_DataWriter->save()
 
Getting more and more errors now @au lait and a lot more when enabling or disabling add ons
Code:
Server Error Log
Error Info
XenForo_Exception: The existing data required by the data writer could not be found. - library/XenForo/DataWriter.php:1359
Generated By: , Yesterday at 13:52
Stack Trace

#0 /home/sitepublic/library/XenForo/DataWriter.php(1401): XenForo_DataWriter->_haveErrorsPreventSave()
#1 /home/sitepublic/library/phc/LinkDirectory/Extend/XenForo/DataWriter/Discussion/Thread.php(48): XenForo_DataWriter->save()
#2 /home/sitepublic/library/XenForo/DataWriter/Discussion.php(467): phc_LinkDirectory_Extend_XenForo_DataWriter_Discussion_Thread->_discussionPostSave()
#3 /home/sitepublic/library/XenForo/DataWriter.php(1423): XenForo_DataWriter_Discussion->_postSave()
#4 /home/sitepublic/library/XenForo/Deferred/Thread.php(46): XenForo_DataWriter->save()
#5 /home/sitepublic/library/XenForo/Model/Deferred.php(295): XenForo_Deferred_Thread->execute(Array, Array, 7.9864828586578, '')
#6 /home/sitepublic/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 7.9864828586578, '', false)
#7 /home/sitepublic/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, 7.9864828586578, '', false)
#8 /home/sitepublic/library/XenForo/ViewRenderer/Abstract.php(352): XenForo_Model_Deferred->run(true, 7.9864828586578)
#9 /home/sitepublic/library/XenForo/ViewRenderer/HtmlAdmin.php(131): XenForo_ViewRenderer_Abstract::hasManualDeferredToRun(true)
#10 /home/sitepublic/library/XenForo/FrontController.php(639): XenForo_ViewRenderer_HtmlAdmin->renderContainer(Object(XenForo_Template_Admin), Array)
#11 /home/sitepublic/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_Error), Object(XenForo_ViewRenderer_HtmlAdmin), Array)
#12 /home/sitepublic/admin.php(13): XenForo_FrontController->run()
#13 {main}

Request State

array(3) {
  ["url"] => string(55) "site.com/admin.php?tools/run-deferred"
  ["_GET"] => array(1) {
    ["tools/run-deferred"] => string(0) ""
  }
  ["_POST"] => array(3) {
    ["redirect"] => string(60) "site.com/admin.php?tools/rebuild&success=1"
    ["execute"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
  }
}
 
Is there a way to import a category structure? I've got a category structure that I need to import, it's quite large and I don't really want to manually recreate all of them one at a time. :(

And when I say quite large, I'm talking in excess of 530 categories. :eek:
 
Last edited:
i see this is a really popular addon, how would one use this to benefit you as the site owner and the members?
my site deals with gaming/live streaming to places like twitch. About the only thing i could think of was either indexing the urls of streamers or posting product links to items streamers/gamers might want to buy. However i've got an article and review system in place for that, so, feedback?
 
When creating a new link ( /linkdirectory/link/add ) I no longer see the options for creating a thread, that should appear below the section for uploading an image.
Taking a look a page source and the HTML appears, but it's no showing.
 
Top Bottom