View Full Version : Forum Display Enhancements - Mobile Style Options 4.0
dartho
11-27-2009, 10:00 PM
This is an add-on for the 4.0 version of my Mobile style (https://vborg.vbsupport.ru/showthread.php?t=228986). If you do not have this style installed, it is of no use to you!
It adds options to your vBulletin Options for customizing:
Optionally adds links to default style (in footer or navbar)
Optionally add 'Posted Via Mobile' message to new posts/threads (message can be customised)
Optionally display "What's Going On" box in forum home
Optionally display Style Chooser in footer
Set 'Home' link URL (rather than editing templates)
Can hide mobile style from Style Chooser
Install the latest Mobile style (should have same version number as this addon, but may have a different alpha char on end of version number)
Install this add-on and set your options
Version History
1.0.1 - Initial Release port from 3.x
1.0.2 - Fixed up 'Posted via Mobile' options
You can modify how the message displays by editing the "posted_by_mobile_device" template, you could even edit the hook location and have it display above the post
1.0.3 - Reality check for this with issues, no new functionality
1.0.4 - small install change which should stop timeouts on sites with large post tables
ARB4HOSTING.COM
11-28-2009, 11:11 AM
C:\AppServ\www\vb\includes\adminfunctions_template .php on line 2752
dartho
11-28-2009, 11:41 AM
I don't know why it would truncate the options like that for you? Anyone else experience the same?
Biker_GA
11-28-2009, 04:55 PM
I don't know why it would truncate the options like that for you? Anyone else experience the same?
No sir. Working just fine on my end.
Bounce
11-28-2009, 07:50 PM
thank you :up:
SİMAR
11-29-2009, 09:36 PM
thank you
Dr.osamA
11-30-2009, 08:52 PM
try try try
thxxx man
________
Jeep Cherokee (Sj) History (http://www.dodge-wiki.com/wiki/Jeep_Cherokee_(SJ))
Hasanudin
12-18-2009, 02:16 AM
are there screenshot?
Stryker412
12-18-2009, 12:45 PM
dartho, do you know how I can set it so that it defaults to mobile view for the Palm Pre? Currently it forces me to look at it in full view.
dartho
12-18-2009, 10:31 PM
Have you installed https://vborg.vbsupport.ru/showthread.php?t=173239 and do you have the style set as User Selectable?
Robru
12-29-2009, 12:04 PM
Thank you, very nice !! :)
movslow
12-29-2009, 01:36 PM
Have you installed https://vborg.vbsupport.ru/showthread.php?t=173239 and do you have the style set as User Selectable?
I did that first, then installed this option with no luck. It didn't look/feel any different on my iPhone that it did before?
:confused:
Boots
12-30-2009, 05:27 PM
doesn't seem to use the "Mobile post text" as far as I can tell.
dartho
12-30-2009, 08:29 PM
@Boots - I'll look into that,
@movslow - it should look a lot different. Have you actually selected the style from your phone? If you want it to happen automcatically, try this:https://vborg.vbsupport.ru/showthread.php?t=173239
@stryker - https://vborg.vbsupport.ru/showthread.php?t=173239
Robru
12-31-2009, 12:23 PM
doesn't seem to use the "Mobile post text" as far as I can tell.
Same problem here, the rest works perfectly!
lifetube
12-31-2009, 01:49 PM
love this thanks, would be nice to have the 'Posted on mobile' text working - but no rush :)
dartho
12-31-2009, 09:04 PM
I was working on a better way to do the "mobile text" under 3.8, so will try and implement that soon assuming it will work under 4.0
omanmoon.net
01-01-2010, 06:22 AM
Thanks for the nice add-on bro :)
i lik it from 3.x.x ^^
struff
01-03-2010, 04:36 PM
love this thanks, would be nice to have the 'Posted on mobile' text working - but no rush :)
I second that.
dartho
01-04-2010, 09:29 AM
working on my test site, just gotta get it to a release state and package it up
Boots
01-04-2010, 04:49 PM
Looking forward to an update.
mobiledesign
01-06-2010, 04:11 AM
Tested it in Japan on 3 carriers and there were no changes.
I noticed in your php array:
$mobilebrowsers = array(
"320x240",
These are the majority sizes in Japan so it should work, i thought. but it did not.
The top part that shows a problem is the "register", "help", "User login info" and the "search" part are all overlapping the top part of the device view. Everything else is ok. Design-wise, red!?
So I added the devices we use in Japan:
"panasonic"
"docomo"
"softbank"
"sony"
"samsung"
"panasonic"
"sanyo"
"sharp"
"vodafone"
"casio"
"au-mic"
and now i can see the mobile version on my Casio in Japan, BUT i see an error in both the mobile device and my PC site:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/USER/public_html/forum/includes/class_bootstrap.php(748) : eval()'d code on line 75
Is there a way that you can fix this?
Thank you
dartho
01-06-2010, 11:01 AM
This add-on adds a few options to my mobile style. It has no style or detection options itself. You don;t even have this add-on marked as "Installed"
Now assuming the issues lay with the Mobile Device Detection addonWhere did you add the list of devices above to the "Custom/User Defined Useragent String" section? If so, you should add them comma seperate with no quotes. eg panasonic,docomo,softbank,sony,samsung,panasonic,s anyo,sharp,vodafone,casio,au-mic
if the "Red?" comment is to do with my Mobile style - I don't recall actually using red?
I'm happy to help where I can - but it is easiest for me to do so when questions etc are placed against the actual addon causing the issue. Thanks
Stryker412
01-06-2010, 03:05 PM
Have you installed https://vborg.vbsupport.ru/showthread.php?t=173239 and do you have the style set as User Selectable?
Yes I have that installed, but still no luck with the Pre.
mobiledesign
01-15-2010, 02:49 PM
Yea, im forcing them to use a particular style. perhaps the problem.
Also using the "Mobile Device Detection".
Ill clear the style forcing and see what happens. Thank you for your reply to this.
This add-on adds a few options to my mobile style. It has no style or detection options itself. You don;t even have this add-on marked as "Installed"
Now assuming the issues lay with the Mobile Device Detection addonWhere did you add the list of devices above to the "Custom/User Defined Useragent String" section? If so, you should add them comma seperate with no quotes. eg panasonic,docomo,softbank,sony,samsung,panasonic,s anyo,sharp,vodafone,casio,au-mic
if the "Red?" comment is to do with my Mobile style - I don't recall actually using red?
I'm happy to help where I can - but it is easiest for me to do so when questions etc are placed against the actual addon causing the issue. Thanks
ngkong
01-16-2010, 04:10 AM
since the style doesnt work for CMS, is there a way to redirect mobile user to forum instead of CMS when accessing vbull root? thanks
tweakmonkey
02-04-2010, 03:40 PM
Also not seeing the "posted by mobile" text anymore (4.0.1) , but thanks again.
dartho
02-04-2010, 10:22 PM
since the style doesnt work for CMS, is there a way to redirect mobile user to forum instead of CMS when accessing vbull root? thanks
See here: https://vborg.vbsupport.ru/showthread.php?p=1962817#post1962817
dartho
02-04-2010, 10:23 PM
Also not seeing the "posted by mobile" text anymore (4.0.1) , but thanks again.
I know - I have to re-implement that, I have the code ready to go,it's just a matter of putting it in and releasing... I may release as a seperate mod and remove from this one actually as it has relevance to others also ...
testbot
02-06-2010, 10:03 PM
looking forward to the posted by mobile thing too ;)
tini_lam
02-07-2010, 10:32 AM
hi, I post a thread by firefox 3.6. But in post have "Posted via Mobile Device". this mod mistake?
dartho
02-08-2010, 04:06 AM
Do you have your default style configured as your mobile style in the mobile options?
BTW - been looking at the Posted by Mobile Device thing - this look OK - if you float over the "Posted By Mobile Device" text, it shows user agent as shown in the attached
111852
It now stores info in the DB as opposed to just appending text to the post as in previous versions. It still only kicks in if people are using the mobile style
testbot
02-08-2010, 05:03 PM
Do you have your default style configured as your mobile style in the mobile options?
BTW - been looking at the Posted by Mobile Device thing - this look OK - if you float over the "Posted By Mobile Device" text, it shows user agent as shown in the attached
111852
It now stores info in the DB as opposed to just appending text to the post as in previous versions. It still only kicks in if people are using the mobile style
How did you get the mobile sig to show up there?!
dartho
02-08-2010, 08:34 PM
How did you get the mobile sig to show up there?!
With the latest version I just posted up :)
Gene Steinberg
02-08-2010, 09:00 PM
Same problem here, the rest works perfectly!
Your mobile style puts up a message that it won't import in vBulletin 4.0.1.
So when is that going to be updated?
Peace,
Gene
testbot
02-08-2010, 09:08 PM
very cool!
testbot
02-08-2010, 09:39 PM
still doesn't work for me. i even uninstalled it and installed the newest one but nothing.
Gene Steinberg
02-08-2010, 09:45 PM
still doesn't work for me. i even uninstalled it and installed the newest one but nothing.
Installed style and plugin. Doesn't work on my iPhone.
Peace,
Gene
testbot
02-08-2010, 10:13 PM
the style works for me... just not the mobile signature part. unfortunately, that's my fav part.
dartho
02-08-2010, 10:18 PM
@Gene - In what way does this plugin not work on your iPhone?
@testbot - can you point me at some samples where it should be be displaying post vai mobile
testbot
02-08-2010, 11:04 PM
no prob.
this thread was created and replied to using the mobile theme.
http://forum.ampprod.com/showthread.php?36120-Mobile-Test&p=586527#post586527
ps- the install & uninstall acted a bit odd and gave me the following database error. not sure if that's related.
Invalid SQL:
ALTER TABLE `post` ADD `mobile` BOOL NOT NULL DEFAULT '0';
MySQL Error : Duplicate column name 'mobile'
Error Number : 1060
dartho
02-08-2010, 11:28 PM
It's working fine testbot - see attached.
The DB error means the uninstall didn't clean up properly and when you re-installed, it already had teh additiona; columns there. Not an issue, but I will fix.
BTW - I notice a cedrtain copyright message missing when viewing your mobile site :(
testbot
02-09-2010, 02:07 AM
oh cool! i was looking in the middle because of your screen print. i must be working too hard that i missed that.
oh man, don't hate me abt the copyright lol i was actually going to break the rules and remove vb's and yours because people +++++ about having a long list of copyrights on the mobile theme. i guess members will always find something to +++++ about though. i'll put it back if it's a huge deal to you.
Bergler
02-09-2010, 02:24 AM
This might be a stupid question but I just have to ask! This skin, is it used as a child/secondary skin, one that can be selected by the user?
testbot
02-09-2010, 02:35 AM
this isn't the style, it's the addon to the style. the style is here: https://vborg.vbsupport.ru/showthread.php?t=228986
imo, you should make it a parent, leave it enabled (selectable) and then hide it from the list using the this add on product.
Robru
02-09-2010, 03:47 AM
Product 1.0.2 will not install (update of 1.0.1)
Biker_GA
02-09-2010, 04:37 PM
Getting the same issue. Just sits there and stares back at you.
dartho
02-09-2010, 07:59 PM
mm.. care to try again with the product-moboptions40-1.0.2a.xml ?
War.Frog
02-09-2010, 08:27 PM
mm.. care to try again with the product-moboptions40-1.0.2a.xml ?
I just installed this version, but when I posted I don't see any indication of "posted via mobile"?
War.Frog
02-09-2010, 08:40 PM
I just installed this version, but when I posted I don't see any indication of "posted via mobile"?
Ignore - for some reason my settings reverted back. Fixed and working!
Biker_GA
02-12-2010, 03:29 AM
mm.. care to try again with the product-moboptions40-1.0.2a.xml ?
Worked just fine. Danke!
PVO_Dave
02-27-2010, 08:36 AM
Installed - Had to install 40 though, not the 1.0.2a version as that wouldn't install on 4.0.2 :( (just hung around, and eventually gave me a db error.
Dave.
dartho
02-27-2010, 12:29 PM
I don't suppose you know what the error was?
4nawadir.com
02-28-2010, 08:43 AM
Very Nice Man
Installed & Notaminated
Manoel J?nior
02-28-2010, 09:46 PM
Please Screen Shots
Gene Steinberg
02-28-2010, 09:52 PM
This is a neat idea, but very flawed.
The style is barely useful, particularly on an iPhone, a product with a modicum of class in its interface. There are WordPress plugins that provide a decent user interface. You should use them as influences.
Also, it's unfortunate that your mod doesn't automatically detect user agents, so when I use the iPhone I still have to switch manually. What's the good of that?
Peace,
Gene
Jabong82
02-28-2010, 10:08 PM
Do you have to install the 3.8 version to use this? I have 4.0.2 and I saw that at the top of this thread you said this mod is of no use if I don't have the older version. But I can't upload the XML file of the old version.
Can I just install the one listed in this thread? Or is this just an add-on to the old version? Thanks in advance.
Edit: Nevermind I found the 4.0 version, but I am unable to upload the XML file? When I try to import it it says invalid file specified.
dartho
03-01-2010, 12:03 PM
Manoel - there's nothing to see but a few admincp options
Gene - Why does you website not tell me about rugby or rugby teams? It is barely useful. There are other sites which do focus on rugby - you should use them as influences.
As for detection, there is already a product which does this.
BTW - anyone with an ounce of originality could easily modify the CSS to make this style look the way they want. Have a look at http://www.inbeforethelock.co.uk/index.php?styleid=72
Peace
Jabong - Not sure - I just downloaded teh style frsh and installed with no error?
Gene Steinberg
03-01-2010, 12:12 PM
My site is a paranormal radio show and that's obvious to anyone who spends 3 seconds there. Boy are you confused.
Peace,
Gene
dartho
03-01-2010, 01:02 PM
Gene, it may be obvious to you - but yes I am confused - when I view your site from my cell phone I get nothing but errors and no content. My own site however looks great!
Gene Steinberg
03-01-2010, 01:16 PM
Our forum is pretty clearly-labeled on my iPhone. I don't now what you're using, but clearly something is wrong with what you are seeing, since the labeling and the thread descriptions, such as The UFO Forum, are clearly expressed.
What don't you understand about the words "The Paracast"? How does that imply rugby?
Peace,
Gene
Front Range 4x4
03-01-2010, 01:40 PM
This is a neat idea, but very flawed.
You're missing the point Gene. Dartho is being generous in not saying something along the line of "If you can do better, do it."
Nothing worse than someone be so critical of something someone is providing for free.
Gene Steinberg
03-01-2010, 01:55 PM
So even though it's highly flawed I should say it's not flawed. I am not a programmer. I come to this place to get add-ons for our forums so I don't have to learn PHP and MySQL, or pay someone the big bucks to do it for me. And most work just fine, thank you.
This one doesn't work so fine, and the accompanying style is clunky and poorly executed. I explained why I didn't like them in the hope that maybe the author would consider the suggestions and find a way to improve the product — and maybe generate some PayPal donations as the result.
Instead, I get silly challenges that I should do it myself and claims that a forum that is clearly about paranormal subjects, since that's what all the descriptive text says, is somehow about rugby.
Maybe I'm just in an alternate universe when I visit this thread. :)
Peace,
Gene
dartho
03-01-2010, 08:31 PM
Gene, my addons are not the least bit flawed - they do exactly what they were designed to do, help make my site work the way I want it to.
I didn't suggest that your forum was about rugby - I suggested that it was highly flawed because it was not. When I viewed your forum, I wanted it to be about rugby and instead it was about some radio show I've never even heard of. I did not mean to challenge you, I was merely suggesting a way to improve your site, and maybe generate paypal donations.
This however was not released for paypal donations, it was release for the pleasure of reading posts such as yours.
Peace
Gene Steinberg
03-01-2010, 09:21 PM
OK, so this particular plugin does what you want, but it can't automatically recognize the user agent and deliver the style that is suitable for the user.
If you want to help us improve the site, help us get a mobile theme that looks good and a mod that will deliver the style best suited to a particular device's browser.
I don't think I'm asking for too much here.
Peace,
Gene
Front Range 4x4
03-01-2010, 09:41 PM
It's not really my concern and I'm just responding because you are asking too much. Dartho was generous enough provide this for free, if you don't like it so don't use it.
I'm sure you can find many people will to make exactly what you want and would be happy for the paid work. Hire someone and you can complain, someone doing something for free should be thanked not criticized.
Can you understand that?
Gene Steinberg
03-01-2010, 09:54 PM
What I understand is that all software is a work in progress. There are always things that can be done better or differently. But when someone makes honest criticism and receives nothing but sarcastic responses about rugby, or is told to buzz off, that doesn't make me feel warm and friendly to the coder.
Or maybe that coder feels that perfection has been achieved and that there's nothing left to do.
Peace,
Gene
Front Range 4x4
03-02-2010, 12:56 AM
<unsubscribed>
Kingdombuilder
03-03-2010, 05:09 AM
Thank you very much for sharing you mod... i love it, but I do however have one problem still:
I have the 4.0.1 VB 4 and i came back to get the update and I'm still having trouble getting it to display "post Via Mobile Device". Any suggestions to what i'm doing wrong?
i uninstalled the last release, and then i installed the latest one with the fix.
dartho
03-03-2010, 06:04 AM
What is your site, and also could you point me to a post or two which were posted when using the mobile style...
Thanks
Kingdombuilder
03-04-2010, 03:57 PM
What is your site, and also could you point me to a post or two which were posted when using the mobile style...
Thanks
http://www.blackberryspot.com
Here is a post from my mobile:
http://www.blackberryspot.com/forum/showthread.php?706-Salvation!
Thank you for your hard work and your consideration to help me with this issue...
dartho
03-04-2010, 06:51 PM
Posted via a Blackberry 9630 by the looks of it...
https://vborg.vbsupport.ru/attachment.php?attachmentid=113567&stc=1&d=1267735823
Kingdombuilder
03-04-2010, 10:42 PM
Brother I am so sorry. I was used to the older version that had it right in the message. i did not think to look in that area.... Please forgive me and thank you fro all you help... Great mod!
dartho
03-04-2010, 11:29 PM
No worries!
Float your mouse over the text and it will show the useragent of the device which made the post.
Kingdombuilder
03-06-2010, 02:54 PM
No worries!
Float your mouse over the text and it will show the useragent of the device which made the post.
I saw that, that gives it a more professional look an feel... Great mod bruh!!
lilquit
03-09-2010, 05:51 AM
what mod do i need so it recognizes I am using a phone?
dartho
03-09-2010, 06:24 AM
<a href="https://vborg.vbsupport.ru/showthread.php?t=226946&highlight=iphone" target="_blank">https://vborg.vbsupport.ru/showt...ghlight=iphone</a>
Tigur
03-17-2010, 11:38 PM
https://vborg.vbsupport.ru/showthread.php?t=226946&highlight=iphone
so we use t hat even tho it is for 3.7??
unicorn2433
03-21-2010, 02:00 AM
I get database error when trying to install thr 4 1.02a
Tauhid
03-23-2010, 10:39 PM
is there anyway to disable the vbulletin built in-adsense from appearing in this mobile theme? I installed this and I am loving this option so does the members. Please do let me know if there is a way.
unicorn2433
03-26-2010, 02:17 PM
I get this error when trying to install 4.1.02a -- i clicked allow overwrite
Invalid SQL:
ALTER TABLE `post` ADD `mobile` BOOL NOT NULL DEFAULT '0';
MySQL Error : Duplicate column name 'mobile'
Error Number : 1060
Request Date : Friday, March 26th 2010 @ 03:14:10 PM
Error Date : Friday, March 26th 2010 @ 03:14:11 PM
I even tried installin 1.0.1 firt and got same error
unicorn2433
03-26-2010, 02:44 PM
but I can install the 1.0.1 version no problem
with this version it doesnt say posted mobile by mobile device
I have a link to a thread where peeps r posting what is wrong.
I can pm link if needed
dartho
03-26-2010, 09:00 PM
Sounds like you either already have an add-on which uses the same column name in the DB ("mobile") or that it had been previously installed, and you are trying to install over top.
If you know you have no other add-ons using the mobile column, you could manually delete it from the POST table (as well as the "ua" coolumn) and also delete both from the THREAD table if they exist. Then run the install again
Dan Clark
03-30-2010, 01:41 AM
When I try to install in "Download/Upload Styles", I get an "Invalid File Specified" error. I'm running V4.0.2 PL4. What's up with this?
Dan.
anupam_luv
03-30-2010, 09:21 AM
Is there any chance of this mod of getting "conflict" with mobiquo (at https://vborg.vbsupport.ru/showthread.php?t=232437 ) ?
dartho
03-31-2010, 04:27 AM
@Dan - this is not a style, it's a product
@Anupam - what is the "conflict"?
steve1966
04-02-2010, 09:22 AM
hi i have installed
your mobile style when i try and install style options v1 02 i get this
Database error in vBulletin 4.0.2:
Invalid SQL:
`post` ADD `mobile` BOOL NOT NULL DEFAULT '0';
MySQL Error : Duplicate column name 'mobile'
Error Number : 1060
Request Date : Friday, April 2nd 2010 @ 05:54:17 PM
Error Date : Friday, April 2nd 2010 @ 05:54:18 PM
Script : org/forums/a12hj/plugin.php?do=productimport
Referrer : e.org/forums/a12hj/plugin.php?do=productadd
Classname : vB_Database
MySQL Version : 5.0.67-community
steve1966
04-02-2010, 09:31 AM
Hi i have done this and still get the same when i try and install v1.02 but the other versions works
If you know you have no other add-ons using the mobile column, you could manually delete it from the POST table (as well as the "ua" coolumn) and also delete both from the THREAD table if they exist. Then run the install again
dartho
04-02-2010, 11:18 AM
if you removed the mobile column from the post table, you wouldn't get this error ...
steve1966
04-02-2010, 01:39 PM
hello i dont have that column only mobile when installed
dartho
04-02-2010, 09:32 PM
that was a typo, corrected.
steve1966
04-03-2010, 06:10 AM
that was a typo, corrected.
hi yes then i dropped that mobile table and it still does the same database error but it loads the earlier version ok
Bacon Butty
04-06-2010, 12:45 PM
Thanks for this mod, very useful and was vital for my 3.8 forum.
I've installed it on our upgraded 4.0 forum, and members are complaining that;
I just went on to it on mobile and it looks the same but when I clicked on a thread or forum it came up with: Invalid forum specified. If you followed a valid link, please notify the administrator.
Any ideas?
Dan Clark
04-09-2010, 03:42 AM
I tried to install this and got the message "Invalid File Specified". I'm using vB 4.0.3.
Thanks,
Dan.
Bacon Butty
04-10-2010, 08:05 AM
I tried to install this and got the message "Invalid File Specified". I'm using vB 4.0.3.
Thanks,
Dan.
I now have this same problem since upgrading to 4.0.3
BRAD_M
04-10-2010, 12:53 PM
subscribed. waiting for 4.0.3 stable release...
redquick
04-13-2010, 07:25 PM
i have install this for (vBulletin 4.0.2 Patch Level 4) but it not automaticly works.. any solution ? thanx
unicorn2433
04-14-2010, 08:50 PM
Sounds like you either already have an add-on which uses the same column name in the DB ("mobile") or that it had been previously installed, and you are trying to install over top.
If you know you have no other add-ons using the mobile column, you could manually delete it from the POST table (as well as the "ua" coolumn) and also delete both from the THREAD table if they exist. Then run the install again
Thank you. Could it be cause it was installed for 3.8 before?
I am not sure where to go to get that column deleted but will try and see if it works:) after looking around to find it.
I am hoping if I can get that to go through some of the things peeps are complaining about will be fixed
Biker_GA
04-15-2010, 02:09 PM
Users weren't able to post with this installed, so I deactivated it. Decided today to remove it totally and received:
Database error in vBulletin 4.0.3:
Invalid SQL:
ALTER TABLE `post` DROP `mobile`;
MySQL Error : Can't DROP 'mobile'; check that column/key exists
Error Number : 1091
Request Date : Thursday, April 15th 2010 @ 11:06:51 AM
Error Date : Thursday, April 15th 2010 @ 11:06:51 AM
DevilGreeny
04-15-2010, 03:20 PM
can't use it :D
feck :D
dartho
04-16-2010, 12:35 AM
I'll try to look at this today ...
dartho
04-16-2010, 01:12 AM
OK - I just upgraded to 4.0.3 and have not encountered any problems. I uninstalled, reinstalled and uninstalled and reinstalled again - no errors anywhere along the way....
I checked the DB before and after installs / uninstalls and columns were added/dropped as expected.
I'm upping a new version anyway (1.0.3) which is just the version that happened to be installed on my dev site. It doesn't have any new functionality, it's just a reality check I guess.
steve1966
04-16-2010, 07:25 PM
still the same problem for me i cannot install v1.03 nor could I 1.02
Hi Dartho.
I installed the mobile style and this add on.
everything seems to be working just fine except the "Home" text at the top.
the link works. but instead of the text "Home" (or anything i specify), I get:
"{$vbulletin->options['mo37_home_link_text']}"
btw, i have vb4.0.3 and 1.0.3 of this addon.
dartho
04-18-2010, 09:52 AM
Ah - I see the problem there. It's a bug in the style. Edit the navbar template in the mobile style and replace
<a class="navbar" href="{vb:raw $vbulletin->options['mo37_navbar_home']}{vb:raw session.sessionurl_q}">{$vbulletin->options['mo37_home_link_text']}</a>
with
<a class="navbar" href="{vb:raw vboptions.mo37_navbar_home}{vb:raw session.sessionurl_q}">{vb:raw vboptions.mo37_home_link_text}</a>
Ah - I see the problem there. It's a bug in the style. Edit the navbar template in the mobile style and replace
with
thanks for the quick fix.
5 star :D
saosangmo
04-26-2010, 05:22 AM
It doesn't work on my forum. Could you check it for me http://caravanviet.com/forum
dartho
04-26-2010, 09:27 AM
I cant see the mobile style installed, so can't test anything sorry ...
saosangmo
04-26-2010, 01:42 PM
sry, I hide it from the style chooser. Now, I have enable it. Please help me.
Many thanks
H_CAGE
04-26-2010, 03:22 PM
I installed it , and installed the Style , and made the options
put when I open my forum from Nokia mobile , it's opened as PC ...
Notice : I deny user to change theme styles .. there is just one style..
Regards
dartho
04-27-2010, 12:35 AM
@saosangmp - Style looks good from where I am - what issues are you having?
@H_CAGE - If you deny users from changing styles, then they can't select the mobile style.
saosangmo
04-27-2010, 12:46 AM
hi dartho,
I wonder if your mod can auto detect and display the Mobile style when users access VBB with mobile device.
The mobile theme works very well but we are talking about the mod which detects mobile device?
My issue: I access my forum via Nokia E63 but It doesn't return Mobile theme.
thanks
tafreeh
04-27-2010, 03:29 AM
hey there this is perfect.. but how do i add VSA - Chatbox so my mobile users can access chatbox on this theme.
Thanks
SuperJETT
04-27-2010, 01:18 PM
dartho, you rock. Thanks.
H_CAGE
04-27-2010, 08:10 PM
I Understand , that this product can automatically change the style to mobile style.. !? Regards
dartho
04-27-2010, 09:47 PM
@saosangmp - Style looks good from where I am - what issues are you having?
@H_CAGE - If you deny users from changing styles, then they can't select the mobile style.
If it's mobile detection you're after, see here: https://vborg.vbsupport.ru/showthread.php?t=226946
dartho
04-27-2010, 09:53 PM
hey there this is perfect.. but how do i add VSA - Chatbox so my mobile users can access chatbox on this theme.
Thanks
Check the instructions or ask on the chatbox thread - it looks like theer are instructions on teh first post of that thread https://vborg.vbsupport.ru/showthread.php?t=235271
saosangmo
04-28-2010, 01:40 AM
thank dartho very much.
I have solved my issue.
-saosangmo
dartho
04-28-2010, 10:21 AM
glad to hear...
H_CAGE
05-01-2010, 04:47 PM
Check the instructions or ask on the chatbox thread - it looks like theer are instructions on teh first post of that thread https://vborg.vbsupport.ru/showthread.php?t=235271
Did it's work for Vb 4.0 ?
Regards
dartho
05-01-2010, 09:34 PM
I don't know - ask the developer. It has nothing to do with this add-on
ToNetU
05-07-2010, 01:47 AM
Hello,
It appears that our MySQL query kill script is ending this query prematurely because it is running for upwards of 2-3 minutes without completing:
[ 1273196161 ] [ *** ] [ 40493302 ] [ 146 ] [ *** ] [ Query ] [ KILLED ] [ ] [ ALTER TABLE `post` ADD `mobile` BOOL NOT NULL DEFAULT '0' ]
[ 1273196161 ] [ *** ] [ 40494206 ] [ 80 ] [ *** ] [ Query ] [ KILLED ] [ '***.***.com' ] [ ALTER TABLE `post` ADD `mobile` BOOL NOT NULL DEFAULT '0' ]
[ 1273197062 ] [ *** ] [ 40505463 ] [ 52 ] [ *** ] [ Query ] [ KILLED ] [ '***.***.com' ] [ ALTER TABLE `post` ADD `mobile` BOOL NOT NULL DEFAULT '0' ]
Unfortunately this limit is in place to prevent queries from becoming stuck and overloading the server. It doesn't look like this query is working properly as it shouldn't need to run for longer than a few seconds. I checked the table "post" and there is not currently a column named mobile.
can i know why it is taking so long for this query to complete?
btw i installed it without any problem in my test forum , but when i tried to install it into my live forum i got this error:
Database error in vBulletin 4.0.3:
Invalid SQL:
ALTER TABLE `post` ADD `mobile` BOOL NOT NULL DEFAULT '0';
MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Thursday, May 6th 2010 @ 08:34:41 PM
Error Date : Thursday, May 6th 2010 @ 08:36:01 PM
Script : http://www.***.com/forum/admincp/plugin.php?do=productimport
Referrer : http://www.***.com/forum/admincp/plugin.php?do=productadd
IP Address : *****
Username : tonetu
Classname : vB_Database
MySQL Version :
maybe the reason is because my test database is 30 mb, but my live database is 3 gb ?
installed, thanks..
dartho
05-07-2010, 09:37 PM
try the 1.0.4 version just posted up
tafreeh
05-07-2010, 11:14 PM
I think you forgot to add new private message option at mobile style
ToNetU
05-08-2010, 12:52 AM
try the 1.0.4 version just posted up
same problem mate, it's taking so long to install it then got this messege:
Database error in vBulletin 4.0.3:
Invalid SQL:
ALTER TABLE `post` ADD `mobile` BOOL NOT NULL;
MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Friday, May 7th 2010 @ 08:48:12 PM
Error Date : Friday, May 7th 2010 @ 08:51:01 PM
Script : http://www.***.com/forum/admincp/plugin.php?do=productimport
Referrer : http://www.***.com/forum/admincp/plugin.php?do=productadd
IP Address : ***
Username : tonetu
Classname : vB_Database
MySQL Version :
Bounce
05-09-2010, 05:11 PM
same problem mate, it's taking so long to install it then got this messege:
Database error in vBulletin 4.0.3:
Invalid SQL:
ALTER TABLE `post` ADD `mobile` BOOL NOT NULL;
MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Friday, May 7th 2010 @ 08:48:12 PM
Error Date : Friday, May 7th 2010 @ 08:51:01 PM
Script : http://www.***.com/forum/admincp/plugin.php?do=productimport
Referrer : http://www.***.com/forum/admincp/plugin.php?do=productadd
IP Address : ***
Username : tonetu
Classname : vB_Database
MySQL Version :
same error here
dartho
05-09-2010, 09:11 PM
I did some testing with ToNetU and it seems if you have a large databse, you will need to run the queries manually, and they could take a while. I'm looking into it ...
hi dartho.
"posted from mobile" is not such a important thing that we actually need a separate field in post table. I think just adding a posted from mobile at the end of the post will be better.
Bounce
05-10-2010, 10:02 PM
I did some testing with ToNetU and it seems if you have a large databse, you will need to run the queries manually, and they could take a while. I'm looking into it ...
yip Total space used by the DATA directory 1,824.14 mb
vasiljok3
05-23-2010, 03:19 PM
I tried to install the product for about 2 hours, and it was a failure (I manually stopped the process). My database size is about 1gb, is this normal?
Now I have the problem -
Database error in vBulletin 4.0.3:
Invalid SQL:
ALTER TABLE `post` ADD `mobile` BOOL NOT NULL;
MySQL Error : Duplicate column name 'mobile'
Error Number : 1060
Request Date : Sunday, May 23rd 2010 @ 08:57:28 AM
Error Date : Sunday, May 23rd 2010 @ 08:57:28 AM
Script : http://org/admincp/plugin.php?do=productimport
Referrer : http://org/admincp/plugin.php?do=productadd
I can not install or uninstall the product (it is not in the list of products).
What should I do?
steven s
05-23-2010, 08:34 PM
Well that was just too easy.
Thanks!
dartho
05-23-2010, 09:52 PM
to uninstall at the stage it got to, you can manually run the folllowing queries:
ALTER TABLE post DROP mobile
ALTER TABLE thread DROP mobile
ALTER TABLE post DROP ua
ALTER TABLE thread DROP ua
If it is not the 'posted by mobile' part you are after, you can use the initial version
dartho
05-24-2010, 04:48 AM
just changed teh install/uninsatll queries, nothing new as such ...
why isn't work for me
i try with FIREFOX USER AGENT
but my forum not direct to MOBILE STYLE MODE ( already install this theme )
tafreeh
05-26-2010, 03:24 PM
How do i make MGC CHAT BOX work this mobile skin ?
Kolbi
07-01-2010, 08:07 PM
The mod doesn´t work for me either.
There can the issue be?
dartho
07-01-2010, 09:43 PM
Delete any references to it in the disable add-ons section.
Kolbi
07-01-2010, 10:09 PM
You mean remove everything from: Enter code here to disable addons ?
I have done this but it doesn´t work...
dartho
07-01-2010, 10:13 PM
then you need to check with the author of the addon
Kolbi
07-01-2010, 10:23 PM
?hm you are the author of the Mobile Style Options AddOn?
This mod doesn?t work for me :)
dartho
07-02-2010, 12:45 AM
then uninstall it and see if you can get chatbox working
Kolbi
07-02-2010, 06:00 AM
I guess you don?t understand me clearly :)
I haven?t a problem with another AddOn in addition with your mod.
My problem is that all is working very well - except the automated redirecting to the mobile style when I?m visiting the site via a mobilephone.
That?s the issue I have.
dartho
07-02-2010, 06:54 AM
Sorry Kolbi, I had mistakenly assumed you were replying to the post by tafreeh :redface:
OK - what is it that isn't working for you?
Kolbi
07-02-2010, 07:18 AM
No problem :)
The automated redirecting to the mobile style when I?m visiting the site via a mobilephone.
That?s the issue I have.
You can test it: www.buggy125.de
Bugger. This has completely screwed all my styles, what's going on?
Kolbi
07-02-2010, 08:05 AM
Rebuild them :)
I did, still showing the Dartho header on everything, forum logo has disappeared, Ahhhhhhhh
I did a rebuild through counters in admincp?
dartho
07-02-2010, 10:04 AM
No problem :)
The automated redirecting to the mobile style when I?m visiting the site via a mobilephone.
That?s the issue I have.
You can test it: www.buggy125.de
This doesn't do that! You need https://vborg.vbsupport.ru/showthread.php?t=226946
dartho
07-02-2010, 10:07 AM
I did, still showing the Dartho header on everything, forum logo has disappeared, Ahhhhhhhh
I did a rebuild through counters in admincp?
Means you have it configured incorrectly - check teh settings in admincp - particularly the "Mobile Style" setting...
. . .
Actually - I just looked at your site - it lookslike you merged the mobile style into your default style?? Nothing to do with this add-on
Kolbi
07-02-2010, 11:09 AM
Thank you @dartho.
Wanted do remove this addon and I get this issue:
Datenbankfehler in vBulletin 4.0.3:
Invalid SQL:
ALTER TABLE `post` DROP `mobile`;
MySQL-Fehler : Can't DROP 'mobile'; check that column/key exists
Fehler-Nr. : 1091
Fehler-Zeit : Friday, 02.07.2010 @ 14:08:48
Datum : Friday, 02.07.2010 @ 14:08:48
Skript : /plugin.php?do=productkill
Referrer : /plugin.php?do=productdelete&productid=moboptions40&s=
What a ++++ing run around I had because of this style.
In the end I had to delete the style, uninstall the plug in. Reupload the original vb style.xml to the install folder.
Upload tools.php and then import the default style from that point on my site is now working. Maybe I just threw caution to the wind but I would strongly suggest trying this on a test install before you put it on your live site.
I have no idea why it went so badly wrong for me perhaps there was a conflict somewhere as it seems to work for other people just fine.
cbehan
07-02-2010, 01:31 PM
I'm having a couple problems with this style.
1. at the top of the screen we get " {$vbulletin->options['mo37_home_link_text']} "
2. The advertising in the footer still appears, but the header ad is gone. I need to get rid of both ads for the style.
dartho
07-02-2010, 09:59 PM
@cbehan - Point 1 is a bug in the style, edit the navbar template in the mobile style and replace
<a class="navbar" href="{vb:raw $vbulletin->options['mo37_navbar_home']}{vb:raw session.sessionurl_q}">{$vbulletin->options['mo37_home_link_text']}</a>
with
<a class="navbar" href="{vb:raw vboptions.mo37_navbar_home}{vb:raw session.sessionurl_q}">{vb:raw vboptions.mo37_home_link_text}</a>
For point 2 edit the footer template and remove the ad hook. Also see this post (https://vborg.vbsupport.ru/showpost.php?p=2051757&postcount=251)for another bug fix in the style
@pant - sounds like you merged the mobile style into your master style and overwrote it, never a good idea! Sorry, but that's a user error.
@Kolbi - On sites with large post tables in their DB, there were time outs installing this addon due to a DB update on teh post table. If thius timeout, those columns (mobile, ua) won;t be there and so this error can be ignored - did it remove the add-on otherwise? You can double check for 'ua' and 'mobile' columns in your 'post' and 'thread' tables to check.
@pant - sounds like you merged the mobile style into your master style and overwrote it, never a good idea! Sorry, but that's a user error.
I was careful to select no parent, unless I did something else wrong?
Problems occurred when I installed the plugin if you have any ideas about that?
Although what you say rings true, Hmmmmmmm
dartho
07-02-2010, 11:16 PM
I've done it myself in the past :o
<font size="3">maybe Put A Super Big Warning</font>
PreciseDemise
07-19-2010, 01:48 PM
Is there any possibility of adding support for the automatic selection of theme based on an Header script to detect Browser type?
I would love to get this theme & add-on set up for 'my' site, however, having to manually select theme each time I switch from my Pré to my Laptop, is putting me off. If this could be automated based on which device I'm using ... that would be just WOW!
dartho
07-19-2010, 09:15 PM
I've done this as a seperate product. See here: https://vborg.vbsupport.ru/showthread.php?t=226946 And yes, it works with vb 4.0, alternatively you could set up a mobile.domainname.com scenario with help from : https://vborg.vbsupport.ru/showthread.php?t=174381
Gursimran
07-22-2010, 01:24 PM
Hello, after installing this mod... my home link got damaged
it is showing {$vbulletin->options['mo37_home_link_text']}
EDIT: fixed.... by reading this (https://vborg.vbsupport.ru/showpost.php?p=2063456&postcount=154)post
Afsoul
08-11-2010, 10:14 AM
Is there any demo to see this style???
If we open the forum using this style via mobile then automatic using this style???
Sry, I ask to much, I'm newbie here, thx for the understanding :)
PreciseDemise
08-12-2010, 01:16 PM
Is there any demo to see this style???
If we open the forum using this style via mobile then automatic using this style???
Sry, I ask to much, I'm newbie here, thx for the understanding :)
If you want to see a Demo of this style, head over to http://m.dbc-forum.net on a Mobile device. WE have been happily using it for a month now. Great Mobile solution.
You should be able to happily browse several forums. If you want to add a post, you'll have to go to Have Your Say > Bugs & Issues as this is my working living breathing community forum, there are permissions in place protecting 99% of our forums =)
Michlerish
08-14-2010, 01:22 AM
On mobile devices, clicking on "PC Mode" does not change to default style as I have set in admincp options. It just refreshes the page.
Is this because I have your mobile detection plugin (https://vborg.vbsupport.ru/showthread.php?t=226946&page=6) enabled?
dartho
08-14-2010, 02:53 AM
That's right - the detect plugin would be overriding it
Michlerish
08-14-2010, 03:04 AM
Okay, last question, I promise... clicking on the HOME link in navbar does nothing. I set the link in Admincp options. Not really sure what's going wrong?
dartho
08-14-2010, 07:57 AM
What is the Home link actually linking to?
I might need a URL to your site to have a quick looky ...
Michlerish
08-14-2010, 08:29 AM
What is the Home link actually linking to?
I might need a URL to your site to have a quick looky ...
When I click the home link, it appears to start loading the page, then just stops and remains on the same page. I'm not sure if it refreshes the same page or not, but I can see that the status bar only loads 1/4 of the way and then disappears. I know this sounds like a phone issue, but all other links are working perfectly on the forum using mobile style on my phone :)
URL: http://www.2ribe.com/forum.php
I tried forum.php and also the full URL, but both don't work. I have only tested this on my Windows Mobile device (although everything else is working perfectly on the device!).
dartho
08-14-2010, 09:31 AM
You;re using Internet Explorer on your mobile?
I just logged in via my windows mobile, and links appear to be working as expected... have you tried clearing your cookies/tmp files etc. also try logging out, and then back in again.
Michlerish
08-15-2010, 05:25 AM
You're right, I cleared the cache/cookies/history and now the Home link works :)
Thanks!
(I'm using Opera browser on the mobile, not IE)
caciocode
08-17-2010, 07:23 PM
Tagged
chanvl
08-18-2010, 07:57 AM
working fine! tks :)
scottct1
11-24-2010, 01:38 PM
Any way to cache the posted_by_mobile_device template?
woodburyMan
12-04-2010, 06:15 PM
I have an odd issue. I had this installed in vBull 4.0.5 with the skin. Upgraded to 4.1.0 PL1 two days ago, and installed the linked "Lightweight Mobile" skin and removed the old skin. Went to uninstall this... and when I did.. for some reason I kept getting a SQL error whenever any user went to reply to post. Sorry I do not have the exact message on hand right now as I was in a rust to get it fixed for users... but it was something like invalid field or something, SQL error. Ran around for a bit.. finnally just reinstalled this plugin.. and posting was fixed. Any ideas? I saw 4.1.0PL2 has some fixes for plugins, this relateD?
dartho
12-04-2010, 08:42 PM
Did you read the notes section when installing the lightweight style options?
Easiest fix is to uninstall both, and then reinstall the one you want.
barakuda
12-19-2010, 05:15 PM
hi
why i can't uninstall this moboption ,every time i click uninstall i got blank admin panel and receive this error message "Database error in vBulletin 4.1.0:
Invalid SQL:
ALTER TABLE `post` DROP `mobile`;
MySQL Error : Can't DROP 'mobile'; check that column/key exists
Error Number : 1091
Request Date : Sunday, December 19th 2010 @ 10:10:40 PM
Error Date : Sunday, December 19th 2010 @ 10:10:40 PM
Script : http://www.xxxxx.com/admincp/plugin.php?do=productkill
Referrer : http://www.xxxxk.com/admincp/plugin.php?do=productdelete&productid=moboptions40&s=
IP Address :
Username : admin
Classname : vB_Database
MySQL Version : 5.0.91-community
dartho
12-19-2010, 08:41 PM
Go into product manager, edit the product, tyen remove teh uninstall code, save and try uninstall again
barakuda
12-21-2010, 03:26 PM
Go into product manager, edit the product, tyen remove teh uninstall code, save and try uninstall again
Oke thank you
gopherhockey
01-18-2011, 09:09 PM
Do you have your default style configured as your mobile style in the mobile options?
BTW - been looking at the Posted by Mobile Device thing - this look OK - if you float over the "Posted By Mobile Device" text, it shows user agent as shown in the attached
111852
It now stores info in the DB as opposed to just appending text to the post as in previous versions. It still only kicks in if people are using the mobile style
I just noticed ALL my posts seem to have "posted by mobile deice" showing up, but I know dang well they are not... most of mine are via Chrome for Mac. The mobile style is not the default, nor is it what I have set.
Is there something that can fix this so it only shows if its actually a mobile device actually using the mobile style?
I have the latest version installed.
harmon_bro
02-05-2011, 10:20 AM
Hi Dartho. Ian totally new to this and would need some help on installing the styles for my forum that runs on vbulletin 4.0.5. I did try installing the same but the one that states for vb4.x web I tried uploding the XML it alerted me stating that it was made for version 4.0.6 and I could not go to next step
dartho
02-05-2011, 08:15 PM
choose to ignore style versions when importing a style
Gripi
06-08-2011, 10:50 AM
Hello...
i saw that all sticky thread in my forum got a line in the middle of text:
https://vborg.vbsupport.ru/external/2011/06/53.png
how to remove that line in the text ?
thanks alot
dartho
06-08-2011, 11:57 AM
Mate, that's the lightweight style. Edit the CSS search for text-decoration: line-through; and change to something else or simply remove.
Gripi
06-09-2011, 04:31 AM
sorry.. but where is the CSS ? because i couldnt found "text-decoration: line-through" in the Edit template -> CSS Templates
thanks
dartho
06-09-2011, 06:51 AM
You need to edit the lightweight.css file you would have uploaded to your forum root.
Gripi
06-09-2011, 07:34 AM
thanks..
works fine now :)
blankpage
09-04-2011, 04:26 AM
edit
mkkochan
12-14-2011, 06:03 PM
how i can uninstall this ?
dartho
12-14-2011, 11:52 PM
via product manager
chrisngrod
02-19-2012, 06:33 PM
Rock on... Works... 4.1.10
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.