![]() |
Quote:
PHP Code:
PHP Code:
If you want the post to be made by an unregistered guest, make sure to comment out the $postuserid section like this: PHP Code:
|
Quote:
btw, as the hack stands now, when is the thread/post made? It isn't after admin approval? (sorry, its been a while since I played with this hack.) |
Quote:
What I want it to say is this: Code:
<p>Welcome $username!</p> |
Quote:
(And that's why I'm unable to use it on my forum for now.) |
Quote:
That works a treat, great, thanks. The new user registration now prompts our "WelcomeBot" account to make a post in our WelcomeThread. However... $username doesn't work in the post body (or I can't seem to get it to work.) The actual post reads "This is an automated message announcing the arrival of $username to our forums. Say hi!" Anyway to get that $username variable to actually work, and insert the name of the new registrant? I'm so close, I can taste it! :nervous: |
Quote:
|
That's not a bug. If you have it set up to make the post under your user name, that is going to happen because the post is being made while the new user is logged in. It's going to record their IP address under your username. I guess, in theory, you could zero out the ip address for these particular posts if you really cared to do so.
|
thanx for your reply amykhar,yes i do have it set to post under my username,so how would i go about zeroing the IP for these posts
|
Quote:
|
He shouldn't have to. He should be able to set that with the datamanager.
|
Quote:
|
Quote:
So it will say: "Let's welcome (membername) to our community!" And (membername) will be a link that goes to the member's profile. So if someone wants to PM the new member, or whatever, they can click right on their name in the post, and go to their info. |
Jilly, I don't remember what the new user's userid variable is in that section of the code and don't have time to look for it. All you need is the userid and you should be able to format your link, which should be clickable.
Given that you're a coder, I'll leave that little exercise to you. |
Quote:
Quote:
I do know enough to be dangerous, though. So off into dangerous waters I go! If I can figure it out, I'll add it here to the thread.. |
Quote:
I'm using flypaper's edit to have a "WelcomeBot" user create a post inside a pre-established Welcoming thread. Alas, I still can't get the final piece of the puzzle in place: to insert the name of the new member in the post's text. Code:
$postpagetext = 'This is an automated message announcing the arrival of $username!'; And if all of these edits have morphed this hack into a totally seperate and annoying concoction, that's cool. Just let me know and I'll scurry along. :nervous: |
Quote:
PHP Code:
PHP Code:
One of them should work. I think... LOL |
Quote:
As soon as there's a way to delay the posting of this until after the new user has been moderated in (as opposed to "as soon as they register") I'll be enjoying the heck out of this hack. |
Quote:
|
Quote:
Thanks! |
Quote:
|
Quote:
Close, but no cigar. When I went to approve in a new member, I got this error: Fatal error: Call to a member function on a non-object in /home/.odell/mydirname/myforumname.com/forums/global.php on line 22 Uninstalled the hack... and moderation went through fine. Thanks for trying, I appreciate it! |
bah, i'll try to look at it more this weekend, unless anyone has any better ideas.
|
How do I remove this? Just uninstalling it doesn't seem to make it go away.
|
Another amazing hack Amykhar
|
Quote:
thanks jilly |
not sure if this does or an idea to atract the person who got welcomed into the forums..
Make it email the new registered person and send a email to there mail saying the people at the forums are welcoming you blah blah or somthing.. Maybe sound silly lol |
Code:
There is a new user, $username at $vboptions[bbtitle]. |
This is something that I have been looking for, not the exact use of the plugin that I was wanting but a HUGE starting point for my new hack.....I will make sure you credit you when I am done
|
do you have to have html enabled in the forum this gets posted in cuz i just get the contents of the template poted exacly as it is in the template
$username etc |
Quote:
once they meet verified member status create a thread welcoming them to "blah blah blah" like if there are hidden downloads or hidden areas. like adding a time frame to it of somesorts or admin promotes user to new status... |
I'll ask again
do you have to have html enabled in the forum this gets posted too cuz i just get the contents of the template posted exactly as it is in the template hi $username etc instead of hi Bert welcome etc |
Quote:
|
Quote:
|
okay i think i missed something...
i would like to force the new member to post b4 he can use the rest of the forum...i have read and reread and reread again....maybe that's why i am confused. i thought i saw a mod to this hack to allow it. can someone point it out to my blond eyes?? maybe it wasn't here that i saw it....i dunno but i think it was here. am i mistaken? |
That is not this mod. This mod welcomes your new members with an automated post.
|
lol i removed this cause it just post way to many messages was testing it out... i removed the product but it is still sending messages to the forum when new members register... how do i stop it?
|
Go look and make sure all the plugins are gone. You may have installed the plugin version before it became a product or there may be some vbulletin glitch that double installed stuff.
|
hmmm the template stayed i just removed that ill wait for a new user to see... strange though cause the product was removed.. thanks for replying so fast amy :)
|
wow amy i removed it reuploaded it removed it again and it still stays :( i removed the product... i made sure the plugin welcome thread upon registration in hook location register_addmember_complete was gone and the template was gone... but its still posting threads how can this be??? all it says now when posting is This just in: test joins our Forums...
|
wow finally its gone i hope :)
|
All times are GMT. The time now is 03:17 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:
|