PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old January 22nd, 2005, 06:25 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Posts: 128
PHP Start Include?

Does the gallery read the PHPSTARTINCLUDE template? I have something that runs in there that allows for something to show up in the navbar, but it doesn't so I was just wondering if the Gallery does not read the PHPSTARTINCLUDE.

I appreciate any information that you can give me - thanks!!!
Nautiqeman is offline   Reply With Quote
Old January 22nd, 2005, 06:27 PM   #2 (permalink)
Ultimate Member
Verified Customer
 
ConqSoft's Avatar
 
Join Date: Nov 2003
Location: Raleigh, NC
Posts: 1,417
Re: PHP Start Include?

Yep, it works for me... I load my phpAdsNew banners from there...
ConqSoft is offline   Reply With Quote
Old January 22nd, 2005, 06:41 PM   #3 (permalink)
Brian
Guest
 
Posts: n/a
Re: PHP Start Include?

It will read the template, but will not allow any variables to be passed to the navbar unless you add that variable to the global list in the construct_adv_navbar() function.
  Reply With Quote
Old January 22nd, 2005, 07:37 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Posts: 128
Re: PHP Start Include?

and I did that but it's still not working properly ... I added it to the global list but still doesn't show up
Nautiqeman is offline   Reply With Quote
Old January 22nd, 2005, 07:42 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Posts: 128
Re: PHP Start Include?

the link also doesn't show up on the home page of the CMPS as well, but does everywhere else
Nautiqeman is offline   Reply With Quote
Old January 22nd, 2005, 09:44 PM   #6 (permalink)
Brian
Guest
 
Posts: n/a
Re: PHP Start Include?

What's the code you have in that template?
  Reply With Quote
Old January 22nd, 2005, 09:48 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Posts: 128
Re: PHP Start Include?

in the PHPSTART I have:
// Example of how to include a seperate file:
// ob_start();
// require("yourheader.html");
// $header = ob_get_contents();
// ob_end_clean();
if (!empty($bbuserinfo['field10']))
{
require_once('./includes/functions_bbcodeparse.php');
$urlinks = parse_bbcode2($bbuserinfo['field11'], 0, 0, 0, 1);
$urlinks = str_replace('<br />', '', $urlinks );
$urlinks = str_replace('</a>', '</a></td></tr>', $urlinks);
$urlinks = str_replace('<a', '<tr><td class="vbmenu_option"><a', $urlinks);
}


and then in the functions_gallery.php in the Construct Navbar I have:
global $vboptions, $vba_options, $vbphrase, $stylevar, $bbuserinfo, $show, $pmbox, $urlinks;
Nautiqeman is offline   Reply With Quote
Old January 22nd, 2005, 09:56 PM   #8 (permalink)
Brian
Guest
 
Posts: n/a
Re: PHP Start Include?

That should work then... If you'd like to submit a support ticket I'll be glad to take a look and see why it's not.
  Reply With Quote
Old January 22nd, 2005, 10:15 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Posts: 128
Re: PHP Start Include?

ticket submitted
Nautiqeman is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
to include in a php file pilot ReviewPost Suggestions 0 August 27th, 2005 01:06 PM
Ok, where do I start? (PP 5.13 & IPB 2 - changing over from VB3 + Upgrade) PranK Photopost Pro Installation & Upgrades 8 August 14th, 2005 02:19 PM
I screwed up upgrade. want to start Fresh. grandma Photopost Pro Installation & Upgrades 8 June 13th, 2005 09:07 PM
Where to start? Pagemaster General Discussion 3 November 7th, 2004 09:33 PM


All times are GMT -5. The time now is 04:39 AM.

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