vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Styles (https://vborg.vbsupport.ru/forumdisplay.php?f=195)
-   -   Mobile/Cell Phone Style (https://vborg.vbsupport.ru/showthread.php?t=151186)

dartho 03-10-2008 12:10 AM

Thanks for the translation! I'll post a link in the product description to your post.

As for centering and bolding, editing the header template and replacing
Code:

<div class="header">$vboptions[bbtitle]</div>
with

Code:

<div class="header" align="center"><b>$vboptions[bbtitle]</b></div>
should do the trick...

voter 03-10-2008 08:02 AM

Quote:

Originally Posted by dartho (Post 1459672)
I wouldn;t be too concerned with the http://ready.mobi ratings - simply changing your DOC TYPE can take you up 2 full points!

This style has been tested by many people on many devices and seems to do its job well. If you actually have a mobi domain name and require compliance, let me know - I think the tweaks are in this thread somewhere on how to get a 5/5 on ready.mobi

I did it already.
with Doctype
Quote:

<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd" >
I made ready.mobil "very happy" but my pages still stay to huge as of unicode characters of Armenian represented in HTML code with 7 symbols like & # 1 3 7 7 ; per one letter ա, so on some pages it needs 7 times more Bytes.

dartho 03-10-2008 10:59 AM

ready.mobi is obviously not Armenian friendly :) A global TLD such as mobi should take such factors into account when designing systems such as ready.mobi

So long as your members are happy!

Mother_Dee 03-10-2008 07:28 PM

Installed and edited to fit my users' preferences.

http://www.darkportals.com/forum

mindfrost82 03-14-2008 07:58 PM

Does anyone know if its possible to alter this style to be able to download attachments?

dartho 03-14-2008 09:45 PM

Sure can....

In postbit_legacy search for

Code:

<div class="windowbg">$post[message]
Replace with
Code:

<div class="windowbg">$post[message]<br />
                <!-- attachments -->
                <if condition="$show['attachments']">
                        <div><span>Attached: </span>
                        <if condition="$show['thumbnailattachment']">
                                        <span>$post[thumbnailattachments]</span>
                        </if>
               
                        <if condition="$show['imageattachment']">
                                        <span>$post[imageattachments]</span>
                        </if>
                       
                        <if condition="$show['imageattachmentlink']">
                                        <span>$post[imageattachmentlinks]</span>
                        </if>
                       
                        <if condition="$show['otherattachment']">
                                        <span>$post[otherattachments]</span>
                        </if>
                       
                        <if condition="$show['moderatedattachment']">
                                        <span>$post[moderatedattachments]</span>
                        </if>
                       
                        </div>
                <!-- / attachments -->
                </if>

Copy entire contents of postbit_legacy and overwrite postbit template with it

Replace the following templates with the contents of the code box below thier names

postbit_attachment
Code:

<a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;d=$attachment[dateline]"<if condition="$show['newwindow']"> target="_blank"</if>>$attachment[filename]</a>
postbit_attachmentimage
Code:

<a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;d=$attachment[dateline]" target="_blank">$attachment[filename]</a>
postbit_attachmentmoderated
Code:

<if condition="$show['modattachmentlink']">
<a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;d=$attachment[dateline]"<if condition="$show['newwindow']"> target="_blank"</if>>$attachment[filename]</a> ($attachment[filesize])<else />$attachment[filename]
</if>

postbit_attachmentthumbnail
Code:

<a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;d=$attachment[dateline]" target="_blank">$attachment[filename]</a>


Click "Mark as Installed"...

One of these days I will get around to rolling all these small enhancements up into a new version - really....

mariocaz 03-14-2008 10:00 PM

Hi my friend dartho,

Is there a way to put an icon for the mobile browse and when you save it in favorites in the mobile appers the Site(Forum) with the icon ???, like google, yahoo, etc.

I did this but is not working......

https://vborg.vbsupport.ru/showthrea...=131191&page=3

Help!!

dartho 03-14-2008 10:55 PM

That all looks OK.

Looking at MSN etc , they use a 16x16 image. It could be that Windows Mobile will only use if its this size?

mariocaz 03-15-2008 06:52 PM

I don´t know.

Only I see the icon in my IE of my laptop but in the mobile device in my IE I don´t see it.

codershark 03-17-2008 05:18 PM

vb found 44 to old Templates at vb 3.7 Beta 6!

dartho 03-18-2008 04:03 AM

I've just knocked up and uploaded a new css file called "alt-vb-wireless.css.txt" - save it and rename to wireless.css and then upload to you forum root (rename your existing one out of the way first). It's uses similar colours to vBulletin default style.

If you have a CSS file you would like to share with others, please let me know and I'll upload them here also.

@Codershark - that happens as this was developed under 3.6 and the vB version number is included in the XML. I'll do a release for 3.7 soon, but it may not include much (if any) support for Blogs, Photos, Social Groups, Tags and other such features.

peterpigman 03-20-2008 07:41 PM

I have added this but "new thread" isn't displayed, any ideas?

Nm when I fixed the templates I had messed one up.

nanaimobar 03-21-2008 02:01 PM

Quote:
@Codershark - that happens as this was developed under 3.6 and the vB version number is included in the XML. I'll do a release for 3.7 soon, but it may not include much (if any) support for Blogs, Photos, Social Groups, Tags and other such features.
End Quote.

3.7 RC1 won't accept 2.08 for same reason. I'll just have to wait to install.

Phaedrus 03-22-2008 04:42 PM

Excellent. So much quicker and very easy to use. Installed.

Phaedrus 03-22-2008 06:01 PM

Quote:

Originally Posted by dartho (Post 1467640)
I've just knocked up and uploaded a new css file called "alt-vb-wireless.css.txt" - save it and rename to wireless.css and then upload to you forum root (rename your existing one out of the way first). It's uses similar colours to vBulletin default style.

If you have a CSS file you would like to share with others, please let me know and I'll upload them here also.

@Codershark - that happens as this was developed under 3.6 and the vB version number is included in the XML. I'll do a release for 3.7 soon, but it may not include much (if any) support for Blogs, Photos, Social Groups, Tags and other such features.

I like this one much better than the first one. Way better looking on the phone.

MrToasty 03-24-2008 01:49 PM

Doesn't support prefixes in 3.7, but you can quickly change the following to make it work :)

Open template under "new posting templates >>" newthread

Find
Code:

$vbphrase[title]:<br />
<input type="text" class="bginput" name="subject" value="$subject" size="20" maxlength="85" style="width:100%"/><br />

Replace with
Code:

            <if condition="$prefix_options">
                $vbphrase[prefix]:<br />
                    <select name="prefixid" class="bginput">
                        <option value="">$vbphrase[no_prefix_meta]</option>
                        $prefix_options
                    </select><br />
                $vbphrase[title]:<br />
                <input type="text" class="bginput" name="subject" value="$subject" size="20" maxlength="85" style="width:100%"/><br />
            <else />
                $vbphrase[title]:<br />
                <input type="text" class="bginput" name="subject" value="$subject" size="20" maxlength="85" style="width:100%"/><br />
            </if>

Open template under "Threadbit templates >>" threadbit

Find
Code:

<div class="sticky">Sticky:
Replace with:
Code:

<div class="sticky">
            $thread[movedprefix]
            $thread[typeprefix]
            $thread[moderatedprefix]
            $thread[prefix_rich]

then

Find
Code:

<div class="thread$thread[statusicon]">
Add Below
Code:

            $thread[movedprefix]
            $thread[typeprefix]
            $thread[moderatedprefix]
            $thread[prefix_rich]

And then you're done and prefixes are enabled. I haven't included searching for prefixes as searching isn't really included in this style anyway...

dartho 03-24-2008 08:14 PM

Thanks Mr Toasty! I'll look at adding this in for a 3.7 release :up:

punch 03-25-2008 04:42 AM

My only complaint is when you're reading a busy thread and people are quoting often, it's hard to follow the thread. I would suggest a little more spacing between posts or coming up with a way to show a definte beginning and end of a users post.

When it goes

-username-
-quote-
textext[reply]
-username-
-quote-
textext[reply]

over and over it's tough to read the flow of the conversation. Espically when there is no space between the end of the text and the next line that says the next poster's username.

Need to maybe space things out a little more.

dartho 03-25-2008 11:29 AM

anyone made the leap to 3.7 willing to do some testing for me ? No real changes, but needs testing in a live site. minimal tag/groups support added in addition to prefixes as provided by mr toasty.

@punch - Shouldn't be too hard to edit you postbit template to add a bit more padding

MrToasty 03-25-2008 11:37 AM

I have it running on 3.7 and can test a bit if needed? Currently I have it running as you had it with no links to any 3.7 features, but with the prefixes code installed.

punch 03-25-2008 06:54 PM

Quote:

Originally Posted by dartho (Post 1474087)
anyone made the leap to 3.7 willing to do some testing for me ? No real changes, but needs testing in a live site. minimal tag/groups support added in addition to prefixes as provided by mr toasty.

@punch - Shouldn't be too hard to edit you postbit template to add a bit more padding

Yeah I did so last night to smooth it out. Thanks for the great style!

Silver740 03-27-2008 06:53 PM

Is there any way to add "Posted using a mobile device" or something to that tune when a post or thread is created using this style?

dartho 03-27-2008 08:47 PM

This is a bit of a kludge, but will allow your users to choose to remove the Posted via Mobile Message - I will look into a plugin to force the addition of the message also, but in the mean time:

Edit your "newreply" and "newthread" templates for this style and replace:

Code:

<textarea name="message" rows="10" cols="15" style="width:100%; height:100px"></textarea>
with:

Code:

<textarea name="message" rows="10" cols="15" style="width:100%; height:100px">

Posted via Mobile Device</textarea>


mariocaz 03-27-2008 09:11 PM

also I see that with the mobile style the PM´s don´t go out to the destintation user.

dartho 03-27-2008 11:15 PM

Just re-tested PM's - no problems on my 3.6.8PL2 site... :confused:

Anyone else?

mariocaz 03-28-2008 03:41 AM

dartho can you enter to my site and send me a PM to me (mariocaz) ?

thank you my friend.

dartho 03-28-2008 04:04 AM

Will try now...

dartho 03-28-2008 04:11 AM

It looks like some of your templates may be original vbulletin templates rather than the ones form this style - USERCP_SHELL in particular. Try installing the style again with a new name (so you can keep the original and teh fresh install) and no parent and see how that goes..

mariocaz 03-28-2008 04:31 AM

And how can I change the name ?

I have to rename the file or only put other name for the template when I am uploading it ?

dartho 03-28-2008 05:11 AM

The screen for importing new styles has an option for giving the style a new name :up:

diola 03-30-2008 06:51 PM

just a thing, when people post from a mobile device (that`s already been detected and using mobile style), this user signature do not apears, even when you see the post in a computer. Can it be fixed?

dartho 03-30-2008 11:57 PM

I had left this out to conserve screen space, but you can add in signatures by editing your postbit (and postbit_legacy) templates, searching for
Code:

<if condition="$post['editlink']"><a href="$post[editlink]">[Ed]</a></if>
and replace with
Code:

                <if condition="$post['signature']">
                <!-- sig -->
                        <div>
                                __________________<br />
                                $post[signature]
                        </div>
                <!-- / sig -->
                </if>

<if condition="$post['editlink']"><a href="$post[editlink]">[Ed]</a></if>


mac27 04-01-2008 09:55 PM

Quote:

Originally Posted by dartho (Post 1476206)
This is a bit of a kludge, but will allow your users to choose to remove the Posted via Mobile Message - I will look into a plugin to force the addition of the message also, but in the mean time:

Edit your "newreply" and "newthread" templates for this style and replace:

Code:

<textarea name="message" rows="10" cols="15" style="width:100%; height:100px"></textarea>
with:

Code:

<textarea name="message" rows="10" cols="15" style="width:100%; height:100px">

Posted via Mobile Device</textarea>


I tried the above and had no luck with it. I would like it to just show the Posted via mobile device only for users that make a post with this style. Also the images are not showin gup inline. The ones that have been attached via vbulletin. Post that have links to off site images show up fine.

Great job on this working great on vb 3.7 beta 6 and with vBSEO

dartho 04-01-2008 10:21 PM

G'day Mac, a 3.7 version of this can be found here: https://vborg.vbsupport.ru/showthread.php?t=174375 with a new colour scheme too.

Images were designed not to show up inline, but you should get a link to them instead. There is info on how to put images back inline in this post: https://vborg.vbsupport.ru/showthrea...ne#post1334072

Brembo 04-08-2008 10:28 PM

Is this version compatible with 3.6.9

dartho 04-09-2008 01:05 AM

Should work fine on 3.6.9

tekguru 04-09-2008 08:43 AM

But with a lot of the templates saying they are not compatible, it needs a double check and an update IMHO.

dutchbb 04-09-2008 03:29 PM

And how do we change style back to normal? There isn't a menu on forumhome , also can't find it in options...

Brembo 04-09-2008 10:23 PM

Quote:

Originally Posted by dartho (Post 1486366)
Should work fine on 3.6.9

I have tried..Not work with 3.6.9

RaceJunkie 04-10-2008 01:49 AM

I want to import a style without having other templates added to it such as the Gallery, vbAdvanced, templates. Is it possible to do this? Just add the style and it only has the templates it needs to run properly.


All times are GMT. The time now is 03:49 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.02635 seconds
  • Memory Usage 1,848KB
  • 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
  • (20)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)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