![]() |
Userprofile Changed Date in Member Profile & recent changed on forumhome
<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 |
Nice one
/me clicks install |
I will try this!
|
.
/me thinks MarcoH64 tries to flood the forum with his releases... we will need a specific forum for him! |
Is it that bad? :D :D
|
thanks marco for doing this up i appreciate it so much :)
Happy thanksgiving |
Quote:
|
installing it now i will when i am done
|
its perfect thanks again its exactly what was needed :)
|
Thanks for filling up my request. :)
|
Good work, I am linking this over in my MySpace Template Mod Hack.
|
How does this work? I'm wanting to know if I could add an extension to allow you to search profiles by recently updated. Does this add anything to the DB?
|
when you click the link it brings your to there profile thats about it
|
I was just looking over the xml file and the tables it adds/alters and I think you might be able to add a new search to search for most recently updated profiles.
Or at least search and order by most recent. |
that would be pretty good for a vbadvanced module
|
anyway to get it to check changes to more user stuff, like avatar changes, signature and profile pics, etc..
If they change the signature or avatar it dont list it.. can you do it? I know I cant.. But I click *installed* anyway... |
Quote:
There are 2 datestamps added to the user table: - mh_upcd_lastprofilechange: The real last changed timestamp - mh_upcd_lastprofilelist: The last timestamp this user was put on the list of recent changes. Only updated if the user change his profile after the wait limit has passed since the previous listing. This is done to avoid users changing their profile (or not even really changing) all the time, just to stay on the recent changed list (spamming). For example, the limit is set to 60 minutes: 00:00 User updates profile. Both timestamps are updated, and he is put in the recent change list. 00:10 User updates his avatar, only mh_upcd_lastprofilechange is updated, and user is not put on the list again 00:55 User update profile again, same as 00:10 01:05 User update Avatar again, waittime has passed, so both are updated again and he is put on the list again. You can choose yourself which timestamp you want to do a select on if you want to write your own recent changed query, depending if you want the real change time, or the 'anti-spam' time. You can look up the logic in the plugin on either of the following locations (they are all identical, but didn't want to create an includes/functions_....php file): - profile_updateavatar_complete - profile_updateprofile - profile_updateprofilepic_complete PS: On the Member Profile page you will see the real changed time. For the Latest changes on forumhome, a datastore row is used that is filled whenever the recent list needs to be updated. |
Quote:
Quote:
But if you want you can create a new plugin at hook location 'profile_updatesignature_complete', copy and paste the code from the plugin at location 'profile_updateavatar_complete' in it. |
Quote:
Did it.. It works.. Thanks.... :banana: |
Quote:
|
Whenever I have this enabled and change the profile pic I get this error:
Code:
Fatal error: Call to undefined function: set() in profile.php(1838) : eval()'d code on line 4 |
Quote:
And not having any luck getting any help from the gallery peeps... |
Quote:
|
Yeah I have, thanks. It's a great hack even with the bug! :D
|
Version 1.01 Released.
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 |
I uninstalled the old one, and installed the new one. Now it doesn't show up in the profile anymore? Any suggestions or thoughts?
|
Why uninstall the old one? You should have just done an overwrite install.
On the uninstall the data that was added to the database will have been removed, so all dates are 0 again. Please make a change to your profile and see if it show up again. |
Quote:
|
no matter what i set the number of profiles displayed in the latest profiles edited... it just shows the last one. is there a fix?
|
Did actually more then 1 member change their pofile?
If yes, please provide a screenshot of your setting, your plugins and preferably a link to your board (with test user if needed). |
actually since i installed it over 30 members have edited theirs. 5 alone within 20 minutes. when i reported this. exactly what settings are you talking about?
Waittime in Minutes before a Profile is listed again=60 (now i just changed it to that before that it was 1440) List Limit=10 (tried changing that number but it made no difference) a screen shot of my plugins? this should be about it plugins and products. |
Nope that page where all the plugins are listed.
|
Quote:
|
Please answer the same questions as i asked wordplay. Since he never replied anymore, i guess he got it solved.
|
Jaks *Installs* Sweet little hack thanks :)
Will this work in postbits? |
No but you could easily do this.
|
I have the same problem as the other guys. Only showing one. My settings in VB Opt. are (Time 1440 and Show 10) I even resaved it to make sure it was input.
Thanks |
Checking other people's sites, I think we all have that problem.
|
Someone with this problem please PM me a temporary admin login, and i will have a look.
|
PM sent :)
Jaks |
All times are GMT. The time now is 02:55 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|