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
vB3 Style - "Last Posts" Modification (v1.2a) Details »»
vB3 Style - "Last Posts" Modification (v1.2a)
Version: 1.00, by Krakken Krakken is offline
Developer Last Online: Dec 2007 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 01-14-2003 Last Update: Never Installs: 77
 
No support by the author.

vBulletin Hack: vB3 Style - "Last Posts" Modification.
Version: 1.2a

Designed and Coded by: Krakken
Copyright ? 2003


This hack will change the "Last Post" section on your Forum Homepage to a style similar to vBulletin 3.0.
It will show the last active thread someone posted and it's current icon in on the forum homepage in the place of the date and time. The date is completely removed in this version and the time is placed underneath the thread title next to the name of the last person to post in that thread.

Example:


Working Demo:
http://www.randomrubbish.net/bulletin

Files to Edit: "index.php" "forumdisplay.php" (x2)
Templates to Edit: "forumhome_lastpostby" (x1)

Current Releases:
v1.2a - Added a fix so the thread shows in the category view as well.
v1.1a - The script now only uses two querys (one for thread and one for thread icon) to display for all forums. Also, thread icons can now be seen next to thread title.
v1.0a - Changes "Last Post" template and adds last active thread view to forum home.

If you like this hack please click INSTALL. Thanks.

Show Your Support

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

Comments
  #32  
Old 03-30-2003, 07:14 PM
Fenriz Fenriz is offline
 
Join Date: Aug 2002
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why "Show a default icon" is totally desabled in this hack? I enabled it in Control Panel, but no effect.. Please, correct it.
------------------
Show a default icon if a user doesn't choose a message icon or is unable to choose one based on forum settings? {imagesfolder}/icons/icon1.gif will be used
Reply With Quote
  #33  
Old 04-23-2003, 02:40 AM
theXME theXME is offline
 
Join Date: Jan 2003
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A very great Hack I installed it, but i had a problem (vB 2.2.9). I could find the problem and now the hack works fine *hehe*
I can't explain the problem in english, but i will try it.
You must delete the spaces on the left of the code.
For ex:
// Wrong:
Code:
   if {
// Right:
Code:
if {
Sorry for my bad english, but i'm german (15)
Reply With Quote
  #34  
Old 04-23-2003, 03:17 AM
Airs's Avatar
Airs Airs is offline
 
Join Date: Oct 2002
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to remove the time and put there "By" instead? thnx in advance!
Reply With Quote
  #35  
Old 04-23-2003, 04:23 AM
theXME theXME is offline
 
Join Date: Jan 2003
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's simple.

Replace this
Code:
<font color="{timecolor}">$forum[lastposttime]</font>
with this
Code:
by
I hope you meaned that.
Reply With Quote
  #36  
Old 04-23-2003, 04:52 AM
Airs's Avatar
Airs Airs is offline
 
Join Date: Oct 2002
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 05:23 AM theXME said this in Post #34
That's simple.

Replace this
Code:
<font color="#FF9C58">$forum[lastposttime]</font>
with this
Code:
by
I hope you meaned that.
i cant seem to find
PHP Code:
<font color="#FF9C58">$forum[lastposttime]</font
anywhere? oO
Reply With Quote
  #37  
Old 04-23-2003, 05:19 AM
theXME theXME is offline
 
Join Date: Jan 2003
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ohh, the Forum replaced it
Code:
<font color="{/timecolor/}">$forum[lastposttime]</font>
But without the '/' at timecolor.
Reply With Quote
  #38  
Old 04-23-2003, 04:32 PM
Krakken Krakken is offline
 
Join Date: Feb 2002
Location: Staffs, England Quote: "Free Your Soul..." Looks: Amazingly Sechsy Popularity: 10,000%
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for everyones comments. Unfortunately I cannot provide support for this hack anymore because my server ran out and I am not intending on re-installing my forums until I can get a graphics person. This looks like it will probably take a while. Sorry to anyone who I said I would help and haven't. I may be able to pick up this project again and make a v2 for you all with a nice menu etc. in the future sometime.

theXME: Strange. That shouldn't make any difference seeing as PHP ignores whitespaces.
Reply With Quote
  #39  
Old 04-28-2003, 09:43 PM
Tungsten's Avatar
Tungsten Tungsten is offline
 
Join Date: Jan 2002
Location: Nashville, TN
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What's the thread ID for PPN's hack?
Reply With Quote
  #40  
Old 04-28-2003, 09:50 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check his profile.
Reply With Quote
  #41  
Old 04-29-2003, 01:36 AM
Tungsten's Avatar
Tungsten Tungsten is offline
 
Join Date: Jan 2002
Location: Nashville, TN
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 05:50 PM Boofo said this in Post #39
Check his profile.
Tried that. He's no longer listed as PPN, ostensibly because he has changed his user name. I guess I should know what he changed it to, but I've been lax at keeping up with such things.
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 10: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.02988 seconds
  • Memory Usage 2,312KB
  • Queries Executed 27 (?)
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
  • (7)bbcode_code
  • (1)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
  • (4)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
  • (11)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_postinfo_query
  • fetch_postinfo
  • 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