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)

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?


All times are GMT. The time now is 06:24 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.01742 seconds
  • Memory Usage 1,789KB
  • 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
  • (5)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