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)

Hippy 01-03-2012 11:58 PM

@snakes
under Style & Language Settings
your Default Style is set to ?
Default Style for Old Mobile Browsers is set to ? should be none
Default Style for Modern Mobile Browsers is set to ?

in your Forums & Moderators > forum manager >Style Options is set to ?
these may affect the style and over ride things..

CappingTheGame 01-04-2012 12:04 AM

dart,

Any update on adding thread author or how to do it? Would be greatly appreciated. Thanks.

dartho 01-04-2012 12:36 AM

Quote:

Originally Posted by CappingTheGame (Post 2283559)
dart,

Any update on adding thread author or how to do it? Would be greatly appreciated. Thanks.

Edit threadbit template, search for

Code:

<div class="windowbg">
{vb:rawphrase last} {vb:rawphrase post}: {vb:raw thread.lastposter}, {vb:raw thread.lastpostdate}
<vb:if condition="!$show['detailedtime']">{vb:raw thread.lastposttime}</vb:if>

</div>

and replace with

Code:

<div class="windowbg">
<vb:if condition="!$show['detailedtime']">
                                                        {vb:rawphrase started_by_x_y_z_a, {vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw thread.postusername}, {vb:raw thread.startdate}, {vb:raw thread.starttime}, {vb:stylevar dirmark}}
                                                <vb:else />
                                                        {vb:rawphrase started_by_x_y_z, {vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw thread.postusername}, {vb:raw thread.startdate}, {vb:stylevar dirmark}}
                                                </vb:if>
</div>
<div class="windowbg">
{vb:rawphrase last} {vb:rawphrase post}: {vb:raw thread.lastposter}, {vb:raw thread.lastpostdate}
<vb:if condition="!$show['detailedtime']">{vb:raw thread.lastposttime}</vb:if>

</div>


Hippy 01-04-2012 01:01 AM

Quote:

Originally Posted by dartho (Post 2283571)
Edit threadbit template, search for

Code:

<div class="windowbg">
{vb:rawphrase last} {vb:rawphrase post}: {vb:raw thread.lastposter}, {vb:raw thread.lastpostdate}
<vb:if condition="!$show['detailedtime']">{vb:raw thread.lastposttime}</vb:if>

</div>

and replace with

Code:

<div class="windowbg">
<vb:if condition="!$show['detailedtime']">
                                                        {vb:rawphrase started_by_x_y_z_a, {vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw thread.postusername}, {vb:raw thread.startdate}, {vb:raw thread.starttime}, {vb:stylevar dirmark}}
                                                <vb:else />
                                                        {vb:rawphrase started_by_x_y_z, {vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw thread.postusername}, {vb:raw thread.startdate}, {vb:stylevar dirmark}}
                                                </vb:if>
</div>
<div class="windowbg">
{vb:rawphrase last} {vb:rawphrase post}: {vb:raw thread.lastposter}, {vb:raw thread.lastpostdate}
<vb:if condition="!$show['detailedtime']">{vb:raw thread.lastposttime}</vb:if>

</div>


thanks dartho
I tried the code above I am not sure what I did but I ended up editing it to this
look bettter to me any way..
Code:

<div class="windowbg">
<vb:if condition="!$show['detailedtime']">
 {vb:rawphrase started_by_x_y_z_a, {vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw thread.postusername}, {vb:raw thread.startdate}, {vb:raw thread.starttime}, {vb:stylevar dirmark}}
<vb:else />
{vb:rawphrase started_by_x_y_z, {vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw thread.postusername}, {vb:raw thread.startdate}, {vb:stylevar dirmark}}
</vb:if><br />
{vb:rawphrase last} {vb:rawphrase post}: {vb:raw thread.lastposter}, {vb:raw thread.lastpostdate}
<vb:if condition="!$show['detailedtime']">{vb:raw thread.lastposttime}</vb:if>
 
</div>


CappingTheGame 01-04-2012 01:10 AM

Works great...thanks man.

CappingTheGame 01-04-2012 01:16 AM

Real quick, how do I add it to the "New Posts" section also. Right now the thread author is only showing up within each respective forum. If you click New Posts, it still just shows latest poster...

Hippy 01-04-2012 01:26 AM

search_threadbit template do the same thing

CappingTheGame 01-04-2012 01:29 AM

Sorry, could you elaborate? I get doing the same thing, but I already replaced it in the threadbit area. Where do I replace it now?

Thx in advance.

CappingTheGame 01-04-2012 01:32 AM

Nevermind, think I got it. Thanks.

Hippy 01-04-2012 01:34 AM

search_threadbit template
search for
Code:

<div class="windowbg">
{vb:rawphrase last} {vb:rawphrase post}: {vb:raw thread.lastposter}, {vb:raw thread.lastpostdate}
<vb:if condition="!$show['detailedtime']">{vb:raw thread.lastposttime}</vb:if>
</div>

and replace it with
Code:

<div class="windowbg">
<vb:if condition="!$show['detailedtime']">                                                               
                </vb:if>
{vb:rawphrase started_by_x_y_z_a, {vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw thread.postusername}, {vb:raw thread.startdate}, {vb:raw thread.starttime}, {vb:stylevar dirmark}}<br />
{vb:rawphrase last} {vb:rawphrase post}: {vb:raw thread.lastposter}, {vb:raw thread.lastpostdate}

</div>



All times are GMT. The time now is 10:33 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.01641 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
  • (7)bbcode_code_printable
  • (2)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