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 - Mobile Style for vBulletin 4.0 (https://vborg.vbsupport.ru/showthread.php?t=228986)

FractalizeR 06-04-2010 06:35 AM

Quote:

Originally Posted by dartho (Post 2047524)
Fract - Did you see my reply to your post on this here https://vborg.vbsupport.ru/showpost....&postcount=212

Yea, thanks. Just on my version of VB, I can't edit mobile style templates because of some error. VB always says, that some bracket is missing and refuses to save template. So, I am just waiting for fixed xml style file.

jimmy_spliff 06-07-2010 06:13 AM

thanks alot

raagaswaram 06-07-2010 08:10 AM

how to make vsachatbox to work on this template?.

raagaswaram 06-08-2010 12:04 PM

At top header it shows like this instead of Home as "{$vbulletin->options['m037_home_link_text']}".How to solve this?.

dartho 06-08-2010 12:39 PM

Sorry.

This shows up if you have the mobile options addon installed in addition to this - I'll post a new version up soon, but in the mean time edit the navbar template in the mobile style and replace

Quote:

<a class="navbar" href="{vb:raw $vbulletin->options['mo37_navbar_home']}{vb:raw session.sessionurl_q}">{$vbulletin->options['mo37_home_link_text']}</a>
with

Quote:

<a class="navbar" href="{vb:raw vboptions.mo37_navbar_home}{vb:raw session.sessionurl_q}">{vb:raw vboptions.mo37_home_link_text}</a>

HappyFeet 06-08-2010 05:36 PM

@dartho, I have this style installed along with the optional add-on and it works great!

However, I have the Random Album Picture mod enabled which runs globally across all my styles above the forums... Just wondering if there is a way to disable it in this style only. I know this isn't a problem with your style, it works perfectly, just thought I'd get your opinion...

Thanks for this mobile style, I have needed it! :up:

dartho 06-08-2010 10:30 PM

could you link me directly to the mod you are using - there are several...

McMendo 06-10-2010 08:23 PM

I've tried it but I've found two problems:

If a member (or a visitor) chooses to try the style from a computer (not a mobile phone), he can't revert afterwards to another style because there is no style chooser available in the style.

If he visits the top domain page, this is the cms and the link to the forums doesn't work.

dartho 06-10-2010 10:04 PM

Install "Mobile Style Options" and configure the style chooser https://vborg.vbsupport.ru/showthread.php?t=229044 and also edit the navbar template in the mobile style and replace

Quote:

<a class="navbar" href="{vb:raw $vbulletin->options['mo37_navbar_home']}{vb:raw session.sessionurl_q}">{$vbulletin->options['mo37_home_link_text']}</a>
with

Quote:

<a class="navbar" href="{vb:raw vboptions.mo37_navbar_home}{vb:raw session.sessionurl_q}">{vb:raw vboptions.mo37_home_link_text}</a>
This fixes a bug in the style. I'll be releasing an update real soon to address this.

dartho 06-10-2010 10:05 PM

Quote:

Originally Posted by FractalizeR (Post 2048095)
Yea, thanks. Just on my version of VB, I can't edit mobile style templates because of some error. VB always says, that some bracket is missing and refuses to save template. So, I am just waiting for fixed xml style file.

Found the issue, when editing forum home, also search for
Code:

<div class="navbar">{vb:rawphrase todays_events</div>
and replace with

Code:

<div class="navbar">{vb:rawphrase todays_events}</div>
then search for
Code:

<a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread">{vb:rawphrase mark_forums_read}</a>
and replace with

Code:

<a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;markreadhash={vb:raw bbuserinfo.securitytoken}" rel="nofollow">{vb:rawphrase mark_forums_read}</a>


All times are GMT. The time now is 05:52 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.05651 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)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