MyBB-Plugins Forums

Full Version: Extended Buddy System 1.4
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Yes that would work I guess. Still, not sure if the plugin will work correctly once a new buddy is added
Something about this plugin

When I install - activate this plugin and add a buddie to my list there is nothing in my profile.
I thought its because of Lex plugin (buddies in profile) and delete that one.
When I activate this plugin again I get

1050 - Table 'mybb_extended_buddy_views' already exists

But NO buddies in profile.


IDEA

When you click a usersprofile add the option add this user to buddie list.
Hmm, looks like you tried to activate it or something and thne it didn't activate correctly and then you activated it again.
Just try to activate it and then you'll get an error. In the URL bar find "activate" and change it to "deactivate" and hit enter.
Then activate again and it should work. If it doesn't show up in the profile, search the forums and you'll find an answer for it. Trinit has made a thread asking for help regarding that.

That idea has been given already.
The code change in users_nav_misc gives

PHP Code:
WarningUnexpected character in input'\' (ASCII=92) state=1 in /usr/home/deb4195/domains/ikf-forum.eu/public_html/inc/functions_user.php(467) : eval()'d code on line 19

Warning
Unexpected character in input'\' (ASCII=92) state=1 in /usr/home/deb4195/domains/ikf-forum.eu/public_html 

and still no list in profile
Double post
changing the code in the url bar gives

PHP Code:
MyBB has experienced an internal SQL error and cannot continue.

SQL Error
1091 Can't DROP 'ext_profileviews'; check that column/key exists 
Query: 
ALTER TABLE `mybb_users` DROP `ext_profileviews`; 
Now, try to activate it.
Then I get again

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1050 - Table 'mybb_extended_buddy_views' already exists
Query:
CREATE TABLE `mybb_extended_buddy_views` ( `vid` bigint(30) UNSIGNED NOT NULL auto_increment, `profileuid` bigint(30) UNSIGNED NOT NULL, `visitoruid` bigint(30) UNSIGNED NOT NULL, `date` bigint(30) UNSIGNED NOT NULL default '0', PRIMARY KEY (`vid`) ) TYPE=MyISAM
Ok, deactivate again (you'll get an error). You'll need to delete mybb_extended_buddy_* tables manually after. As well as all ext_* fields from the users table
Then you can activate it again and it should work
I delete the tables in php myadmin now it works.

In userscp still get this text

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /usr/home/deb4195/domains/ikf-forum.eu/public_html/inc/functions_user.php(467) : eval()'d code on line 19

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /usr/home/deb4195/domains/ikf-forum.eu/public_html/inc/functions_user.php(467) : eval()'d code on line 19



But what about an option in usersprofile add this users to my buddies??
Double post
this is in the template

PHP Code:
<tr>
    <
td class="tcat">
        <
div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['usercpmisc']}.gif" id="usercpmisc_img" class="expander" alt="[-]" title="[-]" /></div>
        <
div><span class="smalltext"><strong>{$lang->ucp_nav_misc}</strong></span></div>
    </
td>
</
tr>
<
tbody style="{$collapsed['usercpmisc_e']}id="usercpmisc_e">
    <
tr><td class="trow1 smalltext"><a href="usercp.php?action=usergroups" class="usercp_nav_item usercp_nav_usergroups">{$lang->ucp_nav_usergroups}</a></td></tr>
    <
tr><td class="trow1 smalltext"><a href="usercp.php?action=editlists" class="usercp_nav_item usercp_nav_editlists">{$lang->ucp_nav_editlists}</a></td></tr>
    <
tr><td class="trow1 smalltext"><a href="usercp.php?action=attachments" class="usercp_nav_item usercp_nav_attachments">{$lang->ucp_nav_attachments}</a></td></tr>
    <
tr><td class="trow1 smalltext">{$draftstart}<a href="usercp.php?action=drafts" class="usercp_nav_item usercp_nav_drafts">{$lang->ucp_nav_drafts} {$draftcount}</a>{$draftend}</td></tr>
    <
tr><td class="trow1 smalltext"><a href="usercp.php?action=subscriptions" class="usercp_nav_item usercp_nav_subscriptions">{$lang->ucp_nav_subscribed_threads}</a></td></tr>
    <
tr><td class="trow1 smalltext"><a href="usercp.php?action=forumsubscriptions" class="usercp_nav_item usercp_nav_fsubscriptions">{$lang->ucp_nav_forum_subscriptions}</a></td></tr>
    <
tr><td class="trow1 smalltext"><a href="usercp.php?action=notepad" class="usercp_nav_item usercp_nav_notepad">{$lang->ucp_nav_notepad}</a></td></tr>
    <
tr><td class="trow1 smalltext"><a href="{$profile_link}class="usercp_nav_item usercp_nav_viewprofile">{$lang->ucp_nav_view_profile}</a></td></tr>
<
tr><td class="trow1 smalltext"><a href="pp.php?action=pp" style="padding-left: 23px;background: url('images/usercp/pp.gif') no-repeat left center;">Profile Picture</a></td></tr>
<
tr><td class="trow1 smalltext"><a href="usercp.php?action=proftube" class="usercp_nav_item usercp_nav_usergroups">ProfileTube Options</a></td></tr>
<
tr><td class="trow1 smalltext"><a href="{$mybb->settings[\'bburl\']}/usercp.php?action=pendingrequests" style="display: block; padding: 1px 0 1px 23px; background: url(images/pendingrequests.png) no-repeat left center;">{$lang->extended_buddy_friend_requests}</a></td></tr>
    </tbody> 
Are you sure that's the template?
Because here:
$mybb->settings[bburl]
It should be:
$mybb->settings['bburl']

Can't find anything else that might be causing the problem.
Why do you want an option to add someone from the profile? Just go to your buddy list and add. Simple as that Tongue
I am 100% sure there must be something wrong because when I revert it back to original no error.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23