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)

altsounds 05-24-2005 08:35 PM

Quote:

Originally Posted by T3MEDIA
any chance on that random user code?

To make something random is easy. Just look in the PHP code for the database query and look for either ASC or DESC and then change it to RAND.

Thats it done. You can also limit this by doing ' limit 5' after the rand too if you want (I Believe).

Benj 05-25-2005 07:14 AM

havnt changed that line tho so cant see why i would need to

illPhever 06-09-2005 04:54 PM

Nice Hack!

i have a question, though. would anyone know how to add a Custom Field display option? i have a custom user profile field (single-selection menu) and i would like the value of that field to be displayed in the vbbuddy list for each member listed.

...so i would like to add that custom user profle field to the Members & Profile Display Options in the Buddy List settings.

any help would be much appreciated. thanks!

dsboyce8624 06-10-2005 04:17 AM

Okay, this is great, but I have a couple issues. They are all my fault, but I could use a little help anyway.

Let me say first that I have a custom style. It always makes this harder.

First, the table in UserCP showing buddies, near subscriptions, doesn't showup (the one on profile does, but it messed up the footer and I know how to fix that.)

Second, on memberlist the header on the top column is a buddylist icon, like the conditional ran for the header row.

And lastly, is there a way to make this just show all of your buddies, not just the reciprocal ones?

Thanks,

Dennis

dsboyce8624 06-10-2005 05:32 PM

Okay, I removed this hack, man that was fun, and all of the addins.

Now the only problem I have is on my memberinfo page where it shows the birthday.

I beleive the phrase was accidentally removed, but I could be wrong.

Instead of "Whatever it said here, like Birthday" : April 12, 1968

I just get the ": April 12, 1968" Not the heading or title of the field.

Any help with restoring this would be appreciated.

EDIT: Okay, searched the install XML for vB and found the phrase, restored. All is well. One of the uninstall scripts removed it, that should get fixed.

Dennis

dsboyce8624 06-11-2005 04:25 AM

Well, now the Add to Buddy List and Add to Ignore list items are missing from my users profile pages.

Off to check reverted files and templates, wee haw.

EDIT: Okay, that was removed phrases too, can somebody tell me which of these phrases I can remove and not impact my forums?

Quote:

$phrase['buddy_tools']['text'] = 'Buddy Options';
$phrase['buddy_tools']['phrasetypeid'] = 1;

$phrase['buddy_info']['text'] = 'Buddies Information';
$phrase['buddy_info']['phrasetypeid'] = 1;

$phrase['birthday']['text'] = 'Birthday';
$phrase['birthday']['phrasetypeid'] = 1;

$phrase['last_visit']['text'] = 'Last Visit';
$phrase['last_visit']['phrasetypeid'] = 1;

$phrase['online_status']['text'] = 'Online Status';
$phrase['online_status']['phrasetypeid'] = 11;

$phrase['buddy_currentbuddies']['text'] = 'Current Buddies';
$phrase['buddy_currentbuddies']['phrasetypeid'] = 1;

$phrase['buddy_onbuddylist']['text'] = 'User on your buddy list';
$phrase['buddy_onbuddylist']['phrasetypeid'] = 1;

$phrase['buddy_onignorelist']['text'] = 'User on your ignore list';
$phrase['buddy_onignorelist']['phrasetypeid'] = 1;

$phrase['buddy_notonanylist']['text'] = 'User not on any of your lists';
$phrase['buddy_notonanylist']['phrasetypeid'] = 1;

$phrase['autosystemmessage']['text'] = 'Automated System Message';
$phrase['autosystemmessage']['phrasetypeid'] = 1;

$phrase['viewmemberbuddies']['text'] = 'View Member Buddies';
$phrase['viewmemberbuddies']['phrasetypeid'] = 1;

$phrase['totalbuddies']['text'] = 'Total Buddies';
$phrase['totalbuddies']['phrasetypeid'] = 1;

$phrase['chooseoptionbelow']['text'] = 'Choose Option Below';
$phrase['chooseoptionbelow']['phrasetypeid'] = 1;

$phrase['buddies']['text'] = 'Buddies';
$phrase['buddies']['phrasetypeid'] = 1;

$phrase['add_x_to_ignore_list']['text'] = 'Add {1} to Your Ignore List';
$phrase['add_x_to_ignore_list']['phrasetypeid'] = 1;

$phrase['add_x_to_buddy_list']['text'] = 'Add {1} to Your Buddy List';
$phrase['add_x_to_buddy_list']['phrasetypeid'] = 1;

$phrase['remove_x_from_your_buddylist']['text'] = 'Remove {1} from your Buddy List';
$phrase['remove_x_from_your_buddylist']['phrasetypeid'] = 1;

$phrase['remove_x_from_your_ignorelist']['text'] = 'Remove {1} from your Ignore List';
$phrase['remove_x_from_your_ignorelist']['phrasetypeid'] = 1;

$phrase['can_viewbuddieslist']['text'] = 'Can View User Buddies List';
$phrase['can_viewbuddieslist']['phrasetypeid'] = 3;
Sorry to be a putz, but an unistall should not have done this damage.

Dennis

T3MEDIA 06-11-2005 11:02 AM

Quote:

Originally Posted by dsboyce8624
Okay, this is great, but I have a couple issues. They are all my fault, but I could use a little help anyway.

Let me say first that I have a custom style. It always makes this harder.

First, the table in UserCP showing buddies, near subscriptions, doesn't showup (the one on profile does, but it messed up the footer and I know how to fix that.)

Second, on memberlist the header on the top column is a buddylist icon, like the conditional ran for the header row.

And lastly, is there a way to make this just show all of your buddies, not just the reciprocal ones?

Thanks,

Dennis

Ahhh on your memberlist top I have that as well. I figured it is because I completely changed the layout.

Good point.

dsboyce8624 06-11-2005 06:09 PM

Well, if you uninstall, you need to watch your phrases, it removes several stock phrases.

SS9267547 06-12-2005 01:24 PM

I don't have much time but here is a small update version 1.0.3. This should fix the problem with the stock phrases at least I hope it will, something I missed. Here is a list of stock phrases that you might have problems with when uninstalling with the old installer or installing with the new installer:
  • add_x_to_ignore_list
  • add_x_to_buddy_list
  • remove_x_from_your_buddylist
  • remove_x_from_your_ignorelist
  • online_status
  • last_visit
  • birthday

The installer has been update, just in case the pharses are still needed if someone installs the hack they are still in the install script. Hope that helps those that need to uninstall. Enjoy.

Lionel 06-12-2005 06:57 PM

Quote:

If you are upgrading to version 1.0.1 from 1.0.0 you will need to first run the old install script and uninstall this hack from the system. Next upload the new installer to your server and run the install script again. Then follow the steps below to add the new features.


Where can I find the old install script? I need to upgrade.


All times are GMT. The time now is 10:37 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
  • Page Generation 0.01291 seconds
  • Memory Usage 1,752KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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