 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
May 8th, 2010, 07:00 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Dec 2008
Posts: 123
| Custom vBulletin Header For Gallery
I have created a custom header template in my vBulletin and want to use that in the gallery instead of the default, yet for the life of me I cannot find how to change it like I have for the footer
Example: Code: Content visible to verified customers only.
I'm pretty sure it used to have a similar place for the header but can't find it, or how to change it (in header-inc.php)
How do I make the change I need? TIA
|
| |
May 8th, 2010, 07:38 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,680
|
If your using vb3 yes you would still use something like that defined in our header-inc.php file sure. You can look how we do it for the navbar in that file.
|
| |
May 8th, 2010, 09:21 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Dec 2008
Posts: 123
|
Thanx Chuck, but the line I need to put it in is not there, it used to be but now it's not and I don't know how to do it, I am using 7.01
|
| |
May 9th, 2010, 11:50 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,680
| Code: Content visible to verified customers only.
|
| |
May 9th, 2010, 02:53 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Dec 2008
Posts: 123
|
Thanx Chuck, I figured that would be it. Where do I put it in the file though, does it matter where? lol
|
| |
May 9th, 2010, 06:31 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,680
|
You put the lines in bold under the line I already noted in my post which is in header-inc.php
|
| |
May 10th, 2010, 12:11 AM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Dec 2008
Posts: 123
|
I'm sorry Chuck, it doesn't work lol
The footer and navbar eval lines are in 2 different sections of the file...if I put it under the navbar one it blanks out the header, and if I put it under the footer one just makes no difference lol
Oh and I am using VB3.8.5
Here is the code in my header-inc.php: Code: Content visible to verified customers only.
|
| |
May 10th, 2010, 09:21 AM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,680
|
right the navbar line is only one place in that file place the two lines in bold I suggested where I suggested and you should be fine. I show you have not done so.
|
| |
May 10th, 2010, 12:59 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Dec 2008
Posts: 123
| Quote:
Originally Posted by christon26 The footer and navbar eval lines are in 2 different sections of the file...if I put it under the navbar one it blanks out the header, and if I put it under the footer one just makes no difference lol | Thanx anyway but never mind, I don't have the patience to go round in circles again and will find an alternative lol
|
| |
May 10th, 2010, 01:05 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,680
|
Right but the point here is have you created an actual vb template with the contents you want displayed for the gallery header called gallery_header.
This would be considered a modification and yes your free to post in the mod forums for solutions but this one should work fine in the vb 3 series. As long as the actual template exists in vb with whatever html you want to print it should be loaded.
|
| |
May 10th, 2010, 01:26 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Dec 2008
Posts: 123
|
Ok so I read this and am thinking....yep I created the template, I went into vb and double checked....it took a few minutes of looking at the template to realise I had called it header_gallery instead of gallery_header which is probably why it blanked out before LOL
I changed the template name around and tried adding the code again and yay it's now working lol
Thanx Chuck....I am on day one of stopping smoking and my brain is all addled at the moment LOL
|
| |
May 10th, 2010, 06:54 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,680
|
enjoy
|
| |
May 21st, 2010, 10:37 PM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Nov 2008
Posts: 50
|
I'm trying to do something similar...
I'd like to use the same style as my forum (VB4, PPPro 7.01), but with a different header, as I want my Photopost to be a different domain name.
My site is site1.com
My photopost will be site2.com but since it's in the same folder it will be also reachable with site1.com/site2
I want my Photopost to use the Style of site1.com, but with different header so that it shows the logo of site2.com.
What can I do?
|
| |
May 22nd, 2010, 06:08 AM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,680
|
Not sure if you can do that with vb4
I mean you cant use a different style even in vb3 only different header.
vb4 works completely different.
|
| |
May 24th, 2010, 01:53 AM
|
#15 (permalink)
| | Member Verified Customer
Join Date: Nov 2008
Posts: 50
|
Well, it would be great to have the same option as VBGallery, to be able to change the logo of the header. Why isn't that possible in Photopost?
I could use the same style, but I would need to be able to change the logo.
|
| |
May 24th, 2010, 08:18 AM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,680
|
well just not how it works.
You can try in the header-inc.php file in Pro add this line in bold where noted and you need to create the actual vb template with the html you wish called gallery_header Code: Content visible to verified customers only.
I cant say if it will work never tried it and no support for that.
|
| |
May 24th, 2010, 12:29 PM
|
#17 (permalink)
| | Member Verified Customer
Join Date: Nov 2008
Posts: 50
|
That would be an idea! To be able to select ANOTHER VBulletin style!
But I get this error:
Fatal error: Call to a member function register() on a non-object in /path/photopost/header-inc.php on line 106
My VB4 is in /path/forums
|
| |
May 24th, 2010, 02:03 PM
|
#18 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,680
|
Hmm how about this like I said none of this I have personally tried Code: Content visible to verified customers only.
|
| |
May 24th, 2010, 02:05 PM
|
#19 (permalink)
| | Member Verified Customer
Join Date: Nov 2008
Posts: 50
|
I appreciate the time you take. It would be AMAZING that you allow in the Integration options of Photopost, to select which Style to use from Vbulletin. It would be AMAZING!
|
| |
May 24th, 2010, 02:13 PM
|
#20 (permalink)
| | Member Verified Customer
Join Date: Nov 2008
Posts: 50
|
Nope, it doesn't work. I've created a parent style in VB that I named gallery_header and I've added that code, but the header is blank. But the rest is still using my main style. I made a modification to gallery_header to see if it was picking that style but not the header. But no, it's not picking the style.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 08:16 AM. | |