vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBBuddies (https://vborg.vbsupport.ru/showthread.php?t=79204)

Selene 04-03-2005 09:38 PM

i mean when one click on a member profile there shud be a link whereit says "View Member Buddies".

T3MEDIA 04-04-2005 02:57 AM

how are the queries? less than vbfriends?

SS9267547 04-04-2005 03:27 AM

Selene: Yeah there should be a link. I forgot to add the step in the install to add "View Members Buddies" if thats what you would like. This is just an addon, you can see in screenhshot 6 in what I did with my site with this addon, so its up to you in what and how you want to use this hack. Next version will have that corrected. You can add this simply by pasting the code I meantioned already into the profile template.

T3MEDIA: There are about 10 queries in total, doesn't matter if you have 5 or 50 members showing per page while vbfriends will change depending on how many members you have displayed.

bold 04-04-2005 05:50 AM

very nice thanks

Selene 04-04-2005 09:56 AM

Quote:

Originally Posted by SS9267547
Selene: Yeah there should be a link. I forgot to add the step in the install to add "View Members Buddies" if thats what you would like. This is just an addon, you can see in screenhshot 6 in what I did with my site with this addon, so its up to you in what and how you want to use this hack. Next version will have that corrected. You can add this simply by pasting the code I meantioned already into the profile template.

T3MEDIA: There are about 10 queries in total, doesn't matter if you have 5 or 50 members showing per page while vbfriends will change depending on how many members you have displayed.

well then how i can install that addon :) cuz other wise its not very useful til i have sorted out the buddies page, or a link in general.

SS9267547 04-04-2005 11:27 AM

bold: Your welcome.

Selene: Well I just released the next version of the hack so you can download that and re-install it. There are a few new additions like adding the link to the profile page which I forgot to add in the first release lol. Heres a screenshot in how it would look:

https://vborg.vbsupport.ru/attachmen...chmentid=25365

SS9267547 04-04-2005 11:58 AM

Heres just a quick release note of the new added features in version 1.0.1.

Version 1.0.1
  1. Option to activate or disbale private message notification of new buddy.
  2. Ability to view buddy links via member profile.
With the new pm feature it will allow your members to auto send a little pm message to a new added buddy that they were added to their buddy list. It will work either from the add / remove feature and when one enters a members name manually from the main buddy list in ones user control panel. You may see the following screenshots:

https://vborg.vbsupport.ru/attachmen...chmentid=25366
https://vborg.vbsupport.ru/attachmen...chmentid=25367

The other option is adding a new link in ones members profile as I forgot that some people would like a have it linked from there. You may see the following screenshot about that:

https://vborg.vbsupport.ru/attachmen...chmentid=25365

Hope those additions work. Enjoy.

Selene 04-04-2005 12:07 PM

ok upgraded to 1.01 seems to be working fine :)

just a request for 1.02 can u come up with something so that if someone views /forums/buddies.php they can see some random members and their buddies or something so that buddies.php can be used as a kind of buddies page, where the admin can write a paragraph about it and how to use it fx. so that the page has a paragraph of txt and then under it u see latest buddies or something.

that wud be gr8, cuz thats the only thing this VBBuddies is missing.

Selene 04-04-2005 12:09 PM

when i try to add someone or someone tries to add a buddy following error comes:

Parse error: parse error, unexpected T_IS_IDENTICAL in /profile.php on line 145

this is what i have from 140 - 150 lines
Code:


        $DB_site->query("INSERT INTO " . TABLE_PREFIX . "pm (pmtextid, userid) values (" . $pmid . ", '" . $userinfo['userid'] . "')");
        $DB_site->shutdown_query("UPDATE ".TABLE_PREFIX."user SET pmtotal = pmtotal + 1, pmunread = pmunread + 1, pmpopup = " . $userinfo['pmpopup'] . " WHERE userid = '" . $userinfo['userid'] . "'");
}
// ##################################### End Buddies Script ####################################
=========================================================================================
if (empty($_REQUEST['do']))
{
        $_REQUEST['do'] = 'editprofile';
}

if (!($permissions['forumpermissions'] & CANVIEW))


SS9267547 04-04-2005 12:25 PM

Selene: Your welcome. Now with the buddies.php showing a random buddy I'll
have to think about that and see if anyone else would like something like that. Ah ... now to explain on how it works with your members you could add some text to the page explaining how it, something like I did with my gaming site, when I get home I'll post a screenshot in what I mean. After you see the screenshot and if thats something you want I'll put that little change in the next version.

With the error you are having I think you need to take this out:

Code:

================================================================================  =========
Looks like you posted my dividers between codes/steps from the install.txt. Think I'll have to make a cleaner install script?


All times are GMT. The time now is 07:06 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
  • Page Generation 0.01252 seconds
  • Memory Usage 1,742KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete