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)

Ryloth 09-11-2009 11:42 PM

Installed it and love it.

Although I've had to make some minor tweeks here and there......

mebrahimi 09-12-2009 03:39 AM

Hi, Thank you for all the hard work that's gone into this skin.

One problem I'm having is that after the first post on each page, the rest of the posts appear right-justified on my iPhone. Any ideas?

Kamakazy 09-13-2009 04:00 AM

any help at all?

CR_TurboGuy 09-13-2009 05:18 PM

Quote:

Originally Posted by Kamakazy (Post 1881693)
I just install this style with darthos mobile detection hack my site works fine with most phones except iPhone where I don't seem to get any forum viewed...

link to my iPhone style http://www.englishsabla.com/forum/index.php?styleid=10

I read that it was something to do with the display order or type of forum i still couldnt figure it out...

any help would be appreciated

Quote:

Originally Posted by shallow bay (Post 1881763)
I set the style as parent, as a child, changed the display order to numerous things, no subforums are showing up for me.

I think I figured out the problem for forums not showing up on the main page. There were some templates that didn't have any code in them that is relied upon to show the forums. Try using this new version I'm posting now. I also fixed the missing 'sticky' icons on sticky posts in the forum view.

Quote:

Originally Posted by mebrahimi (Post 1883486)
Hi, Thank you for all the hard work that's gone into this skin.

One problem I'm having is that after the first post on each page, the rest of the posts appear right-justified on my iPhone. Any ideas?

No ideas. Can you post your URL for me to take a look at?

--JOsh

Kamakazy 09-13-2009 09:54 PM

Thanks CR TurboGuy, works like a charm :)

SnapOff Racing 09-14-2009 07:24 AM

CR_TurboGuy,

Not sure if you meant to do this or if it was an accident but in your threadbit template you have...

Code:

<a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']">

Which makes it so that when someone clicks on a thread it will take them to the last post of the thread rather than the first post.

Where IMO it should be
Code:

<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']">

This way when someone clicks on a thread link it will take them to the first post of the thread, or if they click on the username: Today 01:24AM that shows below the thread title, it will take you to the last post of the thread.

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

Another thing I noticed in the threadbit template that is causing an issue with the the font size on the fourmdisplay

https://vborg.vbsupport.ru/

Your code which causes the text size to appear as you see in the red box on the right
Code:

<li style="text-align:left" class="inline">

Older code which causes the text size to appear as you see in the red box on the left
Code:

<li>

Unfortunately though when you change your code to just <li> this causes the text to wrap instead of appear inline.

Any idea how to solve this?

CR_TurboGuy 09-15-2009 09:05 PM

Quote:

Originally Posted by SnapOff Racing (Post 1884448)
CR_TurboGuy,

Not sure if you meant to do this or if it was an accident but in your threadbit template you have...

Code:

<a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']">

Which makes it so that when someone clicks on a thread it will take them to the last post of the thread rather than the first post.

Where IMO it should be
Code:

<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']">

This way when someone clicks on a thread link it will take them to the first post of the thread, or if they click on the username: Today 01:24AM that shows below the thread title, it will take you to the last post of the thread.

I purposefully did this, as I wanted to be taken to the newest post when there was one, instead of the option of just going to the last post. You are right though, there is a bug, in that it should only happen when there are new posts, not for every single post/link as it is currently. I fixed the conditional so that that is only there for new posts. The updated code is:
Code:

<span style="align:left"><a href="showthread.php?$session[sessionurl]<if condition="$show['gotonewpost']">goto=newpost&amp;</if>t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']"> style="font-weight:bold"</if>>$thread[threadtitle] ($thread[replycount])</a>
</span>

if you want to update your board to use the corrected stuff.
Quote:

Originally Posted by SnapOff Racing (Post 1884448)
================================================== ============

Another thing I noticed in the threadbit template that is causing an issue with the the font size on the fourmdisplay

http://i178.photobucket.com/albums/w.../threadbit.png

Your code which causes the text size to appear as you see in the red box on the right
Code:

<li style="text-align:left" class="inline">

Older code which causes the text size to appear as you see in the red box on the left
Code:

<li>

Unfortunately though when you change your code to just <li> this causes the text to wrap instead of appear inline.

Any idea how to solve this?

I guess I'm not understanding the problem. I don't see any weird font size issues on my board. The screen shots you posted, it doesn't appear there's much difference in size. Am I missing something?

FYI - to anyone having issues w/ the mods I've done to this skin, if you can post a link to your board for me to take a look at, that helps a ton for me to try to figure out problems. If you don't want to post your link in the thread, feel free to PM me the link to take a look at.

Thanks,

--JOsh

SnapOff Racing 09-16-2009 03:51 AM

Quote:

Originally Posted by CR_TurboGuy (Post 1885422)
I purposefully did this, as I wanted to be taken to the newest post when there was one, instead of the option of just going to the last post. You are right though, there is a bug, in that it should only happen when there are new posts, not for every single post/link as it is currently. I fixed the conditional so that that is only there for new posts. The updated code is:
Code:

<span style="align:left"><a href="showthread.php?$session[sessionurl]<if condition="$show['gotonewpost']">goto=newpost&amp;</if>t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']"> style="font-weight:bold"</if>>$thread[threadtitle] ($thread[replycount])</a>
</span>

if you want to update your board to use the corrected stuff.

I guess I'm not understanding the problem. I don't see any weird font size issues on my board. The screen shots you posted, it doesn't appear there's much difference in size. Am I missing something?

FYI - to anyone having issues w/ the mods I've done to this skin, if you can post a link to your board for me to take a look at, that helps a ton for me to try to figure out problems. If you don't want to post your link in the thread, feel free to PM me the link to take a look at.

Thanks,

--JOsh

Cool Thanks for the updated code for the first issue.

As for the text size issue I'm not sure HOW you can't see the difference as it's quite noticeable hence the reason I even posted screen shots. Just take a look at the difference in size of the date, the date and time is MUCH LARGER in the right picture than it is in the LEFT.

Still not convinced then go change the code around in your threadbit template from


THIS
Code:

<li style="text-align:left" class="inline">
TO THIS
Code:

<li>

And note the changes in your font size on your date and time.

CR_TurboGuy 09-16-2009 09:10 PM

Ok, I guess I see the difference, I guess I meant, I don't see where it makes a difference? It's not a 'bug' in the code, but more of a preference in the style. It's actually handled in the css for the board.
Here's a screen shot of my board, with the original inline code on the left, the li only code on the right.

https://vborg.vbsupport.ru/external/2010/01/43.png

If you really want to change the font size, go into the Style Manager & edit the 'Main CSS' file. At the very bottom, in the 2nd text box, change the attributes on the following items:
Code:

li.inline {
text-align:center;
font-size:15px;
}
li.inline a {
display:inline;
font-size:15px;
}

The default style that's applied when you are using just the li code is:
Code:

.smallfont
{
        font: 10pt Helvetica;
}

so you could use that if you wish.

--JOsh

SnapOff Racing 09-16-2009 10:49 PM

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!


All times are GMT. The time now is 06:30 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.01986 seconds
  • Memory Usage 1,783KB
  • 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
  • (14)bbcode_code_printable
  • (6)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