vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   [RELEASE] bList 1.0 (https://vborg.vbsupport.ru/showthread.php?t=2749)

08-30-2000 04:23 AM

Ok, no regexes anymore. Just a simple if (!$data[0]) check. Wow, I've made so many little updates to this script...

08-30-2000 04:28 AM

Quote:

Originally posted by Ed Sullivan
Ok, no regexes anymore. Just a simple if (!$data[0]) check. Wow, I've made so many little updates to this script...

Yeah, I feel dumb now, thanks! :)

Argh -- I spent a lot of time trying to un-learn C++ -- now you're telling me I should treat strings as character arrays? Arghh! :)

08-30-2000 04:29 AM

I was going to suggest $data[0] but I held my tongue :P

08-30-2000 04:31 AM

Although you can do that, no I wasn't.

$data is a ";" split array from $buddylist. $data[0] will be set to an empty string if it's empty (ie, ";" is the first character) OR if $buddylist is empty.

08-30-2000 05:11 AM

If anyone is interested I hacked it so that it shows a left arrow beside users and a down arrow if you click on them and list their posts.

You can dl it at http://www.hedgehogwheels.com/forums/buddy.php.txt

The arrows:

http://www.hedgehogwheels.com/forums/images/arrowr.gif
http://www.hedgehogwheels.com/forums/images/arrowd.gif

[Edited by rangersfan on 08-30-2000 at 02:11 AM]

08-30-2000 05:35 AM

nice rangersfan it works beautifully :D

08-30-2000 08:08 AM

Nice, the script keeps getting better :)

08-30-2000 08:49 AM

In your postbit template look for


<a HREF="editpost.php?action=editpost&postid=$postid" ><IMG SRC="images/edit.gif" BORDER=0 ALT="Edit/Delete Message"></A>


and add

&nbsp;&nbsp;<A HREF="buddy.php?action=manage=1&search=$username"> <IMG SRC="images/add.gif" border="0" alt="Add $username to your Buddylist"></a>

Here is the image

https://vborg.vbsupport.ru/


Now if someone could show me the javascript that I could put in the showthread template that would put the username in and give you the popup window that would be cool. This just adds the members' name to your list and you have to hit your backarrow on your browser to go back to the forum.

I would like for this to take you to the same popup window as you get from the main buddylist where you can close it out after you have added someone.

Parker

[Edited by Parker Clack on 08-30-2000 at 05:50 AM]

08-30-2000 02:53 PM

My users are complaining that they're visible as online in the Buddy List, even though they've set themselves to 'invisible' in their preferences. :(

08-30-2000 03:01 PM

Well shall it be modified to check a users invisible state and then always list them as "offline" if they are invisible? Shall it tell a buddy user "Sorry that user has issues about you knowing when they are on the forum so they will always be shown as OFFLINE to you"


All times are GMT. The time now is 11:30 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.01306 seconds
  • Memory Usage 1,733KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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