Jump to content


(e32) Custom Sidebar Blocks 1.5.0


  • This topic is locked This topic is locked
107 replies to this topic

#1 emoney emoney

emoney

    Administrator

  • Administrators
  • 1,091 posts

Posted 30 July 2010 - 01:19 PM

Title: Custom Sidebar Blocks
Compatibility: This mod is compatible with IP.Board 3.2
Resource Type: Application
Version: 1.5.0 (150)
Description:
Allows admins to create, store, and display an unlimited number of custom index sidebar blocks without needing to perform any file/skin edits. You can use plain text, bbcode, html, or javascript. System is cached so no extra querying is needed.

Global Settings include:
  • On/Off
  • Show on Portal
  • Show above default portal blocks or below
  • Can change position of all custom blocks via the drag/drop reordering of the ACP->Manage Hooks page (and further ordering via the custom blocks themselves)
Per-Block Settings include:
  • On/Off
  • Block Title
  • Block Image
  • Block Content
  • Use IPB-standard Block Table to house contents
  • Drag and Drop Sorting
  • Raw Mode (for javascript/adsense/widgets/facebook apps/twitter/etc)
  • Enable Permissions
  • View Permissions via built-in IPB permission masks

Changelog:

1.3.0 -> Added IPB Portal support, drag-drop image path fixed
1.2.0 -> Fixed RTE issue, updated copyright
1.1.2 -> Edited custom sidebar block template to match the new collapsible 3.1 blocks. (now 3.1 compliant).
1.1.1 -> Slight change in the text within the Uploads section of the Read Me to eliminate any confusion, Add/Edit Block Redirect added to fix recache after add/edit bug, "default =''" from sql installer removed to fix a bug 2 users experienced with their mySQL.
1.1 -> Added "Raw Mode" per block. When enabled, contents will not be parsed whatsoever, enabling you to add javascript, adsense, widgets, etc.
1.0 -> Initial release

Posted Image Posted Image Posted Image Posted Image Posted Image

Click here to download this file
DogPatch Was Here :D

#2 cdkey

cdkey

    Member

  • Members
  • PipPip
  • 27 posts

Posted 31 July 2010 - 11:03 PM

How're you getting the image to rotate?

#3 emoney emoney

emoney

    Administrator

  • Administrators
  • 1,091 posts

Posted 31 July 2010 - 11:35 PM

http://emoneycodes.c...-sidebar-block/
DogPatch Was Here :D

#4 Mobi.House

Mobi.House

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 07 September 2010 - 06:06 AM

I can't download the link pls put it in MF or sth, thx a lot :)

#5 emoney emoney

emoney

    Administrator

  • Administrators
  • 1,091 posts

Posted 07 September 2010 - 07:38 AM

I'm not sure what MF or sth are...
DogPatch Was Here :D

#6 Mobi.House

Mobi.House

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 07 September 2010 - 08:13 AM

Oh sorry, my mean is could you up that link to Mediafire (MF) plz. I can't download with your link. Thanks a lot
P/S : Sr if this rep is spam. Can u up Custom Sidebar Block 1.3 and this theme of your forum for me. I like this skin and want to use it. If it's okay pls zip them and up to Mediafire or any host file else, Thanks again

#7 emoney emoney

emoney

    Administrator

  • Administrators
  • 1,091 posts

Posted 07 September 2010 - 08:33 AM

Oh, sorry, I only put hem available for download at legitimate ipb sites. If you don't have an active IPS license and therefore cant download from IPS, then use invisionmodding or invisionbyte.net or coders refuge. :)
DogPatch Was Here :D

#8 Mobi.House

Mobi.House

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 07 September 2010 - 08:48 AM

oh i see, sr if i mind you :rolleyes:

#9 Monkeyman

Monkeyman

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 08 September 2010 - 02:22 AM

I would really love to have an option to show blocks randomly. For example, on my forum, I only need to have one place for ADs, but several blocks. So it would be great if blocks were all enabled and showing randomly. Right now I have to enable/disable desired block manually every day :-(

Any tutorial for this?

#10 emoney emoney

emoney

    Administrator

  • Administrators
  • 1,091 posts

Posted 09 September 2010 - 10:04 PM

Good idea, I wrote a tutorial and posted it here.

Let me know how it works out. :)
DogPatch Was Here :D

#11 Monkeyman

Monkeyman

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 09 September 2010 - 11:40 PM

View Postemoney, on 09 September 2010 - 10:04 PM, said:

Good idea, I wrote a tutorial and posted it here.

Let me know how it works out. :)
It really works, thank you. You'd probably want to add in your tutorial, that the one can add in your script any other stuff like texts or extra URLs. For example, I've added one extra array with links and descriptions using the corresponding HREF and innerHTML attributes.

Also I've found one small bug in your module. Even if you set "Enable RAW HTML/JS mode" to "Yes", it'll still parse the contents when you open ad block in ACP to edit it.
For example, if I put &quote; in text or <BR> tag and save the block, next time I open it, there're gonna be " and new line instead.

#12 emoney emoney

emoney

    Administrator

  • Administrators
  • 1,091 posts

Posted 10 September 2010 - 05:29 AM

You're welcome!

And that "bug" is the infamous RTE editor issue, which I've fixed in a couple releases, but somehow doesn't like to go away. Since the release of 1.20 I hadn't heard anyone mention it, you are the first. I just tried pasting:

&quote; in text or <BR>

in the block and saving, and doing that with both RTE editor enabled and the default editor, both times when I went back it still looked like:

&quote; in text or <BR>

So either you are using an old version, or you are using an older version of IPB, or something else is going on... If you are using an old version of CSB or IPB, you can go back to the default editor and that should fix it.
DogPatch Was Here :D

#13 Monkeyman

Monkeyman

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 10 September 2010 - 08:17 AM

I have IPB 3.1 and CSB 1.3, but I still have these issues.

Oh, and to simplify things a bit it'd better change these lines in your tutorial:

  var numberOfImages = 3; //[CHANGE THE 3 TO THE TOTAL NUMBER OF ad_images YOU USE]
  var num = rand(numberOfImages)-1;
To this one:

  var num = rand(numberOfImages.length)-1;


#14 emoney emoney

emoney

    Administrator

  • Administrators
  • 1,091 posts

Posted 10 September 2010 - 09:43 AM

hmm, does it work if you change to the default editor? I can't replicate...
DogPatch Was Here :D

#15 Lucio Ardito

Lucio Ardito

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 27 October 2010 - 06:44 AM

Hi,

I upgraded my forum to IPBoard 3.1.3 but CSB 1.3 not work...

Thank you...


lucio
cesareforum.com

#16 _Rich

_Rich

    Newbie

  • Members
  • Pip
  • 3 posts
  • LocationNew York

Posted 27 October 2010 - 11:58 AM

Hello emoneyCodes :)
I upgraded my IPB board to the newest version as well 3.1.3 and the Custom Sidebar Blocks are not working with it.
There was some type of errors. I did attached a screenshot to show you. I just blacked out my user name.
ThanksAttached File  10-27-2010 1-48-49 PM.jpg   261.5K   40 downloads

PS I like the Custom Sidebar Blocks and hope you will be able to update it to work.

#17 Volstate

Volstate

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 27 October 2010 - 03:48 PM

View Post_Rich, on 27 October 2010 - 11:58 AM, said:

Hello emoneyCodes :)
I upgraded my IPB board to the newest version as well 3.1.3 and the Custom Sidebar Blocks are not working with it.
There was some type of errors. I did attached a screenshot to show you. I just blacked out my user name.
ThanksAttachment 10-27-2010 1-48-49 PM.jpg

PS I like the Custom Sidebar Blocks and hope you will be able to update it to work.

Yes, it's not working in 3.1.3. I sure hope you fix it quick. You mod is a huge part of my site...

#18 tiepht

tiepht

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 28 October 2010 - 04:51 AM

View PostLucio Ardito, on 27 October 2010 - 06:44 AM, said:

Hi,

I upgraded my forum to IPBoard 3.1.3 but CSB 1.3 not work...

Thank you...


lucio
cesareforum.com

Me too. :(

#19 Shay

Shay

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 28 October 2010 - 05:22 PM

Please upgrade it to 3.1.3 i really need this mod :/

#20 emoney emoney

emoney

    Administrator

  • Administrators
  • 1,091 posts

Posted 29 October 2010 - 11:55 AM

It's nice to see so many sites using my app. :)

I've been working and schooling all week but since it's almost the weekend I finally had a chance to check out IPS stuff and I see they released 3.1.3. I'll install it tonight and see if I get any errors and if so I'll release a patched version soon thereafter.

Since _Rich did post a screenshot, I went and looked at line 33 of my hook and that foreach line loops through the cached Custom Sidebar Blocks. So unless 3.1.3 changed how the caching system works, you might try recaching Custom Sidebar Blocks manually (use the button within the app) and see if that fixes it. Let me know if that does or does not fix it.

I'll be on my main machine tonight and go from there eh.
DogPatch Was Here :D




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users