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)

SS9267547 04-06-2005 11:03 AM

Sorry I can't say, I havn't tested it in 3.0.3 or had time to however I don't see why it wouldn't work.

Erwin 04-06-2005 11:09 AM

Well done. :) I'll take a look at the script.

Erwin 04-06-2005 11:12 AM

I see the difference - the main difference is that you can't see all the people who link to you and all the people who you link to - that's where the query saving mostly is. :)

SS9267547 04-06-2005 11:30 AM

Yeah since I didn't need that for my site I took it out. Only needed a system to show who are your true buddies. Also Cloud-Warrior told me he was going to release a new version of his hack so I didn't bother adding the whole link to/from system. However I do come a accross query problems when and if I want to count each members true buddy count. Don't know how to fix the problem so I can't add that feature to this hack.

Erwin 04-06-2005 11:54 AM

Just some minor template edit so that it works in vB 3.0.7 (at least on my forums).

In modifyoptions,

Find:

HTML Code:

                        <if condition="$vboptions['allowvbcodebuttons']">
Add ABOVE, I REPEAT ABOVE:

HTML Code:

<!-- Start Buddies List User Options -->
<fieldset class="fieldset">
<legend>$vbphrase[buddies_publicoptionsstatus]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
<tr>
<td>$vbphrase[buddies_publicoptionsdecs]</td>
</tr>
<tr>
<td><input type="checkbox" name="buddiesliststatus" value="1" <if condition="$bbuserinfo[buddiesliststatus] == 1">checked</if>>$vbphrase[buddies_publicoptionsenable]</td>
</tr>
</table>
</fieldset>
<!-- End Buddies List User Options -->               

Otherwise the whole table is off, and the window won't collapse.



Also, for some reason, the BUDDIES template doesn't work for me, so I'm rewriting it. The whole format is wrong.

Otherwise, good job! :)

SS9267547 04-06-2005 12:00 PM

With modifyoptions, I don't see to have any problems with the table in 3.0.7 however I did forget to add the code so it can be collapsable. I'll fix that in the next release. Does anyone else get any problems?

Erwin 04-06-2005 12:09 PM

I figured out the BUDDIES template - it's fine, it was a conflict with one of my custom templates. :)

Erwin 04-06-2005 12:09 PM

Quote:

Originally Posted by SS9267547
With modifyoptions, I don't see to have any problems with the table in 3.0.7 however I did forget to add the code so it can be collapsable. I'll fix that in the next release. Does anyone else get any problems?

Just refer to my post and try that - it will put it in the right place.

SS9267547 04-06-2005 12:20 PM

Okay I'll take a look at the code when I get home from work. If you see anything else that needs work please do let me know. I'll most likly, if I have time, will finish the updates for version 1.0.2 today.

Erwin 04-06-2005 12:47 PM

Also, you forgot to make use of $userinfo['buddiesliststatus']. :) You've got the data, might as well use it.

In MEMBERINFO, find:

HTML Code:

                        <if condition="$vboptions['buddieslist_active']">                       
REPLACE with:

HTML Code:

                        <if condition="$vboptions['buddieslist_active'] AND $userinfo['buddiesliststatus']">                       
This way, even if global options is switch on, if the user in his own options switch it off, it will not show.

SS9267547 04-06-2005 01:31 PM

Ah thanks Erwin. Forgot to add that. I'll get that fixed. :)

Benj 04-07-2005 11:05 AM

Hi SS9267547, you know the code and template you added to the profile ??? how would i go about adding the same to my usercp template ? i want to add the

Quote:

Total Buddies: 1
View Member Buddies
thanks your a legend !

SS9267547 04-07-2005 11:47 AM

Here you go benj, this addon will create a little table with the buddy information. Hope it works. Enjoy.

Benj 04-07-2005 12:41 PM

legend ta :D

SS9267547 04-07-2005 11:12 PM

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

Version 1.0.2
  1. Ability to activate or disable online status display option, avatars display option, user title display option, posts display option, birthday display option, age display option, join date display option and last active display option from admincp.
  2. Ability to display information text about feature with members.
  3. Option to activate or disable buddy indicator from memberslist.

With the first new feature, it will allow you to display the information you want to be displayed by the username. You can see the following screenshot of how it looks in admincp:

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

The next feature is where you'll be able to see a little text note for you to enter whatever you may want to share with your members or not, up to you. You can see this feature in the screenshot, above all the members listed:

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

The last feature adds the option for you to show what I call the buddy indicator. It basically will display a little icon by a members name showing you if the member is or isn't on your buddy list. By clicking on the icon it will go to the members buddies listing. You may see the following screenshot for this feature:

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

Hope those additions work well and you all like them, if not to bad lol ;)

Enjoy.

Erwin 04-07-2005 11:52 PM

Good job mate. :)

Selene 04-08-2005 09:16 AM

cool jus got email that u updated the hack. Me gna try now :)

Selene 04-08-2005 09:17 AM

can i give u some more ideas for ur upcoming updates

SS9267547 04-08-2005 10:11 AM

Erwin: Thanks.

Selene: Sure you can give me some more ideas but not sure if I'll have time to add them. Nevertheless post them up :)

T3MEDIA 04-08-2005 01:36 PM

SS9267547 Step 7 and step 1 are the same. Just so you know.

SS9267547 04-08-2005 01:53 PM

Ah thanks, I didn't see that. Fixed it and uploaded changed zip.

T3MEDIA 04-08-2005 02:17 PM

small small typo buddy_infotextmemberview & buddy_infotextuserview

their is spelled wrong. This is HOT btw.
Straight up HOT. NICE ACTION

T3MEDIA 04-08-2005 02:45 PM

<if condition="$userinfo[userid] == $bbuserinfo[userid]"> I think is better in your template (BUDDIES)
wasnt working for me.
again. Awsome.

SS9267547 04-08-2005 03:02 PM

Happy to hear you like the hack. :)

SS9267547 04-08-2005 03:09 PM

With the typo, what do you mean? What should it be? I'm not getting it lol.

Now '<if condition="$userinfo[userid] == $bbuserinfo[userid]">' where are you getting this? Do you mean '<if condition="$bbuserinfo[username] == $userinfo[musername]">' in the BUDDIES template?

KTBleeding 04-08-2005 03:49 PM

How would one go about having the buddies display on the profile page itself? With then a link to "more buddies" or something similar rather than just a link to them originally?

Is this possible?

SS9267547 04-08-2005 04:18 PM

So you mean like listing the first three buddies on the profile the having a link say something like view more? Its possiable however it will then add extra queries to your profile, well then again maybe not. Do you want something like that? I can make an addon for it if I find it works.

KTBleeding 04-08-2005 08:08 PM

It would be pretty cool, I think.. Maybe more like the 6 newest buddies or something. 2 rows, 3 colums. If that's possible, I think it would be a little better than just a link because it would stand out more.

SS9267547 04-08-2005 08:22 PM

Well I'm not sure about the newest added buddies since that would require alot of work unless this is what alot of people would like. I'd have to think about that. But adding a list of the frist 6 buddies would be easier. Also would it be better to have just a list or the way it is displayed right now?

KTBleeding 04-08-2005 08:25 PM

Oh, the way the layout is now is perfect. The first 6 added is cool, or maybe even randomly drawn from the database?

SS9267547 04-08-2005 08:29 PM

Okay I'll see when I get back home from work what would be best preformance wise and work wise. See with the newest added way there would need to be alot or extra editing in a number of files so it would record the time they added their buddy. Maybe a random way, ah I'll see and let you know this weekend. :)

KTBleeding 04-08-2005 09:08 PM

Cool. Thanks man.

SS9267547 04-09-2005 03:48 AM

Here you go KTBleeding. This addon will hopfully create what you wanted.

Addon Features
  1. Ability to activate or disable online status display option, avatars display option, user title display option, posts display option, birthday display option, age display option, join date display option and last active display option from admincp.
  2. Option to activate or disable profile buddies list display.
  3. Option for maximum number of members you would like to display per line on the profile page.
  4. Option for maximum number of members to be displayed on the profile page.
  5. Randomly displays members.

I've included two screenshots of the addon. Enjoy. ;)

Update: Zip has been updated with latest fixes.

KTBleeding 04-09-2005 10:24 AM

That is seriously awesome. I will install this when I get home from work. Thanks!

SS9267547 04-09-2005 12:41 PM

Your welcome, let me know if there are any problems with it.

KTBleeding 04-09-2005 12:52 PM

Will do, I get off in about 7 hours so it won't be until later this afternoon.
One quick question, does this still display the "No buddies/member has decided not to display buddies" messages in the profile?

SS9267547 04-09-2005 12:55 PM

If they don't have any buddies it will ddisplay a no buddy message and if they choose not to display their buddies the list won't show in the profile at all or at least it shouldn't lol.

T3MEDIA 04-09-2005 01:52 PM

Quote:

Originally Posted by SS9267547
With the typo, what do you mean? What should it be? I'm not getting it lol.

Now '<if condition="$userinfo[userid] == $bbuserinfo[userid]">' where are you getting this? Do you mean '<if condition="$bbuserinfo[username] == $userinfo[musername]">' in the BUDDIES template?

ok in your phrases there was a spelling mistake. Look at what I said and in the template it wouldnt show the correct intro. (Ya know welcome this is so and so's page.) the if condit I used is better. The profile thing you did is 100% sick. Can you make a branch off hack?
I know this is for friends but your just hucking this up man.

Can you have row that would show random users? I have made a search on a site take a look.... http://www.bpcompanion.com/forums/vi...g=basic_search

I would love it to look like this...
http://browse.myspace.com/index.cfm?...20050409075029

Just random users (neat like how you have it for friends)
I could add it to my template after... Again that profile thing you did is HOT.

T3MEDIA 04-09-2005 02:03 PM

in your addon... there is a place that says...

find:
'bbcode_code',
'bbcode_html',
'bbcode_php',
'bbcode_quote',
In my member.php that doesnt exist.... around what area is that at?

SS9267547 04-09-2005 02:10 PM

You've made changes to the orginal, so instead look for:

PHP Code:

// pre-cache templates used by all actions
$globaltemplates = array(
    
'MEMBERINFO'



All times are GMT. The time now is 11:31 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.01312 seconds
  • Memory Usage 1,822KB
  • 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_html_printable
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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