vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Post in thread when user changes name? (https://vborg.vbsupport.ru/showthread.php?t=322832)

greigeh 06-13-2016 09:45 PM

Post in thread when user changes name?
 
Looking for pretty much this plugin:
https://vborg.vbsupport.ru/showthrea...e+notification

but for when a users name is changed. My forum sees peoples names changed regularly and would be ideal if could have "oldname changed to newname" - feel like i've seen this really recently posted on/in here but can't track it down


any help would be great!

blind-eddie 06-14-2016 01:36 AM

<a href="https://vborg.vbsupport.ru/showthread.php?t=149377&highlight=request+name+cha nge" target="_blank">https://vborg.vbsupport.ru/showt...st+name+change</a>

Still works in 3.8.9

greigeh 06-16-2016 12:40 PM

Thank you blind-eddie but this is not what I mean. I'm not looking for a feature where users can request a name change, more so when there name has been changed it creates a post within a thread notifying of a changed name.

MarkFL 06-16-2016 02:07 PM

Are you using a product that allows users to change their own username, or are you looking for a product that creates a post when an admin has changed a user's name?

If it's the former, then you will need to request this as an added feature in that product's thread, but if it's the latter I can put something together for you. :)

MarkFL 06-16-2016 06:03 PM

1 Attachment(s)
I went ahead and put together a simple product, which I have attached, and which works in vB 3.8.9 and vB 4.2.x.

There are settings for:
  • Enabling/Disabling Product (you must initially enable the product)
  • Selecting Destination Forum For Changelog Thread (If none is chosen, then the forum used for reported posts will be used)
  • Thread Title
  • Report Format

The first time a username is changed, a new thread is created, and then after that new posts are added to this thread for each username change.

Please let me know of any issues and/or if you want any additional features. :)

greigeh 06-19-2016 02:21 PM

Mark, thank you so much this is exactly what i'm after. Is it possible to make a post in one thread rather than keep making different threads for every user? If not, i appreciate all your help nonetheless.

MarkFL 06-19-2016 02:28 PM

Quote:

Originally Posted by greigeh (Post 2572279)
Mark, thank you so much this is exactly what i'm after. Is it possible to make a post in one thread rather than keep making different threads for every user? If not, i appreciate all your help nonetheless.

That's what it does already. :)

greigeh 06-19-2016 03:56 PM

Quote:

Originally Posted by MarkFL (Post 2572280)
That's what it does already. :)

when changing username i get error below

Database error in vBulletin 3.8.9 Beta 3:

Invalid SQL:

SELECT thread.*
FROM live_thread AS thread
WHERE title = 'Username Changes'
AND forumid =;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 4
Error Number : 1064
Request Date : Sunday, June 19th 2016 @ 05:58:58 PM
Error Date : Sunday, June 19th 2016 @ 05:58:58 PM
Script : -----/user.php?do=update
Referrer : ----/user.php?do=edit&u=41268
IP Address : 86.153.64.162
Username : Unregistered
Classname : vB_Database_MySQLi
MySQL Version : 10.0.25-MariaDB

MarkFL 06-19-2016 04:20 PM

Did you set a destination forum? If not, do you have a forum selected for reported posts?

greigeh 06-21-2016 12:12 PM

Quote:

Originally Posted by MarkFL (Post 2572289)
Did you set a destination forum? If not, do you have a forum selected for reported posts?

i did select a forum that all users can access, and yeah i do have one for reported posts so not sure why it is erroring.


All times are GMT. The time now is 12:26 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.01674 seconds
  • Memory Usage 1,736KB
  • 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
  • (3)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
  • (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