vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - vBA CMPS - Enable/Disable Per Style (https://vborg.vbsupport.ru/showthread.php?t=161734)

phlogiston 11-01-2007 10:00 PM

vBA CMPS - Enable/Disable Per Style
 
This is a simple product that will allow you to select via your admincp options which styles vBAdvanced CMPS will be applied to. The product provides improved performance over controlling the display of your CMPS side bar or module content using template edits as it will actually know when to run the CMPS code and when it's not required for each style.

Installation:
Only Tested With vBAdvanced CMPS v3.0 RC2 - use on anyother version of CMPS is at your own risk!
- Simply download the product file and install via the vBulletin Product Manager in your admincp.

Upgrading:
Download the new version and import via your admincp product manager - ensure you set "Allow Overwrite" to yes.

Instructions For Use:
  1. Go to your admincp, vBulletin Options -> Style & Language Settings -> vBAdvanced CMPS Styles (it should be the last option there) - select which styles you want to add CMPS to. Use ctrl+click to select more than one.
  2. Set up Integration as normal via the CMPS admin panel.
  3. Enjoy!
A couple of points to note:
  • This product will alter plugin code belonging to vBA CMPS when installed. Which means that simply disabling this product will not remove it's effects, uninstalling will be required to revert the plugins used.
  • This product will require reinstalling whenever you upgrade vBAdvanced CMPS.
  • Check your integration options carefully. When I first tried this out I chose to integrate a page that forced the style to one without integration. It won't work like that...

FAQ


Can I change which CMPS modules are used for each style?
- No, sorry. I do believe that should be possible with a wee bit more coding but it is currently outwith the scope of this project.

Can I choose to show the CMPS modules based on usergroups rather than styles?
- Yes. This is already built in to CMPS, each module has it's own usergroup permissions via the Edit Module pages!


Changelog:

v1.0 (1st Nov 2007)
  • Original code release
v1.1 (2nd Nov 2007)
  • Fixed bug causing improper spacing on postbits after quick reply posting.

TheBlackPoet 11-02-2007 01:08 AM

i'm going to give it shot.....

yahoooh 11-02-2007 02:49 AM

thanks , i will test it

skcyber 11-02-2007 12:39 PM

ths ! I will test it too ! ;)

FleaBag 11-02-2007 01:08 PM

This is a great development in CMPS usage. I've wondered for some time how to get a module display for a specific forum - this is the answer. Thank you!

DJ XtAzY 11-02-2007 05:01 PM

OMG you fulfill my request i made here

http://www.vbadvanced.com/forum/showthread.php?t=23037

Thanks!!

phlogiston 11-02-2007 08:35 PM

Thank you all for the support! :)

I've uploaded a minor cosmetic bug fix release.
In the original version there was a problem with spacing around postbits when using the AJAX quick reply in some cases, fixed in v1.1 though.

katan 11-03-2007 09:57 AM

thank you!!!!!!!

MV Blackie 11-23-2007 11:01 AM

sorry, i lost you here :
Quote:

Set up Integration as normal via the CMPS admin panel.
could you give some more info please?

phlogiston 11-23-2007 11:20 AM

Quote:

Originally Posted by MV Blackie (Post 1388006)
sorry, i lost you here :


could you give some more info please?

Head to your admincp, find the vBA CMPS menu area in the left navigation pane and choose the "Integration" option from there.

You'll be shown the integration options page, the instructions next to each option give a pretty good description of what each do, but basically to integrate normal vBulletin forum pages you just select the filenames from a list and the CMPS modules will be added to those.

This product allows you to choose or limit which vB styles the integration is applied to :)


All times are GMT. The time now is 11:10 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01833 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete