![]() |
Ok so why do I get the contents of the template posted everytime I get a new user instead of hi fred welcome blah
|
Try changing $username to $userinfo[username]
|
For all those having problems with HTML code showing, heres the solution.
Go into styles -> edit templates (for the style(s) of your choice) You need to find the "welcome_thread" template. Change this to a post as you would normally post one, using bbcode, etc. Then Save, and it works :) |
Quote:
|
Quote:
|
Quote:
This was in regards to sending the message after email verification and user moderation, if it's turned on. Just hoping you'd get a chance to look at it some more, as that's the one missing piece for many folks who'd like to use this hack. Welcoming someone before they are moderated in could lead to some nasty awkwardness on a forum. Next question: is it possible for the welcome post/thread to include the name of the referrer? (ie: thanking them for referring the new person.) |
I'm using it and it works great!! Thanks:)
|
Thank You
alshehi |
You're welcome.
Amy |
Quote:
The referer ID is easy to get, I just can't think of how to change that to a username and I think it would require an extra SQL query anyway. |
Thanks so much flypaper; I've been busy traveling and didn't get a chance to see your mod till just now. I will give it a whirl and report back ASAP.
|
Quote:
I previously was using your edit that allowed for a new post in a preexisting thread (instead of an entirely new thread.) So I uninstalled that one first. Then I changed the forum number, userID and name variables accordingly on this one, just to test, installed it, and started the registration for a new user. When the admin finally goes to moderate in the new user, however, this error comes up: Fatal error: Call to a member function on a non-object in /home/.odell/mydir/myforumname/forums/global.php on line 22 Thanks for the effort, flypaper. I'm still very interested to see if this can be made to work. Seems like it makes a lot of sense and is a nice way to give a welcome to every new member ... so long as they are verified and moderated inside properly! :cool: (As I'm sure you know, not every board has an open-door policy, some are decidely restricted or "invite only," and the vibe is enhanced when members are greeted properly when they finally are able to login. Of course this whole mechanism falls apart if they are welcomed publicly... before they are fully validated and approved by an admin.) Thanks again for the attempt and the attention. |
Thanks. Clicked install. Took some time from me to translate into my language ( only because I am poor at these codes ) Clicked install. Realy nice. Thanks
|
I can't seem to find if this has been asked before. Everything works fine and the body of the message is perfect, but the title doesn't give the new user name it gives me this: "This just in: joins our Forums..." So how do I get the title to reflect the new user name?
Thanks for the hack I really like it. Edit: Got it fixed had to change title to :$userinfo[username] |
can someone confirm this hack is right to install.
cheers:banana: |
Thank you amykhar.
|
Has anyone managed to get this to work on approval of the account rather than email verification? Flypaper's edit doesn't work, I've tried troubleshooting this but it's beyond me.
It seems to be something to do with the different hook location not working with a particular function, that's about the best I can come up with. I can't fix it. :( |
UPDATE: I can make it work by manually adding the code to admincp/user.php. I was rather hoping to do it with a plugin, but it seems not.
|
Quote:
Would you be able to share the code additions? I'd appreciate it. |
Well I did this.
In admincp/user.php find: Code:
} Code:
// Backend Files require_once('./global.php'); then the header bar reappears, but then the post that is created is blank, it does not contain any text. I am guessing that using global.php twice is causing the header bar to vanish. This itself is not a problem, however I worry about what other side effects this is having. Perhaps an expert coder could point us in the right direction as we are NEARLY there! |
Miss Amy, this is gonna be great for my growing forum! I have installed this, however before I activate it on my site I need to know one thing:
I understand changing the forumid to the forum I want the thread started in. But what about this part? Code:
$postuserid = 1328; // The Userid of the poster |
Oops. Guess I should've TESTED it first! I understand! Thanks for a great hack! ***clicks install***
:banana: |
Quote:
Its getting late, I'll try to look at it again tomorrow in my spare time. It shouldn't be that hard to get going. Odd... |
Quote:
It is very nearly there...I don't much care about the missing header bar in the confirm message as it's purely cosmetic, my worry is what other side effects that is having. |
Hmmm....another problem with my method...if you approve more than one account at once the second thread contains the text for both threads, the third contains all three, etc etc.
It must be loooping wrongly but I can't seem to fix that either. |
Mine keeps reverting back to your welcome thing even tho I changed it in the plugin
|
It doesn't work for me on 3.6
Locked up my ACP - No error Messages - Had to disable plugins via config.php and remove it. |
I'm still on 3.5.4
Worked fine! BUT: stopped working as soon as I changed the forum-id. Changing back: not working! uninstall / reinstall: not working! Any ideas? Andreas |
Thank you SOOOO much for this!!! I've been killing myself trying to say hello to every new member! LOL!
|
Quote:
Amy can we get an update for 3.6, AND somehow make this so it can create a thread unpon email verification?? This prevents trolls from creating BS accounts, and spaming our welcome forum.. |
Hey amy thanks for a great mod I just made some minor modifications to your product so I thought I'd share. Strangely, I only got it to work if i made the mods to the plugin portion before install.
If anyone needs them to get them to work properly on their forum let me know and i can get it working for you. I am going to work on a version of this with options in the Admin cp using your mod and Sina's mod i think i can hash something together |
Quote:
if you dont want the welcome template changed from what you made it then use the one contained here |
I've a question. My new thread is popping up under the username of the new member, and not the 'general staff' username I created.
In the list of threads it looks like the user has posted a thread to welcome him or herself. Once you open the thread, the username is the 'general staff' username. I don't know where in here: Quote:
Should I change $username to the UserID of the 'general staff' that I want to use ? |
I got it, thanks! Great hack!
|
great, thanks Amy :)
What's the difference to your minor modifications lil7rocket? |
Does this work w/ 3.6 ?
|
yes it does!
|
Quote:
|
Quote:
yeah after you install it you can just move its hook to register_addmember complete and I believe that will trigger it after the user has been approved if not Ill have to go look at it more in depth later |
Quote:
#1 should install seamlessly over any old installations and should work perfect with those using a lot of mods and those using none #2 is the same but wont overwrite your welcome message with a new one |
All times are GMT. The time now is 07:43 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:
|