1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Promoted Content [Paid] [Deleted]

Discussion in 'Add-on Releases' started by Daniel Hood, Aug 8, 2013.

  1. Daniel Hood

    Daniel Hood Well-Known Member

    Daniel Hood submitted a new resource:

    Promoted Content - Display featured content everywhere on your site.

    Read more about this resource...
     
    DRE likes this.
  2. Allan

    Allan Well-Known Member

    Please, screen or demo ^^
     
  3. Daniel Hood

    Daniel Hood Well-Known Member

    DRE likes this.
  4. DRE

    DRE Well-Known Member

    Can you please include a configurable height of the promoted widget? I feel mine is too tall.
     
  5. Daniel Hood

    Daniel Hood Well-Known Member

    Slideshow or post? The slideshow is adaptive of the attachment image.
     
    DRE likes this.
  6. DRE

    DRE Well-Known Member

    post. I haven't used slideshow yet. I'll test that out in a moment.
     
  7. Daniel Hood

    Daniel Hood Well-Known Member

    Yeah I'll add a configurable height for the post widget.
     
    DRE likes this.
  8. RobParker

    RobParker Well-Known Member

    Purchased but when trying to install I get this error:

    Server Error
    Non-static method XMPromotedContent_Install::_getDb() should not be called statically

    1. XenForo_Application::handlePhpError() in XMPromotedContent/Install.php at line 29
    2. XMPromotedContent_Install::_getDb() in XMPromotedContent/Install.php at line 29
    3. XMPromotedContent_Install::Install()
    4. call_user_func() in XenForo/Model/AddOn.php at line 215
    5. XenForo_Model_AddOn->installAddOnXml() in XenForo/Model/AddOn.php at line 169
    6. XenForo_Model_AddOn->installAddOnXmlFromFile() in XenForo/ControllerAdmin/AddOn.php at line 187
    7. XenForo_ControllerAdmin_AddOn->actionInstall() in XenForo/FrontController.php at line 337
    8. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
    9. XenForo_FrontController->run() in /home/sites/xf.spurscommunity.co.uk/public_html/admin.php at line 13
     
  9. Daniel Hood

    Daniel Hood Well-Known Member

    I sent you a private conversation, would like you to test something before I zip, upload, and email everyone.
     
    Last edited: Aug 8, 2013
  10. Daniel Hood

    Daniel Hood Well-Known Member

  11. RobParker

    RobParker Well-Known Member

    Working now.

    How do I get it to appear at the top like @DRE has?
     
    Last edited: Aug 8, 2013
  12. RobParker

    RobParker Well-Known Member

    Code:
    hook:page_container_content_top 
    doesn't seem to work and leave an empty box.
     
  13. Daniel Hood

    Daniel Hood Well-Known Member

    try doing: "all", wondering if it's just that hook or what.
     
  14. RobParker

    RobParker Well-Known Member

    "all" places it in the sidebar and works fine.

    Putting a hook name (I've tried several), gives a blank space.
     
  15. RobParker

    RobParker Well-Known Member

    This is all I get when I try using a hook
    Screen Shot 2013-08-08 at 19.27.11.png

    Edit: It's not just your widget, any widget I try placing with a hook is empty, even the preconfigured ones. Any ideas @xfrocks ?
     
    Last edited: Aug 8, 2013
  16. Daniel Hood

    Daniel Hood Well-Known Member

    That's odd. Can you send me a link to your site?
     
  17. RobParker

    RobParker Well-Known Member

    It's our dev site so it's not possible to signup, etc.

    I just tried moving the forum statistics default widget to hook: page_container_content_top and that did the same thing.
     
  18. Daniel Hood

    Daniel Hood Well-Known Member

    @xfrocks do I need to change my widgets code for your new version?
     
  19. Daniel Hood

    Daniel Hood Well-Known Member

  20. xfrocks

    xfrocks Well-Known Member

    No need. I have identified a bug that affects the use of hook positions. Will be fixed today.
     
    Daniel Hood likes this.

Share This Page