Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Styles
FAQ Community Calendar Today's Posts Search

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
  #112  
Old 07-29-2008, 12:43 AM
SemperFideles's Avatar
SemperFideles SemperFideles is offline
 
Join Date: Oct 2006
Location: Northern VA
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by andreamarucci View Post
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.
Reply With Quote
  #113  
Old 07-29-2008, 12:44 AM
SemperFideles's Avatar
SemperFideles SemperFideles is offline
 
Join Date: Oct 2006
Location: Northern VA
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by msu2k View Post
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.
Reply With Quote
  #114  
Old 07-29-2008, 12:53 AM
ElForro ElForro is offline
 
Join Date: Mar 2006
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

andreamarucci: This template use the legacy version of postbit...
Reply With Quote
  #115  
Old 07-29-2008, 06:40 AM
andreamarucci's Avatar
andreamarucci andreamarucci is offline
 
Join Date: Nov 2005
Posts: 254
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks ElForro, figured out...

Quote:
Originally Posted by MissKalunji View Post
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!!
Reply With Quote
  #116  
Old 07-29-2008, 07:10 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #117  
Old 07-29-2008, 08:31 AM
andreamarucci's Avatar
andreamarucci andreamarucci is offline
 
Join Date: Nov 2005
Posts: 254
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks dartho, tried and it works!!!
Reply With Quote
  #118  
Old 07-30-2008, 02:27 AM
Jenkins Jenkins is offline
 
Join Date: Nov 2002
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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..

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.
Reply With Quote
  #119  
Old 07-30-2008, 02:32 AM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you can still change the options from the style options
Reply With Quote
  #120  
Old 07-30-2008, 05:18 PM
Jenkins Jenkins is offline
 
Join Date: Nov 2002
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MissKalunji View Post
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?
Reply With Quote
  #121  
Old 07-31-2008, 05:23 AM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by msu2k View Post
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 View Post
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://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> 
Reply With Quote
Reply


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 08:59 PM.


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.04925 seconds
  • Memory Usage 2,329KB
  • 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
  • (1)bbcode_code
  • (2)bbcode_php
  • (7)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
  • (2)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