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.


All times are GMT. The time now is 09:29 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.01084 seconds
  • Memory Usage 1,741KB
  • 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_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