The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Importing products doesnt affect mobile style
hey all,
when i am creating a mobile style in vbulletin 4.1.2 and importing a product which created new templates, it only affects the non-mobile style. the templates are not being added to the mobile-style, is there anything special i need to do to make it work? maybe some remarks in the product XML file ? thanks in advance . |
#2
|
|||
|
|||
vBulletin its mobile style does indeed not really support plugins and is basically very trimmed down. Your only option would be to add the templates manually to vBulletin's mobile style, but you have to make sure it respects the HTML structure or else it will look weird. I could be wrong but there's a big chance that even then it will not work properly.
|
#3
|
|||
|
|||
so what can i do if my site has many custom pages and i need that my site will support mobile ?
i know that responsive will require rewriting the whole style from scratch and now you are telling me that a different style for mobile is also not possible if i have many custom pages ? ("many custom pages " = 3-4 plugins ) obviously copy-pasting the templates (about 80-90 ) its not an option, leaving the hard work, it will not be maintainable as it wont be part of the product and probably has other issues |
#4
|
|||
|
|||
The only way (as far as I know) is to implement the templates in the mobile style and then you create a mod which will load those templates when the user is viewing a page in a mobile style.
You can check out the mobile.php file as an example. |
#5
|
|||
|
|||
what do u mean by " implement the templates in the mobile style" ? copy pasting the products templates into the mobile style ?
if so why do i need to create any mod... once the user is in the mobile style he will be able to view this templates . |
#6
|
||||
|
||||
Implement means just that. Not all templates exist in the mobile master so if a mod uses a template hook for a template that doesn't exist in the mobile style then anything done on that hook will never be displayed.
|
Благодарность от: | ||
Max Taxable |
#7
|
||||
|
||||
This will not work, since the mobile style is completely different from the normal style. You basically adapt the templates you need to the mobile style, or in other words: you need to write them.
|
#8
|
||||
|
||||
Quote:
I changed my forum theme into responsive and all of them are working well now. |
#9
|
||||
|
||||
Quote:
Quote:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|