 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
May 31st, 2005, 12:27 PM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Apr 2005
Posts: 27
| VB3 Integration different Style ID?
I have more Styles/Templates in VB3, how can i say PP5.1 to use Style ID 3 or other and not the standard style?
|
| |
June 1st, 2005, 08:59 PM
|
#2 (permalink)
| | Member Verified Customer
Join Date: Mar 2003 Location: Orlando, FL. USA
Posts: 142
|
How do I tell Photopost to use a different VB3 style id?
|
| |
June 2nd, 2005, 02:03 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Mar 2003 Location: Orlando, FL. USA
Posts: 142
|
It says in the 5.1 changlog.txt that "vB3enhanced users can create separate sets of templates based on the styleid" - I can't seem to find any documentation on how to implement this.
I'm simply looking to implement a different header for the gallery (vs. my forum header) - so I've created a separate style in vB that incorporates it and need to know how to implement this new style within Photopost's vb3enhanced features.
How is this done?
|
| |
June 5th, 2005, 10:00 AM
|
#4 (permalink)
| | Junior Member Verified Customer
Join Date: Apr 2005
Posts: 27
|
i dont know, i hope any other user can help
|
| |
June 5th, 2005, 12:21 PM
|
#5 (permalink)
| | Registered User
Join Date: Nov 2003 Location: Florida
Posts: 62
|
I need a different header for the gallery too, has anyone figured this out?
|
| |
June 5th, 2005, 05:49 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
If a user has another style selected in VB3 photopost loads that users style. Try changing your style in vb profile and see this happen
Very simple separate header for gallery make a new template in Vbulletin templates mocked off of header template and modify to your liking. Call it header2
Then in our header-inc.php file where the line is this
eval('$navbar = "' . fetch_template('navbar') . '";');
add
eval('$header = "' . fetch_template('header2') . '";');
Last edited by Chuck S; June 5th, 2005 at 05:51 PM.
|
| |
June 5th, 2005, 06:45 PM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Mar 2003 Location: Orlando, FL. USA
Posts: 142
| Quote:
Very simple separate header for gallery make a new template in Vbulletin templates mocked off of header template and modify to your liking. Call it header2
Then in our header-inc.php file where the line is this
eval('$navbar = "' . fetch_template('navbar') . '";');
add
eval('$header = "' . fetch_template('header2') . '";');
| THANKS! Works perfectly and first time out too |
| |
August 4th, 2005, 07:07 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Nov 2004
Posts: 75
|
Ok, This is kind of what I need, but not quite. What I need is a seperate header and footer for just one particular category and its sub directories. http://underlabstudios.com/photopost...ry.php/cat/539
The admin section gives you the option but only if you do not have the vb3 intergration on. I want to the rest of the gallery to be the same as my forum. Is this possible at all. Please Help. This is very important to me. Thanks.
|
| |
August 4th, 2005, 10:10 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
well using a different header for one cat in your case then you need to define an if clause to load a different header. The default header include only pulls one header
|
| |
August 5th, 2005, 01:25 AM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Nov 2004
Posts: 75
|
aw man any way you can give me that code? or a tutorial or something thatll show me how to do it myslef? Perhaps it would be a good addition to the script.
|
| |
August 5th, 2005, 07:17 AM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
Something like this with the right cat variable of course. Code: Content visible to verified customers only.
|
| |
August 5th, 2005, 07:46 PM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Nov 2004
Posts: 75
|
Hey chuck how is it going? I tried the code and it just wouldnt work. It wouldnt do anything at all. So I thought rather than keep bothering you to check to see why that wouldnt work, i decided to bite the bullet, and turn off the integration and try it the old way. I was able to give the categories a different header like I wanted: http://underlabstudios.com/photopost...ry.php/cat/533
compare to : http://www.underlabstudios.com/photopost/
Now here is the quick back story. I have my Service site www.ulsmedia.com/home.htm . I wanted this site to use my underlabstudios.com site's photo gallery for my company's online portfolio.
So I allowed the category "ULS Media's Online Portfolio" to permit unregistered users to be able to see. However when you try to take a look at an actual picture, I get an error asking me to register to see the picture.
I reverted everything back with the vbintegration and the problem is still there. So I guess if I can just get the category permissions to work, I can live without the vbulletin integration, although i hope you guys will incorporate some sort of off button for vb integration on a category. Because individual headers per category is a very important feature for some of us, and it sucks that the vb integration causes it not to work.
Any ideas on how to fix my category header problem and/or my cateory permissions?
|
| |
August 5th, 2005, 07:58 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
In your options in admin set to allow unregistered user to view images
|
| |
August 6th, 2005, 01:19 PM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Nov 2004
Posts: 75
|
I know. I did that. Still having the same problem. The options are set to do that, but it is not working
|
| |
August 9th, 2005, 12:19 AM
|
#15 (permalink)
| | Registered User
Join Date: Jul 2005
Posts: 13
|
I'm also trying to change the default view for my gallery. Tried the trick described below and what I got instead is a forum within a forum http://www.nigeriavillagesquare.com/photopost/index.php Quote: |
Originally Posted by omegatron If a user has another style selected in VB3 photopost loads that users style. Try changing your style in vb profile and see this happen
Very simple separate header for gallery make a new template in Vbulletin templates mocked off of header template and modify to your liking. Call it header2
Then in our header-inc.php file where the line is this
eval('$navbar = "' . fetch_template('navbar') . '";');
add
eval('$header = "' . fetch_template('header2') . '";'); | |
| |
August 9th, 2005, 12:58 AM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
I dont see anything wrong with what ya have done except your little table cells dont handle 4 thumbs access and you are not using the vb style
|
| |
August 9th, 2005, 12:26 PM
|
#17 (permalink)
| | Registered User
Join Date: Jul 2005
Posts: 13
|
Omegtron:
Thanks for your continuing good support.
My problem is that I want Photopost to have its own unique template that is diffrent from the Forum templates. I also dont want Users to be able to change that template.
How do I do this?
|
| |
August 9th, 2005, 12:49 PM
|
#18 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
Well if you want the style to be different then the forum then only thing I can suggest is to not use the vb3 enhanced integration.
By default the whole purpose of the vb3 enhanced integration is to ensure we pass the user's style preferences and load the vb3 header and footer based on the style so your gallery looks like the forum
|
| | |
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 01:29 PM. | |