PDA

View Full Version : Advanced Recipients List Control


Zero Tolerance
03-05-2005, 10:00 PM
This was made by request, however i may of gone a little over the top, doing more than requested, but hey, more = good, right?

Anyway, what does this do?
Description:
The "Advanced Recipients List Control" creates a GUI (General User Interface) to easily adapt Recipients to your PM list in an extremely easy way, with no manual work required or knowing of full usernames.

Features:
- GUI (General User Interface)
- Search - (You may input full usernames, or just part, the search will return multiple results if more than 1 are found)
- Add Recipient - (Select the user from the results drop down list, hit insert, and bam, there in the list!)
- Remove A Recipient - (Added one by mistake? Don't worry, just hit remove and there gone from the list!)
- No refreshing - At All! - (The system will search, add, remove recipients, and all this is dynamic, controlled by javascript, allowing fast and easy usability)
- Full compatability in FireFox (and possibly other browsers too, havn't tested though)

Version 2.0 Features:
- Recipients shown in 2 columns (instead of 1 big column)
- Buddy List is shown to add buddies to recipients list easily
- Table layout improved, just a little neatened structure
- Bug Fix for Arcade collision fixed

Note:
For those upgrading from v1, just download and re-do ALL edits.

Previews are posted below, and contained within the download, enjoy! :)

- Zero Tolerance

nexialys
03-05-2005, 10:37 PM
damn good.. having the search thing is great, users will stop sending to unknown members...

A STAR!

lasto
03-05-2005, 10:38 PM
looking good zero will test it local

/me click install

yoyoyoyo
03-05-2005, 11:04 PM
thanks much!

Jolten
03-05-2005, 11:44 PM
Looks really good ZT. is this recipients box constantly over the message area in the UserCP message page? In other words... does it take one table row and make it 6+ rows all the time?

Zero Tolerance
03-05-2005, 11:49 PM
Yes aslong as your making a new PM it will appear, and if you select recipients, and hit preview, on reload the recipients will still be there, as the data is carried over and presented as should :)

- Zero Tolerance

RMS-Chef
03-06-2005, 04:14 AM
Very useful, ty.

Oblivion Knight
03-06-2005, 07:29 AM
It doesn't seem to be working for me.. :(

No matter what I enter in the Username field, I get the same error (see screenshot).

Oblivion Knight
03-06-2005, 07:36 AM
I found the issue.. This mod conflicts with the v3arcade modification.

The "Arcade Game Search" box already uses the element name 'search'.

gregsbaby64
03-06-2005, 12:14 PM
Thank you for this! I'm so glad someone could make this hack. :)

Is there a way to put the usernames inside the PM box like you have it, but with a selection? It would load the member list up for you, in case you want to choose that way instead of searching for each person.

gregsbaby64
03-06-2005, 12:23 PM
Doesn't seem to work in FF, at least for me. I can add the user names and input a title, but not the actual PM message. The box is shaded out. Any clues to why that would be? I will have to try it in IE to see if it's just a browser thing.

Nope, it's not letting me input a message in the box. :(

Lionel
03-06-2005, 11:49 PM
I installed, it works but I am unable to go in message box

Zero Tolerance
03-07-2005, 01:03 AM
Thank you for this! I'm so glad someone could make this hack. :)

Is there a way to put the usernames inside the PM box like you have it, but with a selection? It would load the member list up for you, in case you want to choose that way instead of searching for each person.
Putting all members into one list would be insane, a forum without over 4000 members would return a drop down menu of 4000+ options, and some forums have over 20,000 members, this will never be done i'm afraid.

Tested it in firefox myself, im using FireFox v1.0.1 (newest current version) All functionality is working for me, and i can input a message/pm title.

- Zero Tolerance

Creed
03-07-2005, 03:32 AM
Putting this on now! Thx!!

apfparadise
03-07-2005, 03:52 AM
Installed. It's HOT!!!!

TosaInu
03-07-2005, 01:34 PM
Finally! A very valid argument to do the full 3.07 upgrade. Thank you Zero Tolerance.

TosaInu
03-07-2005, 07:38 PM
I've installed it, it also works on 3.03. It's a neat hack, really usefull.

I've encountered a tiny problem, problem is not the right word, but the Recipient list takes up a lot of space in some cases. Staff members can PM to 10's of users at the same time, and it would be neat if there were two or even three columns with checkboxes to save space.

It would also be nice to have the buddylist displayed there, or if it were possible to transfer names from the buddylist to the recipient list. Sort of a addressbook.

Buddies, select to add to recipient list.
BudA___|_|___BudB___|_|___BudC___|_|
BudD___|_|___BudE___|_|___BudF___|_|
|Hide Buddylist|

Others
Slot___|_|___Slot___|_|___Slot___|_|
Slot___|_|___Slot___|_|___Slot___|_|

Insert Recipient Username: |_____| Search

Recipient Slots are either filled by checking a box with a buddy or searching for a new person like your hack does. Slots are emptied by unchecking its box.

Another thing members ask for is to include all recipients in the PM, so the receiver can reply to the whole group (like e-mail does with reply to all). Perhaps the hack can do something optional here as well?

TosaInu
03-07-2005, 08:32 PM
The hack doesn't work in WYSIWYG mode, Neither in 303 nor in 307.

It's possible to add recipients and a message title, but it's not possible to type the message (XP and I.E. 6.0).

Leeper
03-08-2005, 12:13 PM
Thank you, I thought I was losing my mind...

Lionel
03-08-2005, 12:21 PM
makes the two of us.

J.C.
03-08-2005, 12:27 PM
I found the issue.. This mod conflicts with the v3arcade modification.

The "Arcade Game Search" box already uses the element name 'search'.

I'm concerned about this since my forums also have Arcade installed, any fix for this?

Oblivion Knight
03-08-2005, 12:53 PM
I'm concerned about this since my forums also have Arcade installed, any fix for this?There sure is! :) - Install everything as normal, and then do the following steps..

In pm_newpm template, find:
Search = document.getElementById('search').valueReplace it with:
Search = document.getElementById('searchpm').valueNow, find:
<td><input type='text' id='search' class='bginput' /></td>Replace it with:
<td><input type='text' id='searchpm' class='bginput' /></td>All fixed.. :D

Zero Tolerance
03-08-2005, 06:11 PM
Ah, the WYSIWYG javascript global variables use the new Object() method, and i called one of my variables Object, how nice, collision :p

Anyway, to fix this, go to the template "pm_newpm"
Find:
Object = document.getElementById('buildSearch')
Replace With:
ObjectIns = document.getElementById('buildSearch')
Find:
Object.innerHTML = BuildHTML
Replace With:
ObjectIns.innerHTML = BuildHTML

Save the template, and it will work in WYSIWYG mode :)

Also TosaInu, nice suggestions, i wasn't planning on making a newer version for this but with those ideas it doesn't seem like a bad idea to implement that :)

- Zero Tolerance

Zero Tolerance
03-08-2005, 08:20 PM
Version 2.0 has been released, read main post for more information.

- Zero Tolerance

gregsbaby64
03-08-2005, 08:47 PM
Thank you SO much for getting this hack completed! :) I just tested it and everything is working great in FF with a 3.0.7 Vbulletin board. Yay!

In the future, maybe a hack add-on for the people that would like to search the members list. I only have about 20 members, so I know their names, but others may not. If it's an option, then people don't have to install it if they have more than say 50 members. :)

Thanks again!

cirisme
03-08-2005, 09:01 PM
Broken in Safari. Perhaps as part of the default install, you test for known working browsers and if it isn't one of them, you go to the old interface? Just a suggestion...

Oblivion Knight
03-08-2005, 10:11 PM
I'm very impressed with the improvements of v2.. :)

Excellent, excellent work ZT.

Zero Tolerance
03-09-2005, 12:49 AM
gregsbaby64 - I'll try get that done when i have a few spare minutes :)

cirisme - Well, i aimed to get it working in Internet Explorer and Firefox, the 2 most used browsers on the net, and if something works in Firefox, it will most likely work in Netscape and a range of other browsers. But safari is a rarely used one, so i'm trying to provide for the mass majority here.

Oblivion Knight - What can i say, thanks :)

- Zero Tolerance

Lionel
03-09-2005, 12:59 AM
A nice little option could be to place some sort of red asteriks to indicate those who have disabled PM (cannot receive, so might as well be alerted up front :-))

neocorteqz
03-09-2005, 02:39 AM
Very Nice work. :)

I may install this soon.

Lionel
03-09-2005, 03:44 AM
I'd like to make the selected recipient bold so it stands out. Could you please tell me if that is possible and where in javascript I may do so?
Thanks.

Leeper
03-10-2005, 08:34 PM
Installed and works great for me! Unfortunately some of my users are having difficulties. The top portion (that shows the recipients) doesn’t show up for some of them and I have checked that their editor is the standard one. They search for a member, click add and a box pops up saying “may have zero recipients”. We have cleared the cache, changed the editor back and fourth and even had them reboot (ok, that was just for fun :devious: ) and still no joy. Any ideas?

TosaInu
03-10-2005, 09:39 PM
v2 is great Zero Tolerance.

Quoted from a user "Works fine with my 4 browsers (IE, Mozilla, Firefox and Opera)."

There's an issue with hitting RETURN after typing part of a username. People feel that they issue the search command, but in fact the Send PM button is activated (by default when the page private.php is loaded ?) It can happen that PM's will be sent when a user tries to add Recipients. I don't know about the possibilities of html, but is it possible to activate the button corresponding with the inputfield to stop error ENTERs? Or at least stop the Send PM button to be the default (if that is it).

jdh
03-20-2005, 05:56 PM
I've just installed this hack, and it's absolutely fantastic, as userids aren't always easy to remember how to spell when sending PMs.

However, I'd like to echo TsaoInu's comments (quoted below)... I have staff members who can PM up to 50 users at a time, and the result is that the recipients list area becomes huge. It would be nice if there was a way to make it dynamically expand (ie, only show the "filled" slots). Right now I get 50 blank spaces, which makes things really cluttered.

I've encountered a tiny problem, problem is not the right word, but the Recipient list takes up a lot of space in some cases. Staff members can PM to 10's of users at the same time, and it would be neat if there were two or even three columns with checkboxes to save space.

Creed
03-22-2005, 05:14 AM
Hrmn, I have one specific user that has a limit of sending 0 private message? Is there any way that this can be fixed?

TosaInu
03-22-2005, 11:56 AM
Hrmn, I have one specific user that has a limit of sending 0 private message? Is there any way that this can be fixed?

Perhaps his in- and outboxes have reached their storage capacity?

Creed
03-22-2005, 04:25 PM
They have 7 total saved messages out of 1000...so I don't know.

aloha
04-24-2005, 10:57 AM
I think this will save a lot of time for those that 'online pimp' on my board. LOL

Sure, send all 10 of your lovers on here the same message at once! Thanks LMAO

MauriceReed
04-24-2005, 12:49 PM
installed, yet again ZT shines with his hacks.

speedway
05-15-2005, 10:48 AM
I like this hack but have a question. Could it be modified to include permissions? I would like to offer this to Premium members only.

Cheers
Bruce

speedway
05-27-2005, 12:42 PM
Aha! I guess this hack is dead seeing as none answered anything for 2 weeks. Oh well....

GSX-Racing
06-01-2005, 08:43 PM
Very trick. Thanks!

T3MEDIA
07-31-2005, 04:33 PM
You have to admit the idea is hot. Shame it didnt get those minor tweeks. Hot though. real hot. I dont think peeps will fix it now since 3.08 n .5 is out... but man. nice.

Dennis B
08-12-2005, 10:47 AM
Excelent job ZT. :up:

* Dennis B installs.

TosaInu
09-11-2005, 06:00 PM
Will this hack be ported to 3.5? Vanilla still lacks the buddylist.