View Single Post
Old October 21st, 2010, 04:31 PM   #1 (permalink)
Luciano
Registered User
 
Join Date: Aug 2005
Posts: 1,229
Upgrade 4.08 - some quick fixes

Ok, as some of you will have noticed, when upgrading to vb 4.08 some stuff is broken in vbgallery.
Found until now:
Forumhome: Gallery wgo stats block and Gallery wgo image block (css was changed)

Userprofile: Css for tabs has changed.

Actually there are more changes in profile. User can now customize colors. In this quickfix, the custumizations also apply to the thumbnail block, the block taking the same colours than the sidebar blocks.

Found but still todo:
customization of the buttons on profile page (slideshow and edit preferences)
customization of the image frame and the thumbnail frames. (as vbulletin has not provided a hook possibility in the color


We will fix all this stuff in next release, but up to now we are searching for more changes (specially css changes) that affect gallery. If you find any please report them. (but before check the list above if they are not included.)

But to get you running with vb 4.08 there is a quick fix below

=========================

QUICK FIX for 4.08

Step 1:

in the package attached you have 2 folders:
templates and forums
in forums folder you have:
forums/includes/vbgallery/gallery_profile_block.php
copy this file to your forums/includes/vbgallery folder.
overwrite the existing file.
(Attention !!! Todo the filefix you need to be running 3.0 gold for beta or RC versions you should NOT overwrite the file - it is not a big deal, because it will then not allways take the user colors as a background)

-----

Step 2:

in folder templates you have 4 text files.
These are new templates that correct the css.

Go to ACP->Styles & Templates->open the style to fix
in section: Photopost vBGallery Templates
replace the content of the templates with the content of the text files.

adv_gallery_forumhome_stats.txt replaces template: adv_gallery_forumhome_stats

adv_gallery_forumhome_wgo.txt replaces template: adv_gallery_forumhome_wgo

adv_gallery_member_block.txt replaces template: adv_gallery_member_block

then in section: CSS Templates

adv_gallery_memberblock.css.txt replaces template: adv_gallery_memberblock.css

After replacing those templates you are done.

Luc

PS: You have to do this for every style installed. For those that have many styles installed you can go to debug mode, and replace the templates only once in Masterstyle.

IMPORTANT: Found a bug in my code:
template : adv_gallery_member_block needs a closing </div> at the end.. sorry, but i can only update the archive tomorrow.. (its the one called adv_gallery_member_block.txt in the archive... just add: </div> at the end of it)
Attached Files
File Type: zip update vb408.zip (8.5 KB, 80 views)

Last edited by Luciano; November 7th, 2010 at 01:10 PM.
Luciano is offline   Reply With Quote