Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Reviewpost 2.8+ - Use seperate VB Header and Navbar Details »
Reviewpost 2.8+ - 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: (0 vote - 0 average) Installs: 3
Released: 23 Dec 2004 Last Update: Never Downloads: 0
Not Supported  

This is close to my other PP hack which shares the same premise. I want to acknowledge the 2nd navbar 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)
Reviewpost 2.8b4 or higher (may work on others, didnt test)

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

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 Reviewpost and I wanted to keep the Products 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 my Products.

You can see it in action here:
My Forum: http://www.trackpad.com/forum
My Product Reviews: http://www.trackpads.com/reviews

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

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 headerrp and paste the information from the original header. Make any reviews specific modifcations that you want. You can always come back later through and edit the file.

B. Create a new template called navbarrp and paste the information from the original navbar. Make any reviews 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 headerrp & navbarrp.

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.


ReviewPost File Edits:

Please note that you should have already integrated and tested your Reviewpost installation with the VB integration first. Ensure that the VB header & navbar are both showing.

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.


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


Finally. Save all files and upload to the server. REMEMBER, always make a backup in case 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 reviews 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
Photopost 4.8.5 - Use seperate VB Header and Navbar trackpads vBulletin 3.0 Full Releases 13 12 Mar 2007 21:19
PP Classifieds 2.0+ - Use seperate VB Header and Navbar trackpads vBulletin 3.0 Full Releases 2 28 Dec 2005 08:13

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 04:42.

Layout Options | Width: Wide Color: