vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Styles (https://vborg.vbsupport.ru/forumdisplay.php?f=230)
-   -   iPhone / iPod Touch Optimized Skin (https://vborg.vbsupport.ru/showthread.php?t=171947)

SemperFideles 07-29-2008 12:43 AM

Quote:

Originally Posted by andreamarucci (Post 1583155)
Fantastic!!! But I've noticed that there are some differences between the version I've downloaded and the one on your forum.

This is your forum and it looks very good

Attachment 84505

and this is mine with the xml downloaded here

Attachment 84506

could you please post here the right style to obtain your forum look?

Thanks in advance...

I don't know what happened to the theme in your case. I'm not sure you imported it correctly because it has some postbit tokens that are clearly not in the style.

SemperFideles 07-29-2008 12:44 AM

Quote:

Originally Posted by msu2k (Post 1586172)
Just installed this on my site and it looks great! One problem I'm encountering on my iPhone, and this happens when I visit your site as well, the jump to last post button isn't working correctly. It just takes me to the last page, but not down to an anchor for the last post itself. Any idea why this is happening?

In fact, the same thing is happening on Elforro's site with his style. It will jump me to the last page of a thread, but not down to the last post. If I test it on Firefox or IE it will work just fine and go down to the anchor, but on the iPhone it's not jumping down to the anchor like it should.

UPDATE: Ok, I figured out why this was happening. This javascript in headinclude causes iPhones to jump back up to the top of the screen. Commenting that out makes the anchors work correctly.

Code:

<script type="application/x-javascript">

    if (!!navigator.userAgent.match(/.*Mobile.*Safari/))
    {
        addEventListener("load", function()
                {
                setTimeout(hideURLbar, 0);
                }, false);
        }

    function hideURLbar()
    {
        window.scrollTo(0, 1);
    }
</script>


Are you sure that's the issue? Deleting that code didn't solve the problem for me.

Edit: Figured it out. It's in the postbit template. I added the a name back in and it works now.

ElForro 07-29-2008 12:53 AM

andreamarucci: This template use the legacy version of postbit...

andreamarucci 07-29-2008 06:40 AM

Thanks ElForro, figured out...

Quote:

Originally Posted by MissKalunji (Post 1583892)
in the main plugin of the hack you can try

this : https://vborg.vbsupport.ru/showpost....3&postcount=37

Thanks Miss. The sugegstion is

Quote:

Edit the "GARS - Startup" plugin and replace

Code:

require_once(DIR . '/geek/gars/includes/gars_ignition.php');

with

Code:

if (STYLEID != xx){
require_once(DIR . '/geek/gars/includes/gars_ignition.php');
}

where xx = the styleid of the mobile style.
problem is that I don't know where to find the "GARS - Startup" plugin.

Thanks!!

dartho 07-29-2008 07:10 AM

You would need to edit the plugins associated with the products (they will likely have a CYB prefix) you wish to disable in this style and add the if (STYLEID != xx){ line at the start of teh plugin, and a } at the end of the plugin.

andreamarucci 07-29-2008 08:31 AM

Thanks dartho, tried and it works!!! :)

Jenkins 07-30-2008 02:27 AM

why are the xml files set to pull images from the default location for statiusicons? that means you have to overwrite your normal template's icons to make this work? Most skins will put their files in the skin directory and then the xml file will tell the skin where to find the images.. :confused:

just wondering because I uploaded this file and imported the xml and everything was good, then I noticed that my normal style was all jacked up due to having mixed icons from he iphone style.

MissKalunji 07-30-2008 02:32 AM

you can still change the options from the style options

Jenkins 07-30-2008 05:18 PM

Quote:

Originally Posted by MissKalunji (Post 1587131)
you can still change the options from the style options

so you mean install them into seperate folder, then point to the folder in the "All Style Options" section of Style manager?

Tralala 07-31-2008 05:23 AM

Quote:

Originally Posted by msu2k (Post 1586172)
Just installed this on my site and it looks great! One problem I'm encountering on my iPhone, and this happens when I visit your site as well, the jump to last post button isn't working correctly. It just takes me to the last page, but not down to an anchor for the last post itself. Any idea why this is happening?
<snip>
UPDATE: Ok, I figured out why this was happening...

Thanks so much for asking and answering this, msu2k. This was bugging me too, I couldn't figure it out, and came here to try and ask the same question. Since scrolling long pages is a bit of a pain on the iPhone, it was keeping me from embracing/releasing this skin on my forum. Your fix changed that, and I appreciate it. :up:

Quote:

Originally Posted by SemperFideles (Post 1582674)
I shouldn't complain, it is very good work.

I have an iteration of this that I have modified that you can see here: http://www.puritanboard.com/index.php?styleid=27

Thank you for sharing the fixes, SemperFideles, and showing us your forum so we can see how it's supposed to look! I was going through this thread myself and adding in all the edits being mentioned -- at least, the ones I could figure out -- so your post saved me from hairpulling and spending a lot of time.

I do notice that on long threads, that go to a second page, that there's a redundant box at the top, that lists "Page x of x" twice. See it here:
http://img.skitch.com/20080731-xh88p...2t.preview.jpg
http://www.puritanboard.com/f54/coul...problem-34459/
I removed it by commenting out the first instance of this on the showthread template:

PHP Code:

<if condition="$show['pagenav']"><td align="$stylevar[right]">$pagenav</td></if> 



All times are GMT. The time now is 05:50 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
  • Page Generation 0.01501 seconds
  • Memory Usage 1,756KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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