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)

dartho 06-20-2008 11:59 AM

That sounds abour right - even just searching on type="submit" should get them all and add <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> above or below it (just needs to be in teh same FORM block)

BeerLuver 06-21-2008 01:21 AM

Will do. Thanks again dartho :)

BeerLuver 06-21-2008 03:17 AM

OK, I'm a bit stuck on trying to edit this skin's colors & images. Mainly I am trying to get that navbar at the top to display correctly on the forum display, but it looks fine on the homepage and in a thread display. Here's two screenshots I took directly on my iPod Touch so you can see:

https://vborg.vbsupport.ru/
This is how it should look. The buttons are nicely inset into the navbar

But when I try to view a forum section, this is how it looks (assuming this is in relation to the forumdisplay template's code):
https://vborg.vbsupport.ru/
You can see the buttons are not lined up/overlayed properly and the navbar is too thin.

Does anyone have any clue as to what code I need to alter/fix to correct this display issue? OR what code would I put in to display the forum's title on the navbar maybe? So it says Showcase; like it says Thread on the other? Maybe that would fix the navbar height issue here.

BeerLuver 06-21-2008 03:50 AM

Also, I noticed there is no button to post a New Thread. Any ideas on how to add that to the forumdisplay? And any associated code in templates?

Kinda makes it difficult for viewers to post new threads then hehe.

And also, is there anyway to add the forum jump menu to the main page, forum display, and thread display layout? It seems the only place I've seen it show up is when you click the New Posts link and it shows up on the results page; which seems to be a search.php output.

BeerLuver 06-21-2008 04:47 AM

OK... I figured out how to add the Forum Jump menu to it. Figured I'd post it here for whomever wishes to do the same ;).

Edit the FORUMHOME, FORUMDISPLAY, & SHOWTHREAD templates:
=================================================
On each templates... scroll down to the bottom. Look for the $footer bit of codes, and just add this code above it:

Code:

<div class="smallfont" align=center style="text-align:$stylevar[center]; white-space:nowrap">
        <form action="forumdisplay.php" method="get">
        <input type="hidden" name="s" value="$session[sessionhash]" />
        <input type="hidden" name="daysprune" value="$daysprune" />
        <strong>$vbphrase[forum_jump]</strong><br />
        <select name="f" class="iphone_jump" onchange="this.form.submit();">
                <optgroup label="$vbphrase[site_areas]">
                        <option value="cp" $frmjmpsel[usercp]>$vbphrase[user_control_panel]</option>
                        <option value="pm" $frmjmpsel[pm]>$vbphrase[private_messages]</option>
                        <option value="subs" $frmjmpsel[subs]>$vbphrase[subscriptions]</option>
                        <option value="wol" $frmjmpsel[wol]>$vbphrase[whos_online]</option>
                        <option value="search" $frmjmpsel[search]>$vbphrase[search_forums]</option>
                        <option value="home" $frmjmpsel[home]>$vbphrase[forums_home]</option>
                </optgroup>
                <optgroup label="$vbphrase[forums]">
                $jumpforumbits
                </optgroup>
        </select>$gobutton
        </form>
</div>

I know it's supposed to work by just adding $forumjump which would pull this code from that template, but for some weird reason... it just would not work. So I simply added the code from the forumjump template; with centering the div as well, so it displays directly above the footer on the main forum page, the forums display page, and each thread display page. Handy for navigating & accessing areas of your forums for iPhone/Touch users then.

I'm gonna try adding a Return to Top link just above the forum jump aligned to the left side then so it's easier for iPhone/Touch users to navigate back to the top of the page without having to scroll all the way up. Saves time when viewing large threads, thread lists, etc.

BeerLuver 06-21-2008 05:23 AM

Quote:

Originally Posted by BeerLuver (Post 1555115)
OK, I'm a bit stuck on trying to edit this skin's colors & images. Mainly I am trying to get that navbar at the top to display correctly on the forum display, but it looks fine on the homepage and in a thread display. Here's two screenshots I took directly on my iPod Touch so you can see:

http://www.mindwiped.com/pics/snap2.jpg
This is how it should look. The buttons are nicely inset into the navbar

But when I try to view a forum section, this is how it looks (assuming this is in relation to the forumdisplay template's code):

http://www.mindwiped.com/pics/snap1.jpg
You can see the buttons are not lined up/overlayed properly and the navbar is too thin.

Does anyone have any clue as to what code I need to alter/fix to correct this display issue? OR what code would I put in to display the forum's title on the navbar maybe? So it says Showcase; like it says Thread on the other? Maybe that would fix the navbar height issue here.

OK, I figured out this problem. If you go into the FORUMDISPLAY template, look for this code:
Code:

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

$foruminfo[title_clean]
That will resolve the issue of the thinner navbar issue I had previously.



=======================================
Hmmm... I tried adding a Back to Top link to the FORUMHOME, FORUMDISPLAY, & SHOWTHREAD templates... by adding these two lines of code:

Add this code right ABOVE the $header tag at the top:
Code:

<a name="top"></a>
then

Add this code directly above the $footer code; or directly above the forum jump menu div container if you added that from my above post:
Code:

<div align=right><a href="#top">Top</a></div>
And this works in normal browsers, but when I try to use the Top link in Safari on my iPod Touch, it doesn't work. Anyone have any clues as to why this is? Or if I put in the wrong code or something??

=======================================


I know this stuff is probably simple edits for a lot of your experienced/advanced coders, but for people like me who suck/hate coding hehe.... it's useful info for editing this excellent skin.

Flugel 06-30-2008 03:29 PM

I can't get the Reply button to work. It just takes me to the foot of the page with no entry form

BeerLuver 06-30-2008 07:20 PM

There's supposed to be a quick reply box there at the bottom Flugel. It's not there? Make sure your Quick Reply is enabled in the vBulletin Options > Message Posting and Editing Options area.

Flugel 06-30-2008 09:13 PM

Cool man, thanks. Just need to work on this New Thread button. Has anyone managed that yet?

vbreal 07-08-2008 03:56 PM

Quote:

Originally Posted by BeerLuver (Post 1555115)
OK, I'm a bit stuck on trying to edit this skin's colors & images. Mainly I am trying to get that navbar at the top to display correctly on the forum display, but it looks fine on the homepage and in a thread display. Here's two screenshots I took directly on my iPod Touch so you can see:

http://www.mindwiped.com/pics/snap2.jpg
This is how it should look. The buttons are nicely inset into the navbar

But when I try to view a forum section, this is how it looks (assuming this is in relation to the forumdisplay template's code):
http://www.mindwiped.com/pics/snap1.jpg
You can see the buttons are not lined up/overlayed properly and the navbar is too thin.

Does anyone have any clue as to what code I need to alter/fix to correct this display issue? OR what code would I put in to display the forum's title on the navbar maybe? So it says Showcase; like it says Thread on the other? Maybe that would fix the navbar height issue here.

did u figure out how to change the forum colors ok?

Quote:

Originally Posted by Flugel (Post 1563424)
Cool man, thanks. Just need to work on this New Thread button. Has anyone managed that yet?


Code:


<center><if condition="$show['newthreadlink']">
<a class="mobile_button" href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow">New Thread</a><else />&nbsp;</if></center>


^^^^thats what i used for new thread.

here is the code for return to top.

Code:

<A NAME="top">
right below
<div class="page-margin">

In the footer add:
<A HREF="#top">Return to Top</A>
right below
$spacer_close
<!-- /content area table -->



All times are GMT. The time now is 10:00 AM.

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.01710 seconds
  • Memory Usage 1,762KB
  • 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
  • (7)bbcode_code_printable
  • (3)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