vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Userprofile Changed Date in Member Profile & recent changed on forumhome (https://vborg.vbsupport.ru/showthread.php?t=101462)

Marco van Herwaarden 12-05-2005 09:59 AM

Version 1.02 released:

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


Was a stupid bug where i removed too much code when i cleaned the previous version from debug statements before releasing.

To upgrade, simply choose an Overwrite install of the productfile.

Thanks to Jaks for letting me have a look and be able to find the cause of this problem.

Marco van Herwaarden 12-06-2005 08:55 AM

Nobody got feedback if the issues are resolved in the new version?

Marco van Herwaarden 12-23-2005 08:32 AM

Will give my feedback request one more bump.

lazyseller 12-23-2005 04:12 PM

Thanks for the hack i just installed it no problems...

is there a way to remove the time ?

Marco van Herwaarden 12-23-2005 09:29 PM

You want it removed everywhere? Will have a look at that.

swa 12-23-2005 10:19 PM

got it working on my site! nice hack!

CodeRed 01-06-2006 01:04 AM

<thinking out loud>
what would be really cool as well is to show what members updated their profiles that day kinda like the "members visited today" hack

i know id be interested in that so i can always check out peoples profiles say at night before i log off etc. that way ill be able to see all of the profiles edited.
</thinking out loud>

Marco van Herwaarden 01-19-2006 06:31 PM

Well you can have the list of most recently changed. I will think about implementing a Changed Today.

Marco van Herwaarden 02-12-2006 11:38 AM

Version 1.0.3 released:

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.

Marco van Herwaarden 02-12-2006 11:41 AM

Quote:

Originally Posted by lazyseller
is there a way to remove the time ?

You can now format the datetime in version 1.0.3
Quote:

Originally Posted by abel
what would be really cool as well is to show what members updated their profiles that day kinda like the "members visited today" hack

With the timebased cutoff introduced in version 1.0.3 you can now show the changes in the last 24 hours (or any other time).

The Chief 02-13-2006 01:48 PM

installed and works great, thanks!!

/me clicks install

Snake 02-13-2006 02:01 PM

Whoa I guess I've missed the lil update. Thanks! :)

Marco van Herwaarden 02-13-2006 02:07 PM

Quote:

Originally Posted by Aftermath
Whoa I guess I've missed the lil update. Thanks!

Then you should click Install ;)

hiiped 02-13-2006 04:06 PM

great work ......

< clicks install >

Smiry Kin's 02-16-2006 12:10 AM

/me Installs Thanks

influence 03-26-2006 01:54 PM

how about a vba module for this?

futuredood 06-29-2006 04:12 AM

how would you go about counting an additoin to say vbgallery as a profile update?

futuredood 07-11-2006 02:28 PM

Hi Marco,

For the list of updated profiles in the memberinfo, is their any way to put an if condition to show friends only? So instead of seeing 1,000 updated profiles, members would only see maybe a list of 50 updated profiles of their friends.

Sidewindr 08-13-2006 12:28 PM

It seems to break in vb3.6 ... I cannot save profiles with the adon installed and enabled .. disable it and I can save profiles .. the error is below ..

Code:

Database error in vBulletin 3.6.0:

Invalid SQL:
REPLACE INTO datastore
                                                        VALUES
                                                                (        'mh_upcd'
                                                                , 'a:1:{i:0;a:4:{s:6:\"userid\";i:3;s:8:\"username\";s:9:\"Sidewindr\";s:23:\"mh_upcd_lastprofilelist\";i:1155475705;s:13:\"dateformatted\";s:20:\"08-13-2006, 11:28 PM\";}}'
                                                                );

MySQL Error  : Column count doesn't match value count at row 1
Error Number : 1136
Date        : Sunday, August 13th 2006 @ 11:28:26 PM
Script      : http://www.ls1.com.au/forum/profile.php?do=updatesignature
Referrer    : http://www.ls1.com.au/forum/profile.php?do=editsignature
IP Address  : 210.0.102.45
Username    : Sidewindr
Classname    : vB_Database_MySQLi


Sidewindr 08-20-2006 09:35 PM

Beuller... Beuller...???

Anyone reading this thread ?

Bhuwan 08-23-2006 03:03 PM

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'


moonclamp 09-21-2006 03:36 AM

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?

rolandogomez 09-21-2006 05:36 PM

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.

mikeclarke 09-24-2006 03:02 PM

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

criscokid 01-12-2007 09:22 AM

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.

criscokid 09-03-2007 05:28 PM

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?

rayphua 09-04-2007 02:43 AM

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.

criscokid 09-05-2007 11:00 AM

Quote:

Originally Posted by criscokid (Post 1331563)
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. :) :)

Marco van Herwaarden 09-05-2007 03:48 PM

Quote:

Originally Posted by criscokid (Post 1331563)
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

2impulsiv 03-18-2008 11:37 PM

Installed and working well with 3.6.8

Cheers.

Taragon 04-01-2008 06:34 PM

any chance something like this would be available for 3.7.0?

Edit:

Currently it is working on forumhome :p

Another edit:

Marco, currently it only works at the MEMBERINFO template. Would it be possible to add this to ie. the memberinfo_block_ministats template perhaps?

Code:

<div class="alt1 block_row">
        <table cellpadding="0" cellspacing="0" border="0">
        <tr valign="top">
                <td width="100%">
                        <dl class="smallfont list_no_decoration profilefield_list">
                                <if condition="$prepared['birthday']">
                                        <dt class="shade">$vbphrase[birth_date]</dt>
                                        <dd>$prepared[birthday] <if condition="$prepared['age']">($prepared[age])</if></dd>
                                        <else /><if condition="$prepared['age']">
                                                <dt class="shade">$vbphrase[age]</dt>
                                                <dd>$prepared[age]</dd>
                                        </if></if>
                                <dt class="shade">$vbphrase[join_date]</dt>
                                <dd>$prepared[joindate]</dd>
                                <if condition="$mh_upcd_last_changed">
                                        <dt class="shade">$vbphrase[mh_upcd_last_change_date]</dt>
                                        <dd>$mh_upcd_last_changed</dd>
                                </if>

                                <dt class="shade">$vbphrase[total_posts]</dt>
                                <dd>$prepared[posts]</dd>
                                $template_hook[profile_ministats_list]
                        </dl>
                </td>
                <if condition="$prepared['avatarurl']">
                <td><img src="$prepared[avatarurl]" alt="<phrase 1="$prepared[username]">$vbphrase[xs_avatar]</phrase>" $prepared[avatarsize] class="alt2" id="user_avatar" /></td>
                </if>
        </tr>
        </table>
</div>
<div class="alt2 smallfont block_row block_footer"><a href="#stats" onclick="return vB_TabCtrls['profile_tabs'].switch_tab('stats')">$vbphrase[show_all_statistics]</a></div>



All times are GMT. The time now is 08:22 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.01486 seconds
  • Memory Usage 1,829KB
  • 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
  • (6)bbcode_code_printable
  • (7)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
  • (31)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