vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   2 column changes I'd like to implement. (https://vborg.vbsupport.ru/showthread.php?t=184089)

Stormer 07-01-2008 03:39 PM

2 column changes I'd like to implement.
 
Firstly, the forum display. I want it to look exactly like this with the last post column displaying only the last post time and who posted with one on top of the other.

http://img353.imageshack.us/img353/2...displayhc1.png

I also want to edit the thread list so it looks exactly like this with the thread starter in its own column and the last post showing only the last post time and who by sitting next to each other. This way all information regarding the thread can sit along one line and reduce the forum height.

http://img61.imageshack.us/img61/629...displayzq6.png

Would be very grateful for any help :)

PaulSonny 07-02-2008 12:45 PM

Hello Stormer,

I've only had time to sort out your first request which is for the forum display. Replace your entire forumhome_lastpostby template which this below. But please first back up your own template incase this is not what you want.

Thanks, Paul.

Code:

<if condition="$show['lastpostinfo']">
<div class="smallfont" align="$stylevar[left]">
        <div>
                <span style="white-space:nowrap">
                <if condition="$show['icon']"><img class="inlineimg" src="$icon[iconpath]" alt="$icon[title]" border="0" /></if>
                <if condition="$lastpostinfo['prefix']">
                        $lastpostinfo[prefix]
                        </span><if condition="is_browser('safari')"><!--bug#24775-->&nbsp;</if>
                        <span style="white-space:nowrap">
                </if>
                </span>
        </div>
<div align="center" style="white-space:nowrap">
                $lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if>
                <a href="showthread.php?$session[sessionurl]p=$lastpostinfo[lastpostid]#post$lastpostinfo[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
        </div>
        <div align="center" style="white-space:nowrap<if condition="is_browser('ie', 6)">; float:$stylevar[middle]</if>">
                <phrase 1="member.php?$session[sessionurl]find=lastposter&amp;f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase>
        </div>
</div>
<else />
<div class="smallfont" align="$stylevar[right]">
        $lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if>
        <a href="showthread.php?$session[sessionurl]p=$lastpostinfo[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
</div>
</if>


Stormer 07-02-2008 12:57 PM

Thanks, that's almost what I wanted. The thread title disappeared but it still shows the post icon. I'd like to remove that too please :)

EDIT - figured out how to remove the icon too now. Had to remove the following code aswell.

Code:

<if condition="$show['icon']"><img class="inlineimg" src="$icon[iconpath]" alt="$icon[title]" border="0" /></if>

Still need a bit of help with the second edit :)

Stormer 07-07-2008 02:00 PM

Anyone :)

Stormer 07-11-2008 08:04 PM

Double bump :cool:


All times are GMT. The time now is 08: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.01192 seconds
  • Memory Usage 1,723KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete