Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
User's Last XX Threads + Posts in UserCP Details »»
User's Last XX Threads + Posts in UserCP
Version: 1.00, by tnguy3n tnguy3n is offline
Developer Last Online: Sep 2010 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.0.7 Rating:
Released: 04-10-2005 Last Update: Never Installs: 37
 
No support by the author.

Last XX Threads + Posts in UserCP
Author: tnguy3n (Thinh Nguyen)
Support site: http://vbviet.org

Description:
This hack shows user's last X posts + threads in User CP. It's useful for returning users who'r away from the board, and it's give the users a briefing of their posts/threads and where they last discussing.
To change the number of post/thread display in UserCP, replace 5 with your own value in line:
$limit = 5;

Queries: none
File Mod: 1
Template Mod: 1
New template: 4
Installation Time: 4-5 mins

Show Your Support

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

Comments
  #22  
Old 04-21-2005, 10:35 AM
skokarl skokarl is offline
 
Join Date: Apr 2005
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have tested something ....

I have

"WHERE thread.postuserid = $bbuserinfo[userid]
AND thread.visible = 1


deleted ...

and now I thing it's okay.
Reply With Quote
  #23  
Old 04-21-2005, 11:05 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should leave:
PHP Code:
WHERE thread.visible 
Or all deleted posts will also show up.
Reply With Quote
  #24  
Old 04-21-2005, 11:34 AM
skokarl skokarl is offline
 
Join Date: Apr 2005
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

a last question, please..

How can I change the format from Date to Date AND Time ?

This is my dream .... :nervous:
Reply With Quote
  #25  
Old 04-21-2005, 08:15 PM
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Location: U of I, Iowa
Posts: 846
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by skokarl
a last question, please..

How can I change the format from Date to Date AND Time ?


This is my dream .... :nervous:
For example, to add time to lastposts
PHP Code:
$threadtime vbdate($vboptions['timeformat'], $lastpost['threaddate']); 
in lastpostlist postbit, ADD:
HTML Code:
at $threadtime
Reply With Quote
  #26  
Old 04-22-2005, 12:24 PM
lefthome's Avatar
lefthome lefthome is offline
 
Join Date: Feb 2005
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Attempting to install this hack and will click install, if successful.

Followed your instructions and found the first ‘usercp_reputationbits’ and changed that.

FILE MODIFICATION:

OPEN usercp.php (2 changes),

1. FIND:

'usercp_reputationbits'

REPLACE WITH:

'usercp_reputationbits',
'usercp_lastthreads',
'usercp_lastthreadsbit',
'usercp_lastposts',
'usercp_lastpostsbit'

The issue is the second set. This is what I found…Solution?

$reputation['title'] = substr($reputation['title'], 0, 23) . '...';
}
eval('$reputationcommentbits .= "' . fetch_template('usercp_reputationbits') . '";');
$show['reputation'] = true;
Reply With Quote
  #27  
Old 04-22-2005, 12:34 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Only the first in the top of the file.
Reply With Quote
  #28  
Old 04-22-2005, 02:53 PM
folkish folkish is offline
 
Join Date: Nov 2004
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed today, works fine.
Reply With Quote
  #29  
Old 04-23-2005, 02:27 PM
lefthome's Avatar
lefthome lefthome is offline
 
Join Date: Feb 2005
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much MarcoH64.

Installed and works fine. 3.07
Reply With Quote
  #30  
Old 04-24-2005, 01:46 PM
xellos16 xellos16 is offline
 
Join Date: Mar 2005
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having a little problem with my code. How do I save my page as an image so that I can show you want it is looking like?
Reply With Quote
  #31  
Old 04-24-2005, 02:01 PM
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Location: U of I, Iowa
Posts: 846
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you post screenshot of the page pls?
Reply With Quote
Reply

Thread Tools

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 04:34 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.04325 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
  • (1)bbcode_html
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)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
  • (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_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