Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by nuno nuno is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 05-25-2001 Last Update: Never Installs: 8
 
No support by the author.

Inspired in wluke's hack:

open forumdisplay.php

find code:

$threads=$DB_site->query("
SELECT $dotuserid $votequery ".iif($foruminfo[allowicons],'icon.title as icontitle,icon.iconpath,','')."
thread.threadid,thread.title,lastpost, forumid,pollid,open,replycount,postusername,postus erid,
lastposter,thread.dateline,

replace it with:

$threads=$DB_site->query("
SELECT $dotuserid $votequery ".iif($foruminfo[allowicons],'icon.title as icontitle,icon.iconpath,','')."
thread.threadid,thread.title,lastpost, forumid,pollid,open,replycount,postusername,postus erid,
lastposter,thread.dateline AS threadstart,

find code:(2x)

$thread[lastreplydate]=vbdate($dateformat,$thread[lastpost]);
$thread[lastreplytime]=vbdate($timeformat,$thread[lastpost]);

insert after it:

$thread[threadstartdate]=vbdate($dateformat,$thread[threadstart]);
$thread[threadstarttime]=vbdate($timeformat,$thread[threadstart]);

save and close forumdisplay.php

edit forumdisplaybit template

find:

<td bgcolor="{secondaltcolor}" width="30%" nowrap><normalfont>$thread[postedby]

replace it with:

<td bgcolor="{secondaltcolor}" width="30%" nowrap><smallfont>$thread[threadstartdate] <font color="{timecolor}">$thread[threadstarttime]</font><br> by $thread[postedby]</smallfont></td>

save it

done

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 06-03-2001, 05:36 PM
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Location: Glen Burnie, MD, USA
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ethank, that's not the case with my board. Which version of the hack did you use, mine or nuno's?
Reply With Quote
  #13  
Old 06-03-2001, 10:33 PM
zarkov's Avatar
zarkov zarkov is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ethank, the thread starter was already "underlined" without this hack and the last post members name wasnt.

It has nothing to do with the hack m8, Although i cant see where the underline is comming from
Reply With Quote
  #14  
Old 06-04-2001, 01:37 AM
west
Guest
 
Posts: n/a
Default

thanks a lot /\/uno !!!

it was very simple and it works great and now my members

are very pleased...

Reply With Quote
  #15  
Old 10-03-2001, 02:37 PM
hacker
Guest
 
Posts: n/a
Default

Quote:
Originally posted by Zarkov
ethank, the thread starter was already "underlined" without this hack and the last post members name wasnt.

It has nothing to do with the hack m8, Although i cant see where the underline is comming from
I applied the hack, but the color of the time is not the same as in Last Post.
Reply With Quote
  #16  
Old 10-03-2001, 11:26 PM
almighty one
Guest
 
Posts: n/a
Default

just my opinion but wouldnt it look better if it had the posters name then the date and time? maybe it is easy to do i havent even tried to install it maybe ill do this and have the name appeare above time thanx for hack
Reply With Quote
  #17  
Old 10-04-2001, 03:09 AM
hacker
Guest
 
Posts: n/a
Default

While looks are subjective, I prefer a consistent look with the Last Post, inlcuding no undeline and red time in Thread Starter. Anyone know how to change them?

Thanks in advance.
Reply With Quote
  #18  
Old 10-04-2001, 03:12 AM
YourHostSucks
Guest
 
Posts: n/a
Default

Seems how we just launch the site last week, this is a nice feature I never thought of..

Thanks! Worked Great JJR...

almighty one, just re arrange stuff in "forumdisplaybit" template...

EX: http://forums.yourhostsucks.com/foru...php?&forumid=5

I removed by: and align=center.. not sure if I like it yet...
But the name on top is the way to go... *I think*


If you would like the name on the front (last post) to be on top..

That is in "forumhome_lastpostby" template..

http://www.yourhostsucks.com
Reply With Quote
  #19  
Old 10-04-2001, 03:15 AM
YourHostSucks
Guest
 
Posts: n/a
Default

Quote:
Originally posted by hacker
While looks are subjective, I prefer a consistent look with the Last Post, inlcuding no undeline and red time in Thread Starter. Anyone know how to change them?

Thanks in advance.
You want to remove the link to last poster profile,
and the post time?
Reply With Quote
  #20  
Old 10-04-2001, 03:23 AM
hacker
Guest
 
Posts: n/a
Default

No, I want the Thread Starter to look similar to Last Post, that is, the user name is not underlined and the time stamp is in red because the time stamp is also in read in Last Post.
Reply With Quote
  #21  
Old 10-04-2001, 03:59 AM
YourHostSucks
Guest
 
Posts: n/a
Default

In "forumdisplaybit" template :

PHP Code:
$thread[firstpostdate$thread[firstposttime
Replace with:

PHP Code:
$thread[firstpostdate] <font color="{ timecolor }">$thread[firstposttime]</font
Note: Take the spaces out from around "timecolor"

Then I just got vBulletin a week or so ago.. So I am not sure why those links look different.. but you can remove the line by editing
forumdisplay.php

Around line 598 or so:

Find:
PHP Code:
      $thread['postedby'] = "<a href=\"member.php?action=getinfo&userid=$thread[postuserid]\">$thread[postusername]</a>"
Replace with:
PHP Code:
      $thread['postedby'] = "<a href=\"member.php?action=getinfo&userid=$thread[postuserid]\" style=\"text-decoration: none\">$thread[postusername]</a>"

...


If someone knows the proper "vBulletin" way to remove the line.. please post so..
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:42 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.11210 seconds
  • Memory Usage 2,296KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete