PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   5.2 Upgrade (http://www.photopost.com/forum/photopost-pro-installation-upgrades/116092-5-2-upgrade.html)

starman October 9th, 2005 09:30 PM

5.2 Upgrade
 
I just upgraded VB 3.5 and Photopost to 5.2. Everything seemed to go smooth. However, when i "Click on image to view larger image" the window opens in a new window with the header in it. Anyone have some help?

http://www.scrollsawer.com/gallery/

Chuck S October 10th, 2005 08:31 AM

HMM interesting

printheader( $dbcat, " $title", 0, "no", $bigimage );
include( "{$Globals['PP_PATH']}/{$Globals['TMPL_PATH']}/showfull.tmpl" );

We clearly define printheader NO in that line above and your site is printing it anyway in showfull.php

Make sure to reupload that file just incase yours is an old file

starman October 10th, 2005 09:28 AM

I deleted showfull.php from the server. Downloaded 5.2 again and uploaded showfull.php agian. Header is still appearing.

starman October 13th, 2005 01:42 PM

any other clues?

Chuck S October 13th, 2005 02:25 PM

Sorry not with this statement clearly setting printheader to NO

printheader( $dbcat, " $title", 0, "no", $bigimage );

I will see if Michael has any ideas

starman October 14th, 2005 08:31 AM

Vbulletin Plugin
 
I am not sure if this has anything to do with it. In v-bulletin 3.5 I am now using the new plugin sysytem to include my header and footer using global_start.

ob_start();
include('vb-header.html');
$cust_header = ob_get_contents();
ob_end_clean();

ob_start();
include('vb-footer.html');
$cust_footer = ob_get_contents();
ob_end_clean();

Chuck S October 14th, 2005 09:04 AM

If you turn off that does the issue go away?

I am using vb header and footer normally with 3.5 my only hack is global include start of vbportal

starman October 14th, 2005 11:23 PM

Yes when I turn it off the header and footer go away in the large image but it also is lost throughout the message board and gallery. I don't have any custom hacks.

Chuck S October 15th, 2005 07:30 AM

Okay so your not using the normal way to include a header or footer that everyone else does as in header and footer templates in vbulletin admin.

Well given the way there new hack system works I do not think there is anything I can tweak here for you real quick. We call their global.php file and prep the header and navbar and footer templates for display and any other associated java scripts etc.

So since we call global.php your new hack system is called and works fine but as you see you have issue with it printing header in big window display.

The issue is simple but there is no easy solution here. We print the header based on variables we set to call header navbar templates etc and define them $vbheader $vbfooter. If we set them to NO which we do on showfull they are not displayed however your plugin system is called in global.php

The quick solution would be to place your header and footer in the normal templates assigned for these in vb admin but I am assuming you have a reason for not doing so.

starman October 20th, 2005 01:13 PM

I placed the header and footer into the normal templates. This solved the problem. However, I miss the ease of making frequent changes to the headers and footers using DW. This is exemplified running multiple VB-PP sites. Will you please consider tweaking the code in future releases so users can take advantage of using Header and Footer includes that don't conflict with showfull.php?

Chuck S October 20th, 2005 01:20 PM

Well we would have to see if this is even possible to tell you the truth.

We call the vb header and footer as well as navbar which are static variables in every version of VB.

What your talking about is there new plugin system and we would have to research this.


All times are GMT -5. The time now is 02:15 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97