MyBB-Plugins Forums
Extended Buddy System 1.4 - Printable Version

+- MyBB-Plugins Forums (http://forums.mybb-plugins.com)
+-- Forum: Archived Forums (http://forums.mybb-plugins.com/Forum-Archived-Forums)
+--- Forum: MyBB 1.4.x (http://forums.mybb-plugins.com/Forum-MyBB-1-4-x)
+---- Forum: Paid Plugins (http://forums.mybb-plugins.com/Forum-Paid-Plugins)
+---- Thread: Extended Buddy System 1.4 (/Thread-Extended-Buddy-System-1-4)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23


RE: Extended Buddy System 1.3 - Diogo Parrinha - 09-26-2009

Hmm I don't think so, at least from what I remember I don't think that happened as both plugins do different things so globalized vars and hooks should be different but I may look into it.
Thansk Smile


RE: Extended Buddy System 1.3 - habs - 09-27-2009

How to add a button to post_bit that directs the buddy request?


RE: Extended Buddy System 1.3 - Diogo Parrinha - 09-27-2009

You'll need to add the button to postbit your self but the link of the button should be something like:
Code:
<a href="{$mybb->settings['bburl']}/member.php?action=profile&amp;buddies_action=sendrequest&amp;uid={$post['uid']}&amp;my_post_key={$mybb->post_code}">BUTTON CODE HERE</a>



RE: Extended Buddy System 1.3 - habs - 09-27-2009

Thanks Nervo.. will try that code and give you report.. [Image: army.gif]


RE: Extended Buddy System 1.3 - Diogo Parrinha - 09-27-2009

Okay Tongue


RE: Extended Buddy System 1.3 - habs - 09-27-2009

Code:
Parse error: syntax error, unexpected T_STRING, expecting ']' in /home1/xxxxx/public_html/forum/inc/functions_post.php(355) : eval()'d code on line 3

what is Parse error means?

button and hyperlink was successfully created, but in header of forum, that error appears more than 10 lines.


RE: Extended Buddy System 1.3 - Diogo Parrinha - 09-27-2009

There was a missing ' on my post Tongue


RE: Extended Buddy System 1.3 - habs - 09-28-2009

will try again Big Grin
Double post
Done, thanks Nervo.. it's well done Big Grin


RE: Extended Buddy System 1.3 - nyunyu - 10-02-2009

Other than this code,
PHP Code:
<a href="{$mybb->settings['bburl']}/member.php?action=profile&amp;buddies_action=sendrequest&amp;uid={$post['uid']}&amp;my_post_key={$mybb->post_code}">BUTTON CODE HERE</a
,

Is it possible for you to come out with a code and placement in profile page?
Like, people viewing profile and there is link to "Add this user to your buddy list". Similar to what vbulletin has.


RE: Extended Buddy System 1.3 - Diogo Parrinha - 10-02-2009

Just duplicate the post number row and change it to your needs