The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello,
I am currently working on a page with short windows tips for users on my message board who often get infected or let people into their computer when they really didnt mean to ![]() any how to the point of the question: I have the page at http://board.madoshi.com/comhelp.php It does not look very well under a few of the styles, what would I need to edit in the template for the page to force it to use a custom style and over ride the user's default? Or is this done elsewhere than in the template? and how would I accomplish this task? Thank you! -JGM |
#2
|
||||
|
||||
![]()
In your php file add $styleid = x;
Replacing x with the id of the style you want to use for that page ![]() - miSt |
#3
|
|||
|
|||
![]()
Hi Mist, thanks for replying,
I tried it as you said (see short code below) but I am afraid it did not work, then again often I can be a block head and mess up the unmessable ![]() Code:
<? require( "global.php" ); eval("dooutput(\"".gettemplate('jgm_extra')."\");"); $styleid = 4; ?> |
#4
|
||||
|
||||
![]() PHP Code:
![]() |
#5
|
|||
|
|||
![]()
Thank you very much Mist! All it took was just putting it above global.php requirement
![]() |
#6
|
|||
|
|||
![]()
heh heh heh, I just found one bug though. It changes the person's style for that one page, and when they return to the forum it is still that style! lol!
![]() You have to go to your User CP and change to a different style, then change back. Is this something template side? |
#7
|
||||
|
||||
![]()
I'm not sure - I read that doing that does the job but hmmm... No idea sorry
![]() |
#8
|
||||
|
||||
![]()
I believe it will keep the styleid in the users cookie, there was a fix made for it. You could try clearing your cache (ctrl+f5) and that may help
|
#9
|
|||
|
|||
![]()
Hi assassingod,
I did try that and had a few other people try too, and it did not help ![]() I think I would like to try to do it so the text formatting and background use the rules of the user's style selection, instead of forcing them to one style I am going to try and find/add the lines into the template to use the skin's natrual colors. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|