Now I am going to do what I should have done before I blew up my website earlier this weekend. I am going to ask how it should/can be done.
I have implemented php121 on my website. It works well, and uses the vBulletin user names and passwords for access so everything is great. In order to get the program working, I had to change my navbar. I had to add this entry in the Quick Links section:
PHP Code:
<tr><td class="vbmenu_option"><a href="javascript:poptastic('http://spacelysprockets.com/forums/php121/php121im.php');">Instant Messenger</a></td></tr>
Now, like any other IM product, you can't be IMed or IM anyone unless you have opened the IM contact list. So I want the default to be that this product comes up as soon as a users logs on. I sort of took the above code and tried to create a new plugin for hook login_verify_success so that this would happen as soon as the user is successfully logged on. But I just ended up breaking my website so that no one could login at all! With some help from you guys, I got the website back up and working correctly.
I am still trying to do that same thing - have the above piece of code execute as soon as a user successfully logs in. But I don't understand php even close enough to understand what I need to do to acheive this. Could someone please lend me a hand? Any constructive suggestions to get this done would be greatly appreciated.
The second piece of this php121 installation is that I originally tried to run the one line of code as just a Custom Navigation Links using the CustomLinks mod in order to avoid having to change the navbar code. But I could never figure out how to make it work as a call to a php or a html template.