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)

CR_TurboGuy 08-25-2008 05:11 PM

I'm having an issue w/ this skin in that every link ends up on it's own line. I'm trying to modify the search results a bit to give me some functionality that I have w/ one of the other mobile skins. W/ that skin, I get a link to the thread, the number of posts in it in parentheses, then if there are multiple pages, it creates a link to each page. Works great on the mobile skin b/c that all ends up on one line. When I try doing the same thing in the iPhone skin, I end up w/ each page link on it's own line & it's a) annoying, and b) ugly. Any ideas?

--JOsh

CR_TurboGuy 08-25-2008 05:19 PM

Quote:

Originally Posted by vol_freak (Post 1605512)
Anyone ever figure this out. The "go to first new post" in each thread is a very important feature imo that could really be a nice addition to this skin.

In the 'threadbit' template, find this line:
PHP Code:

<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]id="thread_title_$thread[realthreadid]

and add
PHP Code:

goto=newpost&amp

to before the t=$thread part.

--JOsh

brvheart 08-27-2008 10:30 PM

this is flat awesome thank you for this!

Has anyone done a conversion to all English by chance?

MissKalunji 08-27-2008 11:06 PM

<a href="https://vborg.vbsupport.ru/showpost.php?p=1580702&postcount=97" target="_blank">https://vborg.vbsupport.ru/showp...2&postcount=97</a>

brvheart 08-27-2008 11:19 PM

thank you I missed that somehow....

Question - status icons? Those will overwrite the originals? And shoutbox - it seems to be messing up the forumhome....

NavS 09-11-2008 03:07 AM

what's going on with the green bar at the bottom of the page? I installed the edited version... also when you load the page it goes from the original green to the black one (the top part)

tspore 09-18-2008 04:45 AM

Quote:

Originally Posted by CR_TurboGuy (Post 1606712)
In the 'threadbit' template, find this line:
PHP Code:

<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]id="thread_title_$thread[realthreadid]

and add
PHP Code:

goto=newpost&amp

to before the t=$thread part.

--JOsh

Ok I may not be smart enough, but how does this take me to the new posts?
It always opens up to the first one on the page.

Help please?

gkaradagan 09-19-2008 09:50 AM

waw nice style

CR_TurboGuy 09-19-2008 07:53 PM

Quote:

Originally Posted by tspore (Post 1624564)
Ok I may not be smart enough, but how does this take me to the new posts?
It always opens up to the first one on the page.

Help please?

In ElForro's default style, the link to each thread just goes to the last post. What I added above takes you to the first new post. You'll also need to comment out this part as noted in this post:
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>



--JOsh

Tanpapasmurf 09-22-2008 10:03 PM

Any update on why subforums are not showing?


All times are GMT. The time now is 11:05 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.01273 seconds
  • Memory Usage 1,755KB
  • 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
  • (4)bbcode_php_printable
  • (4)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