vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Styles (https://vborg.vbsupport.ru/forumdisplay.php?f=230)
-   -   Mobile, Cell, Phone, PDA, iPhone Style (https://vborg.vbsupport.ru/showthread.php?t=174375)

dartho 05-30-2008 12:23 PM

I got the next version ready to go with many of the suggestions incorporated (no companion product yet though so some things still have to wait) - anyone care to test it for a day or two before I release send me a PM. I'm one of very few mobile users on my site so my 'live' testing isn't that thorough ...

Added search page (replace online link for search), added more attachmenst information, added more time information, added number of posts in threads, drank some beers...

Screen real estate is pretty limited on devices, and I dont; have labels for things such as the number of threads. I'm open to suggestions on how to display information. Bear in mind I want to keep this style usable on a wide range of devices.

many thanks

tekguru 05-31-2008 07:08 AM

The guys just advised they get the vB 3.7.x security token error warnign if trying to delete a post from the mobile portal.

P.S. Quite happy to test the new version as we have a lot of mobile users.

dartho 06-01-2008 11:25 PM

Here's a pre-release which has had incredibly little testing. Use at own risk and let me know how it goes and I'll release...

also added basic poll viewing/voting in addition to the mentioned updates a couple posts back

Thanks!

tekguru 06-02-2008 04:41 AM

And installed!

tekguru 06-02-2008 06:08 PM

Comments on the Alpha style from my team....


Quote:

Mobile Portal appears to have gone loco!

When clicking on NEW POSTS get prompt for login for realm "development".

Site: vbdev.twf.com.au

.. can get to front page - but cannot click on new posts.
Quote:

I'm showing no new posts - except this one. Also have a visitor message showing as new that is definately old.

My issue is on the standard web page just to identifiy it.

This post appears to have disappeared from the list of posts - just after I edited my comments.
Quote:

Mobile portal appears to load and then up pops the login page for the site above.
Quote:

ok its back - this post and the other "new" ones are showing again - now I am confused
Quote:

it's still prompting me for that development password
Quote:

If it is prompting for a pword for a REALM, that is a Linux term... Same as the windows DOMAIN...
Hope that makes sense! Needless to say we had to switch back to the prior version.

dartho 06-02-2008 09:42 PM

I really didn't do well with anything to do with coding or vbulletin over the weekend :( That last attachment wasn't even the mobile style. I think I need to get more sleep....

Try this one, tekguru or anyone else that is game. Same disclaimers - This is a pre-release version of this style - *use at own risk* - but let me know how it goes :)

Don;t forget to modify the Home link in the navbar template

Fireproof 06-03-2008 08:03 PM

I'm clueless about style creation, so forgive my newbie question.

I installed this style and it works great on my Blackberry 8800. However, instead of using my "default font size setting" on my blackberry, the style seems to be forcing a font size that is bigger than I would like.

Where/how would I change the font size in the style for everything?

dartho 06-04-2008 01:18 AM

To use a devices default font sizes, edit the wireless.css file remove "10pt " from the first font decalration (in the body section) and then remove all "size:x" lines from the rest of the file

GrendelKhan{TSU 06-04-2008 01:27 AM

so far so good...
the only major problem I have is I can't figure how to go back to another style once I've switched over to mobile.

there needs to be a style chooser even in the mobile version. (unless I just missed it).

Fireproof 06-04-2008 02:12 AM

Quote:

Originally Posted by dartho (Post 1540180)
To use a devices default font sizes, edit the wireless.css file remove "10pt " from the first font decalration (in the body section) and then remove all "size:x" lines from the rest of the file

Very cool. Worked perfectly. Thanks so much for the quick reply.

dartho 06-04-2008 05:26 AM

To add style selection options check HERE for style chooser code - it will become an option one of these days..

I wrote this style to work with my mobile detect add-on, so teh user never actually gets a choice on my site. The get the sites default if visiting from a PC or the mobile style if visiting from a mobile device.

An update on showing this style to Yahoo. I can confirm my bandwidth has dropped by about 10GB/month by forcing Yahoo spiders to the mobile style :eek:

Fireproof 06-05-2008 12:54 AM

Quote:

Originally Posted by dartho (Post 1540319)
To add style selection options check HERE for style chooser code - it will become an option one of these days..

I wrote this style to work with my mobile detect add-on, so teh user never actually gets a choice on my site. The get the sites default if visiting from a PC or the mobile style if visiting from a mobile device.

An update on showing this style to Yahoo. I can confirm my bandwidth has dropped by about 10GB/month by forcing Yahoo spiders to the mobile style :eek:


That's how I like it - force it to mobile for phones, and a default on the site. I like to control how my site looks to others.

Quick question: A user has reported that the first time he tried this skin after I loaded this up with your mobile detect add-on, he couldn't see where to log-in. I was already logged in when I switched skins, so it never occured to me.

Is there a Log-In link in the skin somewhere?

dartho 06-05-2008 02:32 AM

You can login in the footer of every page - should be a username/password prompt down there when not logged in...

SAT2M 06-05-2008 05:13 PM

Quote:

Originally Posted by dartho (Post 1517002)
@SAT2M - Not sure - but questions in regards to that add-on should probably be asked in its' thread.

@SwollenCranium - what sort of device are you posting from? Also - what are teh URL's which are giving you issues.


I check the siite with Sonyerricsson P990i & this is my site url

www.best2m.org/main.php

dartho 06-05-2008 09:52 PM

Quote:

Originally Posted by SAT2M (Post 1541657)
I check the siite with Sonyerricsson P990i & this is my site url

www.best2m.org/main.php

You need to make sure the style is user selectable - that the checkbox next to it in Style Manager is checked. Even if you don;t allow users to change styles, it needs to be checked so that other addons such as the mobile device autodetect can load the style up.

JustJon 06-06-2008 10:33 PM

I dig this style alot, but is there any way to allow it to view images? My users would like to be able to see the pictures and smileys posted by other users. Thanks.

Dr. Bantham 06-07-2008 12:30 AM

How can you change back to a different style once this one is selected? I could find no link, which is especially troublesome if a desktop user changes to this style and is not able to revert back to a full style.

dartho 06-07-2008 12:53 AM

@Dr Bantham - scroll up about 6 posts before yours :)

@JustJon - deleting the following replacement variables form the mobile style options should put images back in line:

border="0" alt="" />

class="inlineimg" />

img src

dartho 06-07-2008 11:40 AM

Updated.

Version 0.0.7 - Added Style chooser to UserCP, Post count to threads, Search Page, Attachment Sizes, More detailed time info, viewing/voting in polls, other stuff too probably

Don;t forget to edit teh navbar template to point the "Home" link at your forums if your forums home page is not index.php

SAT2M 06-07-2008 01:46 PM

Quote:

Originally Posted by dartho (Post 1541872)
You need to make sure the style is user selectable - that the checkbox next to it in Style Manager is checked. Even if you don;t allow users to change styles, it needs to be checked so that other addons such as the mobile device autodetect can load the style up.

I do this setting & style now is selectable with users but auto detect dont work in mobile phone

www.best2m.org/main.php

Fireproof 06-07-2008 03:11 PM

Quote:

Originally Posted by dartho (Post 1543065)
Updated.

Version 0.0.7 - Added Style chooser to UserCP, Post count to threads, Search Page, Attachment Sizes, More detailed time info, viewing/voting in polls, other stuff too probably

Don;t forget to edit teh navbar template to point the "Home" link at your forums if your forums home page is not index.php

Awesome!

nike.stars 06-07-2008 03:55 PM

Quote:

Originally Posted by dartho (Post 1542747)
@JustJon - deleting the following replacement variables form the mobile style options should put images back in line:

border="0" alt="" />

class="inlineimg" />

img src

is there a way just to show up the smiley?

nike.stars 06-07-2008 04:53 PM

for those interested, i made lite edition of "what's going on?" box for this theme, you can place this code at FORUMHOME template before the $footer

Code:

<!-- what's going on box -->
<div class="titlebg">$vbphrase[whats_going_on]</div>

<if condition="$show['loggedinusers']">

<!-- logged-in users -->
<div class="navbar"><a href="online.php$session[sessionurl_q]">$vbphrase[currently_active_users]</a>:</div>
<div class="oldwindowbg">$activeusers</div>
<!-- end logged-in users -->

</if>
<div class="navbar"><phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase></div>
<div class="oldwindowbg">
<b>$vbphrase[threads]:</b> $totalthreads<br />
<b>$vbphrase[posts]:</b> $totalposts<br />
<b>$vbphrase[members]:</b> $numbermembers<br />
<if condition="$show['activemembers']">
<b>$vbphrase[active_members]:</b> $activemembers<br /><br />
</if>
<phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase>
</div>
<if condition="$show['birthdays']">

<!-- today's birthdays -->
<div class="navbar">$vbphrase[todays_birthdays]</div>
<div class="oldwindowbg">$birthdays</div>
<!-- end today's birthdays -->

</if>
<if condition="$show['upcomingevents']">
<if condition="$show['todaysevents']">
<div class="navbar">$vbphrase[todays_events]</div>
<else />
<div class="navbar"><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></div>
</if>

<div class="oldwindowbg">$upcomingevents</div>

</if>

<br />
<!-- end what's going on box -->


Hornstar 06-07-2008 08:14 PM

anychance you can put the style chooser in the default location of down the bottom on the forum home page?

also, for the vbulletin copyright, I think you are doing it differently, because I have branding free, and in all my other styles the copyright is not there, but in this style the copyright is showing. Maybe you did this to speed up the skin? but I feel it is something that should be left in tact, as the copyright date is off now anyway.

Hornstar 06-07-2008 08:18 PM

I dont see any style chooser at all in the usercp, where is it?

Also, how do I moderate the forums from this skin? I couldnt work out how to close threads or do anything like that.

dartho 06-07-2008 09:46 PM

@SAT2M - Have you installed and configured teh Auto-detect addon here: https://vborg.vbsupport.ru/showthread.php?t=173239 ?

@Hornstar - no moderation. You can delete threads/posts but thats about it. Style Chooser is in the Edit Options in UserCP (I just noticed that the title shows even of the user has no permissions to change styles). There are instructions on putting style chooser where you want back a page or two HERE

As for the copyright messages etc - the default uses half the screen so I entered in the minimum allowed. I however didn't want to modify the default phrases so I hard coded it. It's a pretty simple edit to make in the footer template. I'll look at making it an option to have default copyright messages or the reduced one in the future

@nike.stars - nice addition - I may put those in as options when I eventually release a companion addon for this style to allow individual customization without editing templates.

Daghis 06-07-2008 11:17 PM

What a nice style to add to my just-upgraded forum. Thanks!

I did notice that if I go into the mobile style and then switch back from within the mobile's User CP, some of my other options are lost, such as time zone, DST usage, editor choice, and default subscription mode.

I didn't see anyone else notice this, so I'm thinking that perhaps I didn't set up something right. I'm going to need to look and see if I somehow messed up the User CP code when I uploded it to the forum.

dartho 06-07-2008 11:27 PM

ooo... That sounds like a bug. It would appear that any options that aren;t explicitly saved in the screen get lost which I think means I will need to add *all* options form the full "Edit Options" screen to the mobile version, or find another way to update them so existing options are preserved....

IN the mean time see here for otehr ways to implement style changing ...

abrecher 06-08-2008 05:44 AM

Great style! Does anybody know how I can create a mobile sitemap for this style to submit to Google ?

dartho 06-08-2008 08:03 AM

Would a mobile sitemap be any different than a non-mobile sitemap? URL's would be the same, just a different style?

Zaiaku 06-09-2008 01:21 AM

had to do a little editing but works great and fast too, even my mods still worked with this one, thx

tekguru 06-09-2008 05:58 PM

Comments from my Modrators, all positive:

Quote:

I noticed the changes when I jumped on this evening before seeing this post.

Because of this I have just voted in one of the Polls
--
I can see the tags bit at the bottom of the posts now on the mobile portal!
--
That is a great evolution! The search feature is excellent, and the post count/time of last post very useful.
IMHO for me I'd add in nike.stars mod as a standard....

Daghis 06-10-2008 01:24 AM

Quote:

Originally Posted by dartho (Post 1543597)
IN the mean time see here for otehr ways to implement style changing ...

For now, I'm just telling people to go to mobile.domain as that avoids the issue entirely.

I did have someone report that this style doesn't handle nested quotes properly. I would imagine that fixing that problem is much more difficult. :)

Other than that, my users really like this over the previously installed mobile style. Thanks!

XnaMe 06-11-2008 01:24 AM

Hello! Why it told me Invalid File Specified when i'm trying to import?

dartho 06-11-2008 10:30 AM

XnaMe - you did import this via style manager as opposed to Products and Plugins?

BTW - I just noticed that this is the most installed 3.7.x style on vBulletin.org :D Thanks for the feedback and suggestions (and code snippets) to make it what it is. However - I really hope that when vBulletin 4.0 comes out thaey have builtin mobile support - the popularity of this rather rudimentary and novicely assembled style would have to go a long to way to proving the need and desire for a functional mobile forum is out there!

BigDog56 06-11-2008 12:19 PM

Seems to be a conflict with the MGC chat bot. From a WAP phone, you get a scripting error once you scroll to the chat box. And from opera when you try to post you get the dreaded "Security token" issue. when you try to post.

Fireproof 06-11-2008 02:38 PM

I'm loving the style - works great!!

One issue: my subforums do not show in the forum home view (list of forums). Can you make it display them here or is that not desired for those that have many subforums (I only have a few)?

Second request: how about a symbol or letter link to Quote a reply?

Thanks.

dartho 06-11-2008 10:00 PM

@Fireproof - You need to edit some templates to make this happen.

Edit the forumhome_forumbit_level?_post templates and add
Code:

<if condition="$show['subforums']"><div class="$forum[statusicon]titlebg">-- $forum[subforums]</div></if>
below
Code:

<div class="$forum[statusicon]windowbg">-&nbsp;<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a></div>
then edit forumhome_forumbit_level?_nopost templates and add
Code:

<if condition="$show['subforums']"><div class="$forum[statusicon]titlebg">-- $forum[subforums]</div></if>
below
Code:

<div class="windowbg">-&nbsp;<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a></div>
Then edit the subforumbit_nopost and subforumbit_post templates and replace the cntents with
Code:

<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
That should add the subforums listings - you probably only need to edit the level1 and level2 templates..

The reply link [rep] does quote by default - you want a quoting and non-quoting reply links?

Fireproof 06-11-2008 10:23 PM

Thanks for the help. I'll look into those edits.

Regarding the reply link, ignore my request. I had been replying just via the "quick reply" box at the bottom. I incorrectly assumed that [rep] did the same thing. I just tried it and see that it auto-quotes, so that is perfect!!

Thank you!

Hornstar 06-12-2008 07:58 PM

Quote:

Originally Posted by dartho (Post 1543543)
@Hornstar - no moderation. You can delete threads/posts but thats about it. Style Chooser is in the Edit Options in UserCP (I just noticed that the title shows even of the user has no permissions to change styles). There are instructions on putting style chooser where you want back a page or two HERE

As for the copyright messages etc - the default uses half the screen so I entered in the minimum allowed. I however didn't want to modify the default phrases so I hard coded it. It's a pretty simple edit to make in the footer template. I'll look at making it an option to have default copyright messages or the reduced one in the future

Thanks. Is there any reason you don't make the style chooser default?

I just added inferno shoutbox into the skin, and it just stays on loading, is there a reason that modification wont work in this skin?


All times are GMT. The time now is 09:15 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.01626 seconds
  • Memory Usage 1,853KB
  • 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
  • (6)bbcode_code_printable
  • (16)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
  • (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