I have 48 pages of trackbacks in my approval queue right now, all of them SPAM about "texas hold'em".

With that many trackbacks, I want to click "select all" / "DELETE" rather than manually select each entry and then click DELETE.

Unfortunately the code in the trackback.module is obtuse enough it's not clear how to insert the required javascript, or I'd have a suggested fix in hand.

Comments

ankur’s picture

I'd be interested in what the java script should look like and where it should be inserted...

If the look of the JavaScript changes with changes in the trackback settings, I'd be interested in what it should look like for each combination of settings.

Anyone willing to supply the JavaScript?

-Ankur

Ian Ward’s picture

What about using the same script and usage for the civicspace contact_manager module on /contact_manager?

Ian

Ian Ward’s picture

StatusFileSize
new1009 bytes

I have this working, attached in .txt is what I did...sorry no patch, but it's pretty simple and the javascript was not letting me write the explanation directly in here.

Ian Ward’s picture

Status: Active » Needs review
StatusFileSize
new2.76 KB

Here is the patch

Ian Ward’s picture

StatusFileSize
new2.76 KB

Sorry! Patch was backwards, here it is!

Ian Ward’s picture

StatusFileSize
new247 bytes

You also need to add this javascript file into /modules/trackback/ directory

vwegert’s picture

Version: 4.6.x-1.x-dev » master

I had to modify the patches quite a bit to adapt them to the new forms API. As my module contains some additional fixes, I can't simply provide a diff that works out-of-the-box. However, if there is someone maintaining this module and willing to take a look at the code, I'd be happy to contribute.

handelaar’s picture

Status: Needs review » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)