vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Styles (https://vborg.vbsupport.ru/forumdisplay.php?f=230)
-   -   Mobile, Cell, Phone, PDA, iPhone Style (https://vborg.vbsupport.ru/showthread.php?t=174375)

dartho 08-11-2009 10:18 AM

@Quantnet - You could try editing the navbar template and replacing:
Code:

<if condition="$vbulletin->options['mo37_default_style_link']==1">
<a class="navbar" href="{$vbulletin->options['mo37_navbar_home']}?$session[sessionurl]styleid={$vbulletin->options['mo37_default_style']}">{$vbulletin->options['mo37_default_link']}</a>
</if>

with

Code:

<if condition="$vbulletin->options['mo37_default_style_link']==1">
<a class="navbar" href="{$_SERVER[REQUEST_URI]}&amp;styleid={$vbulletin->options['mo37_default_style']}">{$vbulletin->options['mo37_default_link']}</a>
</if>

There may be some issue I'm not sure of (you *should* in theory clean all server vars before using them, but this *seems* safe (insert wordy disclaimer here) - use at your own risk, if you have knowledge of such this - you input is welcome!

dartho 08-11-2009 10:19 AM

Quote:

Originally Posted by fenderf4i (Post 1863067)
Thank you! That worked very well. I have one final question.

What do I have to change so that when there is a new post in a thread, the thread title is in bold, but NOT in bold after the new post within it is read? The main page behaves this way with the categories-if there's a new post somewhere, the category title will be in bold.

I tried deleting all of the font-weight: bold lines out of the css file, but it didn't have any effect on anything! Thank you!!

try loggin out and then logging back in and seeing if it still remains bold. thx

Quantnet 08-11-2009 11:09 AM

Quote:

Originally Posted by dartho (Post 1865027)
@Quantnet - You could try editing the navbar template and replacing:
Code:

<if condition="$vbulletin->options['mo37_default_style_link']==1">
<a class="navbar" href="{$vbulletin->options['mo37_navbar_home']}?$session[sessionurl]styleid={$vbulletin->options['mo37_default_style']}">{$vbulletin->options['mo37_default_link']}</a>
</if>

with

Code:

<if condition="$vbulletin->options['mo37_default_style_link']==1">
<a class="navbar" href="{$_SERVER[REQUEST_URI]}&amp;styleid={$vbulletin->options['mo37_default_style']}">{$vbulletin->options['mo37_default_link']}</a>
</if>

There may be some issue I'm not sure of (you *should* in theory clean all server vars before using them, but this *seems* safe (insert wordy disclaimer here) - use at your own risk, if you have knowledge of such this - you input is welcome!

This seems to work. I'll def let you know when my users notify me of something wrong ;)
Thanks


Edit: When I keep switching back and forth between the styles, I notice that the styleid var is being added to the site url over and over
?styleid=23&styleid=35&styleid=23&&styleid=35&styl eid=23..................

dartho 08-11-2009 09:59 PM

that doesn't suprise me - not much to do about it with this method (other than to not sit idly changing styles :) ) Should be back to a standard uri as soon as you follow a link

Hornstar 08-11-2009 10:10 PM

dartho, I noticed it has been a year without any updates. Are you planning on doing any updates to this skin? Since I find it is the better of the phone skins available to the public currently.

dartho 08-11-2009 11:21 PM

I've been planning on doing updates, and have made tweaks along the way on my own site - I just need to incorporate these and release a new package for 3.8. There have been no major changes however...

Quantnet 08-12-2009 12:06 AM

Can't wait for the updates, dartho.

One thing in my wishlist would be a way to override the Detect Mobile and Style Assignment mod. I like the idea of giving mobile users the default mobile style but giving them an option to switch back.

Currently your style does not work with with that mod.

The second thing would be the User CP template. Right now, I have to scroll down past the User CP menu item to get to the PM. Somehow the layout is just off.

Quantnet 08-12-2009 01:33 AM

And vb 3.8.4 released today and I have 32 out of date templates found, all from this mobile style ;)

It's a perfect time to release a 3.8.x upgrade, dartho :)

Biker_GA 08-12-2009 10:11 AM

If it bothers you that much, just go in to the xml file and replace the version with 3.8.4.

Quantnet 08-12-2009 12:04 PM

Quote:

Originally Posted by Biker_GA (Post 1865712)
If it bothers you that much, just go in to the xml file and replace the version with 3.8.4.

What were you thinking?
The templates for 3.7.2 are nowhere compatible to 3.8.4. It's not about changing the version letter in the xml


All times are GMT. The time now is 07:26 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.02054 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
  • (3)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