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)

Bounce 03-05-2012 07:33 PM

Quote:

Originally Posted by dartho (Post 2305527)
Where did you want the PM button - next to the edit, reply buttons on postbit?

yes please :up:

I'm also having problems with a blue text that I haveon the usernames and forum titles, i've had a look in the css but cant see anything :(

Crotan 03-05-2012 11:03 PM

Thank you for providing this lightweight style, and keeping it supported. Vbulletin should of had their "premium" mobile style available to license holders well before 4.1.11

For the time being that's what I'm using because of how it handles cms articles, where as this style doesn't.

dartho 03-06-2012 12:01 AM

Quote:

Originally Posted by Bounce (Post 2306517)
yes please :up:

I'm also having problems with a blue text that I haveon the usernames and forum titles, i've had a look in the css but cant see anything :(

re: blue text - try edit the CSS file, search for:
Code:

.forumold a,.forumnew a,.forumlink a
and replace with
Code:

.forumold a,.forumnew a,.forumlink a,.forumold_lock a, .forumnew_lock a
as for the PM button, I'm havbing issues getting the PM recipient to be recognised - I'll have a look and get back to you

sportsfroma2 03-06-2012 03:23 AM

I just upgraded from vb 4.1.10 to 4.1.11, lightweight style is still running great in it... Although I wasn't exactly just how to handle the template merge issues (I reverted a couple, then I figured I shouldn't have done that), so I just reinstalled the style to make the warnings go away, lol

dartho 03-06-2012 09:38 AM

That's one way of doing it. From the FAQ on post #2

Code:

Q. How do I get rid of all those template out of date messages in control panel home?
A. You could edit and save each one without actually making changes or you could run the following query on your database:

UPDATE template SET version = '4.1.9', mergestatus = 'none' WHERE styleid=XX;

change XX to the styleid number of the mobile style and 4.1.9 to whatever the version number currently is.


Bounce 03-06-2012 03:22 PM

Quote:

Originally Posted by dartho (Post 2306610)
re: blue text - try edit the CSS file, search for:
Code:

.forumold a,.forumnew a,.forumlink a
and replace with
Code:

.forumold a,.forumnew a,.forumlink a,.forumold_lock a, .forumnew_lock a
as for the PM button, I'm havbing issues getting the PM recipient to be recognised - I'll have a look and get back to you

Thanks will try that when I get in and thanks if you could, I have a piece of code from another add on that I have on the style but it doesn't look right and isn't like a button!

Posted from my moby phone





:D

Hippy 03-07-2012 01:17 AM

dartho how can last activity be added to whos online
thnaks

dartho 03-07-2012 06:50 AM

Isn;tthat already there? Here's my whosonlinebit template

Code:

<div>
  <span><vb:if condition="$show['loggedinuser']">
      <a href="{vb:link member, {vb:raw userinfo}}">{vb:raw userinfo.musername}</a>{vb:raw userinfo.hidden}<vb:if condition="$show['buddy']">+</vb:if>
      <vb:else />
      <vb:if condition="$show['spider']">{vb:raw spidertype}<vb:else />{vb:raw userinfo.musername}</vb:if>
  </vb:if></span>&raquo;
  <span>
  {vb:raw userinfo.action}
    <vb:if condition="$show['where']">
        {vb:raw userinfo.where}
    </vb:if>
  </span> &raquo;
        <vb:if condition="$show['ip']">
        <span>
        {vb:raw userinfo.host}
        </span>
        </vb:if>
</div>


Hippy 03-08-2012 04:09 AM

last activity meaning the time.. not the place ..
my template must of been from a older version..
but it did the same thing..
but with your still no time.

Code:

<vb:comment>
<vb:if condition="exec_switch_bg()"></vb:if>
<div>
<vb:if condition="$show['spider']">{vb:raw spidertype}
<vb:else />
{vb:raw userinfo.musername}
</vb:if>
&nbsp;-&nbsp;{vb:raw userinfo.action}
</div>
</vb:comment>
<div>
  <span><vb:if condition="$show['loggedinuser']">
      <a href="{vb:link member, {vb:raw userinfo}}">{vb:raw userinfo.musername}</a>{vb:raw userinfo.hidden}<vb:if condition="$show['buddy']">+</vb:if>
      <vb:else />
      <vb:if condition="$show['spider']">{vb:raw spidertype}<vb:else />{vb:raw userinfo.musername}</vb:if>
  </vb:if></span>&raquo;
  <span>
  {vb:raw userinfo.action}
    <vb:if condition="$show['where']">
        {vb:raw userinfo.where}
    </vb:if>
  </span> &raquo;
        <vb:if condition="$show['ip']">
        <span>
        {vb:raw userinfo.host}
        </span>
        </vb:if>
</div>


dartho 03-08-2012 09:18 AM

Slip the following in there somewhere

Code:

&raquo; <span>{vb:raw userinfo.time}</span>
Maybe immediately after
Code:

<span><vb:if condition="$show['loggedinuser']">
      <a href="{vb:link member, {vb:raw userinfo}}">{vb:raw userinfo.musername}</a>{vb:raw userinfo.hidden}<vb:if condition="$show['buddy']">+</vb:if>
      <vb:else />
      <vb:if condition="$show['spider']">{vb:raw spidertype}<vb:else />{vb:raw userinfo.musername}</vb:if>
  </vb:if></span>



All times are GMT. The time now is 04:50 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.01781 seconds
  • Memory Usage 1,751KB
  • 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
  • (9)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