Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Styles

Reply
 
Thread Tools
iPhone / iPod Touch Optimized Skin Details »»
iPhone / iPod Touch Optimized Skin
Version: 1.00, by ElForro ElForro is offline
Developer Last Online: Sep 2013 Show Printable Version Email this Page

Version: 3.7.0 Beta 5 Rating:
Released: 03-02-2008 Last Update: 03-04-2008 Installs: 393
 
No support by the author.

If you use my style, please click "Mark as Installed" in the Mod Information box -->

I made this Skin based on www.elforro.com colors and it has hardcoded CSS; so you would need to change some CSS values to match your forum style.

Many people ask me to share the style, so I did my best to make it as "default" as I could.

I spent a lot of time working on this skin, so if you decide to use it on your forums, PLEASE leave the "Design by:" legend. (it's only at the bottom)

Demo: http://www.elforro.com/index.php?styleid=15

( or go to www.elforro.com from your iPod / iPhone and click on the legend for the Optimized Skin )

-------
To show a message to all your iPod / iPhone users, you just need to add something like this in your navbar template (in your default style)


PHP 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=[B]XX[/B]\">iPhone Style</a>")
    }
</
script
(Change XX to your iPhone style number and write whatever you want instead of "iPhone Stlye")
--------


Screenshots: (Below the post)

You have to upload (and change the color/hue maybe) 4 PNG images in images/misc/ folder (included in the ZIP).

Please keep all of my copyright info in this style. Please do NOT redistibute this style on any other sites! (It's free!)


Or... Want to donate something? Paypal me at: sarceda@fibertel.com.ar :P

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #282  
Old 09-17-2009, 11:11 AM
Kolbi Kolbi is offline
 
Join Date: Mar 2009
Location: D - S?dbaden
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #283  
Old 09-17-2009, 08:49 PM
CR_TurboGuy CR_TurboGuy is offline
 
Join Date: Feb 2003
Location: Iowa
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SnapOff Racing View Post
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
Reply With Quote
  #284  
Old 09-17-2009, 08:50 PM
CR_TurboGuy CR_TurboGuy is offline
 
Join Date: Feb 2003
Location: Iowa
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kolbi View Post
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
Reply With Quote
  #285  
Old 09-18-2009, 08:24 AM
SnapOff Racing SnapOff Racing is offline
 
Join Date: Apr 2006
Posts: 336
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CR_TurboGuy View Post
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:
Reply With Quote
  #286  
Old 09-20-2009, 02:47 AM
Trana Trana is offline
 
Join Date: Apr 2005
Posts: 604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #287  
Old 09-20-2009, 03:00 PM
CR_TurboGuy CR_TurboGuy is offline
 
Join Date: Feb 2003
Location: Iowa
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Trana View Post
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
Reply With Quote
  #288  
Old 10-12-2009, 08:13 PM
Coop1979 Coop1979 is offline
 
Join Date: Aug 2006
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

NM, I'm dumb.
Reply With Quote
  #289  
Old 10-15-2009, 03:22 PM
choccyclaire choccyclaire is offline
 
Join Date: Jan 2008
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #290  
Old 10-21-2009, 02:06 AM
rrudeboy's Avatar
rrudeboy rrudeboy is offline
 
Join Date: May 2009
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i can't figure why this style (which is great) allows for scrolling to the left, which it should not..
Reply With Quote
  #291  
Old 10-25-2009, 06:17 PM
Byggahus Byggahus is offline
 
Join Date: May 2007
Location: Lomma, Sweden
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:13 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04927 seconds
  • Memory Usage 2,313KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (1)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete