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)

CR_TurboGuy 06-17-2009 02:07 PM

Quote:

Originally Posted by MSC James (Post 1830939)
Assuming the iPhone supports JavaScript redirects (hopefully it does but I dont have one to test), this should help

Edit the template of your normal navbar template with the following (if you already have his detector javascript in there, remove it).

Code:

<script type="text/javascript">
    if ((navigator.userAgent.indexOf('iPhone') != -1) ||
    (navigator.userAgent.indexOf('iPod') != -1)) {
        window.location.href = "$_SERVER[PHP_SELF]?<if condition="$_SERVER['QUERY_STRING']">$_SERVER[QUERY_STRING]&</if>styleid=XX";
    }
</script>

Replace XX with the iPhone styleID

Or just use Dartho's Mobile Phone / iPhone / PDA Detection and Style Assignment addon.

--JOsh

rcadden 06-21-2009 08:23 PM

I'm attempting to use this style for Symbian-powered touchscreen smartphones (Nokia 5800XM, Nokia N97, Samsung i8910, etc).

It actually works/looks decent out of the box, using Dartho's Mobile Device Detection plugin. However, a few things aren't working properly, such as search. I'm also having trouble figuring out how/where to get rid of the 'ElForro' in the very top header, as well as the ability to show new posts, etc (some navigation options, basically).

CR_TurboGuy 06-22-2009 04:57 PM

Quote:

Originally Posted by rcadden (Post 1834316)
I'm attempting to use this style for Symbian-powered touchscreen smartphones (Nokia 5800XM, Nokia N97, Samsung i8910, etc).

It actually works/looks decent out of the box, using Dartho's Mobile Device Detection plugin. However, a few things aren't working properly, such as search. I'm also having trouble figuring out how/where to get rid of the 'ElForro' in the very top header, as well as the ability to show new posts, etc (some navigation options, basically).

Try using one of the later versions I posted. I've fixed/added a few things to improve it.

--JOsh

AshleyTwo 07-14-2009 08:12 PM

Quote:

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



--JOsh

I may be being really simple here but what the heck does 'comment out' mean?

Thanks.

LanciaStratos 07-14-2009 08:32 PM

Quote:

Originally Posted by AshleyTwo (Post 1848771)
I may be being really simple here but what the heck does 'comment out' mean?

Thanks.

Insert HTML comments around the referenced code. Commented code does not display in the browser.

AshleyTwo 07-14-2009 10:26 PM

Ah thanks. It was something obvious :)

Although its still not working. It should be working. When I click on the "last post" the URL is correct and should be taking me to that, and in any other scheme it does yet not this one...

I've even tried copying over the theadbit template from TurboGuy's which does work but its still not on this one that I've adapted from the original.

But I suppose I can just adapt Turbo's if needs be, but if anyone can think of a solution to this i'd really appreciate it :)

Actually after adapting Turbo's I have come to the conclusion it is my postbit legacy as I have adapted that so that it is very much cut down (no sigs or avatars shown) and the postbit is on top. Will look into it tomorrow with a clear head.

AshleyTwo 07-15-2009 02:27 PM

As much as I appreciate and like the scheme I'm having a whole host of issues with it and tried using some of the alternatives posted but I'm getting different problems all over the place.

1) The buttons on the qucik reply box (bold, italics, underline etc) don't work. I've asked someone else to try and pressing them does nothing.

2) The "go to last read post" button doesn't work. It either takes me to the top of the thread, or to the very last post. I can't seem to get it to work going to the last read one if the post is in the middle of the page.

Any help would be really appreciated :)

CR_TurboGuy 07-20-2009 07:50 PM

Could you post a link to your forum so I can take a look at the issues your having? Thanks,

--JOsh

rrudeboy 07-24-2009 02:14 PM

is the coder still active ? or anybody else who can possibly help me ? added a iPhone to my "arsenal" and like to offer others and myself a nice theme (which this is), check it out at http://everythingberry.net or better goto http://everythingberry.net/forum/?styleid=8, some messages are really wide, some super narrow.. and why are the avatars shown ? (<- i think i read they shouldn't ?)

thanks
...

AshleyTwo 07-26-2009 09:41 AM

Quote:

Originally Posted by CR_TurboGuy (Post 1852413)
Could you post a link to your forum so I can take a look at the issues your having? Thanks,

--JOsh

This is a link to the scheme; http://www.n-europe.com/forum/index.php?styleid=42

Although it works fine on a browser, but not on an iPod/Phone (had a few people try as well). This is a link to a post with a spoiler in it, as the spoiler button also doesn't work.

Thanks :)

rrudeboy 07-27-2009 11:28 PM

Quote:

Originally Posted by dartho (Post 1456439)
This is a great style, ElForro!

One suggestion for people who use the Legacy postbit is to copy entire contents of the postbit template and overwrite the postbit_legacy template within this style.

did that and it solved 80% of the issues i had (i must give you a donation once this is one and over)

issues remaining:
1. edit box header is waaaaaaaaaaay to wide :}
2. people can not reply
3. colors (minor)
4. translating the Spanish -> English (minor)

anyone care to help ?
tks.

CR_TurboGuy 07-28-2009 08:27 PM

Quote:

Originally Posted by rrudeboy (Post 1856825)
did that and it solved 80% of the issues i had (i must give you a donation once this is one and over)

issues remaining:
1. edit box header is waaaaaaaaaaay to wide :}
2. people can not reply
3. colors (minor)
4. translating the Spanish -> English (minor)

anyone care to help ?
tks.

Try my version - I've fixed pretty much all of the things you've mentioned.

--JOsh

CR_TurboGuy 07-28-2009 08:30 PM

Quote:

Originally Posted by AshleyTwo (Post 1855721)
This is a link to the scheme; http://www.n-europe.com/forum/index.php?styleid=42

Although it works fine on a browser, but not on an iPod/Phone (had a few people try as well). This is a link to a post with a spoiler in it, as the spoiler button also doesn't work.

Thanks :)

Hmm... Is the spoiler thing an addon? If so, I don't really expect it to work on an iPhone, as I don't think the underlying support is there on the the iPhone for the methods that addon is using.

Also, you shouldn't be seeing the WYSIWYG editor using the mobile skin. If you are, it doesn't surprise me that some of the functions don't work.

Are you using the latest version that I've posted? If not, there are a lot of fixes I've made since the original version released by ElForro.

--JOsh

jibi 08-01-2009 08:32 PM

I know it was asked a time or two, so I decided to have a crack at streamlining the vBulletin Blog add-on. Below are the changes that I made that are basically in alignment with the rest of the style. Depending on requests from my team, this may be expanded on. This allows for simple viewing of the recent blog entries (blog home), individual blogger entry list, blog content and comments, and quick comment submission.

BLOG
Code:

$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>

<if condition="$vboptions['externalrss']">
        <if condition="$show['bloguserinfo']">
                <link rel="alternate" type="application/rss+xml" title="<phrase 1="$vboptions[bbtitle]" 2="$blogrssinfo[blog_title]">$vbphrase[blog_user_rss_feed]</phrase>" href="blog_external.php?type=RSS2&amp;bloguserid=$blogrssinfo[bloguserid]" />
        </if>
        <link rel="alternate" type="application/rss+xml" title="<phrase 1="$vboptions[bbtitle]">$vbphrase[blog_rss_feed]</phrase>" href="blog_external.php?type=RSS2" />
</if>

<if condition="$show['pingbacklink']"><link rel="pingback" href="$pingbackurl" /></if>
<if condition="$show['trackbackrdf']">
<!--
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
        xmlns:dc="http://purl.org/dc/elements/1.1/"
        xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
<rdf:Description
        rdf:about="$abouturl"
        dc:identifier="$abouturl"
        dc:title="$bloginfo[title]"
        trackback:ping="$trackbackurl" />
</rdf:RDF>
-->
</if>

$headinclude
<if condition="$usercss_profile_preview">
<style type="text/css" id="vbulletin_user_css">
<!--
$usercss_profile_preview
-->
</style>
</if>

<if condition="$show['inlinemod'] OR $show['inlinemod_trackback'] OR $show['quickcomment']">
        <script type="text/javascript" src="clientscript/vbulletin_inlinemod.js?v=$vboptions[simpleversion]"></script>
        <script type="text/javascript" src="clientscript/blog_inlinemod.js?v=$vboptions[simpleversion]"></script>
</if>
<if condition="$show['datepicker']">
        <script type="text/javascript" src="clientscript/vbulletin_date_picker.js?v=$vboptions[simpleversion]"></script>
        <link rel="stylesheet" type="text/css" href="clientscript/vbulletin_date_picker.css?v=$vboptions[simpleversion]" />
        <script type="text/javascript">
        <!--
        vbphrase['sunday']    = '$vbphrase[sunday]';
        vbphrase['monday']    = '$vbphrase[monday]';
        vbphrase['tuesday']  = '$vbphrase[tuesday]';
        vbphrase['wednesday'] = '$vbphrase[wednesday]';
        vbphrase['thursday']  = '$vbphrase[thursday]';
        vbphrase['friday']    = '$vbphrase[friday]';
        vbphrase['saturday']  = '$vbphrase[saturday]';
        -->
</script>
</if>
<if condition="$show['registeruserid']">
<script type="text/javascript">
<!--
        vBulletin.register_control("vB_Blog_Userid", "$bloguserid");
//-->
</script>
</if>
<if condition="$show['titlefirst']">
        <title>$pagetitle - $vboptions[bbtitle]</title>
<else />
        <title>$vboptions[bbtitle] - $pagetitle</title>
</if>
</head>
<body $onload>
$header
$navbar

$content
<div class="cleardiv"></div>

$footer
</body>
</html>

blog_comment
Code:

<ul>
<li>
$response[date] | $response[time]
</li>
<li>
<a class="bigusername" href="member.php?$session[sessionurl]u=$response[userid]">$response[username]</a>
</li>
<li id="comment_text_$response[blogtextid]">$response[message]</li>
</ul>

blog_entry
Code:

<ul>
<li>
$blog[date] | $blog[time]
</li>
<li>
<strong><a href="blog.php?$session[sessionurl]b=$blog[blogid]">$blog[title]</a></strong><br />
<a href="blog.php?$session[sessionurl]u=$blog[postedby_userid]">$blog[postedby_username]</a>
</li>
<li id="entry_text_$blog[blogid]">$blog[message]<if condition="$show['readmore']">...</if><br />
<a href="blog.php?$session[sessionurl]b=$blog[blogid]" style="float:$stylevar[right]">$vbphrase[continue_reading]</a>
</li>
</ul>

blog_home
Code:

<h1><phrase 1="Port3101.org">$vbphrase[blogs_from_the_members_of_boardname]</phrase></h1>
<ul>$recentblogbits</ul>

<script type="text/javascript" src="clientscript/blog_ajax_latest.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript">
<!--
        blogLatest = new vB_AJAX_BlogLatest('blogLatest');
//-->
</script>

blog_home_list_entry
Code:

        <li style="text-align:left" class="inline">
        <span style="align:left"><a href="blog.php?$session[sessionurl]b=$updated[blogid]" title="$updated[postedby_username], $updated[postdate]">$updated[title]</a></span>
                <div class="smallfont" style="text-align:$stylevar[right]; white-space:nowrap"> <!-- <a href="member.php?$session[sessionurl]u=$updated[postedby_userid]"> --> $updated[postedby_username]: $updated[postdate]<!-- </a> --> </div>
        </li>

blog_list_entries
Code:

$blogbits
blog_show_entry
Code:

<h1 id="blog_title">$bloginfo[title]</h1>
<ul>
<li>
$blog[date] | $blog[time]
</li>
<li>
<a class="bigusername" href="blog.php?$session[sessionurl]u=$blog[postedby_userid]">$blog[postedby_username]</a>
</li>

<li id="blog_message" style="margin-bottom:10px">$blog[message]</li>
</ul>

<h1 id="comments_heading">$vbphrase[comments]</h1>
$responsebits

<ul>
<li class="inline">
&laquo; <a href="blog.php?$session[sessionurl]b=$bloginfo[blogid]&amp;goto=prev">$vbphrase[prev]</a>
 | <a href="blog.php?$session[sessionurl]">$vbphrase[main]</a>
 | <a href="blog.php?$session[sessionurl]b=$bloginfo[blogid]&amp;goto=next">$vbphrase[next]</a> &raquo;
</li>
</ul>

<if condition="$show['quickcomment']">
<!-- quick comment -->
<h1>$vbphrase[post_a_comment]</h1>
<ul>
<li style="text-align:center;">
<form action="blog_post.php?$session[sessionurl]do=postcomment" method="post" name="vbform" id="qc_form" style="display:block; margin:0px; padding-top:24px; clear:both">
$messagearea
<br />
<input type="hidden" name="fromquickcomment" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="postcomment" />
<input type="hidden" name="b" value="$bloginfo[blogid]" />
<input type="hidden" name="loggedinuser" value="$bbuserinfo[userid]" />
<input type="hidden" name="parseurl" value="1" />
<input type="submit" class="button" style="margin-top: 20px;" value="$vbphrase[post_now]" accesskey="s" title="(Alt + S)" name="sbutton" tabindex="2" id="qr_submit" onclick="clickedelm = this.value" />
</form>
</li>
</ul>
<!-- end quick comment -->
</if>

<script type="text/javascript">
<!--
        vBulletin.register_control("vB_Blog_Tag", "$bloginfo[blogid]");
//-->
</script>


jibi 08-01-2009 08:38 PM

Quote:

Originally Posted by CR_TurboGuy (Post 1857433)
Hmm... Is the spoiler thing an addon? If so, I don't really expect it to work on an iPhone, as I don't think the underlying support is there on the the iPhone for the methods that addon is using.

I think the key is to use Safari to browse and see if it works when browsing this particular style. If it does, then it should technically work on the iPhone, as the Safari Mobile browser is based on the same engine (WebKit) and is technically a desktop browser for a mobile device. The chances of something not working on the iPhone that work just fine in Safari on a PC or Mac is very slim (with notable exceptions such as Flash-based content).

rrudeboy 08-05-2009 11:10 AM

Quote:

Originally Posted by CR_TurboGuy (Post 1857430)
Try my version - I've fixed pretty much all of the things you've mentioned.

--JOsh

just now see this... thanks, i also received a version from another buddy that is working 50-50.. the biggest issue currently is the fact that the GUI is based upon the 'postbit' being above the post, i have it on the left so what i need to figure out is how to turn off the 'postbit' except for the member's name (which i want shown above the post) i've seen this at a forum, but the fella that runs that place does not help other admins :]

thanks again...

rrudeboy 08-07-2009 02:10 PM

after some hardcore re-coding i got it working for the most part....

1 issue my always paying very good attention (cute) Super Mod found out when she switched to this style, it never timed out like our other styles do, i find it kinda sorta odd this would be set in a style ?

thanks
.

rrudeboy 08-08-2009 03:22 AM

anyone ?

linesider 08-20-2009 11:56 AM

Manage / Upload Attachments

Maybe I am missing something but is there any way to upload attachments in this style? I see the reply being "Quick Reply" but I have people that would like to be able to upload attachments on this (great) style - thanks!

echamberlain 08-27-2009 11:34 PM

I think I'm missing something obvious.

I've installed the latest version from CR_TurboGuy, but my forum home page doesn't show any forums.

http://forum.rf.com/?styleid=11

Any ideas what I've done wrong?

gabrielcrowe 09-02-2009 09:47 AM

excellent work, though designed for another version of VB (ie, not the latest one), i ignored version warnings and installed anyway. seemed to work fine.

any possible reasons why it would fail later on?

Sea Shepherd 09-03-2009 02:46 PM

Working on 3.8. Thanks Turboguy!

Sea Shepherd 09-03-2009 03:21 PM

Heres a question...

Using this skin on an iphone...how can you turn of the images/avatars/sigs so that only the text displays on the iphone, so it cuts down on the data load?

Bleed0ut 09-03-2009 07:04 PM

Your prolly using postbit_legacy is my guess? Either switch to postbit or under only this style copy all of the postbit template and paste it in your postbit_legacy template. This will allow it to only affect this style.

Sea Shepherd 09-05-2009 09:05 AM

Thanks Bleedout.
Hmm, if i knew what postbit_legacy was i could answer that question! Ha.
I just uploaded the skin and let it go..is there an easy way to chop out the left profile column and make the iphone skin display horizontally like this forum does?

shallow bay 09-07-2009 06:16 PM

Quote:

Originally Posted by echamberlain (Post 1875539)
I think I'm missing something obvious.

I've installed the latest version from CR_TurboGuy, but my forum home page doesn't show any forums.

http://forum.rf.com/?styleid=11

Any ideas what I've done wrong?

We're having a similar problem. None of our sub-forums show up. Any ideas?

CR_TurboGuy 09-08-2009 11:58 AM

Quote:

Originally Posted by rrudeboy (Post 1863109)
after some hardcore re-coding i got it working for the most part....

1 issue my always paying very good attention (cute) Super Mod found out when she switched to this style, it never timed out like our other styles do, i find it kinda sorta odd this would be set in a style ?

thanks
.

I'm not sure I follow you w/ the timeout? What do you mean it doesn't time out?

Quote:

Originally Posted by linesider (Post 1870984)
Manage / Upload Attachments

Maybe I am missing something but is there any way to upload attachments in this style? I see the reply being "Quick Reply" but I have people that would like to be able to upload attachments on this (great) style - thanks!

I don't believe attachments would work, as there's not really a 'file system' that's user accessible on the iPhone to even browse for files. If there were a dedicated iPhone vBulletin app, it might be able to access the photo album to upload pictures, but that would have to be in a app, not a style for the webpage.

Quote:

Originally Posted by echamberlain (Post 1875539)
I think I'm missing something obvious.

I've installed the latest version from CR_TurboGuy, but my forum home page doesn't show any forums.

http://forum.rf.com/?styleid=11

Any ideas what I've done wrong?

Not sure if you fixed this, but it seems to show forums on the homepage when I visit it. I believe some other folks had issues similar to this & it was because of the display order/type settings from the AdminCP for the forums. After looking at the CP quick, I think it revolves around getting the 'Parent Forum' & 'Display Order' set correctly.

Quote:

Originally Posted by gabrielcrowe (Post 1878299)
excellent work, though designed for another version of VB (ie, not the latest one), i ignored version warnings and installed anyway. seemed to work fine.

any possible reasons why it would fail later on?

The biggest reason it might fail later on is due to template changes or variable name changes in a new release. I don't think there's been any major changes of those types recently, but there's always that chance when a new version comes out.

Quote:

Originally Posted by shallow bay (Post 1881224)
We're having a similar problem. None of our sub-forums show up. Any ideas?

See my post above regarding setting the 'Parent Forum' & 'Display Order'.

--JOsh

Bleed0ut 09-08-2009 01:35 PM

Quote:

Originally Posted by Sea Shepherd (Post 1880014)
Thanks Bleedout.
Hmm, if i knew what postbit_legacy was i could answer that question! Ha.
I just uploaded the skin and let it go..is there an easy way to chop out the left profile column and make the iphone skin display horizontally like this forum does?

You just copy the postbit template over to the postbit_legacy template. If you need help doing this, send me a PM with your site and temporary Admin and I can go in and do it for you.

Kamakazy 09-08-2009 05:02 PM

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

shallow bay 09-08-2009 08:43 PM

I set the style as parent, as a child, changed the display order to numerous things, no subforums are showing up for me.

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 05:45 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.01755 seconds
  • Memory Usage 1,926KB
  • 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
  • (22)bbcode_code_printable
  • (23)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