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 02-08-2010 10:36 PM

I can't see a style selector there?

Gene Steinberg 02-08-2010 11:01 PM

Quote:

Originally Posted by dartho (Post 1977868)
I can't see a style selector there?

The link is supposed to be in the top nav bar. That's how it's configured.

As you see, there is a problem.

Peace,
Gene

dartho 02-08-2010 11:22 PM

I see no problem as I can not see that you have installed any additional styles - how does one select the mobile style on your site? If youy let me know the styleid, that may help

Gene Steinberg 02-08-2010 11:39 PM

Quote:

Originally Posted by dartho (Post 1977901)
I see no problem as I can not see that you have installed any additional styles - how does one select the mobile style on your site? If youy let me know the styleid, that may help

Your Admin panel specifies a default style for mobile and a default for PC. That's what I set. Mobile for the former and the standard one for the latter.

if this is not an automatic process, based on the user agent of the browser, then these steps are not needed or misleading.

I have our modified version of the VB Default Style as 1 and Mobile as 2.

Peace,
Gene

dartho 02-09-2010 01:18 AM

You do not have a means for your users to change styles, without this they can not choose the mobile style.

Gene Steinberg 02-09-2010 01:21 AM

Quote:

Originally Posted by dartho (Post 1977964)
You do not have a means for your users to change styles, without this they can not choose the mobile style.

Clarify. This isn't an automatic process then?

Peace,
Gene

Jackie1 02-09-2010 01:25 AM

please fix bug Out of date templates in 4.0.1

dartho 02-09-2010 01:53 AM

Quote:

Originally Posted by Gene Steinberg (Post 1977966)
Clarify. This isn't an automatic process then?

Peace,
Gene

No, this is just a style. The addon for this style just adds a few customisation options for the style.

However this product - https://vborg.vbsupport.ru/showthread.php?t=226946 - has been reported to work under vBulletin 4 which may help automate the process.

Steelersfan 02-09-2010 11:32 AM

Quote:

Originally Posted by dartho (Post 1977789)
Edit the newreply template and replace

HTML Code:

<textarea name="message" id="{$editorid}_textarea" rows="10" cols="15" style="width:100%; height:100px">{vb:raw newpost.message}</textarea>
with
HTML Code:

<vb:comment><textarea name="message" id="{$editorid}_textarea" rows="10" cols="15" style="width:100%; height:100px">{vb:raw newpost.message}</textarea></vb:comment>

{vb:raw messagearea}



Thanks dartho!

testbot 02-09-2010 04:59 PM

Quote:

Originally Posted by dartho (Post 1977789)
Edit the threadbit template, find:

HTML Code:

<a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw thread.realthreadid}">{vb:raw thread.threadtitle}</a>
and replace with

HTML Code:

<a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_newpost}, 'threadid', 'threadtitle'}" id="thread_gotonew_{vb:raw thread.realthreadid}">{vb:raw thread.threadtitle}</a>


Edit the newreply template and replace

HTML Code:

<textarea name="message" id="{$editorid}_textarea" rows="10" cols="15" style="width:100%; height:100px">{vb:raw newpost.message}</textarea>
with
HTML Code:

<vb:comment><textarea name="message" id="{$editorid}_textarea" rows="10" cols="15" style="width:100%; height:100px">{vb:raw newpost.message}</textarea></vb:comment>

{vb:raw messagearea}


thank you!!!!


All times are GMT. The time now is 12:03 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.03096 seconds
  • Memory Usage 1,750KB
  • 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_html_printable
  • (6)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
  • (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