![]() |
Ok, no regexes anymore. Just a simple if (!$data[0]) check. Wow, I've made so many little updates to this script...
|
Quote:
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! :) |
I was going to suggest $data[0] but I held my tongue :P
|
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. |
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] |
nice rangersfan it works beautifully :D
|
Nice, the script keeps getting better :)
|
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 <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] |
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. :(
|
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|