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)

pandusetiawan 09-24-2010 02:11 AM

Quote:

Originally Posted by dartho (Post 2102522)
I'm not sure I understand - the postbit is for individual posts - there is no first/last.

Images should work as normal

I mean First & Last Page of the post....as Djawir said in post #14 :D

<<First 2 3 4 5 Last>>

Image are ok now..thx :)
How do I find the addon variable name to turn it off in options?I'm using Everywhere Side Bar....& i want to disable it on mobile view.

dartho 09-24-2010 02:39 AM

OK. Try replacing the pagenav template with

Code:

                <vb:if condition="$show['first']">
                <span class="first_last"><a rel="start" href="{vb:raw firstaddress}{vb:raw address2}<vb:if condition="$anchor">#{vb:raw anchor}</vb:if>" title="{vb:rawphrase first_page} - {vb:rawphrase results_x_to_y_of_z, {vb:raw firstnumbers.first}, {vb:raw firstnumbers.last}, {vb:raw total}}">{vb:rawphrase first}</a></span>
                </vb:if>
                <vb:if condition="$show_prior_elipsis && $show['prev'] && $show['first']">
                <span class="separator">...</span>
                </vb:if>
                {vb:raw pagenav}
                <vb:if condition="$show_after_elipsis && $show['next'] && $show['last']">
                <span class="separator">...</span>
                </vb:if>
                <vb:if condition="$show['last']">
                <span class="first_last"><a href="{vb:raw lastaddress}{vb:raw address2}<vb:if condition="$show['pagelinks']"><vb:if condition="$use_qmark">?<vb:else />&amp;</vb:if>page={vb:raw totalpages}</vb:if><vb:if condition="$anchor">#{vb:raw anchor}</vb:if>" title="{vb:rawphrase last_page} - {vb:rawphrase results_x_to_y_of_z, {vb:raw lastnumbers.first}, {vb:raw lastnumbers.last}, {vb:raw total}}">{vb:rawphrase last}</a></span>
                </vb:if>


dartho 09-24-2010 02:52 AM

Quote:

Originally Posted by pandusetiawan (Post 2102531)
How do I find the addon variable name to turn it off in options?

Turn turn off the disaply of images?
Quote:

I'm using Everywhere Side Bar....& i want to disable it on mobile view.
Could you link me to this so I can look?

pandusetiawan 09-24-2010 02:57 AM

Quote:

Originally Posted by dartho (Post 2102543)
OK. Try replacing the pagenav template with

Code:

                <vb:if condition="$show['first']">
                <span class="first_last"><a rel="start" href="{vb:raw firstaddress}{vb:raw address2}<vb:if condition="$anchor">#{vb:raw anchor}</vb:if>" title="{vb:rawphrase first_page} - {vb:rawphrase results_x_to_y_of_z, {vb:raw firstnumbers.first}, {vb:raw firstnumbers.last}, {vb:raw total}}">{vb:rawphrase first}</a></span>
                </vb:if>
                <vb:if condition="$show_prior_elipsis && $show['prev'] && $show['first']">
                <span class="separator">...</span>
                </vb:if>
                {vb:raw pagenav}
                <vb:if condition="$show_after_elipsis && $show['next'] && $show['last']">
                <span class="separator">...</span>
                </vb:if>
                <vb:if condition="$show['last']">
                <span class="first_last"><a href="{vb:raw lastaddress}{vb:raw address2}<vb:if condition="$show['pagelinks']"><vb:if condition="$use_qmark">?<vb:else />&amp;</vb:if>page={vb:raw totalpages}</vb:if><vb:if condition="$anchor">#{vb:raw anchor}</vb:if>" title="{vb:rawphrase last_page} - {vb:rawphrase results_x_to_y_of_z, {vb:raw lastnumbers.first}, {vb:raw lastnumbers.last}, {vb:raw total}}">{vb:rawphrase last}</a></span>
                </vb:if>


Worked...thx man :)

http://asixpoint.com/im2/out.php/i1608_Capture11497.jpg

Everywhere Sidebar : https://vborg.vbsupport.ru/showthread.php?t=233871

dartho 09-24-2010 04:05 AM

Try adding

Code:

//disable everywhere sidebar
$vbulletin->options['esidebar_switch']=0;

in the disable addons code box in 'Lightweight Style Options' settings

pandusetiawan 09-24-2010 04:19 AM

Quote:

Originally Posted by dartho (Post 2102568)
Try adding

Code:

//disable everywhere sidebar
$vbulletin->options['esidebar_switch']=0;

in the disable addons code box in 'Lightweight Style Options' settings

It's not work...although there are no sidebar in forumhome....but inside forum the sidebar are still showed up :(

http://asixpoint.com/im2/out.php/i1609_cap22.jpg

dartho 09-24-2010 06:08 AM

try checking with the mod author - they'd know how to disable their code better than I would

pandusetiawan 09-24-2010 06:29 AM

Quote:

Originally Posted by dartho (Post 2102595)
try checking with the mod author - they'd know how to disable their code better than I would

Ok..will do that...thx so much for you help man :)

nike.stars 09-26-2010 06:35 PM

i think i found a bug

if the forum is turned Off, and we try to access the skin via a direct link and then try to log in, it success but i was thrown back to homepage being logged out. however if i try to click PC Mode link, it works fine and also if i switch back to lightweight it is fine. i try it on iphone though

some suggestions: you might want to add "first / prev" for page navigation because it really speed up navigating process. Please also add more spaces between page number as it is very hard to click on a iPhone/touch sensitive based device

dartho 09-26-2010 10:10 PM

For First / Last - have a look on the previous page, post #103.

As for the log in issue, what do you mean by "works fine"

I have found that I can log in with the forums turned off, but can't actually see anything other than the forum closed message. This happens under any style and would be a vBulletin bug. I can't view any posts or threads though?


All times are GMT. The time now is 04:27 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.01807 seconds
  • Memory Usage 1,755KB
  • 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
  • (4)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
  • (3)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