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?

CR_TurboGuy 10-27-2009 06:29 PM

Quote:

Originally Posted by Byggahus (Post 1906046)
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?

Did you make sure that this style (the iPhone one) is user selectable? It needs to be selectable in order to see it. Under 'Style Manager', you need to choose the 'Edit Settings' from the dropdown in the AdminCP. Make sure it is user selectable.

--JOsh

CR_TurboGuy 10-27-2009 06:32 PM

Quote:

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

Which version are you using? The original version posted by El Forro has some of the edit boxes too big, which will cause scrolling.

--JOsh

CR_TurboGuy 10-27-2009 06:33 PM

Quote:

Originally Posted by choccyclaire (Post 1900382)
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.

I believe the files you are looking for are in the original skin posted by El Forro. If they are not, can you tell me the names of the files and I can post them?

--JOsh

TheInsaneManiac 10-27-2009 08:32 PM

Does this have quick reply?

CR_TurboGuy 10-28-2009 07:54 PM

Quote:

Originally Posted by TheInsaneManiac (Post 1907116)
Does this have quick reply?

Yes, it does.

--JOsh

VK3MTR 11-01-2009 09:27 AM

I just want to say thank JOsh for all your hard work on this.

I think it is great, and I don't even have an iPhone.

Is there some way that I can make the panel with the avatar on the left narrower so that the text area is larger in the area where a user is posting his post or reply (on the right).
It's just that in portrait mode the area is pretty narrow to read the post information.

Thank you

MrRem 11-05-2009 12:06 PM

Erm... How do I change the mobiletitle from the default ElForro to my own Forum's name?
I feel like a complete noob after looking everywhere

EDIT: Dont worry, using this one instead:
https://vborg.vbsupport.ru/showthread.php?t=213136

dethfire 11-06-2009 08:31 PM

the thread view is wacked out. the table is huge and it spans way off the screen

ravelink69 11-15-2009 05:21 PM

Hey turboguy, thanks for all the edits you did. everything looks great.

The only request i have, and i know its an easy fix for someone like me todo, but can you fix this on your next update?

The thin bar at the top :
https://vborg.vbsupport.ru/external/2010/01/43.png

go into the FORUMDISPLAY template, look for this code:
Code:

<div class="mobiletitle">
And add this code right BELOW it:
Code:

$foruminfo[title_clean]

If not, its ok, i have already done it to the last download you have posted.

Thanks again.

boggseric 11-28-2009 08:55 PM

Has anyone gotten PM's to work with any of the skins posted in here? If so which one?

zimdude 11-30-2009 04:27 AM

Downloaded and tried it on 11/29/09. The Zip file must never have been updated. Still cannot resolv the token error even after replacing variable as someone had mentioned..
  1. Posts header bar not working
  2. Token error when replying still not working

hydn 12-21-2009 07:51 PM

Is there a 4.0 version for this style?

LowKey 12-23-2009 06:56 AM

How Do I Find The iPhone Style NUmber To Replace The XX Shown In The PHP Code Above?

gyaronn 12-23-2009 09:39 PM

ya i join the question before me and does this seaport VB4?

cmeinck 01-04-2010 02:43 PM

Are there any plans to port this to vB4?

Uberguilds 01-09-2010 04:12 AM

Thanks!

CR_TurboGuy 01-15-2010 03:14 PM

Quote:

Originally Posted by VK3MTR (Post 1908949)
I just want to say thank JOsh for all your hard work on this.

I think it is great, and I don't even have an iPhone.

Is there some way that I can make the panel with the avatar on the left narrower so that the text area is larger in the area where a user is posting his post or reply (on the right).
It's just that in portrait mode the area is pretty narrow to read the post information.

Thank you

I never noticed this as I don't have avatars enabled on my boards, but this should fix it.
In the postbit_legacy template, search for this code:
Code:

<if condition="$show['avatar']">
                                <div class="smallfont">
                                        &nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
                                </div>
                        </if>

and replace the $post[avwidth] $post[avheight] with values to shrink it to the size you want. The avatars might not look very good shrunk, so you might want to yank the avatars in the iPhone style.

--JOsh

CR_TurboGuy 01-15-2010 03:15 PM

Quote:

Originally Posted by dethfire (Post 1911100)
the thread view is wacked out. the table is huge and it spans way off the screen

Do you have an example I can check?

--JOsh

CR_TurboGuy 01-15-2010 03:17 PM

Quote:

Originally Posted by ravelink69 (Post 1914704)
Hey turboguy, thanks for all the edits you did. everything looks great.

The only request i have, and i know its an easy fix for someone like me todo, but can you fix this on your next update?

The thin bar at the top :
https://vborg.vbsupport.ru/external/2010/01/43.png

go into the FORUMDISPLAY template, look for this code:
Code:

<div class="mobiletitle">
And add this code right BELOW it:
Code:

$foruminfo[title_clean]

If not, its ok, i have already done it to the last download you have posted.

Thanks again.

Odd, I just checked my forum and I have that fixed. It should be in one of the last styles I posted. Thanks for pointing that out though!

--JOsh

CR_TurboGuy 01-15-2010 04:54 PM

Quote:

Originally Posted by boggseric (Post 1922186)
Has anyone gotten PM's to work with any of the skins posted in here? If so which one?

Eric,

PM's should work with the version I've edited.
https://vborg.vbsupport.ru/external/2010/02/3.png

--JOsh

CR_TurboGuy 01-15-2010 05:14 PM

Quote:

Originally Posted by zimdude (Post 1922886)
Downloaded and tried it on 11/29/09. The Zip file must never have been updated. Still cannot resolv the token error even after replacing variable as someone had mentioned..
  1. Posts header bar not working
  2. Token error when replying still not working

The zipped file at the top does not have any of the fixes. You need that zip, plus the latest xml file that I've uploaded.

--JOsh

CR_TurboGuy 01-15-2010 05:15 PM

As to a vb4 version, it's on my list of things to do, but not anywhere near the top. I'll be sure to post if/when I come up with a vb4 version.

--JOsh

kourou 01-23-2010 08:48 AM

Hello.

I have installed this template but there seems to be a bug.
I'm running the template on version 3.8.2.

Here is the problem: When replying to a thread, I am redirected to a blank page: /forumpath/newreply.php?do=postreply&t=11162 (for example). It's a blank page and the reply has not been posted.

Any suggestions?

Thanks,
Ilias

LowKey 01-29-2010 08:14 PM

Anyone know how to change the colour of the skin?

idan356 02-03-2010 02:00 PM

please if someone can help me with those problems:
1. I wan't to add Quote button but I don't succeed.
Code:

<a href="#" onClick="vbform.message.value = '[myQUOTE]' + document.getElementById('post_message_$post[postid]').innerHTML + '[/myQUOTE]\n\n';vbform.message.focus();return false;"><img align=right border=0 src="images/buttons/quote.gif"></a>
when I click on the Quote button it takes me to the top of the page and nothing.
Offcourse I delete the "My" part from the myQUOTE.. so why isn't it working?

2. I don't know why but look what happened:
http://img8.imageshack.us/img8/9162/996fdnil.jpg

The white lines on the sides - I don't want them.
it need to be marge to the sides. it also mess all the buttons,
I need to know how to make it wider..

sorry for my bad english, I tried :P

KProjects 02-11-2010 08:40 PM

CR_TurboGuy: Still working on the 4.0 version? I love this style and use it on a couple vb3x boards.. but would love it for my 4.0 one..

Thanks for all your work on this..

Rob

UpFriends 02-24-2010 03:21 PM

nice style, looks great on my android

cmeinck 02-24-2010 03:45 PM

Has anyone seen an iPhone style that is vB4 compatible?

boggseric 02-28-2010 02:55 PM

Quote:

Originally Posted by CR_TurboGuy (Post 1956675)
Eric,

PM's should work with the version I've edited.
https://vborg.vbsupport.ru/external/2010/02/3.png

--JOsh

Sorry, I wasn't very clear. PM's work fine but the popup that comes up and says "Click OK to open PM's now" (or whatever) show an error if the users click ok. They have to close that popup and goto their PM's manually.

Also, has anyone located the gradient files yet? I checked the original zip and all through this thread but can't find them. The two files are:

images/misc/gradient_bg.gif
images/misc/gradient_tcat.gif

I ended up just creating two files named that that just to quell the flood of error messages in my apache error log for file not found.

audis3 03-02-2010 08:07 AM

Quote:

Originally Posted by cmeinck (Post 1990489)
Has anyone seen an iPhone style that is vB4 compatible?

I need it too...
Does anyone know something?


All times are GMT. The time now is 07:34 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.01892 seconds
  • Memory Usage 1,839KB
  • 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_code_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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