Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Photopost 4.8.5 - Use seperate VB Header and Navbar Details »
Photopost 4.8.5 - Use seperate VB Header and Navbar
Mod Version: 1.00, by trackpads (Member) trackpads is offline
Developer Last Online: Jan 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.3 Rating: (1 vote - 5.00 average) Installs: 3
Released: 20 Dec 2004 Last Update: Never Downloads: 4
Not Supported  

First, let me say that this is my first hack and I appreciate any and all feedback. I want to acknowledge the idea which was given to me by using atroll's Additional Navbar hack. If you use this please click install on his aswell:

http://www.vbulletin.org/forum/showthread.php?t=65198

>>>---------------------------->

Software needed:

VB 3.03 (may work on others, didnt test)
PhotoPost 4.8.5

>>>---------------------------->

What it does & why:

On my site I have a standard navigation system set up on the site and while I loved the new integration that comes with PP 4.8.5 I wanted to keep the gallery with its own seperate identity without losing the integration features like style sheets and others. So using atrolls hack as a guide I create both a seperate VB Header and Navbar for the Gallery.

You can see it in action here:
My Forum: http://www.trackpad.com/forum
My Gallery: http://www.trackpads.com/gallery

>>>---------------------------->

Here is how you do it:


Step 1 - Create/Edit New Templates

You will need to create 2 new templates in your VB style(s) that you use. First thing is to open your current header & navbar templates and copy the information as a basis for your new ones. Save them in txt files or wherever for the moment.

A. Create a new template called headerg and paste the information from the original header. Make any gallery specific modifcations that you want. You can always come back later through and edit the file.

B. Create a new template called navbarg and paste the information from the original navbar. Make any gallery specific modifcations that you want. You can always come back later through and edit the file.

When this step is complete you should have 2 new custom templates called headerg & navbarg.

C. Edit your phpinclude_start template and add the following anywhere in the file:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

>>>---------------------------->

Step 2 - File Edits


VB File Edits:

A. Since the template is uncached you will have an extra query on each page. To fix, open global.php and FIND:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

ADD BELOW:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Photopost File Edits:

A. Open the file header-inc.php and FIND:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And REPLACE with the following:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


B. In the same file FIND:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And REPLACE with:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

C. AGAIN in the same file FIND:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And AGAIN REPLACE with:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

D. In the same file FIND:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And AGAIN REPLACE with:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

>>>---------------------------->


Finally. Save all files and upload to the server. REMEMBER, always make a backup incase something is wrong so you can just re-upload the original without de-hacking the file.

Again, no screenshots are attached. Just look at the differences on my forum and gallery. If you have any questions please ask, I am no expert though but I will try to help you. Please clickty click install if you like and use. It will make my day

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
PP Classifieds 2.0+ - Use seperate VB Header and Navbar trackpads vBulletin 3.0 Full Releases 2 28 Dec 2005 08:13
Reviewpost 2.8+ - Use seperate VB Header and Navbar trackpads vBulletin 3.0 Full Releases 0 23 Dec 2004 22:19

Comments
  #2  
Old 20 Dec 2004, 19:36
ArAb4NoKiA ArAb4NoKiA is offline
 
Join Date: Jun 2004
Location: Saudi Arabia-Jeddah
thanXxXx
Reply With Quote
  #3  
Old 21 Dec 2004, 17:25
b6gm6n's Avatar
b6gm6n b6gm6n is offline
 
Join Date: Aug 2002
Real name: Ant
good job, and i see your still using my comments hack (toney = me = b6gm6n = minx) cheers

btw, i did upgrade the latest comments hack to include permissions, if a person hasn't got viewing rights, an alternative (blank) thumbnail is shown

i'll post it up if i can find it

-b6

Last edited by b6gm6n; 21 Dec 2004 at 17:30.
Reply With Quote
  #4  
Old 22 Dec 2004, 02:03
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Real name: Jason
Heck yes! It is one of the most usefull things in my gallery! Are you gonna post it here? You should!
Reply With Quote
  #5  
Old 22 Dec 2004, 20:54
b6gm6n's Avatar
b6gm6n b6gm6n is offline
 
Join Date: Aug 2002
Real name: Ant
Talking

Latest Comments Hack for PPv5 - VBulletin 3.0.x

stylesheets are now the same as what is set in your PP admin, automated headers & footers, languages, vbulletin usergroup permissions, please check the configuarble elements in comshow.php to make customization easier.

it's all yours!

It's far from the best script ever written, but it works!
Enjoy!

-b6
Attached Images
File Type: gif vb_comshow.gif (15.8 KB, 100 views)
Attached Files
File Type: zip vb_comshow.zip (9.0 KB, 19 views)

Last edited by b6gm6n; 10 Mar 2005 at 09:56.
Reply With Quote
  #6  
Old 22 Dec 2004, 23:07
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Real name: Jason
Excellent!
Reply With Quote
  #7  
Old 23 Dec 2004, 13:07
tteal tteal is offline
 
Join Date: May 2004
I'm confused as to what your mod does.... I thought that photopost integrates right into vb 3.0.3? Thanks.
Reply With Quote
  #8  
Old 23 Dec 2004, 15:39
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Real name: Jason
Originally Posted by tteal
I'm confused as to what your mod does.... I thought that photopost integrates right into vb 3.0.3? Thanks.
Yes, but if you use the complete integration you have to use your forums header and navbar. This allows you to have your own seperate vb header and navbar. Please see the example links above.

-Jason
Reply With Quote
  #9  
Old 14 Jan 2005, 18:50
ngto ngto is offline
 
Join Date: Nov 2004
Thanks trackpads, works like a champ.
Reply With Quote
  #10  
Old 25 Mar 2005, 23:12
funkmeister funkmeister is offline
 
Join Date: Oct 2004
I'm just using the header part of this hack and it works out great for changing out the header, but for some reason it's messing with my Photopost's VB integrated footer - not sure how, since there's nothing in there that seems to be calling the footer, but mine is getting left aligned instead of centered for some reason. As soon as I revert the hack changes everything is perfectly fine, but then I'm left with the original Photopost header which is what I'm trying to change!!

I'm on VB 3.07 and Photopost 5.02 VB3 Enhanced.

Any ideas? Thanks.
Reply With Quote
  #11  
Old 30 Mar 2005, 07:32
funkmeister funkmeister is offline
 
Join Date: Oct 2004
Any chance this could be updated for VB 3.07 and PhotoPost 5.02 VB3 Enhanced?

Would be much appreciated, I'm hoping that would solve my footer issue as described above. I should also mention that the 'showphoto' and 'comments' pages are also totally misaligned (in addition to the footer) with the hack applied.

Last edited by funkmeister; 30 Mar 2005 at 07:34.
Reply With Quote
  #12  
Old 05 Oct 2005, 17:42
boatdesign's Avatar
boatdesign boatdesign is offline
 
Join Date: Nov 2001
Excellent mod!

An update for vBulletin 3.5 would be much appreciated!

Last edited by boatdesign; 05 Oct 2005 at 17:45.
Reply With Quote
  #13  
Old 28 May 2006, 23:36
UtahNissans UtahNissans is offline
 
Join Date: May 2006
Will this work on vb 3.5 and photopost 5.11?
Reply With Quote
  #14  
Old 12 Mar 2007, 21:19
gct13 gct13 is offline
 
Join Date: Jan 2005
I initially used this on vb 3.0.x and Photopost 4.8.6...

Upgraded to vb 3.6.5 and Photopost 5.62 and it works, with one catch:

"navbarg" showed up fine, but "headerg" did not show up at all for some reason. So, I simply added the code for "headerg" on the top of "navbarg" (since they are right on top of each other) and now it works.

Last edited by gct13; 12 Mar 2007 at 21:47.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 08:17.

Layout Options | Width: Wide Color: