The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Welcome to our newest member --> Notification to Thread?
vBulletin has a "Welcome to the newest member: xyz" as part of the main forum template. Works like a charm.
But if have ten new members today, only the very newest is listed there. Is there any way to have this information persisted a bit longer? Is it possible, for example, to have notifications added as a thread post, for example? More than one new user listed in the template? Any other ideas on the subject? Thanks. |
#3
|
|||
|
|||
Truly fantastic!
Thanks a million and wintery greetings from the Swiss Alps! D. --------------- Added [DATE]1231249844[/DATE] at [TIME]1231249844[/TIME] --------------- Well, the template has been created and the thread is posted correctly when a user registers. So far, so good. Thanks again for your help. The hook for the add-in is: <hookname>register_addmember_complete</hookname> That fires when the user registers him-/herself. What about when an administrator enters a new user...? Is there a hook that fires there so that we can also have a posting made when the user is added manually...? |
#4
|
||||
|
||||
Quote:
Yes it's called manual posting by admin ............ |
#5
|
|||
|
|||
Grrr... I'm hunting through user.php and really don't find the hook of my dreams.
I've tried adding a *similar* plugin at useradmin_update_save. The modified plugin code looks like this: <snip - code removed - amykhar did not give permission for users to redistribute her code> The only real *excitment* here is the extra if: if ($_REQUEST['do'] == 'add') The other change is in the "admin" version of the template: We at ZIBF are pleased to welcome {$vbulletin->GPC['username']} to the Zug International Business Forum! You can find out more in the <a href="member.php?u={$vbulletin->GPC['userid']}">Member Profile for {$vbulletin->GPC['username']}</a>" I get no parsing error on the script, but: I also get no new thread. I'm convinced the code is being called (due to the parsing errors I had been having), but now I'm not getting anything... I tried with a simple text (without eval), but still no thread... Any ideas? What's different about the environment in the admincp as compared to the part of the code which registers users...? --------------- Added 06 Jan 2009 at 07:27 --------------- ...this was wrong: $title = "ZIBF Welcomes $userinfo[username] !"; // The thread title ...but changing it to a simple text didn't help either... |
#6
|
||||
|
||||
Amyk did *not* give permission in the modification thread for her code to be redistributed, so you may NOT repost her modification. If you wish to discuss changes to her code, you may do so in the modification thread.
|
#7
|
|||
|
|||
Mea culpa. I didn't look to see where the code came from.
I wasn't so much looking for answers on how to modify her code, though, so much as an answer to the question of how to add a thread when the admin creates a new user manually... |
#8
|
||||
|
||||
You may want to start your own thread for that since it sounds like what you want to do is different than what the thread title suggests.
|
#9
|
|||
|
|||
Will do, thanks. Though - I thought I've been pretty good with thread titles. I've been wading through more than a couple of "Help with this!" and "Why doesn't this work?" thread titles here of late...
|
#10
|
||||
|
||||
Now I'm confused.... I thought you were a different poster since you seemed to have a different question, but I guess it's just an extension of your original question.
(And yeah, some of the titles people pick are.... um.... as Mom says "if you can't say anything nice, don't say anything at all" ) OK, so now you are wondering if there is anyway to create a new welcome thread when an admin creates a new member through the admin cp? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|