145 posts in this topic

File name: Widget Kit
Submitter: Marcher Technologies
Submitted: 04/11/2012
Category: Utilities
Demo : http://www.marchertech.com/blocklayout
Discussion URL :
Supported Versions: IP.Content 2.3.x
Support Info:

This is A Lightweight IP.Content Block Feed Source of Blocks with premade ajax Handlers to allow Ajax use of any block, and easy rearranging through the ACP ordering per Block Used, or in other desired orders.
The Provided Ajax Templates are Exponentially lower in Execution Times and Query Counts on Page Load with more blocks on the page than the direct parsing the Feed's "stock" Template provides, and are templated to match the IP.Board skin Styles, while still granting enough markup to manipulate further by skin, or use a premade jQuery tabs ui theme.
Included Is a functionality That Creates Hooks From and Clones IP.Content Blocks, allowing precise and complete control of placement of IP.Content blocks in any hook point with little to no effort, and block replication with ease.
This Hook Makes It Easy To Export Content Blocks as Hooks for use anywhere in your IP.Board installation.
Each exported hook hence imported has a selection of system settings, including(at stock) Forums to show in, Member Groups to show to, Applications to parse in, and Skin Sets to parse in(where applicable).
An Entire System Settings Tab Is Present to manage these, grouped by block.
Combined with The Ability To easily Tabify any set of blocks with the feed source/templates, ajax popups and ACP Block Ordering Capabilities This Proves to be the ultimate sidebar Manager Utility as Well.
For New users, this Widget Kit an easy way to add Vertical or Horizontal tabs to any page with a large amount of blocks with impressively little overhead, And to do the Same in any hook point, With 1 sidebar viably fully manageable from one feed block honoring ACP Positioning.
For Advanced users, this provides the ability to Ajax any block, from these blocks as a dynamic ajax feed, without the overhead or extraneous css/js load(as .the "parent" already loads it).
Included is 2 Plugin Blocks!
One that will allow you to select and parse any enabled board index hook, or the *entire* board sidebar as an IPC block with ease.
New The other is 'Top Reputation Earners'.
This unique plugin block will allow you to pull the top reputation earners in your community in a given period, with any valid strtotime option, such as -30 days(the default, thirty days), limit the amount of top reputation earners to show, exclude applications from being counted.
This Plugin Block, Without any doubt, should indeed be cached ruthlessly, *especially* if pulling from many applications, this is a particularly expensive task.
Get your Blocks Feed Block Widget Kit Today.
 
 2-Step Install/Upgrade! Upload files, import hook, it installs ALL the block templates.

Every Current Purchaser as of the Release of this Modification of the 3.2 Blocks Management Hook, and IP.Content Hookmaker For 3.2, was Generated a Manual Purchase of this file.


View File

shahed, Eudemon and Cloud 9 like this

Share this post


Link to post
Share on other sites

This looks pretty nice! So basically, looking at your demo, this allows us to display blocks inside of a nice ajax loading menu which stores the blocks, rather than have all the blocks load in their own seperate block space?

What I mean is like say I have a homepage which on the right it has "recent topics", "recent posts", "newest members", "upcoming events" and "who's online".

With the default {parse block}, all of these blocks would be shown and expanded and loaded every time the page is loaded or refreshed. With this kit, I could put them in a "menu" style which will have tabs like "Recent Topics", "Recent Post", etc. and loads and displays those blocks when clicked?

Share this post


Link to post
Share on other sites

This looks pretty nice! So basically, looking at your demo, this allows us to display blocks inside of a nice ajax loading menu which stores the blocks, rather than have all the blocks load in their own seperate block space?



What I mean is like say I have a homepage which on the right it has "recent topics", "recent posts", "newest members", "upcoming events" and "who's online".



With the default {parse block}, all of these blocks would be shown and expanded and loaded every time the page is loaded or refreshed. With this kit, I could put them in a "menu" style which will have tabs like "Recent Topics", "Recent Post", etc. and loads and displays those blocks when clicked?



That is quite correct, I quite purposely after initial tests opted to NOT provide the block content In the block source, but rather pageBuilder so that the stock template could "use" it if necessary/desired(or for some reason needed for a custom template).
Therefore, the Block Content Is only retrieved if one manually does so in the template, which is obviously not the case of the Ajax Block templates :smile: The tabs will load the visible tab with Ajax on page load, the rest will all await a trigger, the statement you make was the literal goal from the spawning of the idea, one of Ajax functionality to Make IP.Content Blocks More Lightweight than ever before.
Though.... The menu.... you know that right sidebar isn't Ajax right(or Jquery)? the Ajax Block tabs are what is showcased there... vertical and horizontal.
Happy to add more widget templates, mind you.

Share this post


Link to post
Share on other sites

No fading effect? Fading effects are the best part about tabs.



it IS .tabs, thats simply the default configuration, some matching markup, and spitting it off to ajax :smile: all the .tabs options are valid.
as is the markup on any IPB skin, using ipsVerticalTabs and ipsFilterBar....I
n fact, its a 1-line Block template edit to add the effect:


<script type='text/javascript'>

_ccsjQ('#{$tmpID}').tabs();

</script>

Becomes:


<script type='text/javascript'>

_ccsjQ('#{$tmpID}').tabs({ fxFade: true, fxSpeed: 'slow' });

</script>


All done.... This is a Jump-start pack, I will add more Templates :)

Share this post


Link to post
Share on other sites

This is awesome MT! I plan on purchasing this over the weekend once my website is all transferred and set up on my new hosting account.

Share this post


Link to post
Share on other sites

Was just perusing the demo for the block widget kit. Noticed that Latest Blog Entries Hook is blank.

Just wanted you to know.

Share this post


Link to post
Share on other sites

Was just perusing the demo for the block widget kit. Noticed that Latest Blog Entries Hook is blank.



Just wanted you to know.



Confused.
http://www.marchertech.com/blocklayout#ui-tabs-6
http://www.marchertech.com/blocklayout#ui-tabs-17
both seem fine to me, logged out as well. 0-o

Share this post


Link to post
Share on other sites

wasn't working for me a few minutes ago. went back to the Latest Blog Entries several times, using the subheading in the horizontal blue bar as well as the profile tab layout. Saw nothing at all.

You're right, it's working fine now.

Share this post


Link to post
Share on other sites

Question:
Could this be used to place different custom content blocks inside different forums?

Example:
Inside a NY Forum - Custom content blocks for New Yorkers
Inside a Florida Forum - Different custom content blocks for Floridians

Where would the code be placed? Inside the rules? Or in the templates requiring a different template per forum in order to have different custom content blocks?

Just trying to see if this addon would work for what I need. Basically, I am looking for a way to add the category specific gallery images inside each forum that relates to that category. Using my example above, the NY forum would display gallery images from only the NY gallery category.

Thanks for your time and have a splendid week*

Share this post


Link to post
Share on other sites

Question:


Could this be used to place different custom content blocks inside different forums?



Example:


Inside a NY Forum - Custom content blocks for New Yorkers


Inside a Florida Forum - Different custom content blocks for Floridians



Where would the code be placed? Inside the rules? Or in the templates requiring a different template per forum in order to have different custom content blocks?



Just trying to see if this addon would work for what I need. Basically, I am looking for a way to add the category specific gallery images inside each forum that relates to that category. Using my example above, the NY forum would display gallery images from only the NY gallery category.



Thanks for your time and have a splendid week*



Hrmm... many items come to mind, but the most prominent and easy(for you) solution is two very real needs... clone block, and more hook locations stock tuned to the app data with settings.... working on that.... the real point of this mod is to not have to dirty your(or my) hands in templates, so obviously it be-hooves me to add it :D
CallieJo likes this

Share this post


Link to post
Share on other sites

Hrmm... many items come to mind, but the most prominent and easy(for you) solution is two very real needs... clone block, and more hook locations stock tuned to the app data with settings.... working on that.... the real point of this mod is to not have to dirty your(or my) hands in templates, so obviously it be-hooves me to add it :D




Thanks Marcher.

I don't mind getting my hands dirty at all. I've been hacking up things a lot lately...I come from the old edit files through ftp days. Of coarse, simpler solution is best.

Thanks for answering my post. I think I will get this after work tonight.

Share this post


Link to post
Share on other sites

File Updated, Changelog:

  • Functionality and extensibility rewrite.
  • Clone Block added.
  • ccsHookLocations.php config file per application for further extensibility.
  • Multiple Stock Hook Points/Files Added.

As a note, please, please save and reload the block when cloning it, otherwise the template will go left.
Export Hook Update:
post-201612-0-22866300-1338950878_thumb.
CallieJo likes this

Share this post


Link to post
Share on other sites

File Updated... change Log:

  • General Feed block source code and Template standardization.
  • Addition of Feed Block Limit and Offset Configuration.
  • Addition of Ajax-refreshing Sidebar Feed Template.

Upgrade Notes, addition of the Limit and Offset means you will need to go edit your blocks and configure this.
Ajax-refreshing Blocks can be viewed at the demo, click a sidebar block.

Share this post


Link to post
Share on other sites

Can I somehow use the Ajax functionality in this mod for the articles?

I can easily add 4 custom blocks, and switch between with it load the content via Ajax.


What I want however, is to switch between Articles using AJAX. So on the front-page I would just show 1 large article, and the titles of a dozen other articles. Clicking the title would load that article in the main box area, without a page load.

Is there a way to do that using this mod?

Share this post


Link to post
Share on other sites

Can I somehow use the Ajax functionality in this mod for the articles?



I can easily add 4 custom blocks, and switch between with it load the content via Ajax.




What I want however, is to switch between Articles using AJAX. So on the front-page I would just show 1 large article, and the titles of a dozen other articles. Clicking the title would load that article in the main box area, without a page load.



Is there a way to do that using this mod?



not yet, I like the idea though.... some code needed to lay for a sane approach to this(as in, the article being ajaxed in, i suppose honouring the view template) there’s a couple of approaches to doing something like this, i need to sort out the best one for flexible controllable use.

Share this post


Link to post
Share on other sites
post-200408-0-04532700-1342307788_thumb.Hey, this widget is not working properly with Drag and Drop editor. See the attached picture. I sent you a PM with front page code.

Share this post


Link to post
Share on other sites

....ok, could swear that's one of the first items i tested with that mod, pasting that mess of code above into a text so i can ensure which side the issue belongs in.
Also, if you have tidy installed the page editor will produce more sanely spaced code.

Share this post


Link to post
Share on other sites

post-200408-0-04532700-1342307788_thumb.

Hey, this widget is not working properly with Drag and Drop editor. See the attached picture. I sent you a PM with front page code.



I need to see the page, if you have stuck a layout of large proportions(like the ipsLayout ajax block) in a small area i could see this happening.
Also could be the result of some odd styling rules applied to verticalTabs stock, cannot say for certain sans looking at the culprit page.

Share this post


Link to post
Share on other sites

oh, this is fun.
this would occur any time anyone for any reason anywhere in IPB used 2 different layout sizes nested.... top is honored, innards ignore the specified ipsLayout different.... not certain that would be considered a bug to many, but it is fairly excessively annoying.

Share this post


Link to post
Share on other sites

Hey, I'm trying to upgrade to newer version and I can't find "IPContent Blocks Management Hook" in this.... Log in to your IP.Board Admin CP and visit the System tab -> Applications & Modules -> Manage Hooks page.
Uninstall The Hook Labeled "IPContent Blocks Management Hook".post-200408-0-17818900-1343435352_thumb.post-200408-0-72932600-1343435459_thumb.

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.