vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Styles (https://vborg.vbsupport.ru/forumdisplay.php?f=247)
-   -   Forum Style - Lightweight Style for Small Screen Devices (cell phone, iphone, mobile, android) (https://vborg.vbsupport.ru/showthread.php?t=249277)

Alan_SP 04-28-2012 12:43 PM

Just two posts before yours is answer: https://vborg.vbsupport.ru/showpost....&postcount=888

Install this mod and you'll be able to set this style as default for mobile devices. Just turn off vB's default system for setting default mobile style for mobile devices.

djbaxter 04-28-2012 01:03 PM

But I don't want to disallow users from using the vBulletin mobile version. I just want to add the option for mobile users to select this one.

I have the Suite. Now the CMS doesn't get a lot of use and blogs are currently disabled so the forum is the main focus, but this style, unlike the vBulletin mobile style, doesn't provide for anything but the forum.

Suggestions?

dartho 04-29-2012 08:34 AM

Quote:

Originally Posted by djbaxter (Post 2324019)
I have the vB Mobile Style as default in 4.1.12 PL1.

However, at least one member is expressing an option to use this mobile style instead.

Two questions:

1. If I add this as a mobile style it shows a number of uncached templates. How can I fix this? (If I add it as a new full style, the templates are cached but that seems like it would be confusing to users.)

2. There seems to be no way to make this the default mobile style now that the vB Mobile Style is installed, and in either this mobile style or the vB Default Mobile Style, there seems to be no way to choose an alternate mobile style - just mobile or full forum default style. How can I add this as an option?

1. Uncached templates are from vBulletin removing templates that are in teh non-mobile default (or more correctly MASTER) style. It would seem they then proc3eed to hide these templates form the style manager :confused: I think the way to reolve this would be to deleted those templates from the XML file before installing it.

2. On my test site I can happily select both this style and vBulletins Mobile style as default style for both old and/or modern mobile browsers?

In order to have links to other mobile styles, you will need to make edits to templates (probably footer) and add in links there. It would appear that vBulletin have removed the style chooser code from the mobile styles? A plugin would have to be written to create this or you may be able to manually add the code to your style.

A plugin could also be conceivably written to detect visitors viewing your CMS from this style and flick them over to vBulletins style?

Alan_SP 04-29-2012 10:34 AM

Quote:

Originally Posted by djbaxter (Post 2324305)
I have the Suite. Now the CMS doesn't get a lot of use and blogs are currently disabled so the forum is the main focus, but this style, unlike the vBulletin mobile style, doesn't provide for anything but the forum.

Actually it does. You can look at CMS, Blog, I even look at VaultWiki articles with this style. It is not optimized, but it is usable. Test it yourself. Add direct links in navbar manually as I did and you'll see that it works.

djbaxter 04-30-2012 02:32 AM

Quote:

Originally Posted by Alan_SP (Post 2324560)
Actually it does. You can look at CMS, Blog, I even look at VaultWiki articles with this style. It is not optimized, but it is usable. Test it yourself. Add direct links in navbar manually as I did and you'll see that it works.

Thank you. I'll look into this further...

However, even with the Options add-on installed, my iPhone will not select this style as default unless I fully delete the vBulletin Default Mobile Style. Setting the vBulletin Stytle options to "None" for Mobile does not work.

Does that correspond with your experience?

djbaxter 04-30-2012 02:41 AM

Also are you saying to use VB4 - Mobile Phone / iPhone / PDA Detection and Style Assignment instead of Lightweight Style Options for "Lightweight Style"?

Dartho seems to have several versions of everything which is confusing...

dartho 04-30-2012 08:25 AM

Quote:

Originally Posted by djbaxter (Post 2324766)
Also are you saying to use VB4 - Mobile Phone / iPhone / PDA Detection and Style Assignment instead of Lightweight Style Options for "Lightweight Style"?

Dartho seems to have several versions of everything which is confusing...

Nope - only one version of each thing. The 2 you list are 2 different products. One is mobile detection script (vBulletin now has one of it's own) and the other is an extension to this style which adds optional customisations (which you would otherwise have to manually edit templates or add plugins to create).

Alan_SP 04-30-2012 12:11 PM

Quote:

Originally Posted by djbaxter (Post 2324766)

I use both. :)

With first I selected which style is default for mobile devices and my users reported that this style gets selected, but I disabled vB own options. I'm on vB4.1.12PL1.

djbaxter 04-30-2012 12:53 PM

Quote:

Originally Posted by Alan_SP (Post 2324846)
I use both. :)

With first I selected which style is default for mobile devices and my users reported that this style gets selected, but I disabled vB own options. I'm on vB4.1.12PL1.

When you say "disabled" do you mean uninstall? or how exactly did you disable the vB options? I am also on 4.1.12 PL1.

edytwinky 05-01-2012 02:52 AM

Does this mod allow for users to vote in polls?

Alan_SP 05-01-2012 06:51 PM

Quote:

Originally Posted by djbaxter (Post 2324863)
When you say "disabled" do you mean uninstall? or how exactly did you disable the vB options? I am also on 4.1.12 PL1.

Just put it to None, you have two options in ACP->Settings->Options->Style & Language Settings:

Default Style for Old Mobile Browsers
Default Style for Modern Mobile Browsers

There you can choose style you want automatically selected when user's browsing from mobile. Put it to none (or use it, than you don't need mod from dartho). In some vB versions there was bug and this didn't worked. Not sure in which version it was corrected if it is corrected. I'm using dartho's mod and it works.

Merriweather 05-08-2012 03:19 AM

Something is going on with the pagenav. For instance, I am seeing:

Thread Title Here > (25) ()

Where "25" is the number of posts, and the parenthesis is supposed to have the page navigation links, but it's showing up blank. It will show (...Last Page) if there are at least 50 posts, but for 10 - 49 posts, I get blank parenthesis.

Ideas?

dartho 05-08-2012 12:46 PM

If you red over the last couple pages, there have been some issues reported which seem to be resolved by reinstalling as a new style?

Merriweather 05-14-2012 11:46 PM

I tried that to no avail. I'm thinking it might be because I installed it as a mobile style vs a regular style?

Hippy 05-15-2012 11:55 PM

after updating to vb4.1.12 pl1 it's not caching any templates.

I have 8WayRun.Com - Micro Debug Stats installed since day one and you can see if a template is not being cached.. as so

this is 8wayrun's screenshot from his mod as a example of whats happening
https://vborg.vbsupport.ru/attachmen...5&d=1271813205

this only start to display a long list of stock and mod template after the latest..

I am not sure what vb changed for this to happen..

any ideas ?

djbaxter 05-16-2012 12:26 AM

Quote:

Originally Posted by Hippy (Post 2329723)
after updating to vb4.1.12 pl1 it's not caching any templates.

I have 8WayRun.Com - Micro Debug Stats installed since day one and you can see if a template is not being cached.. as so

this is 8wayrun's screenshot from his mod as a example of whats happening
https://vborg.vbsupport.ru/attachmen...5&d=1271813205

this only start to display a long list of stock and mod template after the latest..

I am not sure what vb changed for this to happen..

any ideas ?

Yep. Re-import the XML for the style.

Hippy 05-16-2012 12:33 AM

I did and lost all the templates that where not edited from when we did the post thanks..
I had to add them back manually
but that did not fix it
I even deleted it and imported it again...

dartho 05-16-2012 07:42 AM

I think the way to resolve the uncached templates would be to deleted those templates from the XML file before importing the style. I've been pretty busy lately and haven;t had teh time to sit down and have a proper look as yet ...

Hippy 05-18-2012 08:59 PM

thanks .. But seems they are missing .. I think one of the vb updated moved it to a mobile style and if it wasn't a edited template it did away with it
so adding them back I think will fix it ..
Not sure if thats the correct way tho..
life first .. and see what you come up with

thanks for the support

S_E_A 05-19-2012 01:44 PM

Receive an Array error message when checking users online on 4.1.12. Anyone else had this problem?

Cheers

The Rocketeer 05-20-2012 01:41 PM

@Dartho, Update the style after vB 4.1.2 , that should fix most bugs. also please take the time to view and consider including or improving upon my edited cms templates from here, https://vborg.vbsupport.ru/showpost....&postcount=889 :)

it should help a lot of people and a great add on for this style out of the box. (no credits needed)

edytwinky 05-26-2012 08:47 PM

Dartho,
Is there any way to include a box on posting replies or threads for users to insert images from their phone?

Hippy 05-27-2012 11:19 PM

Quote:

Originally Posted by semprot (Post 2333675)
For some reason i reinstalled this style as mobile-no-parent after upgrading to 4.2.0..
  • Quoting message works.
  • Add reputation page doesn't work.
  • Add infraction page doesn't work.

Will they fixed if the stylevar on the template is changed?

it removes templates when you did that
I would add it back to the normal style group
or you have to add those templates it's missing back..

edytwinky 05-28-2012 12:32 PM

Quote:

Originally Posted by dbetanco (Post 2238573)
dartho, release the option for blog and cms!! maybe by donation? :)

Second?

edytwinky 05-30-2012 12:44 AM

I'm working with trying to get the notifications on the Lightweight theme.

I pulled out the following code from the default theme and pasted it on to the lightweight navigation bar. It comes up but it doesn't look the same way. Anybody have any suggestions on what I might be missing?

Quote:

<vb:if condition="$notifications_total">
<li class="popupmenu notifications" id="notifications">
<a class="popupctrl" href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase your_notifications}: <span class="notifications-number"><strong>{vb:raw notifications_total}</strong></span></a>
<ul class="popupbody popuphover">
{vb:raw notifications_menubits}
</ul>
</li>
<vb:else />
<li class="popupmenu nonotifications" id="nonotifications">
<a class="popupctrl" href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase your_notifications}</a>
<ul class="popupbody popuphover">
<li>{vb:rawphrase no_new_messages}</li>
<vb:if condition="$show['pmmainlink']"><li><a href="private.php{vb:raw session.sessionurl_q}">{vb:rawphrase inbox}</a></li></vb:if>
</ul>
</li>
</vb:if>

The Rocketeer 05-31-2012 09:59 PM

Dartho whats the news on releasing the newer version of this style? I think we might have to switch back to this as most members dont like the vB mobile and also since it doesn't work with most phones either(something I didn't notice previously :P

https://vborg.vbsupport.ru/showpost....&postcount=912

The Rocketeer 05-31-2012 10:00 PM

Quote:

Originally Posted by dbetanco (Post 2238573)
dartho, release the option for blog and cms!! maybe by donation? :)

Quote:

Originally Posted by dartho (Post 2238591)
There is no CMS or Blog option. I have done custom work for someone to make their CMS work within this style, but those changes did not translate over to the default CMS or other layouts, so can not be used in this style.

Quote:

Originally Posted by edytwinky (Post 2333869)
Second?

Look at This: https://vborg.vbsupport.ru/showpost....&postcount=889

Just a minor bit edit to the CMS style, looks great with the mobile style. If he doesn't have the time to work on a fully fledged CMS theme then he could include it if he wants.



Quote:

Originally Posted by semprot (Post 2333805)
So the add rep & infraction don't work if i add as mobile style group because the templates of those 2 are removed?
How to add those templates?

I reinstalled as mobile because when i installed as normal, it showed activity stream page as default page.
But on my default-computer style, i deleted activity stream Tab.
It doesn't even exist, so i have no idea why i got activity stream as default home-page on lightweight style.

Update: i completely deleted activity stream, and reuploaded as normal-no-parent.

I think You will have to just create a new default / parent style then delete this and the old style and just reinstall the style, that should fix most issues I think it has some minor issues with 4.2 though.

Favori 06-02-2012 07:45 AM

There is a poll problem on my forums. Users can't view polls so can't vote polls. Please help me for that problem.

Bounce 06-05-2012 01:01 PM

Quote:

Originally Posted by Favori (Post 2335723)
There is a poll problem on my forums. Users can't view polls so can't vote polls. Please help me for that problem.

Have you installed the style as a parent in the "mobile style" section?

Install it with no parent in the normal styles and your polls etc will all work!

Bounce 06-05-2012 01:03 PM

Dartho,

Any more thought on adding a PM button?

I added
Code:

<!-- ////////start PM button in postbit////// -->
<vb:if condition="$show['pmlink']"><a class='pminpostbit' href="private.php?{vb:raw session.sessionurl}do=newpm&amp;u={vb:raw post.userid}" rel="nofollow"><img src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase send_pm}" />PM</a><span class="seperator">&nbsp;</span></vb:if>
<!-- ////////end PM button in postbit////// -->

to my postbit_legacy, it shows but only as link and not a button:(



atm im trying to add that^ and a thanks button and also make post counts show on a members profile?

Getting a bit stuck with the codes thou :(:D

Bounce 06-05-2012 09:02 PM

ok I added for a PM button...

In postbit or postbit_legacy

find
HTML Code:

<div class="windowbg" align="right">
add after
HTML Code:

<vb:if condition="$show['pmlink']"><a id="btn" href="private.php?{vb:raw session.sessionurl}do=newpm&amp;u={vb:raw post.userid}">{vb:rawphrase send_pm}</a></vb:if>
or move to where ever you like :)

edytwinky 06-08-2012 12:15 AM

Any word on notifications for the Lightweight style

JAFRI 06-08-2012 07:45 AM

update for 4.2.0 PLS.

edytwinky 06-10-2012 06:33 PM

Darthos,
I'm having the same issue with 4.2
When I click on the users online link to see what users are doing.
it just shows Array under the Username- - Last Activity table.

But on the forumhome, it shows what users are online.

Quote:

Originally Posted by Robbed (Post 2164159)
dartho - after upgrading to 4.12

Can you fix the online users. It just shows array, changes were made to forumhome whos online.


edytwinky 06-12-2012 06:44 PM

I'm looking to hire a dev to make notifications work with this style. Would anybody be willing to split the cost of hiring a dev to do it? Getting ready to get quotes on it

tareqbd 06-14-2012 01:47 PM

dartho bro, is there anyway to make dbtech vbshout box work with your mobile style and also how can I add report button on postbit. please let me know.

snakes1100 06-15-2012 12:11 PM

For anyone that is using the latest patch, you will have to fix init.php as vbulletin conveniently forgot to patch their own patch......

https://vborg.vbsupport.ru/showpost....&postcount=746

Example Vb Version - 4.1.10 patch level 3, requires this fix again in init.php

charlesr 06-18-2012 10:44 AM

Not a major issue, but when you click on "new posts" or "search", the navigation disappears, so you have to then click through to a post to see it again.

dartho 06-19-2012 01:27 AM

Short story is, it doesn't work correctly with 4.2 as it wasn't written for 4.2, but you would have seen that it wasn't compatible when you upgraded your test site before upgrading your live site. ;)

I really don't have the time to look at this at the moment, but will happily post fixes if someone has them to put forward.

The Rocketeer 06-20-2012 07:26 AM

Such a Shame, This was a really nice style :( I wish someone could come and update it and fix it up for vB 4.2 since Dartho cant do it now, once updated I am sure then it will give many more years of great service. even posting the fixes will be a great step towards helping everyone :)

All the best Dartho, I hope you can update it one day soon. :)


All times are GMT. The time now is 12:19 AM.

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.02046 seconds
  • Memory Usage 1,852KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_html_printable
  • (17)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