![]() |
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 |
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 ;) |
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. |
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. |
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. |
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. |
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.:o |
See this code Code: Content visible to verified customers only. |
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.:) |
Okay we are in reviewpost here try locating the code in pp-inc.php Code: Content visible to verified customers only. |
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. |
| All times are GMT -5. The time now is 08:36 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0