PDA

View Full Version : Suite Style - Spring themed style for vB 4.1.x


John Lester
04-19-2013, 10:00 PM
This is my first style release for vBulletin. Designed and used on 4.1.12 but should be ok for older releases.

May not work for 4.2.x.

I am marking this style as "unsupported" however I will attempt to address any problems you may have with it.

Style affects:
Albums
Blogs
CMS
ForumsZip file contains an "upload" folder with an "images" folder containing the statusicons and the background image, as well as a .txt file containing the hex colors used for reference.


Installation:
Download .xml file
Download zip file
Unzip zip file
Open the "upload" folder
Upload the "images" folder
Visit your ACP
Click on Styles & Templates
Click on Download / Upload Styles
Click the "Browse" button
Navigate to the location on your computer where you placed the .xml file
Leave the drop down at "Create new style"
Set "Ignore style version" to YES if you have a different version of vB otherwise leave it on NO
For the title of the style pick whatever you want (I suggest you title it Spring for ease of use)
Parent style "No parent style"
Display order can be set to whatever you want
Allow user selection set to NO until you've tested it out on your forums.
Click the import buttonCongrats the installation is done :)

Important stylevars in case the background image, your sites logo, or the status icons aren't showing.

ACP -> Styles & Templates -> Style Manager -> Spring -> Style Variable Editor

doc_background --- the background image
titleimage --- your logo
imgdir_statusicon --- the status icons

CHANGE LOG:

Ver 1.0.1


Fixed a display issue with the "Received Infraction" link. It should now be visible and read "View Infraction"
Screen shots below:

John Lester
04-19-2013, 10:39 PM
You can download the psds here (http://www.braintalkcommunities.org/style_psds/spring_psds.zip)

John Lester
04-25-2013, 07:26 AM
The .xml file is ver 1.01. For some reason if I rename it to reflect that change it does not import properly (at least it doesn't on my test site :confused: )

To apply the change to postbit and postbit_legacy templates that are addressed in ver 1.0.1 follow code changes below.

The posbit template fix:

ACP -> Styles & Templates -> Style Manager -> Spring -> Edit Templates -> Postbit Templates -> postbit

Find:


<a class="redcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_infraction}"><!-- <img src="{vb:stylevar imgdir_button}/red-card_sm.png" alt="{vb:rawphrase received_infraction}" /> --> &nbsp;</a>
Replace with:


<a class="redcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_infraction}">View Infraction</a>
Click the save button ;)

The postbit_legacy template fix:

ACP -> Styles & Templates -> Style Manager -> Spring -> Edit Templates -> Postbit Templates -> postbit legacy

Find:


<a class="redcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_infraction}"><!-- <img src="{vb:stylevar imgdir_button}/red-card_sm.png" alt="{vb:rawphrase received_infraction}" /> --> &nbsp;</a>
Replace with:


<a class="redcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_infraction}">View Infraction</a>
Click the save button ;)

kartheekb
05-27-2013, 08:13 AM
coder seems to9 be a nature lover.. :)

but its too dark