The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
replacement variable's based on forum style don't work for forum display
Hi,
I am running into a problem with replacement variables. I am using replacement variables to change the buttons to new file names. As an example, I replace reply.gif to reply-trans.png. This works with the default style just great. I have a forum which has a different required style. This forum is used to post articles and as such instead of "New Thread" and "Add Reply" I want to change it to "New Article" and "Add Comment". Using the replacement variables I updated the reply.gif to my new addcomment-trans.png and its working just fine. The problem is with the newthread.gif image. When the forum is in forumdisplay and displaying this forum, it seems to be using the default style. I was able to fix the look a little by adding a plugin that does the following on the hook: style_fetch Code:
if( in_array($forumid,$ARTICLE_FORUM_IDS) ) { $styleid = $STYLE_ID_ARTICLESYSTEM; } Are there any ways to workaround / fix this problem? |
#2
|
|||
|
|||
Do you have set a fixed style for that forum in the forum options?
|
#3
|
|||
|
|||
Under the forum options I set the correct forum style and also the Override Users' Style Choice option to yes.
Still no luck in getting the replacement variables to work... And i feel like the plugin method of changing the style may be a hack. Maybe somethign isn't setup right? Or is this normal behavior? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|