Loading

Author Topic: osc-mobile plugin  (Read 3281 times)

akapar

  • Premium
  • Full Member
  • *****
  • Posts: 148
Re: osc-mobile plugin
« Reply #45 on: January 31, 2012, 07:55:16 am »
I would like to share my experience with osc-mobile plugin. I installed it on Dec 30 and since then I am observing a big decline in traffic coming to my site from mobile devices. Traffic coming from mobile devices is 60-70% lower than figures before having the plugin installed. It seems that Google may an issue with this plugin.

In order to verify my hypothesis, I will deactivate the plugin today and observe if traffic from mobile devices will increase.

05suq.com


Juan Ramón

  • OSClass Developer
  • Hero Member
  • *****
  • Posts: 2243
    • osclass.org
    • Email
Re: osc-mobile plugin
« Reply #46 on: January 31, 2012, 01:23:36 pm »
Thanks for your feedback. Please, write again in a few days to see the result of your experiment.

akapar

  • Premium
  • Full Member
  • *****
  • Posts: 148
Re: osc-mobile plugin
« Reply #47 on: February 01, 2012, 02:34:01 pm »
I can confirm that Google has an issue with the plugin. Yesterday I disabled the plugin, traffic coming to my website from mobile devices increased by 400% reaching highest overall traffic for mobile devices. I get 80% of traffic from search engines so deactivating the plugin must have made a big difference at Google's algorithm.

BuySellAndSwap

  • Sr. Member
  • ****
  • Posts: 272
    • Buy Sell And Swap For Free
    • Email
Re: osc-mobile plugin
« Reply #48 on: February 24, 2012, 12:08:19 am »
Hi i have attached the debug report for the error with blank screen on the iphone if you can help please?

Thank you
Get a domain name at great price at www.owna.eu
I highly reccomend osclass, I use it for my sites:
www.buysellandswap.co.uk www.hunt4it.co.uk www.sellrent.co.uk

artie11

  • Newbie
  • *
  • Posts: 6
Re: osc-mobile plugin
« Reply #49 on: March 15, 2012, 03:54:27 am »
It appears that this mobile plugin intercepts the functions of other plugins while in mobile mode.... It would work exactly how i wanted if I could get the facebook login to be smooth...

When you login with facebook from mobile it gets to a blank page and never redirects again... What i'm assuming is happening is that the mobile site has somehow intercepted the redirect. As we just get a blank page...
It actually has logged in, It just doesn't redirect back to the home page. If you can tell me where in your code does it insert into the main function from osclass as I've only been using it for about a week and haven't learnt it all yet. That way i may be able to debug... perhaps it's the order the plugins are loaded for instance. yours takes the call first when facebook should.

You can test if you like at
http://trade.inalice.com.au

You'll need to use a mobile of course, however the facebook login does work.

artie11

  • Newbie
  • *
  • Posts: 6
Re: osc-mobile plugin
« Reply #50 on: March 16, 2012, 03:16:55 am »
Ok, So it's not osc-mobile's Fault.... Entirely,
It doesn't seem to generate the page after facebook has performed the login... So i've modified the facebook plugin to auto redirect back to the homepage once it has logged in, This has also allowed me to link it directly to facebook with an AutoLogin call...

However i reckon you should add a few things to mobile.
  • I reckon a config page which allows you to modify some of the css colour values would be reasonable... I haven't played with the colours yet. I've only added facebook login..
  • Start page... I think you need the option to have a start page, perhaps instead of the category list, maybe latest items...
  • Latest Items Button
  • My Items Button - Remember these can all be options

garciademarina

  • Administrator
  • Sr. Member
  • *****
  • Posts: 403
    • OSClass
    • Email
Re: osc-mobile plugin
« Reply #51 on: March 19, 2012, 12:17:59 pm »
Hi @artie11,

Thanks for the suggestions, I'll think about it and implement some of them for the next version.

Regards
Carlos García de Marina
carlos@osclass.org
Twitter: @osclass
http://www.osclass.org/

OSClass - Open Source Classifieds

Alexandr

  • Jr. Member
  • **
  • Posts: 85
Re: osc-mobile plugin
« Reply #52 on: March 21, 2012, 07:06:41 pm »
HI
error
File does not exist: /home/k/kosdosknet/public_html/oc-content/plugins/osc_mobile/themes/mobile/js/jquery.validate.min.js, referer: http://kosdoska.net/index.php?page=contact

garciademarina

  • Administrator
  • Sr. Member
  • *****
  • Posts: 403
    • OSClass
    • Email
Re: osc-mobile plugin
« Reply #53 on: March 22, 2012, 12:22:11 pm »
Hi, @Alexandr,

I tried to use the contact form in mobile version and seems works fine.

You can copy this file (jquery.validate.min.js) from the current desktop theme and paste into js folder inside the mobile theme.

Regards
Carlos García de Marina
carlos@osclass.org
Twitter: @osclass
http://www.osclass.org/

OSClass - Open Source Classifieds

Alexandr

  • Jr. Member
  • **
  • Posts: 85
Re: osc-mobile plugin
« Reply #54 on: March 22, 2012, 03:01:57 pm »
garciademarina
Hi
I copied the file until no errors
thank you

Adrian Butnaru

  • Newbie
  • *
  • Posts: 43
Re: osc-mobile plugin
« Reply #55 on: March 26, 2012, 09:10:17 am »
Hi!

How I can put the language selector in this theme plugin?

Thx

Adrian

garciademarina

  • Administrator
  • Sr. Member
  • *****
  • Posts: 403
    • OSClass
    • Email
Re: osc-mobile plugin
« Reply #56 on: March 28, 2012, 01:45:26 pm »
Hi Adrian,

Here there is a code for change the language, but this code belongs to modern theme.
The actual mobile theme is not ready for add this code and work fine, :( you should add
this code (previously adapted for jqueryMobile).

Code: [Select]
                    <?php if ( osc_count_web_enabled_locales() > 1) { ?>
                        <?php osc_goto_first_locale() ; ?>
                        <li class="last with_sub">
                            <strong><?php _e("Language"'mobile') ; ?></strong>
                            <ul>
                                <?php $i ;  ?>
                                <?php while ( osc_has_web_enabled_locales() ) { ?>
                                    <li <?php if( $i == ) { echo "class='first'" ; } ?>><a id="<?php echo osc_locale_code() ; ?>" href="<?php echo osc_change_language_url osc_locale_code() ) ; ?>"><?php echo osc_locale_name() ; ?></a></li>
                                    <?php $i++ ; ?>
                                <?php ?>
                            </ul>
                        </li>
                    <?php ?>

Lately I don't have much time for this plugin, but I'll do a new version with some improvements, and I will prepare the mobile theme with support multi language.

Regards
Carlos García de Marina
carlos@osclass.org
Twitter: @osclass
http://www.osclass.org/

OSClass - Open Source Classifieds

Adrian Butnaru

  • Newbie
  • *
  • Posts: 43
Re: osc-mobile plugin
« Reply #57 on: March 28, 2012, 09:30:53 pm »
Gracias garciademarina.

Comentare como a ido.

Un saludo.

Adrian

Adrian Butnaru

  • Newbie
  • *
  • Posts: 43
Re: osc-mobile plugin
« Reply #58 on: March 29, 2012, 12:18:23 am »
Thanx the code is working very well.

Un saludo

Adrian

Alexandr

  • Jr. Member
  • **
  • Posts: 85
Re: osc-mobile plugin
« Reply #59 on: April 17, 2012, 12:14:43 pm »
Quote
switching to mobile from desktop
hi
I made the changes as written here
http://forums.osclass.org/plugins/osc-mobile-plugin/msg19918/#msg19918
my index.php
..........
Code: [Select]
function load_mobile_theme( )
    {

        if(Params::getParam('desktop') != '') {
            if(Params::getParam('desktop') == 1) {
                Cookie::newInstance()->push('osc-mobile-desktop', 'desktop') ;
                Cookie::newInstance()->set() ;
                if(isset($_SERVER['HTTP_REFERER'])) {
                    header('Location: ' . $_SERVER['HTTP_REFERER']);
                    exit;
                }
                header('Location: ' . osc_base_url());
                exit;
            } else {
                Cookie::newInstance()->push('osc-mobile-desktop', 'mobile') ;
                Cookie::newInstance()->set() ;
                if(isset($_SERVER['HTTP_REFERER'])) {
                    header('Location: ' . $_SERVER['HTTP_REFERER']);
                    exit;
                }
                header('Location: ' . osc_base_url());
                exit;
            }
        }

then in the modern theme
in the footer.php
added
<?php show_switch_always(); ?>
it works on my computer
if you do it on a real site
how Google will treat this
duplicate content?
or not