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)

dartho 05-20-2010 08:16 AM

Edit the ForumHome template for teh mobile style, 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>

NNJJ 05-20-2010 01:42 PM

i install it and the options too but nothing happen when i browser from my blackberry i still see the defult style!!!

what i am missing

thanks

WhiskeyOSS 05-20-2010 01:58 PM

Quote:

Originally Posted by NNJJ (Post 2040532)
i install it and the options too but nothing happen when i browser from my blackberry i still see the defult style!!!

what i am missing

thanks


I have the same problem..

dartho 05-20-2010 09:45 PM

it's just a style, you need to select it. I suggest you also install https://vborg.vbsupport.ru/showthread.php?t=229044 and if you want some mobile detection, this: https://vborg.vbsupport.ru/showthread.php?t=226946

FractalizeR 05-21-2010 06:31 AM

Quote:

Originally Posted by dartho (Post 2040400)
Edit the ForumHome template for teh mobile style, 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>

Have you tried to edit styles? VBulletin throws errors about missing bracket and refuses to save this style. Did I miss something? Also, I think this should be used in style.

NNJJ 05-21-2010 09:30 AM

can we have this by auto mobile?

dartho 05-21-2010 10:21 AM

Quote:

Originally Posted by FractalizeR (Post 2041070)
Have you tried to edit styles? VBulletin throws errors about missing bracket and refuses to save this style. Did I miss something? Also, I think this should be used in style.

I had no issue making the change. Does vBulletin have an issue if you just add a blank line at the end of teh template and save it?

dartho 05-21-2010 10:21 AM

Quote:

Originally Posted by NNJJ (Post 2041188)
can we have this by auto mobile?

I'm sorry - could you re-phrase that, I'm not sure I understand

NNJJ 05-21-2010 12:04 PM

when i visit my site via blackberry its still show the pc style; meaning i have to choose the mobile style
any chance that the mobile style will be default for any one visit website from mobile
user dont need to switch to mobile style it will be dedicated mobile style by auto

FractalizeR 05-21-2010 12:44 PM

Quote:

Originally Posted by dartho (Post 2041214)
I had no issue making the change. Does vBulletin have an issue if you just add a blank line at the end of teh template and save it?

No, I can edit other templates ok. Can you publish a style with this correction applied?


All times are GMT. The time now is 09:14 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.01198 seconds
  • Memory Usage 1,740KB
  • 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
  • (5)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