Results 1 to 3 of 3

Thread: How do I apply a vBadvanced page layout to a single thread?

  1. #1
    Join Date
    Jan 2008
    Posts
    158

    Default How do I apply a vBadvanced page layout to a single thread?

    I found a a few threads discussing this on a per forum basis but I didn't find anything that worked on a per thread basis.

    Anybody? @Brian perhaps?

  2. #2
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,466

    Default

    I'm not sure of an easy way to do that unless you happen to use the "Standard URLs" option under your main vBulletin Options => Friendly URLs setting. If you do use standard URLs though then you should be able to add a new plugin with the following values:

    Product: vBadvanced CMPS
    Hook Location: init_startup
    Title: Integrate Specific Threadid
    Execution Order: 0
    Plugin PHP Code:
    PHP Code:

    $mythreadid 
    X;
    $myintegratedpage 'page_identifier_here';

    if (
    $_REQUEST['t'] == $mythreadid OR $_REQUEST['threadid'] == $mythreadid)
    {
        
    define('VBA_PORTAL'true); 
        
    define('VBA_PAGE''$myintegratedpage');

    Plugin is Active: Yes


    (be sure to change the X on the first line of your PHP code to the threadid of the thread you want to integrate, then change page_identifier_here on the 2nd line to the page identifier of the CMPS page you want to integrate)
    Frequently Asked Questions
    CMPS Users Manual

    For vBadvanced software assistance, please use the support forums.
    Unsolicted PMs, IMs, and email will not be responded to.
    If you have a non-software related question or problem with your account, please submit a support ticket.

  3. #3
    Join Date
    Jan 2008
    Posts
    158

    Default

    Thank you Brian.

    I am still on 3.8.x series so I don't believe I have the Standard URLs option in my admin panel. I do however use vBSEO.

    Will this pose an issue? If not, I will attempt to implement.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •