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)

Tralala 07-31-2008 06:38 AM

Here's another tip/tweak. Makes it so that new reply composition screen isn't in WYSIWYG mode... it's just the simple box. (but auto-quoting still works)

Thanks to dartho for the assist, I've done the same in this style and it works fine.

Changing your newreply template to the following:
Code:

$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
</head>
<body>
$header
$navbar
<div class="titlebg">Reply To: $threadinfo[title]</div>
<form action="newreply.php" method="post">
<div>
$vbphrase[message]:<br />
<textarea name="message" id="{$editorid}_textarea" rows="10" cols="15" style="width:100%; height:100px">$newpost[message]</textarea>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="postreply" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="p" value="$postid" />
<input type="hidden" name="posthash" value="$posthash" />
<input type="hidden" name="poststarttime" value="$poststarttime" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="submit" class="button" name="sbutton" value="$vbphrase[submit_reply]" accesskey="s" tabindex="1" />
</div>
</form>
$footer
</body>
</html>


GoldenChaos 08-02-2008 11:29 PM

This is great! There are a few issues already mentioned that stop it from being perfect. For reference, I'm using SemperFideles's modification, which is as bug-free and English-optimized as I've found this theme to get. In addition, I'm using the modification to the newreply template stated in the post directly above this.

The list of what needs to be fixed from SemperFideles's release:
  • When browsing a specific forum, the top iPhone navigation bar is too skinny for the buttons (a screenshot was provided earlier in the thread)
  • When replying to a PM, the recipient's username overlaps the word "Recipients:"
  • "What's Going On" lacks additional stats beyond the number of users online
  • Profile Pages aren't in tune with the vB 3.7 profiles
  • You can't view or enter subforums! They don't even show up.
  • When posting, lines breaks don't register as new paragraphs - the whole post comes out as a lump.

That's the major stuff. It would be great to see if, perhaps, SemperFideles could add this (in addition to the modification Tralala mentioned above) to his modification? In addition, it would be neat to be able to edit posts from here with the simple non-WYSIYWG editor that Tralala provided above.

MissKalunji 08-03-2008 01:48 AM

I did fix other stuff... like the "post new reply" i removed the WYSIYWG it was too much

- Recipients:? i don't have that problem....i wouldn't be bale to help only if i can reproduce it
- About the 3.7 Profiles the main reason i believe they done it standard was because it would be too heavy for the mobile itself..
- You can't view or enter subforums? where? from the index?
- The bar being too skinny problem : https://vborg.vbsupport.ru/showpost....4&postcount=76

as for everything else keep in mind that you can't show everything when you are using mobile...the heavier it is more chance you get to crash on you...if you're looking to show everything you might as well just give them the full style no? Just a thought...

GoldenChaos 08-03-2008 11:10 AM

Quote:

Originally Posted by MissKalunji (Post 1590252)
- About the 3.7 Profiles the main reason i believe they done it standard was because it would be too heavy for the mobile itself..

I meant more that certain areas are incompatible. It tries to display IM information, but that predates it to vB6 - the information doesn't show up.

Quote:

- You can't view or enter subforums? where? from the index?
No, from within the parent forum. For example, we have a forum called "Community Central". Posts are made in one of the five separate subforums within Community Central, and no posts are made in the main Community Central board. However, this skin does not show those subforums.

Quote:

- The bar being too skinny problem : https://vborg.vbsupport.ru/showpost....4&postcount=76
Thanks! Worked like a charm. :D

Quote:

as for everything else keep in mind that you can't show everything when you are using mobile...the heavier it is more chance you get to crash on you...if you're looking to show everything you might as well just give them the full style no? Just a thought...
The only other thing I mentioned was showing s'more info down in the What's Going On area as well as the edit functionality :B... I don't think it's too much for mobile devices to handle, especially the iPhone that it was built for. In addition, I don't think it's going to *crash* under any circumstances...

I'll work on applying some of this stuff myself, though. :P

Banana 08-05-2008 09:18 AM

For reference, I'm using SemperFideles's modification

It looks great - thanks. However I cannot see the icon that takes one to the first unread post of each thread on the "New Posts" results page. Have I messed up or is it missing?

Thanks

p.s. I had to change the header template to change the landing site to my own website :)

MissKalunji 08-07-2008 03:58 AM

Quote:

Originally Posted by GoldenChaos (Post 1590462)
I meant more that certain areas are incompatible. It tries to display IM information, but that predates it to vB6 - the information doesn't show up.


No, from within the parent forum. For example, we have a forum called "Community Central". Posts are made in one of the five separate subforums within Community Central, and no posts are made in the main Community Central board. However, this skin does not show those subforums.


Thanks! Worked like a charm. :D


The only other thing I mentioned was showing s'more info down in the What's Going On area as well as the edit functionality :B... I don't think it's too much for mobile devices to handle, especially the iPhone that it was built for. In addition, I don't think it's going to *crash* under any circumstances...

I'll work on applying some of this stuff myself, though. :P

Cool let me know if you need more help :). i was just giving an advice about the crashing cause some of those news websites crashes the browser but you are right most of them are just variable to add anyways

unknownkind 08-14-2008 07:11 PM

Can anyone confirm this working on 3.6.8?

vomer 08-16-2008 05:12 PM

Quote:

Originally Posted by Kaelon (Post 1541117)
This is a beautifully-designed skin, and I have been using it as a basis for a skin for my site. However, I'm having problems adapting it for use with sites that have nested forums. For example:

--Category
----Forum (no posts)
------Forum (posts)
------Forum (posts)
----Forum (no posts)
------Forum (posts)
... etc.

Is there a way to get these subforums properly rendered when users select a parent forum?

yes any solution to this?? :confused:

Gossennator 08-18-2008 03:12 PM

Quote:

Originally Posted by unknownkind (Post 1598692)
Can anyone confirm this working on 3.6.8?

works perfect for me...except there is no new post button? How could go about adding this?

vol_freak 08-24-2008 03:46 AM

Quote:

Originally Posted by SemperFideles (Post 1586338)
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.

Can you clarify about adding the a name back?

Quote:

Originally Posted by Banana (Post 1591754)
For reference, I'm using SemperFideles's modification

It looks great - thanks. However I cannot see the icon that takes one to the first unread post of each thread on the "New Posts" results page. Have I messed up or is it missing?

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.

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?

Tanpapasmurf 09-24-2008 06:06 PM

also getting " security token is missing "

Any fix's?

iDudz 09-26-2008 04:55 PM

I'm having the security token, it's something to do with it being for an older version? Any updates going to be released so it'll work with 3.7+ ?

It's a great skin, just a shame it won't let people post. :(

prxorg 09-27-2008 04:56 AM

Also getting this security token issue, please check it out!

MissKalunji 09-27-2008 05:12 AM

browse each page different members shared there's with different fix included me. I'm still fixing some stuff (like adding the edit button to admins etc)

thompson 09-28-2008 01:05 PM

looks very good.

acyk 10-08-2008 03:20 AM

Dear All

What if I want all my member who using iPhone/iPod to browse my website , then force them to using this style .

what should i do ?

thanks for your help

amagab 10-08-2008 02:15 PM

It's weird, I can access this style on my home computer and my iPhone when I use wi-fi but when I connect on my iPhone using EDGE/GPRS I get the following error message:

"Error 502 - Bad Request
The server could not resolve your request for uri: /"

Does anyone know what that problem is?

amagab 10-08-2008 02:25 PM

Is it possible to set it to use postbit_legacy for the regular style and postbit for the iphone style? My members really like postbit_legacy but it doesn't look good on this iphone style.

Tanpapasmurf 10-08-2008 03:44 PM

Still looking for a fix for the issues reported.

Anyone have a customized version that fixed the security token error and subforum problem?

jwocky 10-08-2008 09:17 PM

Any idea how to add quote functionality to this ?

ElForro 10-11-2008 08:22 PM

I just want to let you all know that this skin apparently only works on VB 3.6.+ or older...

I'm not planning to update the Skin, but maybe I would in the next months when I upgrade my forums to 3.7+

I'm sorry for the lack of support, but I'm really busy with other things right now...

CR_TurboGuy 10-12-2008 06:31 PM

I'm successfully using this style on my 3.7.1 forum. Here's a copy of my style with a few edits and fixes. If you use it, you'll need to replace the forum name. Search for Frightmare and you'll find where it is.

--JOsh

wma 10-28-2008 01:28 PM

hello elforro & turboGuy. a great work - a great style!

but, i have a problem in both versions (el forro & turbo guy): there is no button to make a new initial posts. there is only buttons in exist threads, where i can replay. but no "new post" ... is this right?

best regards,
tom ;-)

pelicanparts 11-07-2008 05:25 AM

Quote:

Originally Posted by CR_TurboGuy (Post 1606706)
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

class="inline" was missing here:

<template name="threadbit" templatetype="template" date="1219459646" username="CR Turbo Guy" version="3.7.1"><![CDATA[<li class="inline">

line 4825 or so...

-Wayne

CR_TurboGuy 11-08-2008 04:07 PM

Thanks a bunch Wayne. That makes it tons better.

--JOsh

CR_TurboGuy 11-08-2008 09:37 PM

Ok, new issue. I'm trying to fix the no 'new post' button WMA posted about above. I've gotten the button added in, but when I go to the new post page, it uses the WYSIWYG editor. Is there any way to disable the use of the WYSIWYG editor for a certain style?

--JOsh

pelicanparts 11-08-2008 09:56 PM

Quote:

Originally Posted by jwocky (Post 1640649)
Any idea how to add quote functionality to this ?

I did. On line 3233 or around there, there is this line:

Code:

                <div id="post_message_$post[postid]">$post[message]</div>
Add this line following that:

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>
NOTE!!! - this post here didn't let me put in code with the [Q U O T E] tag, so I had to rename it MYQUOTE instead. Replace MYQUOTE with QUOTE in your template...

Works pretty good for now...

-Wayne

Solari 11-10-2008 01:41 AM

Quote:

Originally Posted by CR_TurboGuy (Post 1661995)
Ok, new issue. I'm trying to fix the no 'new post' button WMA posted about above. I've gotten the button added in, but when I go to the new post page, it uses the WYSIWYG editor. Is there any way to disable the use of the WYSIWYG editor for a certain style?

--JOsh

How did you fix the New Post button issue?

Thanks,
Ray

CR_TurboGuy 11-10-2008 02:16 AM

Here's my updated version that adds the inline fix for the new post results page thanks to Wayne and adds in a 'create new post' button in the subforums.

--JOsh

pelicanparts 11-10-2008 08:05 AM

Quote:

Originally Posted by Solari (Post 1662693)
How did you fix the New Post button issue?

Thanks,
Ray

Using CR Turbo guy's xml file as a template, I made a whole host of changes:

- Added edit button
- Added new post with basic editor (no WYSIWYG editor)
- Fixed headers on each page
- SubForms now work, but you need to add in the extra templates (forumhome_forumbit_level3_post, etc. - do a search info is here on vb.org)
- Added breadcrumbs
- Custom forum jump menu at bottom
- QUOTE button for quick replies at bottom

See the results here: http://forums.pelicanparts.com

You can select the style "iPhone Optmized" in your regular browser (Firefox) to view how it would looks sortof on the iPhone (if you don't have one handy).

Enjoy!

-Wayne


All times are GMT. The time now is 02:33 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.01807 seconds
  • Memory Usage 1,860KB
  • 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_php_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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