PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > ReviewPost Pro Support Forums > ReviewPost How do I...?

ReviewPost How do I...? Wondering how to do something in ReviewPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old July 3rd, 2006, 01:09 PM   #1 (permalink)
HB.
Junior Member
Verified Customer
 
Join Date: Dec 2005
Posts: 26
Is there a way to force a template

Hello,

I'm wondering if there is a way to force a template for my users when they visit the RP pages? Currently I have RP integrated with a phpbb forum, and I allow my members to choose between 3 different templates. It would be nice if I can force them to use only 1 of those templates while viewing the RP pages. If this is possible, could someone shed some light on how I can do this?

Thank you
HB. is offline   Reply With Quote
Old July 3rd, 2006, 03:22 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Force a template? You mean a style correct?

The phpBB integration pulls the style the user has selected in there profile. You can disable there ability to select styles in the forum and they will be left with the one style in there user control panel of the forum
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old July 3rd, 2006, 03:35 PM   #3 (permalink)
HB.
Junior Member
Verified Customer
 
Join Date: Dec 2005
Posts: 26
Yes I was refering to the style. I know I can force them to only one style in the forum, but I like the option of letting my members choose what style they want to use. On my forum I have a couple of forums setup that no matter what style they have in their profile, it will force a style I have intended, this is only for 2 sub-forums. I was wondering if something like this would be possible with RP, even though they use whatever style they have in their profile, when visiting the RP areas, it would automatically force them to a particular style.
HB. is offline   Reply With Quote
Old July 3rd, 2006, 03:47 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
You can always hard code the gallery stylesheet in your phpbb2.php file here by pointing to a specific style

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old July 5th, 2006, 09:17 AM   #5 (permalink)
HB.
Junior Member
Verified Customer
 
Join Date: Dec 2005
Posts: 26
Chuck thanks for the quick reply, but I'm not able to find the phpbb2.php or gallery stylesheet anywhere Should these files be located in my RP directory? If I'm doing something wrong, please let me know.
HB. is offline   Reply With Quote
Old July 5th, 2006, 09:58 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Your not using the gallery stylesheet but you can if you want. The hint I gave was to hard code which phpbb2 stylesheet you want to use in the function above which is in the phpbb2.php file which is located in the forums subdirectory of your reviewpost directory.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old July 5th, 2006, 02:29 PM   #7 (permalink)
HB.
Junior Member
Verified Customer
 
Join Date: Dec 2005
Posts: 26
Thank you, I did locate the phpbb2.php file. Before, I kept looking in my stylesheet subfolder. I'm sorry, I'm not a guru coder, but I'm attempting to learn as I go. With that said, I'm just assuming that I would insert that code into the phpbb2.php file? If so is there a location I would insert that code, or does it really matter? I'm also assuming that I would have to replace or add the stylesheet, or tempate name in order for it to work. If I need to replace a word, what would it be, or if I need to add a word, what would it follow?

Sorry for the newbie questions, but I hope you can understand that I don't want to mess anything up, which I've done more then once in the past.
HB. is offline   Reply With Quote
Old July 5th, 2006, 02:43 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
See this code

Code:
Content visible to verified customers only.
If you want to hard code one of your phpbb2 stylesheets so users can not change it replace this code {$User['stylesheet']} with the stylesheet name THATS ALL THERE IS TO IT.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old July 5th, 2006, 09:46 PM   #9 (permalink)
HB.
Junior Member
Verified Customer
 
Join Date: Dec 2005
Posts: 26
Thank you Chuck, I'll try to pass this on to someone else so I'm not bugging you. I searched for that snipet of code in the phpbb2.php but didn't find it anywhere. At least you gave me a good starting place.
HB. is offline   Reply With Quote
Old July 6th, 2006, 09:46 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Okay we are in reviewpost here try locating the code in pp-inc.php

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old July 6th, 2006, 11:32 AM   #11 (permalink)
HB.
Junior Member
Verified Customer
 
Join Date: Dec 2005
Posts: 26
Chuck,

Thank you very much, I was able to locate the code and make my changes. I'm really thankful for your assistance and time.
HB. is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Force a Forum Sylesheet? ricker How Do I? - vBulletin 3.0.X 3 November 27th, 2005 11:17 PM
How to force users to use 'Sold it' izan Classifieds Installation & Upgrades 2 May 18th, 2005 02:26 AM
Force Thumbnail trackpads vBGallery Suggestions 3 February 15th, 2005 10:43 AM


All times are GMT -5. The time now is 12:21 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0