vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - Mobile Phone / iPhone / PDA Detection and Style Assignment (https://vborg.vbsupport.ru/showthread.php?t=226946)

Fluke667 02-27-2012 09:33 PM

if ($styleid==XXX) {
$vbulletin->GPC['message'] = $vbulletin->GPC['message'] . "\n". "\n". "\n". "\n". "\n". "\n". "\n". "Posted via Mobile Device" . "\n";
}


This works :)

sportscolumn 03-25-2012 05:51 AM

I'm having a little trouble with this plugin. It works fine when I view it in Firefox and Safari but when I set my user agent to Iphone via Safari, the "switch to full style" link doesn't work.

For example, i have the fullstyle id as 3.

But while this works http://forum.domain.com/index.php?styleid=3 works in firefox and safari, it doesn't work in iphone.

Any suggestions? Thanks

dartho 03-25-2012 12:49 PM

From the description:
Quote:

What can it do?
Detects most mobile phones and force the user to a specific style (users will not be able to select other styles from a mobile device with this add-on installed).
This one for V4 *migyt* work ... https://vborg.vbsupport.ru/showthrea...48#post2179248

sportscolumn 03-25-2012 02:38 PM

Quote:

Originally Posted by dartho (Post 2313109)
From the description:


This one for V4 *migyt* work ... https://vborg.vbsupport.ru/showthrea...48#post2179248

noob question. I'm running 3.8.x, are you saying I should replace the code in your product-mobdetect product with the code you linked to?

Also, where do plugins and products live on the server?

thanks

dartho 03-25-2012 09:48 PM

Quote:

Originally Posted by sportscolumn (Post 2313143)
noob question. I'm running 3.8.x, are you saying I should replace the code in your product-mobdetect product with the code you linked to?

yep - give it a try
Quote:

Also, where do plugins and products live on the server?

thanks
You managed to install this one? Same place - AdminCP, manage products and plug-ins

sportscolumn 03-26-2012 02:26 AM

Quote:

Originally Posted by dartho (Post 2313274)
yep - give it a try


You managed to install this one? Same place - AdminCP, manage products and plug-ins

I meant where it lives on the server. I'm used to dealing with wordpress where the themes, plugins and css files are all in a certain folder on the server.

I suspect the styles are uploaded to the database in vbulletin?

dartho 03-26-2012 03:25 AM

OK - plugins etc all live in the database also, except where you explicitly upload additional files to your server, in which case they often live in your forum root depending on where the developer wanted them (a plugins code can include external files as it's just a PHP eval)

Yep - styles are also in the database

sportscolumn 03-26-2012 05:28 PM

Quote:

Originally Posted by dartho (Post 2313336)
OK - plugins etc all live in the database also, except where you explicitly upload additional files to your server, in which case they often live in your forum root depending on where the developer wanted them (a plugins code can include external files as it's just a PHP eval)

Yep - styles are also in the database

thanks for your help.

Deafmute 08-03-2012 10:57 AM

works vb 3.8x?

Max Taxable 08-03-2012 01:48 PM

Quote:

Originally Posted by Deafmute (Post 2353990)
works vb 3.8x?

Yep... Works on mine just fine.

Afrika 10-06-2013 10:11 PM

I don´t understand why it is not possible to allow smartphone users to change to the original style.
Someone not like the mobile style and with this mod he have no chance to change, why??

Simon Lloyd 10-07-2013 05:00 AM

If you haven't kept the style chooser you can always add a link on the forumhome page of the mobile style like www.yourdomain.com/forum/index.php?styleid=3 (where 3 would be your styleid you want them to have choice to see).

Afrika 10-07-2013 04:06 PM

Jap, but it didn´t go for this mod. The style cannot be changed by user with a mobile device

Simon Lloyd 10-07-2013 04:30 PM

Just add a checkbox to the mobile style and a conditional in the plugin so that when a user checks the checkbox they get excluded from the mobile style and can see the standard style.

Afrika 10-07-2013 09:58 PM

This works for 3.8
https://vborg.vbsupport.ru/showthread.php?t=249967

m7sen 04-02-2014 11:47 PM

upgrade it to be like vb4 style !

mdawg 04-24-2014 03:30 PM

Running 3.8.7 PL3 Tried out this mod with the Dartho's style for a couple of months.

Going to disable this MOD because of a couple quirks and one bug:

Quirks:
1. We use PMs heavily on my forum, and there is a need to maintain the thread of the PMs as the conversation is ongoing. In other words, to maintain what was typed before in the PM as the members M back and forth.
With this tripped down version, seems no way to maintain the thread of the conversation - as PMs are sent back and forth, only what is newly typed is transmitted.

2. In threads, images do not appear right there embedded in the post. Rather, a link
[image]
appears that the person may click on to view.

3. Google ads do not appear.

Bug:
1. When viewing a post, if a person clicks to PM or view the profile of the poster, instead of that poster's profile coming up, the username of one of the members who is very early in the list alphabetically comes up
Aaaaaaua
instead of the username of the poster.

Tobin Frost 06-08-2014 02:51 PM

Do you have a photo of this plugin?

mario1973 12-28-2014 01:50 PM

I need to install this plugin on an important forum.
On the test forum everything works properly . I have not found any problems for PCs and notebooks . Mobile device also detects correctly.

Can anyone noticed any undesirable changes in the operation of a forum?

ouarsenis 03-05-2015 06:47 AM

please team

how to auto change the style to mobile style when resize the screen ?
bceause it orks for mobile but not when resize the screen

Vibhor 06-12-2015 06:19 AM

Hi Dartho,

Thanks for creating this amazing plug-in.

It flawlessly redirects to our mobile version but whenever users try to select desktop style, it simply doesn’t work.

I believe this is because the plugin is forcing mobile users to use mobile theme only.

Is there anyway we can redirect users to mobile theme at first but at the same time allow them to switch themes as per their wish?

dartho 06-13-2015 07:49 AM

I think you *may* be abl;e to use the version for VB4. Try this one: https://vborg.vbsupport.ru/showthread.php?t=249967

0x88 11-07-2015 11:16 PM

Quote:

Originally Posted by Vibhor (Post 2547662)
Hi Dartho,

Thanks for creating this amazing plug-in.

It flawlessly redirects to our mobile version but whenever users try to select desktop style, it simply doesn?t work.

I believe this is because the plugin is forcing mobile users to use mobile theme only.

Is there anyway we can redirect users to mobile theme at first but at the same time allow them to switch themes as per their wish?

Waiting solution for this problem :)

JohnSilver 08-12-2017 12:58 AM

Worked in 3.87

In terms of seo what should i do with archive instead? Should i turn it off and redirect 301 to full version?

Anyone?

JohnSilver 08-12-2017 01:52 AM

Quote:

Originally Posted by Vibhor (Post 2547662)
Hi Dartho,

Thanks for creating this amazing plug-in.

It flawlessly redirects to our mobile version but whenever users try to select desktop style, it simply doesn?t work.

I believe this is because the plugin is forcing mobile users to use mobile theme only.

Is there anyway we can redirect users to mobile theme at first but at the same time allow them to switch themes as per their wish?

Yea Dartho. Me also looking for it too. Any chance to add this feature? :D

webnsn 03-10-2020 12:32 PM

I have implemented
Demo www.Wikinewforum.com

Alihandro 03-15-2020 01:26 PM

thank you.

dartho 06-23-2020 11:30 AM

Quote:

Originally Posted by JohnSilver (Post 2589298)
Yea Dartho. Me also looking for it too. Any chance to add this feature? :D

try the VB4 version - should work with 3.8 from memory

Yeah, I know - I'm 3 years late ...

www.ch-joy.com 01-25-2023 09:07 AM

Thanks and we need an update


All times are GMT. The time now is 10:36 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
  • Page Generation 0.01248 seconds
  • Memory Usage 1,781KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (29)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete