![]() |
Tutorial: How to see, images, videos and more into Vbulletin mobile
Hello:
After a lot of hours, I finally find the solutions to see to videos and images properly into my vbulletin mobile style: Some of this changes are by another people, I don,t remenber all, but thank you all of them...other changes are symple by me. This are the changes you need to made. FIXING CMS Into the cms mobile you need to see the videos into a preview article page and into article page with a correct width. Go to vbcms_content_article_preview Search to : Code:
<div class="content"> Code:
<div class="content"> But the videos are too big; no problem::D Go to: vbulletin.css And at top write: Code:
.videocontainer .restrain {max-width: 270px; max-height:150px } FIXING FORUM AND BLOGS IMAGES Ok, Now we have another problem: into forum pages and blosg, ect, the images are too big, and if you install a mod that resize the images this will be resized too into your full site. No problem. go to the Header template and put this code: Code:
<script type="text/javascript"> UPLOADING SERVICES TO PUT PHOTOS INTO POST Now we look for the sollution to upload images into post. Into my case I don?t allow users to take photos or upload images and I put a third party service: tinypic. You must go to: newthread Find: Code:
<fieldset class="ui-grid-a"> And paste this code after: Code:
<table style="background:#FFFFFF" align="center"> For quick reply go to: SHOWTHREAD and make the same changes that above. THE LAST PROBLEM CAN BE: THE ATTACHMENT ARE NOT SHOWING. You need to be sure you have this code into postbit template: Code:
<div class="content"> postbit_attachmentimage postbit_attachmentthumbnail Copy this templates from the full site templates... That is all!!!!:D:D:D |
Thanks! Finally got the image preview in my CMS.
|
Nice tips!
For our forum template, it already converted into responsive design thus I didn't use script like that any more. But it is useful for mobile styles Good job! |
This is a great concept, although on my custom theme it is a bit different. Can you help me find where to place the code?
Here is my vbcms_content_article_preview code Code:
{vb:raw css} |
For some reason you have yet the code but is not showing:
Try to change: HTML Code:
<div class="fullwidth article_preview_contents<vb:if condition="$showpreviewonly"> showpreviewonly</vb:if> restore"> HTML Code:
<div class="content"> OR DELETE THE CONDITIONAL. HTML Code:
<vb:if condition="$showpreviewonly"> </vb:if> |
All times are GMT. The time now is 02:20 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|