vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Last XX Threads + Posts In UserCP (https://vborg.vbsupport.ru/showthread.php?t=98442)

tnguy3n 10-14-2005 10:00 PM

Last XX Threads + Posts In UserCP
 
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

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

Quote:

Originally Posted by Parture
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

Quote:

Originally Posted by Bernd Glasstett
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.

TTG 12-03-2005 12:27 PM

Quote:

Originally Posted by TheFocusElf
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

Quote:

Originally Posted by tnguy3n
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

Quote:

Originally Posted by Zachariah
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

[high]* GrendelKhan{TSU clicks install. :D[/high]

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

Quote:

Originally Posted by ShadowOne
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....9&postcount=22


Quote:

Originally Posted by lefthome
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

Quote:

Originally Posted by Zachariah
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....9&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

Quote:

Originally Posted by Zachariah
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....9&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 :)

[high]* The Chief clicks install[/high]


All times are GMT. The time now is 07:38 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.01378 seconds
  • Memory Usage 1,813KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete