Responsive WordPress Theme – Caliber

A theme with simple controls and limitless potential. Work fast and build an amazing website!   Find out more »

UpThemes – Beautiful WordPress Themes

Create a site your church, gallery, newspaper, blog, recipes, band and more!   See the themes »

Need a little help?  Find answers quickly by searching the forum.
Group Admins
  • andy
  • jeffw

Support for: Salutation: WordPress + BuddyPress Theme

Salutation (WordPress)

Public Group  |  active 4 years, 4 months ago ago
Viewing post 16 to 19 (19 total posts)

(solved) How to wrap a plugin page into Salutation Page layout?

  • trograin

    said

    @andy I will be sending you the login information and the exakt URL since the site is yett closed to public eyes. I will use the email from themeforest and I will there link to this topic so that you know what it is about.

    I actually jsut today got the answer from the plugin developer saying that its only about the css now and nothing else and thatthey are not willing to help out with that part since its customization…. well in one hand they are correct….

    Thank you in beforehand Andy.

    PS! It would be pretty cool if you could save the changes you had done into a textfile and mail it to me so I can write out all the changes that has to be done for this plugin step by step on the support forum here so that others using this plugin can get it to work nicely as well :)

    Thanx again mate :)

  • matthew@realsparks.net

    said

    Hi, I’m having a similar issue. Trying to install the WPMU Dev plugin Directory (Beta release of 2.06, supposed to be compatible with BP) as a landing page within my site. I have the plugin activated on the site, but am just lost trying to install it within. Any help is appreciated. Thanks:
    http://laterlifeliving.com/

  • trograin

    said

    @andy

    I have been fixing the styling finally by my self. Been learning how to use Firebug ( LOVE THAT tool :D ) and been learning more about CSS thankx to this annoying plugin :) Sorry to have bothered you :)

    Lets start of first with the copying files and creating layouts and so forth:

    This is what I did:

    template-archive-question.php
    template-ask-question.php
    template-edit-answer.php
    template-edit-question.php
    template-single-question.php
    template-user-question.php

    These files where created in the Salutation theme folder.

    I copied over the code from the original files with same name minus the “template-” part. The content in the original files ( that where already since before copied over to the Salutation Theme folder) where then erased and this line where added in each and everyone of them, where the name of the template of course where changed to fit the file names like ‘single-question’, ‘ask-question’ and so forth,

    <?php create_page_layout('archive-question', 'qa-layout'); // context = archive-question ?>

    I then created a new layout that I am calling Q&A with the key being your suggestion: ‘qa-layout’.

    I am using same layout for all files. I fixed only in that layout a minimal header, default footer and a container with Default content in it.

    Here comes the CSS changes that are done ( all in the plugins general.css that you find inside the plugin directory:

    Added following lines to the css:

    width: 620px!important;

    to

    #qa-page-wrapper {
      float: left;
      overflow: hidden;
      padding-bottom: 2em;
            background-color:white;
            width: 620px!important;
            }
    width:470px!important;

    to

    .question-summary {
      padding: 0 5px 0 0;
      float: right;
            width:470px!important;
    }
    width: 600px!important;

    to

    #question-form textarea,
    #answer-form textarea,
    .cleditorMain {
      margin: 20px 0;
            width: 600px!important;
    }

    This changes fix the whole plugin to keep itself nicely to max 620pc and the titles of the questions to show up properly.

    Following changes are done for the title and tags input areas in the questions editor and the editor it self:

    width: 600px!important;

    to

    #question-form textarea,
    #answer-form textarea,
    .cleditorMain {
      margin: 20px 0;
            width: 600px!important;
    }
    width:380px!important;
    to
    <pre>#question-title,
    #question-tags {
      border: 1px solid #999;
      background-color: #fff;
            width:380px!important;
    }

    And finally to make the plugin look nicely in your members area where you can see the questions you have posted and or answered.

    background-color:white;

    to

    #qa-user-answers {
      margin-top: 0px;
            padding-top:10px;
            background-color:white;
    }
    margin-top: 20px; 

    is changed to

    margin-top: 0px;

    and

    padding-top:10px; 

    is added.

    And last part added is

    background-color:white;

    to

    .question {
      border-bottom: 1px dotted #999999;
      overflow: hidden;
      padding: 10px 0;
            background-color: white;
    }

    And a fix for the user information box that hangs around with ones user name and avatar on the right side next to the questions one has posted or answered:

    padding-right:5px;

    add to

    .qa-user-details {
      float: left;
      line-height: 17px;
            padding-right:5px;
    }

    Then there is a need to increase the height of one picture unfortunately. within Photoshop or any favorite choice program of yours when it comes to image editing.

    The picture toolbar.gif that you find in wp-content/plugins/qa/default-templates/js/cleditor/images/toolbar.gif.

    The height of this picture needs to be increased from 26px to 35px. Do not touch width, no need for that. I am pretty sure this could have been achieved somehow within the .Js file but not sure how to.

    Some changes as you can see.

Viewing post 16 to 19 (19 total posts)
Topic tags: Q&A Lite plugin