vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Profile Enhancements - Userlog on profile - Display namechanges,bans and email changes (https://vborg.vbsupport.ru/showthread.php?t=176655)

Bounce 04-29-2008 10:54 PM

Very nice , thanks :up:

Bounce 04-29-2008 10:55 PM

Quote:

Originally Posted by Noonster (Post 1502621)
Does not seem to be showing on 3.7.0 Gold??

I found it at the end of someone's profile you will see >> and a drop down appears on mine with the info in there :up:

It only show's if a username has been altered so will not show on all profiles

nexialys 04-30-2008 12:11 AM

good idea for a block ... i was to write my own this week-end, so you make me a gift here.. lol

though, i will suggest that instead of multiple queries you simply use one that read the whole table for that user, and cache the results sorted by fieldname AND dateline, so you just have to use the fieldname you want...

you could even add the same elements listed when you read the editlog in the admincp... i'm going to do that myself, because most of my staff prefer to read these infos in the profile because they can't read the editlog...

zappsan 05-18-2008 10:11 PM

Quote:

Originally Posted by Boofo (Post 1502688)
Can the email change with date and time be added to this? Currently I use the Save User's Email Address hack that I made, but it would be great to incorporate that into this.

Email changes get lgged too? I'll take a look at it.
Quote:

Originally Posted by ecihanuysal (Post 1502768)
well, i installed this but how can i remove or delete the logs from the user's profile page??

Well, it's same info which is displayed in the adminCP, I didn't see an option to delete logs there though.
Quote:

Originally Posted by nexialys (Post 1502862)
good idea for a block ... i was to write my own this week-end, so you make me a gift here.. lol

though, i will suggest that instead of multiple queries you simply use one that read the whole table for that user, and cache the results sorted by fieldname AND dateline, so you just have to use the fieldname you want...

you could even add the same elements listed when you read the editlog in the admincp... i'm going to do that myself, because most of my staff prefer to read these infos in the profile because they can't read the editlog...

I'll try to work out the query thing, I still need to gain more experience at this kind of stuff :)

Majest 05-21-2008 09:04 AM

Makes life much easier, thank you very much.

Kentaurus 06-01-2008 01:17 AM

Thanks. Nice hack.

Some comments:

Instead of
$userid=intval($_GET[u]);
You should use:
$userid = $this->profile->userinfo['userid'];

========

Instead of
mysql_fetch_array(
you should use
$db->fetch_array(


========


Instead of
$vbulletin->db->
you should use
$this->registry->db->

anything $vbulletin-> could be accomplished with $this->registry
and you eliminate the use of a global variable and instead use the encapsulated class reference

========

The template is not cached. That is an additional query in all profiles. Add a pluging for 'cache_templates' with this code:

Code:

if (THIS_SCRIPT == 'member')
{
    $globaltemplates[] = 'memberinfo_block_userlog';
}


Boofo 06-01-2008 02:21 AM

Is this hack even still being supported?

zappsan 06-02-2008 08:01 AM

I'm sorry I've currently got too many problems so I can't work on this for a while. I'll try to add Kentauros suggestions as soon as possible (thanks for the tips).

Boofo 06-02-2008 08:19 AM

Just an update on the progress once in a while is all that is needed. ;)

J105C 06-02-2008 11:01 AM

This does not work or appear just recently. It wont' show up on my froums anymore.

I am running vb 3.7.1 here and added all my usergroups to view namechanges/bans :O

edit: Nevermind it is working now. It just didn't show all the previous information from my db before I imported it.

Is there any way to restore the ban/name change info from a pervious db of vB w/ the same users?


All times are GMT. The time now is 09:44 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.01097 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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