Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Userprofile Changed Date in Member Profile & recent changed on forumhome Details »»
Userprofile Changed Date in Member Profile & recent changed on forumhome
Version: 1.03, by Marco van Herwaarden Marco van Herwaarden is offline
Developer Last Online: Dec 2010 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 11-23-2005 Last Update: 02-11-2006 Installs: 66
DB Changes Uses Plugins Template Edits
 
No support by the author.

<font size="4">Userprofile Changed Date - Version 1.03</font>

Hack: Userprofile Changed Date
Version: v1.03
Author: MarcoH64

Last tested on vB3.5.3, but should work on any 3.5.x

Features
- Show the time a User Profile was last updated in the Public Member Profile
- Show a list of the most recent members who have changed their profile on the forumhome page. Hovering over the username will show the time the profile was changed
- Set timelimit between edits before a member show in the recent changed list on forumhome again, to prevent 'Recent Change Spammers'
- As an update are counted changes in: Profile, Avatar, Profile Picture & Signature
- You can turn off updating the timestamps for any of these locations from your vB Options
- The format of the Last Changed date-time can be set in your vB Options.
- Choose to cutoff the list of Recent Changed profiles by either a maximum number of profiles, a timelimit (ie. changed in the last 24 hours) or both.

Changelog
12-2-2006 v1.03
- Added option to cutoff the list of changed profiles on the forumhome page based on a timelimit.
- In previous versions you had to enable/disable plugins, to change if a specific area of the userprofile
(ie Avatar, signature, ..) would be counted as an update. Now added new settings in the vB Options to control this.
- Added a date/time format to the Options. Now you can control how the Last Changed date is shown. Before a change have
effect, someone needs to update their profile since the formatted date/time is already stored in the datastore.

5-12-2005 v1.02
- Fixed bug where only the last change would show on forumhome

25-11-2005 v1.01
- Moved the core logic to functions loaded inside new Plugin
- Removed core logic from the other Plugins, making it easier to maintain code
- Fixed the Profile Pic Plugin
- Added new Plugin for Signature changes
23-11-2005 v1.00
- Initial Release

Notes
Copyright ©2005 MarcoH64
This Modification may not be redistributed in whole or significant part or changed without prior agreement of author.
Please don't forget to click Install.
If you like this work and would like to support the author, donations are always welcome at Paypal: Marcoh64 AT gmail.com

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 08-23-2006, 03:03 PM
Bhuwan's Avatar
Bhuwan Bhuwan is offline
 
Join Date: Jul 2004
Location: USA
Posts: 425
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sidewindr
Beuller... Beuller...???

Anyone reading this thread ?
Load up the XML code
search for:

Code:
, '" . $vbulletin->db->escape_string(serialize($latest_list)) . "'
REPLACE IT WITH:

Code:
, '" . $vbulletin->db->escape_string(serialize($latest_list)) . "','1'
Reply With Quote
  #63  
Old 09-21-2006, 03:36 AM
moonclamp's Avatar
moonclamp moonclamp is offline
 
Join Date: May 2004
Location: London
Posts: 516
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and working well. Thank You

One question (or request) I'm using the Extra Profile Fields Page Hack by Wired1 ... Is there an easy way to log updates for this too as I have most of the profile information on there?
Reply With Quote
  #64  
Old 09-21-2006, 05:36 PM
rolandogomez's Avatar
rolandogomez rolandogomez is offline
 
Join Date: Jan 2006
Location: San Antonio
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've installed this, changed my profile signature to activate it, and as the validation screen passed from one page to another after the update, this briefly was in the header part of the scree, "Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of mh_upcd_set_changed(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /var/www/vhosts/glamour1.com/htdocs/forums/profile.php(1282) : eval()'d code on line "

Though it went back to the my home profile page after I changed it my signature, all seems to work well. I'm just curious if I get this errror message with a change, everyone else will too. Any ideas? Thanks, forum is at www.glamour1.com Thanks, rg.
Reply With Quote
  #65  
Old 09-24-2006, 03:02 PM
mikeclarke's Avatar
mikeclarke mikeclarke is offline
 
Join Date: Nov 2005
Location: South Jersey
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bhuwan
Load up the XML code
search for:

Code:
, '" . $vbulletin->db->escape_string(serialize($latest_list)) . "'
REPLACE IT WITH:

Code:
, '" . $vbulletin->db->escape_string(serialize($latest_list)) . "','1'

This fix worked for me on 3.6.1. Thanks very much
Reply With Quote
  #66  
Old 01-12-2007, 09:22 AM
criscokid criscokid is offline
 
Join Date: Nov 2003
Location: London, UK
Posts: 380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've loaded this mod on a vb3.6.4 board and made the change that Bhuwan suggested and is working ok. It didn't appear to be at first... after waiting about an hour 'changed usernames' are now starting to appear on forumhome.
Reply With Quote
  #67  
Old 09-03-2007, 05:28 PM
criscokid criscokid is offline
 
Join Date: Nov 2003
Location: London, UK
Posts: 380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've just upgraded a site to vB3.6.8 and when someone tries to update their profile photo the following error message is generated:

Database error in vBulletin 3.6.8:

Invalid SQL:
REPLACE INTO datastore
VALUES
( 'mh_upcd'
, 'a:50:{i:0;a:4:{s:6:\"userid\";s:1:\"1\";s:8:\"use rname\";s:4:\"Bart\";s:23:\"mh_upcd_lastprofilelis t\";i:1188841274;s:13:\"dateformatted\";s:21:\"M on 03 Sep 2007 18:41\";}i:1;a:4:{s:6:\"userid\";s:5:\"11446\";s:8 :\"username\";s:7:\"Opensky\";s:23:\"mh_upcd_lastp rofilelist\";s:10:\"1188672172\";s:13:\"dateformat ted\";s:21:\"Sat 01 Sep 2007 19:42\";}i:2;a:4:{s:6:\"userid\";s:5:\"11445\";s:8 :\"username\";s:15:\"seasonedclubber\";s:23:\"mh_u pcd_lastprofilelist\";s:10:\"1188659831\";s:13:\"d ateformatted\";s:21:\"Sat 01 Sep 2007 16:17\"; (rest of data snipped) }}'
);

MySQL Error : Column count doesn't match value count at row 1
Error Number : 1136
Date : Monday, September 3rd 2007 @ 06:41:15 PM
Script : http://xxx.com/forums/profile.php?do=updateprofilepic
Referrer : http://xxx.com/forums/profile.php?do=editprofilepic
Classname : vb_database

Does anyone know a fix for this?
Reply With Quote
  #68  
Old 09-04-2007, 02:43 AM
rayphua rayphua is offline
 
Join Date: Jul 2007
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice work Marco, and nice fix Bhuwan. Working on 3.6.7 PL1

Am now worried if the problem Crisco posted will surface as well... Didn't try it yet though.
Reply With Quote
  #69  
Old 09-05-2007, 11:00 AM
criscokid criscokid is offline
 
Join Date: Nov 2003
Location: London, UK
Posts: 380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by criscokid View Post
I've just upgraded a site to vB3.6.8 and when someone tries to update their profile photo the following error message is generated:

Database error in vBulletin 3.6.8:
I couldn't find anything wrong... the plugin was identical to the one I used on another site that I'm an admin of, I even downloaded a fresh copy. Still no joy. Then I thought 'weel it's working on the other site...' so I logged on to that site, exported the plugin, and imported it on my newly upgraded site... and bingo! It's working.
Reply With Quote
  #70  
Old 09-05-2007, 03:48 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by criscokid View Post
I've just upgraded a site to vB3.6.8 and when someone tries to update their profile photo the following error message is generated:

Database error in vBulletin 3.6.8:

Invalid SQL:
REPLACE INTO datastore
VALUES
( 'mh_upcd'
, 'a:50:{i:0;a:4:{s:6:\"userid\";s:1:\"1\";s:8:\"use rname\";s:4:\"Bart\";s:23:\"mh_upcd_lastprofilelis t\";i:1188841274;s:13:\"dateformatted\";s:21:\"M on 03 Sep 2007 18:41\";}i:1;a:4:{s:6:\"userid\";s:5:\"11446\";s:8 :\"username\";s:7:\"Opensky\";s:23:\"mh_upcd_lastp rofilelist\";s:10:\"1188672172\";s:13:\"dateformat ted\";s:21:\"Sat 01 Sep 2007 19:42\";}i:2;a:4:{s:6:\"userid\";s:5:\"11445\";s:8 :\"username\";s:15:\"seasonedclubber\";s:23:\"mh_u pcd_lastprofilelist\";s:10:\"1188659831\";s:13:\"d ateformatted\";s:21:\"Sat 01 Sep 2007 16:17\"; (rest of data snipped) }}'
&nbsp;

MySQL Error : Column count doesn't match value count at row 1
Error Number : 1136
Date : Monday, September 3rd 2007 @ 06:41:15 PM
Script : http://xxx.com/forums/profile.php?do=updateprofilepic
Referrer : http://xxx.com/forums/profile.php?do=editprofilepic
Classname : vb_database

Does anyone know a fix for this?
See https://vborg.vbsupport.ru/showpost....5&postcount=61
Reply With Quote
  #71  
Old 03-18-2008, 11:37 PM
2impulsiv 2impulsiv is offline
 
Join Date: Jan 2007
Location: Australia
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and working well with 3.6.8

Cheers.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:33 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.04427 seconds
  • Memory Usage 2,311KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete