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)

zappsan 07-21-2008 01:39 PM

Quote:

Originally Posted by hubix (Post 1580417)
Hello!

This Hack is what we need! *thumbup*

Hm, is it possible to make the userlog searchable?

What would you want to search it for?
Quote:

Originally Posted by Mrdby (Post 1580459)
that block didn't show up for me.

The block won't show up if there is nothing to display (the user never changed their email, their username or never got banned before). If you've got too many tabs you might also find it when clicking the >>, also shown in the screenshot posted here: https://vborg.vbsupport.ru/showpost....9&postcount=22

Charlie98902 07-21-2008 02:08 PM

So now this is updated to allow only staff to see email changes/banned info etc.....?

zappsan 07-21-2008 02:22 PM

Yeah as you can see in this screenshot, there are options for it now.
https://vborg.vbsupport.ru/attachmen...1&d=1214053204

Charlie98902 07-21-2008 02:33 PM

Quote:

Originally Posted by zappsan (Post 1580611)
Yeah as you can see in this screenshot, there are options for it now.
https://vborg.vbsupport.ru/attachmen...1&d=1214053204

Thank you and marked as installed. :D

Mrdby 07-21-2008 07:08 PM

Quote:

Originally Posted by zappsan (Post 1580584)
What would you want to search it for?

The block won't show up if there is nothing to display (the user never changed their email, their username or never got banned before). If you've got too many tabs you might also find it when clicking the >>, also shown in the screenshot posted here: https://vborg.vbsupport.ru/showpost....9&postcount=22

they had a name change. Let me try it again

Mrdby 07-21-2008 07:11 PM

ok ok..GREAT! thanks!

WishLine 08-17-2008 09:03 AM

You don't know whether there is a product that does something similar for 3.6, is there?

ssslippy 08-24-2008 02:18 AM

Can you also show usergroup changes on this, shouldn't be to hard to expand on this as its already being tracked the same as all the other date u are pulling.

Also this fails to display on the profile.

kirkmkiv 09-22-2008 04:20 PM

I am getting a blank page on profiles when I installed this on 3.7.2 when I have "iTrader Stats in Profile Tabs" plugin also installed.

Hannan 01-09-2009 05:39 AM

Hi there,
It's showing this error on top up of the users profile, when the config file configured in "mysqli" mode:
Quote:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in [path]\member.php(462) : eval()'d code on line 40
any suggestion for fixing?
thanks

zappsan 01-12-2009 01:44 PM

From what I know, using vB's functions should help.

Look for this:
PHP Code:

while ($userlogs=mysql_fetch_array($userlogentries)) 

and replace it with
PHP Code:

while ($userlogs=$this->registry->db->fetch_array($userlogentries)) 

Unfortuneately I couldn't test it.

Sorry for the lack of updates, I actually started working on a newer version a long time ago but ran into a problem which I couldn't solve. I'm gonna ask for help on this so there will hopefully be an update soon.

Megatr0n 01-12-2009 07:32 PM

Quote:

Originally Posted by zappsan (Post 1709706)
From what I know, using vB's functions should help.

Look for this:
PHP Code:

while ($userlogs=mysql_fetch_array($userlogentries)) 

and replace it with
PHP Code:

while ($userlogs=$this->registry->db->fetch_array($userlogentries)) 

Unfortuneately I couldn't test it.

Sorry for the lack of updates, I actually started working on a newer version a long time ago but ran into a problem which I couldn't solve. I'm gonna ask for help on this so there will hopefully be an update soon.

Will the original version work with 3.8?

Hannan 01-12-2009 07:45 PM

Quote:

Originally Posted by zappsan (Post 1709706)
From what I know, using vB's functions should help.

Look for this:
PHP Code:

while ($userlogs=mysql_fetch_array($userlogentries)) 

and replace it with
PHP Code:

while ($userlogs=$this->registry->db->fetch_array($userlogentries)) 

Unfortuneately I couldn't test it.

Sorry for the lack of updates, I actually started working on a newer version a long time ago but ran into a problem which I couldn't solve. I'm gonna ask for help on this so there will hopefully be an update soon.

Thanks, I've waiting for the new version!

HaS?R 01-12-2009 09:29 PM

Thanks.

gtcompscientist 02-04-2009 04:27 PM

That last bit fixed it for me!

INSTALLED!

gtcompscientist 02-04-2009 04:43 PM

I did make one quick change. On our site, banning is kind of an honor... unless it's permanent. As such, the pages get BIG, but all people want to know is how many times somebody has been banned.

This code does that.

Find:
PHP Code:

$match=count(array_intersect($membergroup$banlogpermissions)); 

Add below:
PHP Code:

$banCount=0

Find:
PHP Code:

$banlog.='<li><span class="shade">'.$changetime.':</span> Banned</li>'

Add below:
PHP Code:

$banCount=$banCount+1

Find:
PHP Code:

$this->block_data['baninfo'] ="$banlog"

Replace with:
PHP Code:

$this->block_data['baninfo']="Banned a total of: $banCount Times<br/><br/>$banlog"

Works great on mine... first user I tested had been banned 41 times! :up::up:

Sadie Frost 02-16-2009 10:55 PM

Quote:

Originally Posted by WishLine (Post 1600594)
You don't know whether there is a product that does something similar for 3.6, is there?

Hi :) This hack might work for you https://vborg.vbsupport.ru/showthrea...sername+change

It's 3.5 but I *think* I was running it on 3.6. There's an addon that displays results on the profile.


In a corollary to that...does anyone know of a way to show the previous usernames in a tooltip on the postbit (when you hovered on the username) like the above linked hack did?

:) Thanks!

MonkYZ 12-28-2009 09:56 PM

Excelent mod ! 10 out of 10 !

By the way, is there a chance for the old username to be showed in user postbit ? Or somewhere more visible than User Public Profile - User Log ? It would be great if that would be possible.

Thank you in advance and keep up the good work !

MonkYZ 06-15-2011 02:58 PM

Can this be updated for vB 4.x? :)

TAIFUN_T 07-26-2011 12:43 PM

Why two identical phrases?

Code:

<phrase name="setting_ulog_namechanelogpermissions_title" date="1208816052" username="Virtual Headache" version="1.1"><![CDATA[Namechangelog Usergroup Permissions]]></phrase>
Code:

phrase name="setting_ulog_namechangelogpermissions_title" date="1208871522" username="Virtual Headache" version="1.1"><![CDATA[Namechangelog Usergroup Permissions]]></phrase>

Konstantinos 09-02-2011 02:00 PM

ban reason needed too


All times are GMT. The time now is 07:13 AM.

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.01319 seconds
  • Memory Usage 1,783KB
  • 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
  • (2)bbcode_code_printable
  • (12)bbcode_php_printable
  • (8)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
  • (21)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