View Full Version : Last XX Threads + Posts In UserCP
tnguy3n
15 Oct 2005, 04:29
Last XX Threads + Posts in UserCP
Author: tnguy3n (Thinh Nguyen)
Support Site: http://www.++++++.org
This is port of my Last XX Threads + Posts in UserCP for vb 3.0, which can be found here (http://www.vbulletin.org/forum/showthread.php?s=&threadid=79759)
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 with their posts/threads and where they last discussing.
To change the number of post/thread display in UserCP, open Lastest Thread + Posts in UserCP plugin, and replace 5 with your own value in line:
$limit = 5;
Queries: none
Plugins: 2
Template Mod: 1
New template: 4
Installation Time: 4-5 mins
Xplorer4x4
15 Oct 2005, 04:47
First install. :) It would be much easier if you could upload it as a zip. ;)
SnowBot
15 Oct 2005, 07:42
How many querys with this run and how will it perform on a large forum?
SnowBot
15 Oct 2005, 08:10
forget that, just read the install txt file :) Great work, ta very much
tnguy3n
15 Oct 2005, 13:22
put all files in one zip file.
michaelbenson
15 Oct 2005, 13:51
Very nice, installed ... added in some <div class="smallfont"> tags to make it look a little more visually appealing. :)
:Judge:
15 Oct 2005, 22:02
This is very nice, will install tonight.
Thank you :)
nice...
Thanks, dreck
*install*
Freezerator
16 Oct 2005, 20:01
Nice one! Should be a standard in vb :p
paulomt1
16 Oct 2005, 20:31
Thanks for sharing :)
Parture
26 Oct 2005, 06:09
I created those 4 templates as .php files. Where do I put those those templates?
tnguy3n
26 Oct 2005, 21:48
I created those 4 templates as .php files. Where do I put those those templates?
in Admin CP, under Styles & Templates category.
noonespecial
11 Nov 2005, 09:10
Well done, this should be standard in VB. My users were in awe.
TheFocusElf
11 Nov 2005, 13:18
How does this do in 3.51?
tnguy3n
26 Nov 2005, 11:15
this should work fine in vb 3.5.1
Bernd Glasstett
03 Dec 2005, 12:55
Installed, but just one BIG question:
Could you please make it compatible with phrases. It's just annoying, that many hack-authors don't use them. If you are running a forum with more than one language the amount of work you have to invest in installing the hacks is just too huge.
puertoblack2003
03 Dec 2005, 13:15
worked well in 3.5.1 *INSTALLED*
tnguy3n
03 Dec 2005, 13:18
Installed, but just one BIG question:
Could you please make it compatible with phrases. It's just annoying, that many hack-authors don't use them. If you are running a forum with more than one language the amount of work you have to invest in installing the hacks is just too huge.
sure, will fix that when I got time.
How does this do in 3.51?
Works well .. installed with no problems :)
Clicked install
Zachariah
03 Dec 2005, 16:35
Thank you Sir.
Zachariah
04 Dec 2005, 17:35
tnguy3n,
Thank you for your time and energy for this hack.
- Here is an update I did to it.
cheers
// Changelog
- XML product -
5 Templates
11 phrases
- Added: "usercp_lastaddin" template to kill the need for "USERCP" template edit.
- Edited: usercp_lastthreadbit and usercp_lastpostbit and added <center> tags around $replies and $views.
- Added: AdminCP now has control of the $limit settings.
AdminCP => vBulletin Options => User Profile Options => Last XX Threads + Posts in UserCP. (image below)
Upgrade:
- Uninstall the 2 plugins
- remove the USERCP template edit
- revert templates made
- Import new product in AdminCP
tnguy3n
04 Dec 2005, 17:47
sweet, thanks for making it into a product.
Zachariah
04 Dec 2005, 17:51
sweet, thanks for making it into a product.
Not a problem, Sir.
I was worken on adding admin help "?" image w/ info on the hack, but ran out of time.
BTW: This hack adds 2 queries to the UserCP
- Idea:
add in the AdminCP choice to turn off and on threads or post.
(that way forum owner can choose to show only one.)
icemann
04 Dec 2005, 18:21
Thanks to both of you, I like this feature. :)
puertoblack2003
04 Dec 2005, 18:45
tnguy3n,
Thank you for your time and energy for this hack.
- Here is an update I did to it.
cheers
// Changelog
- XML product -
5 Templates
11 phrases
- Added: "usercp_lastaddin" template to kill the need for "USERCP" template edit.
- Edited: usercp_lastthreadbit and usercp_lastpostbit and added <center> tags around $replies and $views.
- Added: AdminCP now has control of the $limit settings.
AdminCP => vBulletin Options => User Profile Options => Last XX Threads + Posts in UserCP. (image below)
Upgrade:
- Uninstall the 2 plugins
- remove the USERCP template edit
- revert templates made
- Import new product in AdminCP
thank you both just updated no problems to report :rolleyes:
GrendelKhan{TSU
05 Dec 2005, 07:43
wow. how'd I miss this.
GREAT HACK. very very very useful. this should be a standard feature of vbull. :D
/me clicks install. :D
ShadowOne
05 Dec 2005, 11:40
works great, thnx!
think you can add like a list for like where your username is said and in what last 5 posts or whatever?
Zachariah
05 Dec 2005, 12:58
works great, thnx!
think you can add like a list for like where your username is said and in what last 5 posts or whatever?
I need a little more info on what you mean. A public ver of this in the profile ?
IE: member.php?=1 ?
indiamike
06 Dec 2005, 11:59
This one like the other one seem to function kinda funky on 3.5.1. Funky in the way that it's not that accurate, or is this by design?
In the 'Your Last 5 Posts' if you post a reply to a thread it doesn't show up there unless someone makes a follow up reply to it. Is that by default?
At least that the ways it shows up on my version.
Anyone else have it showing like this?
Mike
vtx1800
07 Dec 2005, 02:58
Installed on 3.5.2, working perfectly. Thanks!
Mudvayne
15 Dec 2005, 17:45
same here thnx &
Shuvo clicked Install*
knertified
18 Dec 2005, 18:03
Excellent plugin! -- Clicked Install.
lefthome
13 Jan 2006, 14:25
In version 3.5.3 the system is telling me to revert back the hacks in the templates
usercp_lastposts; usercp_lastpostsbit; usercp_lastthreads and usercp_lastthreadsbit
The templates shown on this page have been updated in the default template set since you customized them.
It may be necessary for you to revert the custom templates, or otherwise check that they fully support vBulletin 3.5.3. If you do not do this, some sections of vBulletin may not function!
I uninstalled and reinstalled but same message in 3.5.3.
Zachariah
13 Jan 2006, 16:35
If you are sure this was the only hack that edited those templates then please revert the templates.
Install this update:
http://www.vbulletin.org/forum/showpost.php?p=840039&postcount=22
In version 3.5.3 the system is telling me to revert back the hacks in the templates
usercp_lastposts; usercp_lastpostsbit; usercp_lastthreads and usercp_lastthreadsbit
The templates shown on this page have been updated in the default template set since you customized them.
It may be necessary for you to revert the custom templates, or otherwise check that they fully support vBulletin 3.5.3. If you do not do this, some sections of vBulletin may not function!
I uninstalled and reinstalled but same message in 3.5.3.
PIKenPIK
13 Jan 2006, 20:38
If you are sure this was the only hack that edited those templates then please revert the templates.
Install this update:
http://www.vbulletin.org/forum/showpost.php?p=840039&postcount=22
Is that "update" the same as a clean full install in vB 3.5.3 ?
dieselpowered
13 Jan 2006, 21:50
So what xml file are we to import? There are two listed. I imported the product-user_last.xml and it is seems to be working alright. What is the other for?
Zachariah
13 Jan 2006, 22:41
1st post:
product_last_threadpost_in_usercp.zip
Is the same as post 22
- Both will do new install.
lefthome
13 Jan 2006, 23:26
If you are sure this was the only hack that edited those templates then please revert the templates.
Install this update:
http://www.vbulletin.org/forum/showpost.php?p=840039&postcount=22
No doubt about it since I viewed each one before I took them out and the system showed me the changes and it was this hack. Glad something has been done because my members love this hack and want it back!
*Edit * I was going ask before or after i reinstall but i read your post...thanks!
The Chief
17 Jan 2006, 07:09
this is the easiest product I have ever installed :)
/me clicks install
Your Last XX Threads is not translateable but can be found in templates.
Nice plugin ;)
Installed.
Zachariah
18 Jan 2006, 20:51
Your Last XX Threads is not translateable but can be found in templates.
Nice plugin ;)
Installed.
Phrases
- Will be in next patch.
Thanks for the info.
EvilHawk
10 Aug 2006, 21:03
works fine with 3.6.0 ;)
noonespecial
11 Aug 2006, 03:45
No it doesn't. The link for "go to last post" seems to be off.
PoetJA-1975
08 Oct 2006, 08:15
very nice sharing - Jacquii Clicks INSTALL
Thanx
Jacquii.
criscokid
14 Nov 2006, 22:17
I've seen this mod on a site where if you viewed the profile page for User ABC you were shown the last x threads they'd started in one column and the last x threads they'd contributed to in another column.
Is there any possibility that this mod could be adapted to do the same thing on a vB forum?
I had this for 3.5 and when I upgraded to 3.6.4, this is showing some strange problems. The dates of the latest 5 threads is wrong (too recent), the order is wrong, and at least one thread is not one of the latest 5. The number of replies is also incorrect.
Anyone else noticing these problems with 3.6.4?
(this is referring to Zachariah's version in post #22)
-vissa
criscokid
11 Jan 2007, 14:05
Anyone else noticing these problems with 3.6.4?
Does this mod work on vB3.6.4?
akulion
29 Jan 2007, 04:50
Thanks for this, ive been looking for it for days now!
Works perfectly in 3.6.4
for people using 3.6.4 install the 2nd package entitled 'product last threadpost in usercp.zip '
thincom2000
29 Jan 2007, 22:03
I've seen this mod on a site where if you viewed the profile page for User ABC you were shown the last x threads they'd started in one column and the last x threads they'd contributed to in another column.
Is there any possibility that this mod could be adapted to do the same thing on a vB forum?
Yes, there is. You can do it by copying the same plugins with memberinfo hooks, and just changing the $vbulletin->userinfo stuff to $user or whatever the var is on memberinfo. I plan to adapt this mod similarly in my own forum without adding any queries (I believe this currently adds 2).
Unfortunately vBulletin is currently written such that one most likely has to make file edits if you want to do query joins but pre-process the data before the while ($db->fetch_array) loop.
where exactly is the txt file
vBulletin® v3.6.12, Copyright ©2000-2013, Jelsoft Enterprises Ltd.