View Full Version : Last XX Threads + Posts In UserCP
tnguy3n
10-14-2005, 10:00 PM
Last XX Threads + Posts in UserCP
Author: tnguy3n (Thinh Nguyen)
Support Site: http://www.vbviet.org
This is port of my Last XX Threads + Posts in UserCP for vb 3.0, which can be found here (https://vborg.vbsupport.ru/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
10-15-2005, 03:47 AM
First install. :) It would be much easier if you could upload it as a zip. ;)
SnowBot
10-15-2005, 06:42 AM
How many querys with this run and how will it perform on a large forum?
SnowBot
10-15-2005, 07:10 AM
forget that, just read the install txt file :) Great work, ta very much
Snake
10-15-2005, 11:42 AM
Nice and installed! :)
tnguy3n
10-15-2005, 12:22 PM
put all files in one zip file.
michaelbenson
10-15-2005, 12:51 PM
Very nice, installed ... added in some <div class="smallfont"> tags to make it look a little more visually appealing. :)
:Judge:
10-15-2005, 09:02 PM
This is very nice, will install tonight.
Thank you :)
dreck
10-16-2005, 03:44 PM
nice...
Thanks, dreck
*install*
Freezerator
10-16-2005, 07:01 PM
Nice one! Should be a standard in vb :p
paulomt1
10-16-2005, 07:31 PM
Thanks for sharing :)
Parture
10-26-2005, 05:09 AM
I created those 4 templates as .php files. Where do I put those those templates?
tnguy3n
10-26-2005, 08:48 PM
I created those 4 templates as .php files. Where do I put those those templates?
in Admin CP, under Styles & Templates category.
noonespecial
11-11-2005, 08:10 AM
Well done, this should be standard in VB. My users were in awe.
TheFocusElf
11-11-2005, 12:18 PM
How does this do in 3.51?
tnguy3n
11-26-2005, 10:15 AM
this should work fine in vb 3.5.1
Bernd Glasstett
12-03-2005, 11:55 AM
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
12-03-2005, 12:15 PM
worked well in 3.5.1 *INSTALLED*
tnguy3n
12-03-2005, 12:18 PM
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
12-03-2005, 03:35 PM
Thank you Sir.
Zachariah
12-04-2005, 04:35 PM
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
12-04-2005, 04:47 PM
sweet, thanks for making it into a product.
Zachariah
12-04-2005, 04:51 PM
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
12-04-2005, 05:21 PM
Thanks to both of you, I like this feature. :)
puertoblack2003
12-04-2005, 05:45 PM
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
12-05-2005, 06:43 AM
wow. how'd I miss this.
GREAT HACK. very very very useful. this should be a standard feature of vbull. :D
* GrendelKhan{TSU clicks install. :D
ShadowOne
12-05-2005, 10:40 AM
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
12-05-2005, 11:58 AM
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
12-06-2005, 10:59 AM
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
12-07-2005, 01:58 AM
Installed on 3.5.2, working perfectly. Thanks!
Mudvayne
12-15-2005, 04:45 PM
same here thnx &
Shuvo clicked Install*
knertified
12-18-2005, 05:03 PM
Excellent plugin! -- Clicked Install.
lefthome
01-13-2006, 01:25 PM
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
01-13-2006, 03:35 PM
If you are sure this was the only hack that edited those templates then please revert the templates.
Install this update:
https://vborg.vbsupport.ru/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
01-13-2006, 07:38 PM
If you are sure this was the only hack that edited those templates then please revert the templates.
Install this update:
https://vborg.vbsupport.ru/showpost.php?p=840039&postcount=22
Is that "update" the same as a clean full install in vB 3.5.3 ?
dieselpowered
01-13-2006, 08:50 PM
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
01-13-2006, 09:41 PM
1st post:
product_last_threadpost_in_usercp.zip
Is the same as post 22
- Both will do new install.
lefthome
01-13-2006, 10:26 PM
If you are sure this was the only hack that edited those templates then please revert the templates.
Install this update:
https://vborg.vbsupport.ru/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
01-17-2006, 06:09 AM
this is the easiest product I have ever installed :)
* The Chief clicks install
Wild Bronco
01-18-2006, 06:55 PM
Your Last XX Threads is not translateable but can be found in templates.
Nice plugin ;)
Installed.
Zachariah
01-18-2006, 07:51 PM
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
08-10-2006, 08:03 PM
works fine with 3.6.0 ;)
noonespecial
08-11-2006, 02:45 AM
No it doesn't. The link for "go to last post" seems to be off.
cunder
08-15-2006, 05:41 PM
works fine with 3.6.0
PoetJA-1975
10-08-2006, 07:15 AM
very nice sharing - Jacquii Clicks INSTALL
Thanx
Jacquii.
criscokid
11-14-2006, 09:17 PM
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?
lazytown
11-28-2006, 08:27 AM
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
01-11-2007, 01:05 PM
Anyone else noticing these problems with 3.6.4?
Does this mod work on vB3.6.4?
akulion
01-29-2007, 03:50 AM
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
01-29-2007, 09:03 PM
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.
aveon
06-16-2007, 04:16 PM
where exactly is the txt file
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.