View Full Version : Mobile, Cell, Phone, PDA, iPhone Style
texasf1racer
11-28-2009, 07:47 PM
So this is only an update for vb 4.0? Any chance of releasing a 3.8x version as there are many people not upgrading to 4.0.
Cheers!
dartho
11-28-2009, 09:14 PM
this version works fine on 3.8
texasf1racer
11-28-2009, 10:13 PM
Perhaps I am mistaken this for something else. I thought there were many templates that needed to be updated for 3.8. My apologies if I am incorrect.
Biker_GA
11-29-2009, 12:12 AM
While vB3.8 may complain about needing to update templates, the style still works perfectly fine. I'm using it on my live site and my users love it.
vol_freak
11-29-2009, 05:57 AM
Is there any way to allow smiley images to show, but still replace all other images with a link? I'm guessing that's too complex of a scenario.
The only solution I could come up with would be to change the way vbulletin converts the smileys to html. Something like '<img alt="" src="..." /> to escape the replacement varialbes. But I have no clue how to go about it.
dartho
11-29-2009, 06:21 AM
Thats right - you can edit the includes/class_bbcode.php file and find and replace as follows - this will be in the file TWICE:
MAKE A BACKUP OF THE FILES BEFORE EDITING!
if ($this->is_wysiwyg())
{
$replace = "<img src=\"$smilie[smiliepath]\" border=\"0\" alt=\"\" title=\"" . htmlspecialchars_uni($smilie['title']) . "\" smilieid=\"$smilie[smilieid]\" class=\"inlineimg\" />";
}
else
{
$replace = "<img src=\"$smilie[smiliepath]\" border=\"0\" alt=\"\" title=\"" . htmlspecialchars_uni($smilie['title']) . "\" class=\"inlineimg\" />";
}
and replace with
if ($this->is_wysiwyg())
{
$replace = "<img border=\"0\" alt=\"\" title=\"" . htmlspecialchars_uni($smilie['title']) . "\" smilieid=\"$smilie[smilieid]\" class=\"inlineimg\" src=\"$smilie[smiliepath]\" />";
}
else
{
$replace = "<img border=\"0\" alt=\"\" title=\"" . htmlspecialchars_uni($smilie['title']) . "\" class=\"inlineimg\" src=\"$smilie[smiliepath]\" />";
}
texasf1racer
11-30-2009, 10:26 PM
While vB3.8 may complain about needing to update templates, the style still works perfectly fine. I'm using it on my live site and my users love it.
Indeed it does work with 3.8, however it's just annoying to see something like 45 templates that need to be updated every time you log into the admincp. Don't get me wrong, I am grateful for the skin - but I just got an email from vb.org informing me this had been updated and was a little confused to log in and find that it has only been updated for 4.0 which is still in beta, but there was no update for 3.8x. No worries though, we will make do with the skin as is.
To the developer, cheers for your efforts, we do enjoy the skin. ;)
dartho
12-01-2009, 03:29 AM
I did the 4.0 update as teh 3.7 version was NOT compatible with 4.0
I'll release this as a 3.8 style also - no changes, just updated version numbers. probably tonight.
PossumX
12-01-2009, 08:36 AM
Another great piece of news. One of the many, many reasons I choose and recommend vBulletin above all others.
MuR@T
12-02-2009, 05:41 PM
Thanks nice
LeDuy
12-08-2009, 08:04 PM
Hi, i want to disable Cyb - Advanced Forum Statistics and add Thanked for Mobile Style, so how i can do?
LeDuy
12-09-2009, 10:19 AM
//Disable "Cyb Advanced Forum Statistics"
$vbulletin->options['cybtopstats']=0;
where Is this code wrong?
dartho
12-09-2009, 09:15 PM
I assume you have thnis installed: https://vborg.vbsupport.ru/showthread.php?t=182692
I think the code you are looking for is:
// disable Cyb Advanced Forum Stats
$vbulletin->options['cybtopstats_enable_global'] = 0;
LeDuy
12-13-2009, 09:07 AM
I assume you have thnis installed: https://vborg.vbsupport.ru/showthread.php?t=182692
I think the code you are looking for is:
// disable Cyb Advanced Forum Stats
$vbulletin->options['cybtopstats_enable_global'] = 0;
Thanks very much! It's working fine. So i want to add thanks mod to this style, how i can do?
Uberguilds
01-08-2010, 11:09 PM
Thanks!
SVTCobraLTD
01-14-2010, 05:51 PM
Installed on 3.6.10. Anyway to make global announcements show up?
SVTCobraLTD
01-15-2010, 04:11 PM
thanks
i installed it , when i gives a link to my default style it shows the style link but when i click it on mobile device browser it shows mobile style again and dont change style to pc mode !!
Is there anyway around this issue with the Mobile Phone Detection add-on installed?
dartho
01-15-2010, 08:50 PM
You could try this unsupported version of the mobile detect addon https://vborg.vbsupport.ru/showthread.php?p=1779571#post1779571
rushabh
02-16-2010, 05:58 AM
but the mobile autodetect hack overrides all others as far as changing styles go
Thanks Dartho.
So, just to confirm : If I have the mobile autodetect hack, there is no point in offering the style chooser on the mobile skin. The style chooser will get over-ruled anyways? That is, the mobile autodetect hack will continue to show the forum in the mobile skin ONLY.
And why is this option available in the "Mobile Style Options" Hack?
What is your Mobile style?
Which style do you display to mobile device users?
If its not going to offer a style automatically to mobile users (like the auto detector does), what is the purpose of this option in the adminCP?
dartho
02-16-2010, 06:37 AM
Correct - the auto-detect hack overrides any user style choice and enforces styles as configured with in the addon.
The thing to bear in mind here is that the mobile autodetect hack is a stand alone product. It has no dependencies on styles and has nothing to do with this style or it's add-on.
Now to your questipon regarding this style and the the 'Mobile Style Options' (lets call it MSO for short) add-on which goes with it.
MSO is tied to this style, it was written so that some minor changes could be made to the style which did not rely on people having to make manual template changes. The thead for MSO is here: https://vborg.vbsupport.ru/showthread.php?t=182692 and details what it does. It is not a requirement for this style, it just makes customising a few options easier to do.
Specifically, MSO asks What is your Mobile style? so it knows which style it is meant to work with and how to apply options such as hiding mobile style from style chooser and adding 'Posted by Mobile' text.
rushabh
02-16-2010, 07:57 AM
Thanks Dartho. Your support is as stellar as your skins / hacks themselves. A+ and appreciated.
Thunderbird8
03-12-2010, 08:27 PM
Some issues when (re)installing this on 3.8.5:
Quick Chooser does not display as it should (looks like the style uses option buttons when all of the default with 3.8.5 uses a dropdown...I edited this)
Edit Options is completely borked. I had to disable this section on the board I put this on because so many things screw up upon hitting Save here.
No login box for users who reach the site and aren't logged in.
dartho
03-12-2010, 08:50 PM
I know "Edit Optoins" was doing weird stuff - that's why I removed the link to it from usercp. It's shouldn't be there?!
Thunderbird8
03-16-2010, 11:32 PM
I checked the USERCP template, and did notice it was commenting out Edit Options. However, even though debug mode claims USERCP is called...it's as if it's ignoring it, as the entries are out of order compared to what USERCP has. Commenting out the stuff on the modifyoptions template worked to prevent it from working though.
gopherhockey
04-02-2010, 01:04 AM
edit...
dartho
04-02-2010, 02:13 AM
This is just a style - it doesn't discriminate between browsers mobile or otherwise ...
However, if you are talking about the detect mobile device add-on (https://vborg.vbsupport.ru/showthread.php?t=173239), why not just add "iPad" to the 'Useragent Exceptions' section?
sinomama
04-24-2010, 03:16 PM
Thanks for the style. It's great.
How can I take away the chatbox and the forum statistics in this style, please?
dartho
04-24-2010, 09:19 PM
what chatbox/statistics?
steven s
04-30-2010, 04:06 PM
Can this be used with Tapatalk giving my members a choice?
Or is it one or the other?
dartho
04-30-2010, 09:56 PM
yes, you should be able to use both
steven s
04-30-2010, 10:37 PM
yes, you should be able to use both
Thanks. :up:
tnedator
05-03-2010, 01:29 AM
Hi, I just installed this and it's great. One question though. Whenever someone posts using the mobile style, it seems to uncheck "show your signature" and people's sigs aren't showing on the posts made with this.
I find this strange, especially since the User CP has an Edit Signature option. am I missing something?
dartho
05-03-2010, 04:28 AM
I don;t have a 3.7 install any more, but iof you edit the newreply and newthread templates and add
<if condition="$bbuserinfo['signature'] != ''"><input type="hidden" name="signature" value="1" /></if>
in with the <input type="hidden" .... lines, it should default to showing signature, maybe, I think, possibly ....
tnedator
05-06-2010, 12:30 AM
I don;t have a 3.7 install any more, but iof you edit the newreply and newthread templates and add
<if condition="$bbuserinfo['signature'] != ''"><input type="hidden" name="signature" value="1" /></if>
in with the <input type="hidden" .... lines, it should default to showing signature, maybe, I think, possibly ....
Dartho, thanks for the help. That worked for the posts via reply, but not when posting via the quick reply. I've been looking and haven't figure out which template to modify to add the signature when posted via quick reply. Any ideas? Thx.
tnedator
05-06-2010, 12:36 AM
Dartho, thanks for the help. That worked for the posts via reply, but not when posting via the quick reply. I've been looking and haven't figure out which template to modify to add the signature when posted via quick reply. Any ideas? Thx.
I just found it. I was going to delete this post, but decided to leave it here in case anyone else had the same problem.
That line of code also needs to be added to SHOWTHREAD.
Thanks again for the help and nice mobile style.
afritz
06-05-2010, 05:23 PM
how to delete Private Messages in this mobile style?
Extrateknik
08-22-2010, 11:24 PM
You have an image resizer add-on which is interfering with the replacement variables.
If you add a new replacement variable in your Mobile style as follows:
search for: border="0" alt="" onload="NcodeImageResizer.createOn(this);" />
replace with: target="_blank">Image</a>
this might fix it for you
:up: Thanks.
ComputerVitals
09-23-2010, 06:12 PM
I've installed the mobile detection and This theme.
But when I go to my site, it's super tiny.
I have to zoom in on my phone. Any ideas on what to check?
vb 3.8
dartho
09-24-2010, 12:28 AM
I've installed the mobile detection and This theme.
But when I go to my site, it's super tiny.
I have to zoom in on my phone. Any ideas on what to check?
vb 3.8
Try editing the headinclude template and adding the following to the top:
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
ComputerVitals
09-24-2010, 12:58 AM
No Change.
Let see if I can explain it better. The wording is real tiny, There is a lot of space on the right side. Like it's stretching.
IF you go to
http://www.computervitals.com/forum/
Then select the Mobile theme. If you have a widescreen monitor, you'll see how it streches across the screen, Thats basically how it looks on my phone, but the words are super tiny.
dartho
09-24-2010, 01:18 AM
Looks OK from my HTC Mini.
However, try editing the CSS and removing all occurrences of "size:1;" (make a backup of file first, you could also try increasing the size to 2)
You could also try editing the headinclude template and also adding in:
<meta name="HandheldFriendly" content="true" />
<meta name="MobileOptimized" content="width" />
SamirDarji
01-24-2011, 01:00 AM
Looks interesting. Making a mental note to look at this later.
angeldevil
01-26-2011, 07:43 AM
Hi dartho,
I just use your mod and I need some help from you
- How to insert Top X to this style ? I used Cyb Advanced Forum Stastics
- I also use Mobile detection, can I add "Use PC mode" in mobile style ? Switch PC mode and Mobile Mode by a Link or a button ?
eg: I can Use PC mode when I connect website via wifi.
Thanks
slobra
03-01-2011, 12:38 AM
Awesome mod, thanks dartho. Question: When viewing this style and I click a username (to view their profile) the link points to http://domain.com/forums/members/username.html but when you click it, it takes you to http://domain.com/forums/members/a.html. I'm using 3.8.2 with vBSEO if that matters. I found this thread (http://www.vbseo.com/f77/member-page-redirecting-html-only-mobile-theme-43339/) but the OP didn't post a solution.
I searched this thread but didn't find the answer. Hope someone can clue me in. :D
macgyvers
08-14-2012, 11:20 AM
<i>This file was created using a different version of vBulletin from the one you are running.
Your version: 3.7.0
File version: 3.7.2</i>
what now ?
dartho
08-16-2012, 12:39 PM
You need to choose to ignore the style version. But I think you may be better of with this one https://vborg.vbsupport.ru/showthread.php?t=263822 I know it's for 3.8, but I did test it on 3.7.7 successfully ... can't promise anything though!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.