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

bilgicc 01-05-2010 01:07 PM

Works fine. Thank you. Installed.

LifesGreatestGift 01-05-2010 01:14 PM

Ill. Look into the guest posting bug when I get home :)

LifesGreatestGift 01-05-2010 11:04 PM

Bug has been fixed, and code in initial post has been updated. Please update your code.

https://vborg.vbsupport.ru/external/2010/01/119.jpg

ndut 01-07-2010 10:54 PM

installed. thanks

Beor 01-10-2010 09:53 AM

Hello

Is possible mark the unread post on forum home with bold?

Thanks

Juggernaut 01-10-2010 08:10 PM

Installed, thank you :D

fayax 01-11-2010 02:27 AM

Good mod! Thanks

tekram 01-11-2010 06:53 AM

1 Attachment(s)
Nice for German People i?ve two words include... :)

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.lastpostdateum {vb:raw lastpostinfo.lastposttimeUhr 
<vb:else /> 
    {
vb:rawphrase by_x_guest, {vb:raw lastpostinfo.lastposter}} {vb:raw lastpostinfo.lastpostdateum {vb:raw lastpostinfo.lastposttime
</
vb:if> 

    </
div
     
</
vb:if> 

Look at the Screenshot

Allan 01-21-2010 07:40 AM

Work on 4.0.1 ?

LifesGreatestGift 01-21-2010 08:02 PM

yes

synseal 01-23-2010 04:00 PM

Thanks working fine here on 4.0.1 *installed.

Rob F 01-24-2010 12:03 AM

Nice and simple mod. Does exactly as it says on the tin.

Installed. Thanks! :)

badawidollah 01-24-2010 07:38 AM

installed
my forum look very nice now

but could it show 3 latest thread at forum display?

nikosb 01-25-2010 01:34 PM

thanks

Fifth Dimension 02-25-2010 10:00 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 :
https://vborg.vbsupport.ru/

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

Was there ever a resolution to this comment? Have a similar question myself.

Looked at the link provided, but didn't seem to have the code necessary to make the forum show Threads and Posts in two separate columns.

Great original mod (for changing the look of "last post"), btw TheWindows7Site. Installed it and looks great.

Welshy2008 02-25-2010 10:11 PM

Great Stuff.

But I am running 4.0.2 PL1 and it is included with that.

Thank you very much though.

Fifth Dimension 02-25-2010 10:20 PM

It's included in 4.0.2, Welshy? Whereabouts? Thanks. Am also running 4.0.2.

Welshy2008 02-26-2010 09:46 AM

1 Attachment(s)
Quote:

Originally Posted by Fifth Dimension (Post 1991593)
It's included in 4.0.2, Welshy? Whereabouts? Thanks. Am also running 4.0.2.

In the "forumhome_lastpostby" template, Mate.

The code I have in there is shown below, and I have also attached a couple of screenshots. (one is the forum view and the other is the thread view).

Code:

<vb:if condition="$show['lastpostinfo']">
        <p 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:else />
                {vb:rawphrase by_x_guest, {vb:raw lastpostinfo.lastposter}}
        </vb:if>
        </div>
        <p class="lastpostdate">{vb:raw lastpostinfo.lastpostdate} <vb:if condition="!$show['detailedtime']"><span class="time">{vb:raw lastpostinfo.lastposttime}</span></vb:if></p>
<vb:else />
        <span class="lastpostdate">{vb:raw lastpostinfo.lastpostdate} <vb:if condition="!$show['detailedtime']"><span class="time">{vb:raw lastpostinfo.lastposttime}</span></vb:if></span>
        <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>
</vb:if>


zeroality 03-05-2010 03:16 AM

My forum has staff names in bold so it is making the usernames wide enough to force the post date/time/year to wrap. IE:

by Mediocrity_Incarnate 03-03-
2010 06:13 PM

I tried looking in forumhome to change the width of the forum name/description column but I can't seem to find it. I like this mod and wouldn't mind shortening that column to accomodate this.

Edit: Btw marked as installed after posting so I don't know if that will show.

Markos 03-12-2010 10:31 PM

installed thanks makes it look better :

BoYagoob 03-16-2010 02:40 AM

nice..

zeroality 03-16-2010 05:52 AM

Uninstalled, can't fix what I stated above - just makes it look bad. Might as well stick with the line break, at least it looks neat.

ckmom12673 03-16-2010 11:07 AM

well I installed it and now my forum is broken!! It looks like a giant white screen with just words...lost all my theme prettyness!!

Halp~

http://www.scrapable.net

sticky 03-27-2010 01:01 PM

Does this work with 4.0.2?

YankForum 03-27-2010 01:29 PM

y in live demo it's not showing this mod ?

jahna 04-14-2010 06:30 AM

1 Attachment(s)
Installed this but when I look at it now I miss a space between the name of the writer and the post date:

Can anyone help?

trackpads 04-23-2010 01:30 AM

Nice, thanks!

ZEHH 04-23-2010 05:57 AM

Installed and fully functional.

GamerPerfection 05-21-2010 08:40 AM

Thanks, installed. :)

ndut 05-25-2010 11:59 PM

thank you


All times are GMT. The time now is 05: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.01498 seconds
  • Memory Usage 1,843KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (7)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
  • (40)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