Previous Thread
Next Thread
Print Thread
Rating: 5
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
You would be correct in assuming that.

However note designing a header and making the navbars display are relatively simple things. The purpose of this integration in the past was to pull the header so we could use the Threads stylesheet. Photopost by default pulls the stylesheet and a user can display a a header by simple html with php switchs for links that require whether a user is logged in or out for it not to display. I have posted quite a few times a sample header in the old Integration thread how to do this with 4.8.2. These are all normal functions one can do with Photopost without any hacking.

If one wants the IIP sidebar to display or not thats a simple hack as well and it would be advisable to write a hack simply for that. That way there is no need for further code alteration to do things Photopost by default does. I may do that for those interested in pulling the IIP sidebar.

I was never asked permission if someone could alter and repost my work. That by default is the status quo in any hacking community. Besides the only two users posting in this thread have stated the hack posted here does not work, hense my warning to others not use this hack. It does not seem to work for anyone and posted without permission.

Posted here is a sample header you can use as a guideline to see how to pull the same header as Threads over Photopost.

<?

echo <<<PPPRINT

<table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="tlc">
<img border="0" src="{$Globals['vbulletin']}/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td>
<td align="left" class="topleft">
<img border="0" src="{$Globals['vbulletin']}/stylesheets/images/spacer.gif" width="70" height="10" alt="" /></td>
<td width="100%" class="top">
</td>
<td align="right" class="topright">
<img border="0" src="{$Globals['vbulletin']}/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td>
<td class="trc">
<img border="0" src="{$Globals['vbulletin']}/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td>
</tr>
<tr>
<td class="left">

<img border="0" src="{$Globals['vbulletin']}/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td>
<td width="100%" colspan="3">
<table width="100%" align="center" cellpadding="0" cellspacing="0" class="tablesurround">
<tr>
<td>
<table cellpadding="2" cellspacing="1" width="100%" class="tableborders">
<tr class="tdheader">
<td colspan="3" align="center">Welcome to ReefTalk</td>
</tr>
<tr>
<td class="logo">
</td>
</tr>

</table>
</td>

</tr>
</table>
</td>
<td class="right">
<img border="0" src="{$Globals['vbulletin']}/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td>
</tr>
<tr>
<td class="blc">
<img border="0" src="{$Globals['vbulletin']}/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td>
<td align="left" class="botleft">
<img border="0" src="{$Globals['vbulletin']}/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td>
<td width="100%" class="bottom">
</td>
<td align="right" class="botright">
<img border="0" src="{$Globals['vbulletin']}/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td>
<td class="brc">
<img border="0" src="{$Globals['vbulletin']}/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td>

</tr>
</table>

<br />

<table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="tlc">
<img border="0" src="{$Globals['vbulletin']}/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td>
<td align="left" class="topleft">
<img border="0" src="{$Globals['vbulletin']}/stylesheets/images/spacer.gif" width="70" height="10" alt="" /></td>
<td width="100%" class="top">
</td>
<td align="right" class="topright">

<img border="0" src="{$Globals['vbulletin']}/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td>
<td class="trc">
<img border="0" src="{$Globals['vbulletin']}/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td>
</tr>
<tr>
<td class="left">
<img border="0" src="{$Globals['vbulletin']}/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td>
<td width="100%" colspan="3">
<table width="100%" align="center" cellpadding="0" cellspacing="0" class="tablesurround">
<tr>
<td>
<table cellpadding="2" cellspacing="1" width="100%" class="tableborders">
<tr>
PPPRINT;
if ( $User['userid'] > 0 ) {
echo <<<PPPRINT
<td align="left" valign="bottom" width="25%" class="menubar">
Welcome {$User['username']}.
[<a href = "{$Globals['vbulletin']}/logout.php">Logout</a>]
<br />
<a href = "{$Globals['vbulletin']}/login.php">My Home</a>
·
<a href = "{$Globals['vbulletin']}/contact/mycontacts.php" $target>My Contacts</a>
PPPRINT;
}
echo <<<PPPRINT
<td align="left" valign="bottom" width="75%" class="menubar">
PPPRINT;
if ( $User['adminedit'] == 1 ) {
echo <<<PPPRINT
<a href = "{$Globals['vbulletin']}/admin/index.php">Admin</a>
·
PPPRINT;
}
echo <<<PPPRINT
<a href="{$Globals['vbulletin']}/ubbthreads.php/Cat/">Main Index</a>
·
<a href =" http://www.reeftalk.com/index.php/Cat/" target="_top">Entrance</a>
·

PPPRINT;
if ( $User['userid'] > 0 ) {
echo <<<PPPRINT
<a href = "{$Globals['vbulletin']}/mypaymentpal/mypaymentpal.php" $target>Subscription Area</a>
·
PPPRINT;
}
if ( $User['userid'] > 0 ) {
echo <<<PPPRINT
<a href = "{$Globals['vbulletin']}/showmembers.php?Cat=0&page=1" $target>User List</a>
·
PPPRINT;
}
echo <<<PPPRINT
<a href =" {$Globals['vbulletin']}/search.php?Cat=" target="_top">Search</a>
·
<a href =" {$Globals['vbulletin']}/online.php?Cat=" target="_top">Who's Online</a>
·
<a href =" {$Globals['vbulletin']}/faq.php?Cat=" target="_top">FAQ</a>

·
<a href =" http://www.reeftalk.com/bio.php">Staff Bio's</a>
·
<a href =" http://www.reeftalk.com/sponsor.php">Sponsor's</a>
·
<a href =" http://www.reeftalk.com/gallery/index.php">Photo Gallery</a>
·
<a href =" http://www.reeftalk.com/reviews/index.php">Reviews</a>
·

<a href =" {$Globals['vbulletin']}/chat/chat.php">Chat Room</a>
·
<a href =" {$Globals['vbulletin']}/links.php">Site Links</a>
·
<a href =" http://www.reeftalk.com/shop.php">Reeftalk Store</a>
·
<a href =" {$Globals['vbulletin']}/calendar.php?Cat=" target="_top">Calendar</a> · <a href = "{$Globals['vbulletin']}/contactus.php">Contact Us</a>
</td>
</tr>

<tr>
<td colspan="2" align="center" class="darktable">
<a href='http://www.reeftalk.com/plugins/phpAdsNew/adclick.php?n=a95d6f32' target='_blank'><img src='http://www.reeftalk.com/plugins/phpAdsNew/adview.php?what=zone:1&n=a95d6f32' border='0' alt='' /></a>
</td>
</tr>
<tr class="tdheader">

<td colspan="2" align="center">Support our Sponsor's</td>
</tr>

</table>
</td>
</tr>
</table>
</td>
<td class="right">
<img border="0" src="{$Globals['vbulletin']}/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td>
</tr>
<tr>
<td class="blc">
<img border="0" src="{$Globals['vbulletin']}/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td>
<td align="left" class="botleft">
<img border="0" src="{$Globals['vbulletin']}/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td>

<td width="100%" class="bottom">
</td>
<td align="right" class="botright">
<img border="0" src="{$Globals['vbulletin']}/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td>
<td class="brc">
<img border="0" src="{$Globals['vbulletin']}/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td>
</tr>
</table>

<br />

PPPRINT;

?>

Note this is for information only and would need to alter but would see how you need to surround links that only display for logged in user's or admin etc.

Sponsored Links
Entire Thread
Subject Posted By Posted
Beta-[6.5] UBBThreads Photopost Total Integration Version 4.8.2 TrAvELAr 09/03/2004 5:39 PM
Re: Beta-[6.5] UBBThreads Photopost Total Integration Version 4.8.2 Feffer 09/06/2004 5:39 AM
Re: Beta-[6.5] UBBThreads Photopost Total Integration Version 4.8.2 Ian_W 09/09/2004 6:59 PM
Re: Beta-[6.5] UBBThreads Photopost Total Integration Version 4.8.2 TrAvELAr 09/10/2004 4:56 PM
Re: Beta-[6.5] UBBThreads Photopost Total Integration Version 4.8.2 omegatron 10/02/2004 2:51 AM
Re: Beta-[6.5] UBBThreads Photopost Total Integration Version 4.8.2 Ian_W 10/03/2004 4:32 PM
Re: Beta-[6.5] UBBThreads Photopost Total Integration Version 4.8.2 donJulio 10/03/2004 4:39 PM
Re: Beta-[6.5] UBBThreads Photopost Total Integration Version 4.8.2 omegatron 10/03/2004 6:15 PM
Re: Beta-[6.5] UBBThreads Photopost Total Integration Version 4.8.2 donJulio 10/03/2004 8:56 PM
Re: Beta-[6.5] UBBThreads Photopost Total Integration Version 4.8.2 scroungr 10/04/2004 2:43 AM
Re: Beta-[6.5] UBBThreads Photopost Total Integration Version 4.8.2 omegatron 10/08/2004 4:03 PM
GD2 Directory smoknz28 10/16/2004 11:09 AM
Re: GD2 Directory scroungr 10/16/2004 8:34 PM
Re: GD2 Directory smoknz28 10/18/2004 12:54 PM
Re: Beta-[6.5] UBBThreads Photopost Total Integration Version 4.8.2 Zarzal 10/18/2004 10:50 PM
Re: Beta-[6.5] UBBThreads Photopost Total Integration Version 4.8.2 omegatron 10/21/2004 1:34 AM
Re: Beta-[6.5] UBBThreads Photopost Total Integration Version 4.8.2 scroungr 11/04/2004 4:11 AM
Re: Beta-[6.5] UBBThreads Photopost Total Integration Version 4.8.2 scroungr 11/04/2004 5:00 AM
Re: Beta-[6.5] UBBThreads Photopost Total Integration Version 4.8.2 ChAoS_dup1 11/06/2004 8:55 PM
Re: Beta-[6.5] UBBThreads Photopost Total Integration Version 4.8.2 ChAoS_dup1 11/06/2004 10:49 PM
Re: Beta-[6.5] UBBThreads Photopost Total Integration Version 4.8.2 scroungr 11/07/2004 12:32 AM
Re: Beta-[6.5] UBBThreads Photopost Total Integration Version 4.8.2 ChAoS_dup1 11/07/2004 2:10 AM
Re: Beta-[6.5] UBBThreads Photopost Total Integration Version 4.8.2 Twisty 11/07/2004 2:46 AM
Re: Beta-[6.5] UBBThreads Photopost Total Integration Version 4.8.2 ChAoS_dup1 11/07/2004 2:55 AM
Re: Beta-[6.5] UBBThreads Photopost Total Integration Version 4.8.2 Twisty 11/07/2004 3:46 AM
Re: Beta-[6.5] UBBThreads Photopost Total Integration Version 4.8.2 Twisty 11/07/2004 3:53 AM
Re: Beta-[6.5] UBBThreads Photopost Total Integration Version 4.8.2 ChAoS_dup1 11/07/2004 3:55 AM
Re: Beta-[6.5] UBBThreads Photopost Total Integration Version 4.8.2 ksanuk 11/23/2004 7:53 AM
Re: Beta-[6.5] UBBThreads Photopost Total Integration Version 4.8.2 ksanuk 11/23/2004 8:24 AM
Re: Beta-[6.5] UBBThreads Photopost Total Integration Version 4.8.2 omegatron 12/12/2004 9:55 PM
Re: Beta-[6.5] UBBThreads Photopost Total Integration Version 4.8.2 ksanuk 12/13/2004 4:27 AM
Re: Beta-[6.5] UBBThreads Photopost Total Integration Version 4.8.2 Deejay_dup1 01/16/2005 4:25 AM
Re: Beta-[6.5] UBBThreads Photopost Total Integration Version 4.8.2 omegatron 02/06/2005 4:30 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
badfrog
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,835
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)