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)

Kolbi 09-17-2009 11:11 AM

Is it possible that this doesn?t work?
Code:

<script type="text/javascript">
    if ((navigator.userAgent.indexOf('iPhone') != -1) ||
    (navigator.userAgent.indexOf('iPod') != -1)) {
        document.write("<a href=\"$_SERVER[PHP_SELF]?<if condition="$_SERVER['QUERY_STRING']">$_SERVER[QUERY_STRING]&amp;</if>styleid=XX\">iPhone Style</a>")
    }
</script>


CR_TurboGuy 09-17-2009 08:49 PM

Quote:

Originally Posted by SnapOff Racing (Post 1886056)
Thanks Josh that worked but I noticed that it changes both the username/date/times section AND the thread title link. Is there a way to make just the thread title link bigger than the username/date/time part? Also there is no way to use just the <li> code because then that screws up the format. So definitely gonna stick with your code but I just wanna know if there is a way to change ONLY the username/date/time text size and not the thread title AND the username/date/time size.

Thanks!

Right, as both are links within a inline li, which the css styles as defined. I suppose you could brute force the size for that part by using the following code:
Code:

<div class="smallfont" style="text-align:$stylevar[right]; white-space:nowrap"><a href="showthread.php?$session[sessionurl]p=$thread[lastpostid]$thread[highlight]#post$thread[lastpostid]">
<font size="2">
$vbphrase[by] $thread[lastposter]: $thread[lastpostdate]
<if condition="!$show['detailedtime']"><span class="time">$thread[lastposttime]</span></if> <img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a></font>
</div>


--JOsh

CR_TurboGuy 09-17-2009 08:50 PM

Quote:

Originally Posted by Kolbi (Post 1886266)
Is it possible that this doesn?t work?
Code:

<script type="text/javascript">
    if ((navigator.userAgent.indexOf('iPhone') != -1) ||
    (navigator.userAgent.indexOf('iPod') != -1)) {
        document.write("<a href=\"$_SERVER[PHP_SELF]?<if condition="$_SERVER['QUERY_STRING']">$_SERVER[QUERY_STRING]&amp;</if>styleid=XX\">iPhone Style</a>")
    }
</script>


What are you trying to do w/ the above code, detect an iPhone/iPod browser? I don't know if that works or not, as I'm currently using Dartho's mobile device detector/router plugin.

--JOsh

SnapOff Racing 09-18-2009 08:24 AM

Quote:

Originally Posted by CR_TurboGuy (Post 1886633)
Right, as both are links within a inline li, which the css styles as defined. I suppose you could brute force the size for that part by using the following code:
Code:

<div class="smallfont" style="text-align:$stylevar[right]; white-space:nowrap"><a href="showthread.php?$session[sessionurl]p=$thread[lastpostid]$thread[highlight]#post$thread[lastpostid]">
<font size="2">
$vbphrase[by] $thread[lastposter]: $thread[lastpostdate]
<if condition="!$show['detailedtime']"><span class="time">$thread[lastposttime]</span></if> <img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a></font>
</div>


--JOsh

Right on pimpin that worked perfect! Thanks! :up:

Trana 09-20-2009 02:47 AM

I have this installed and everytime I click on a link in the page I go back to the page that says portal view is disabled click here if you are not forwarded.

I have my forum installed in /forum.

Any ideas what I am doing wrong?

CR_TurboGuy 09-20-2009 03:00 PM

Quote:

Originally Posted by Trana (Post 1887851)
I have this installed and everytime I click on a link in the page I go back to the page that says portal view is disabled click here if you are not forwarded.

I have my forum installed in /forum.

Any ideas what I am doing wrong?

There's nothing in this skin that would do this. Did you add some other mod for that?

--JOsh

Coop1979 10-12-2009 08:13 PM

NM, I'm dumb.

choccyclaire 10-15-2009 03:22 PM

There is an error in this style whereby there are two gradient files it tries to locate which are non existent or you have not provided us uploads for. One is a bg and one is a tcat.

rrudeboy 10-21-2009 02:06 AM

i can't figure why this style (which is great) allows for scrolling to the left, which it should not..

Byggahus 10-25-2009 06:17 PM

I have installed this mod on http://www.byggahus.se/forum?styleid=16 and am planning to use it as our iPhone skin. However I cannot view the style (?styleid=16) as a non-administrator (members or guests). Where do I change the authorization for a style? I am using vBSEO, can that have to with it?


All times are GMT. The time now is 06:29 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.01221 seconds
  • Memory Usage 1,745KB
  • 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
  • (4)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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