Jump to content


(e) Eric

  • Posts

  • Joined

  • Days Won


 Content Type 



IPS4 Providers

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog



Posts posted by (e) Eric

  1. The last thing would be to check permissions. Check and save and uncheck and save all the permissions in that block's permission matrix. Also there is a general On/Off config under Custom Sidebar Blocks settings.

    If none of that works, I would recommend uninstalling and reinstalling. Because your hook wasn't installed/enabled by default and that you had to do manual database recovery, who knows what the actual cause of the problem. So manually save any block contents you need and start over.

  2. I don't have much free time at the moment but it is on my list of things to tackle. Parsing posts and editor issues are my Achilles heal when it comes to IPB stuff, I wish it was a simple API call but for some reason its weird. Again, I would recommend turning off the fancy editor and just use the basic text box if you are doing lists (and just do them in HTML).

  3. Make sure the Custom Sidebar Blocks hook was also installed and enabled under Manage Hooks. Do any of your sidebar blocks show? That screenshot makes it look empty, so unless you've disabled all of the stock ones, that might be a bigger issue than just CSB.

  4. hmm, I made a test block on my site and I was able to resize the width of the video.

    Its currently set to 150:

    <object type="application/x-shockwave-flash" height="151" width="150" id="live_embed_player_flash" data="http://www.twitch.tv...nnel=MyUsername" bgcolor="#000000"><br />
    <br />
    <br />
    <br />
    <br />
    <br />
        <param name="allowFullScreen" value="true" /><br />
    <br />
    <br />
    <br />
    <br />
    <br />
        <param name="allowScriptAccess" value="always" /><br />
    <br />
        <param name="allowNetworking" value="all" /><br />
    <br />
    <br />
    <br />
    <br />
    <br />
        <param name="movie" value="http://www.twitch.tv...mbed_player.swf" /><br />
    <br />
    <br />
    <br />
    <br />
    <br />
        <param name="flashvars" value="hostname=www.twitch.tv&channel=iflysimx&auto_play=true&start_volume=25" /><br />
    <br />
    <br />
    <br />
    <br />
    <br />
    </object><br />
    <br />
    <br />
    <br />
    <ahref="http://www.twitch.tv/iFlysimX"  class="" style="padding:2px 0px 4px; display:block; width:250px; font-weight:normal; font-size:10px; text-decoration:underline; text-align:center;">Watch live video from iFlysimX on www.twitch.tv</a>
  5. This app simply extends the frontpage index (and the portal) and doesn't have the mechanisms to inject itself elsewhere. You would need another third-party app to show sidebars on other pages, then figure out a way to integrate CSB with it. :)

  6. What is the proper way to update to newest version?

    The upgrade instructions should be listed in the README. But it is just like usual, download the latest, unpack, upload, and follow the upgrade instructions in ACP.

  7. Hey Eric,

    I would like to make it so that a custom sidebar block isn't visible to users in a specific secondary group (Even though their primary group may be in the permissions as being able to view it)

    Any chance you could you give me a pointer as to how to do this?

    That isn't possible without some sort of code moficication to the source files, plus extra settings, etc.

    This is a great addon

    I have also installed Topic View Sidebar 1.0.1

    in order to have sidebars in the topic view but I cannot figure out how to get the blocks to show up

    It seems the Topic View Sidebar is using different name for the blocks?

    Anyone have a solution for how to get Topic View Sidebar to load the custom sidebar blocks ?

    Topic View Sidebar uses hook ID "scrolltoPost" which enables it to add the sidebar to topic views, I think this is why its not showing the blocks because custom sidebar blocks uses hook ID "side_block"

    any help is appreciated

    This app only works on the default index sidebar. So it doesn't integrate with 3rd-party things like sidebars on every page or in your case sidebars for topics. You would need some custom work done for that to work probably.

    hello all

    i have installed the custom sidebar hook and portal on my ip board forum

    have added three portal blocks and everything is ok

    when i try and add one block through the custom sidebar blocks hook

    i get the block shown correctly and all the other three are shown at the end of the page..either portal or forum page..weird...can someone help?site can be found here


    Here are 3 different ways to sort custom blocks, perhaps that will help: http://emoneycodes.com/forums/topic/344-ways-to-sort-custom-sidebar-blocks/?hl=sort

    The portal page is different from the main index, and so it is more rigid with block placement.

    I'd love to be able to use the php, but I have a problem.

    Bit of a PHP amateur - other than using open and closing php tags and echo and print - how do you get php to return HTML? These are the only methods I know to show return HTML to the browser and those options aren't available.

    When I say "return" I am being technical and am referring to how a function "returns" a value. I believe you are using "return" in a more colloquial way, as in, you'll send (return) html to the browser.

    The way it's setup, it already is in php mode so no opening and closing tags are required (and actually it errors if you do use them).

    The way you return the html, is by pretending the box is simply the inside of a function, and so you use the bulk of the function to build some html object and then return it at the end of the function. Echoing or printing a value doesn't return anything, and instead perform "side-effects".

    So imagine that my implementation of PHP is that the custom sidebar php box that you fill in is a function called "getHTML()" and Custom Sidebar Blocks calls "echo( getHTML() )". So it wouldn't make sense to echo it twice, once in the call to the function and once in the function itself.

    So instead of typing:

    echo "Hello World!";

    You need to write:

    $someHTML = "Hello World!";
    return $someHTML;

    Let me know if that doesn't make sense. I think I go into more detail on my site if you want to browse the FAQ/tutorials.

    Is it possible to just use IP.Content blocks or is there some additional code you need to use to get it to work? Mikey released a hook that allows this, but it's only good for one block only. It would be great if you could just put many IP.Content blocks.

    If this is already done, can somone point me to how to do it. Tried searching, and there are 42 pages... lol

    I believe you can do that with these steps: http://community.invisionpower.com/resources/documentation/index.html/_/tutorials/content/embedding-blocks-within-other-php-blocks-r300

  8. Anything you can do in html (and perhaps PHP) this app can do. So if you have some html/javascript that can get rss and images from a site, and display it, post it in the block and enabled RAW mode and that should work. :)

  9. Hi,

    I have installed the 1.0.5 Topic Hover.
    When I change the style, get the following error message

    Fatal error: Method custom sidebar block does not exist in mt_boardIndexTopicHover in

    board admin sources classes output publicOutput.php on line 3997

    If I disable the hack topic hover, then the error message is gone.

    Try asking the author of the Topic Hover mod.

  10. Eric,

    Since my upgrade to IP.Board 3.4.2, my custom blocks are missing entirely. Any help with this or is there an update?

    This there error I get when I click on the page in my CP:

    Fatal error: Call to undefined method parseBbcode::showEditor() in
    on line 52

    Thank you.

    Double check that you updated to the latest version of CSB properly.

    Pre-purchase question, is this working with 3.3.4? If not is there an earlier version that does? Thank you for any help

    It should work with 3.3.4. This is free, btw. :)


    Everytime i edit and reload, it apperas <br / > code ?

    Is it normal ?

    The editor doesn't play nice sometimes. If you are experiencing that, you might want to disable the fancy editor in settings and just use a blank box.

    It is any way to use one custom block to one skin,and another custom block for another skin.What i mean lets say i have a black picture,and i want to use it with custom block on a dark skin,but i have also a white picture and i want to use it on a light skin.It is posible to do this and not show them both on every skin?Or do you have any suggestions?Thank you for this btw.It is great.

    Not at present, but interesting idea!

    Having this issue.

    Using a custom block, "Enabled PHP mode?" is set to Yes. Custom block code is this:

    if ( !$this->registry->isClassLoaded('pageBuilder') )
        $classToLoad = IPSLib::loadLibrary( IPSLib::getAppDir('ccs') . '/sources/pages.php', 'pageBuilder', 'ccs' );
        $this->registry->setClass( 'pageBuilder', new $classToLoad( $this->registry ) );
    return $this->registry->getClass('pageBuilder')->getBlock('articles_menu');

    Now I get

    [#4100] Could not locate template: cp_skin_blocks_feed 

    whenever I attempt to edit that block.

    My current thinking is that I'll just use the external.php and use the IPC provided JS to insert IPC blocks into the sidebar using this application, so it's no big deal for me at the moment however it may be something you want to look into perhaps?

    I've still never used an IP.Content block as a CSB block, so I dunno, but MarcherTech is my go-to guy for CSB+IPC related queries. All I know is what he tells me. Perhaps I'll have a try soon.

    Is there any way I can get this to show up on every page rather than just the index's? I hope this is possible as it looks to be just what I need.

    Also, how would I go about altering the width of the block? I need it to be 310px ideally.

    No, this only modifies the index sidebar, it doesn't touch elsewhere.

    You would need to modify the html template or actually probably the css. It isn't directly related to Custom Sidebar blocks since CSB simply follows the same width that the default blocks/sidebar use. So search the forums for others who have done that. :)

    I love this.... but when I added a banner, the custom items start after the banner, in the right column.

    Is there a way to bring that to the top again. thank you!!


    I'm guessing that's an issue with the default sidebar in general, not Custom Sidebar Blocks. Let me know if I'm wrong.

    Eric any chance of getting this fixed? It's driving me nuts. I was hoping this was a board issue and would be fixed with a new version or the latest patch but it's not. It only happens when using this application.

    Sorry, I've been super busy with my last semester of school. One of these days, perhaps Spring Break. For now, I would recommend using html entities directly and turning on HTML/RAW mode. It might be a bit more work at first, but you don't have to worry about the fancy editor issues.

  11. My first guess would be that it is a server issue or something other than this plug-in, as I've never seen or heard about such an issue with it. Let me know if you end up thinking it is this plug-in and I'll have a look.

  12. i have installed (e32) Custom Sidebar Blocks 2.1.1, then i have run the upgrade system, all ok and upgraded, but now i have another request of upgrade and i can't enter in my admin control panel!

    I replied to your other post on my site already so lets continue the conversation there. :)

    I have a problem since upgrading that clicking on the image within a block opens the external page I want it to go to but it also opens the image on a seperate tab. What has changed/what am I doing wrong?

    See the icons on www.otib.co.uk - the FB/Twitter links on the right and click on them.

    It is your use of:

    <span rel='lightbox'> ... </span>

    So remove that and it should be fixed. :)

    in my community this not work.

    please check it. for ipb 3.4.1

    Please elaborate. :)

  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy