Operator Tuning ^^

Archived discussion about features (predating the use of Bugzilla as a bug and feature tracker)

Moderator: Moderators

Locked
realaze
Posts: 3
Joined: 2003-02-06 07:22

Operator Tuning ^^

Post by realaze » 2003-09-29 12:25

I was thinking about 2 things for Dc++ :

1 - It will be great if it can return the name of a file or a directory from the search window (like dc++k) with %[file] in the custom commands.

2 - It will be also fantastic if Operators can do actions from the filelist directly.

And, of course, thank for the good work guys ^^

Sedulus
Forum Moderator
Posts: 687
Joined: 2003-01-04 09:32
Contact:

Post by Sedulus » 2003-09-29 14:27

1:
from SearchFrm.cpp

Code: Select all

LRESULT SearchFrame::onUserCommand(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/) {
[...snip...]
		SearchResult* sr = (SearchResult*) ctrlResults.GetItemData(sel);
		ucParams["nick"] = sr->getUser()->getNick();
		ucParams["mynick"] = sr->getUser()->getClientNick();
		ucParams["file"] = sr->getFile();
		if(uc.getNick().empty()) {
			sr->getUser()->clientMessage(Util::formatParams(uc.getCommand(), ucParams));
http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)

realaze
Posts: 3
Joined: 2003-02-06 07:22

Post by realaze » 2003-10-02 12:37

-- 0.251 2003-05-28 --
* Fixed 100% cpu bug in new search (thanks opera)
* Fixed a bug with queue selection counts (thanks sed)
* Fixed a problem with percents not being escaped correctly in user commands (thanks sed)
* Added so that you can use time formatting in the away message (%Y, %m ...) (thanks vladimir marko)
* Added %[file] to search frame user commands (that becomes the current filename) (thanks sarf)
* Fixed some of the vc6 compile errors/warnings
* ADLSearch: now accepts %[nick] (see help)
I'm so stupid... :oops:

Locked