![]() |
Another little problem I'm having is that I'm running VBAdvanced and it looks horrible and doesn't work in the mobile style. Is there anyway I can divert users straight to the forum index bypassing VBA? Possibly just with a template hack?
|
Ok in answer to my own question, I did what very other site does with this issue, and just created an "m" sub-domain and redirected it with .htaccess on my hostrs cpanel to the index page.
|
Quote:
but your seems more fun so what it would be m.urwebsite.com ? |
Yep....just like Facebook! :p
http://m.ajarnforum.net The beauty of it is that it's just a vanilla redirect that does nothing, but just allows me to give mobile users the impression I'm catering specifically for them with their own url....this plugin does the rest, and I avoid VBA. On the other hand if people do go to the regular address, I've set up meta refresh in the mobile template's portal template. The disadvantage is that it does display it first before diverting. |
Installed... all looks good until I go to hit submit on a reply to a thread and I get:
Your submission could not be processed because a security token was missing or mismatched. If this occurred unexpectedly, please inform the administrator and describe the action you performed before you receved this error. ---- Using Windows Mobile 6 on a Sprint Touch device. |
Quote:
|
This is super cool. Instantly my favorite mod. Nice job!
Don't know why they couldn't have done this type of thing built-in... they are too busy making forums into facebook software and not concentrating on functionality of a real forum system I guess. Oh well, thats what vbulletin.org is for! ;) |
This has just been fixed in the mobile style ...
Quote:
|
Ok, so using this for a few days now I have noticed a few things:
First, it only works when you are logged into the forums. Is this normal? Second, I have not had anyone but myself see this work. (I am an adminstrator). Blackberry devices, other mobile 6 or even mobile 5 devices - so far it only works for me. My guess is I'm missing some security setting that allows this to work for people? On my forums, I do not allow people to select other styles. We have one default style, thats it. This mobile style I thought can be "forced" but do you need special user or group rights to have this work? Sure enough, if I log into a test user on my phone this does not work... I do have the setting in vb "Allow users to change styles" set to no. |
I believe I have fixed my issue. While I have the forums set to not allow users to change their styles, I did not click the checkbox on the mobile style when I installed it, allowing users to actually use it.
Apparently with this unchecked the admin can select it, but nobody else can. This must be checked and does not get checked by default when installed (at least it didn't for me) |
Is there any way this hack can force a custom text message in the users sig saying he/she is posting from a mobile device?
I noticed they do this at the blackberry forums. It would be a good addition to this hack. |
I'm sure a plugin could be written to do this, but not sure how myself ...
|
i know there's one you can get and integrate with vb howardsforum is using one let me try to find the proper name
https://vborg.vbsupport.ru/showthrea...w.howardforums |
Just what I needed!! Thanks, I'll be testing this all the time.
|
Thank's and installed.
Just need to test it with my friends :D |
Installed it on my forum, works great! Thanks for all of your effort.
Robert |
Quote:
|
That wouldn't be to do with this add-on, it would be caused by the style you are using - check the styles threads for updates...
|
Quote:
I'll check for update, thank's a lot. |
Installed and Marked! Excellent!
|
I love this mod. Thank you Dartho!
I works perfectly on iphone and touch, but I'm having problems with other devices. A number of my readers are using blackberrys. I've added the models independently in the custom list like this: Quote:
It was working for one Blackberry user, but now that I've added a new blackberry model, it's not working for them. I'm confused as to what is automatically detected - and what should be "custom" detected. Also, how can you verify the useragent? Someone mentioned a spot in the vbulletin CP, but I can't find it. Thanks for all of you help! kev |
All blackberry devices should be detected by default. Make sure you have enabled "Mobile Device Detection" in addition to "Enable iPhone / iPod Device Detection?" These can point to the same style.
You can view a users useragent string by checking "Who's Online" and then setting the view useragent string option to Yes. |
There is any way to avoid that users can "choose" this Style?
I have the problem that my users choose from the menu "Select Style" and it's impossible to return to normal style. Great work dartho. :) |
I don't allow users to change styles (this can be set in vBulletin Options) but if you do allow users to change styles this might work for removing a particular style form the quick chooser:
Edit your 'options' template which should look like this: Code:
<option value="$optionvalue" class="$optionclass" $optionselected>$optiontitle</option> Code:
<if condition="($optionvalue!=x) && ($optiontitle!='yyyyyy')"> This should stop it being added to the drop down list. |
Thanks Dartho Perfectly!
|
I am not sure if it's the detection or the style causing the problem, but I do not get the style that is set for wireless devices until the user logs in.
Meaning, if I go to the main forum page on my WM5 phone, I get the default style. Once I login, I get the style spcified for wireless devices. Anyone else have this problem? I am running this detection add-on and the Mobile, Cell, Phone, PDA and iPhone style (https://vborg.vbsupport.ru/showthread.php?t=174375) with the Extend and customize add-on (https://vborg.vbsupport.ru/showthread.php?t=182692). |
G'day jbeam,
I am guessing that your issue is that the style is not checked as user selectable in Style manager. As you are an admin, you can view non-selectable styles - this explains why the style doesn't show up till you log in with admin credentials. |
Installed and seems to be working well for me. Many thanks!
|
Quote:
Great Mod. :up: |
Can I ask where <img src... is replaced by <a href...? I am trying to brand my mobile skin with a very light version of my logo but whenever, and where ever, I add <img src it is replaced with <a href
|
that is changed in the Replacement Variables section of the mobile style options. You would likely need to remove all off them - if you remove these then all images will show up in the mobile style
Alternatively, you could swap the order of the tags around in the IMG declaration. Try something like : <img border="0" src="image.jpg" /> I've only tested this in a desktop browser and it works fine there - I image other mobile browsers shouldn't have an issue either... |
Thanks for this Darko,
I have a probelm though, Not sure if it is this mod. I tracked it down and seems when I disable this mod it works fine, but I enable this mod and error shows. I know vb put in new securtiy measures too. Here is the error when members try to post/reply using mobile. (Using your mobile skin btw) Code:
Your submission could not be processed because a security token was missing or mismatched. |
That won't be related to this add-on.
If you post in the thread for the style, I will then know which version of which style you are using and can better help! |
Ok, No probelm. I downloaded the latest version of your 3.7 style and seems to be working ok. Ill post in the skin thread if I get the error again.
|
Cool - thanks. I wasn't being pedantic - when you post in a add-on's thread, the add-on author can see what version you last downloaded which makes troubleshooting easier...
|
Is there a way to exclude Opera Mini when using this mod?
|
Sure is - work out what the Opera Mini useragent string is (you can do this when an opera mini user is online by selecting to view User Agent strings in Who's Online), and add it to the exclusions section :up:
|
I have looked in this thread and do not see the fix or understand the way to resolve getting this to work if you have vBadvanced CMPS installed. Any help?
Thanks in advance... |
Best way to get vbadvanced to work with this style is to not use it. Edit your adv_portal template and replace it's contents wit something like
PHP Code:
If you wanted to and had the time to work it out, you could probably strip back vbadvanced with in this style and still have some content there... |
Ahhh...Now it is coming back to me. See I had it installed pre-3.7.0 and uninstalled it sometime back after a major crash and never reinstalled but didn't remember that bypass. Thanks my friend. And I will make time to do those extra edits you suggest. They make perfect sense and sound worth the extra time. Thanks. :D
|
All times are GMT. The time now is 10:55 PM. |
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:
|