vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Forum Home Enhancements - TW7S - Change the look of "Last Post" by (https://vborg.vbsupport.ru/showthread.php?t=231919)

LifesGreatestGift 01-01-2010 10:00 PM

TW7S - Change the look of "Last Post" by
 
1 Attachment(s)
Before
https://vborg.vbsupport.ru/external/2010/01/74.png

After
https://vborg.vbsupport.ru/external/2010/01/75.png

Click Here for Live Preview.

Instructions:

Open template forumhome_lastpostby

Replace All With:
PHP Code:

<vb:if condition="$show['lastpostinfo']">
    <
class="lastposttitle">
    <
vb:if condition="$show['icon']"><img src="{vb:raw icon.iconpath}" alt="{vb:raw icon.title}" border="0" /></vb:if>
    <
vb:if condition="$lastpostinfo['prefix']">{vb:raw lastpostinfo.prefix}</vb:if>
    <
a href="{vb:link thread, {vb:raw threadinfo}, {vb:raw pageinfo_newpost}}#post{vb:raw lastpostinfo.lastpostid}" class="threadtitle" title="{vb:rawphrase go_first_unread_in_thread_x, {vb:raw lastpostinfo.lastthread}}">{vb:raw lastpostinfo.trimthread}</a>
    <
a href="{vb:link thread, {vb:raw threadinfo}, {vb:raw pageinfo_newpost}}#post{vb:raw lastpostinfo.lastpostid}"><img src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.png" alt="{vb:rawphrase go_to_last_post}" /></a>
    </
p>
    

<
div class="lastpostby">
    <
vb:if condition="$lastpostinfo['lastposterid']">
        {
vb:rawphrase by_x_memberaction, {vb:raw memberaction_dropdown}}{vb:raw lastpostinfo.lastpostdate} {vb:raw lastpostinfo.lastposttime}
<
vb:else />
    {
vb:rawphrase by_x_guest, {vb:raw lastpostinfo.lastposter}} {vb:raw lastpostinfo.lastpostdate} {vb:raw lastpostinfo.lastposttime}
</
vb:if>

    </
div>
    
</
vb:if> 


Version History
v1.0.0 Initial Release
v1.0.1 Guest post bug fixed

To reset back to default just revert the template :)

Enjoy!

YouBabble 01-02-2010 12:45 PM

Nice and simple edit. It makes the forum look better, installed.

pozo 01-02-2010 02:55 PM

Nice, I'll try it! :up:

abualk 01-02-2010 07:14 PM

What about if I want to do this change in another style? "Not the default style"

Thanke you very much and I hope to find a method to change the look of this :
https://vborg.vbsupport.ru/

by this :
https://vborg.vbsupport.ru/

LifesGreatestGift 01-02-2010 07:58 PM

Quote:

Originally Posted by abualk (Post 1945240)
What about if I want to do this change in another style? "Not the default style"

Thanke you very much and I hope to find a method to change the look of this :

I think this is a real primitive version of what you're looking for.

http://www.thewindows7site.com/forum...php?styleid=49

Just a real quick code edit.

Dr.osamA 01-03-2010 03:03 AM

installed

thanxx
________
Vaporizer wiki

Koconem 01-03-2010 03:21 AM

Thanks ^^!

movslow 01-03-2010 05:11 AM

No worky for me...made everything seem "off".

W/o taking a screenshot it's hard to explain.

LifesGreatestGift 01-03-2010 10:44 AM

Quote:

Originally Posted by movslow (Post 1945635)
No worky for me...made everything seem "off".

W/o taking a screenshot it's hard to explain.

Link or PM me your site URL or take a screenshot so we can see whats going on.

Skyrider 01-05-2010 07:32 AM

I think I found a bug, is this normal?

Quote:

by Unregistered 01-03-2010 07:31 PM 01-03-2010 07:31 PM
Registered members shows up fine, just the guest posts shows up weird.

Reverting back shows:

Quote:

by Unregistered
01-03-2010 07:31 PM
I adjusted the date settings, so it's easier for you.. This is how it shows on the front page on our Guest Section:

Quote:

Struggle bar problem:
January 3rd 07:31 PM (Go to last post) by Unregistered January 3rd 07:31 PM January 3rd 07:31 PM (Go to last post)
I think you'll see guest posts are bugged. Here's a better example:
http://img34.imageshack.us/img34/5241/guestsection.jpg


All times are GMT. The time now is 11:29 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.01191 seconds
  • Memory Usage 1,755KB
  • 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
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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