![]() |
For some reason I get the error listed below whenever I try and add someone as a buddy through my usercp. I have set "send private message" to on as you can obviously see, yet I can't seem to find the problem. Any suggestions? :ermm:
Fatal error: Call to undefined function: sendprivatemessage() in /home/content/L/9/I/L9IAnime/html/forums/profile.php on line 503 PHP Code:
And also is there anyway for the "View Buddies" to automatically grab up the users profile rather than having to type it in? |
You just missed a step. You need to add the 'sendprivatemessage' function to your profile.php file. That should get it working! :)
As for the other question I don't know what you mean by type it in? :nervous: |
Thanks a lot for that =P I was getting confused ><
As for the other thing... When I added the code you provided to show a "View Buddies" link wherever you want it. I added it to the navbar and it goes to http://www.l9ianime.com/forums/buddies.php?u= But for instance to get to my profile it would have to be set to http://www.l9ianime.com/forums/buddies.php?u=1 However, I cannot get the script to automatically detect and add the user which is clicking on that link so if member number 39 were to click the link it would take him here http://www.l9ianime.com/forums/buddies.php?u= But, I would like for it to take him here http://www.l9ianime.com/forums/buddies.php?u=39 Basically, making it such that the person who wants to view thier buddies list does not have to type in thier member number every time. |
Nice hack, however...
"hello ... this is to let you know that ... has added you to their buddies" .. is kind of not good towards peoples privacy. |
Quote:
that's true, but this hack kinda changes the usage of the buddy system...and for those that don't want to "participate", there is an option to keep your buddy list private in the UserCP. look at #2 on the list of features for the hack: Current Features 2. Option for user to activate or disable public buddy list. ...i do think it's important for people using this hack on their site to notify their users of the change, though, so no one is caught off guard. (i think that was mentioned somewhere in this thread or in the original hack vBFriends thread.) |
:ermm: ...hmm, just checked and Disabling Public Buddies List doesn't prevent that PM from going out. i see what you mean Dark Visor.
that would be a good addition for the hack. |
Quote:
[high]* akanevsky clicks install[/high] |
Here goes the fix...
DESCRIPTION: Will disable the PM buddy list add notification, if a person wants to keep his/her buddy list private. FIND: (TWICE) PHP Code:
PHP Code:
|
Kagami Kyoji: With the 'View Buddies', where are you trying to view the link from? If its from the profile.php or member.php, whatever lol can't think right now, check to see that you did all the steps, sounds like to missed something.
Dark Visor: Yes its something it looks like I've missed, this software just got released without alot of public beta testing so no one has really come up with any big issues. Anyway thanks for the code, will add in whenever there is a next release. Also if there are other issues please do share. |
Quote:
|
All times are GMT. The time now is 09:04 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|