User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » Request features for a TWW Greasemonkey script Page 1 2 [3] 4 5 6 7 8, Prev Next  
Fail Boat
Suspended
3567 Posts
user info
edit post

Instead of appending "Thread by a blocked user" or "Post by..." I just left that row out and...it's fucking sweet.

Finally, a real ignore function so you can pretend the morons don't exist.



[Edited on August 3, 2009 at 8:37 AM. Reason : .]

8/3/2009 8:36:01 AM

ScHpEnXeL
Suspended
32613 Posts
user info
edit post

I like the block by user thing.. the only issue I have with it is damn bubblebobble made the thinking thread so it's blocked. Gah

8/3/2009 8:37:50 AM

Fail Boat
Suspended
3567 Posts
user info
edit post

You could always edit the code to match on that thread and not block it. Hell, you could keep him blocked and not see anything he posts in it, but still see that thread. I haven't once in 9 years ever posted in any of those threads, so it's a ~ for me.

8/3/2009 8:47:30 AM

FroshKiller
All American
51878 Posts
user info
edit post

I'm changing the way blocking works in the threads list. Instead of blanking out the row like that, I'm moving the rows into a new TBODY. There will be a control for toggling the TBODY so that the blocked threads are displayed if you want.

8/3/2009 8:49:57 AM

jocristian
All American
7506 Posts
user info
edit post

Quote :
"Instead of appending "Thread by a blocked user" or "Post by..." I just left that row out and...it's fucking sweet."


That would be pretty cool. I love the blocking feature, but when the mods let RD run wild once again and I login to chit chat and the front page looks like this, his presence is still annoying me




[Edited on August 3, 2009 at 10:07 AM. Reason : d]

8/3/2009 10:06:33 AM

Fail Boat
Suspended
3567 Posts
user info
edit post

It's just two characters of code to change it. Edit the script to like like so

			postsToBlock.addClass("blocked_post").children().remove();
// postsToBlock.append('<td colspan="2" align="center" style="height: 4em;">Post by a blocked user</td>');


You can see where Jon removes the row then adds a new one back with the new text. Just comment the part out where he adds the new text and that entire row disappears.

That's for post, search for Thread by and do the same thing for threads.

8/3/2009 10:23:41 AM

FroshKiller
All American
51878 Posts
user info
edit post

Here is a preview of the new thread blocking functionality:



If there are threads by the blocked user in the thread list, the script adds a new footer containing a link you can click to show the blocked threads, which are conveniently grouped at the bottom of the list.



[Edited on August 3, 2009 at 10:25 AM. Reason : ...]

8/3/2009 10:24:03 AM

jocristian
All American
7506 Posts
user info
edit post

^^, ^ sweet

8/3/2009 10:27:27 AM

FroshKiller
All American
51878 Posts
user info
edit post

Also, you'll get faster performance if you take this line...

postsToBlock.addClass("blocked_post").children().remove();


...and change it to this:

postsToBlock.remove();

8/3/2009 10:28:54 AM

gunzz
IS NÚMERO UNO
68205 Posts
user info
edit post

you are making or going to make a lot of people happy

8/3/2009 11:24:13 AM

ScHpEnXeL
Suspended
32613 Posts
user info
edit post

pretty sad that the best thing to happen to tdub in a long time is through a greasemonkey script

8/3/2009 11:44:00 AM

FroshKiller
All American
51878 Posts
user info
edit post

Monkey business is delaying the quote & reply feature. Do you guys want an interim release with the improved thread blocking? It's dirty and hackish at the moment.

8/3/2009 12:54:16 PM

grimx
#maketwwgreatagain
32337 Posts
user info
edit post

I'm running this on 5 computers:

Across (2) Windows XP and (3) Vista
Firefox v3.0.12 on the XP machines and I think the newest beta (3.5 maybe) on the Vistas
Greasemonkey 0.8.20090123.1

works great on all of them.

8/3/2009 1:00:18 PM

legatic
All American
7481 Posts
user info
edit post

add an icon near the timestamp of a post if someone ghost/ninja edits it

something like this (but preferably on the left side of the timestamp, not the right):

8/3/2009 1:27:56 PM

HaLo
All American
14087 Posts
user info
edit post

I turned off superbox and that helped my rather lethargic pc with speed issues

8/3/2009 1:45:54 PM

FroshKiller
All American
51878 Posts
user info
edit post

No offense to BigMan157, but I don't recommend using his code, at least not his combined version.

Here is the link to the current release: http://jlhamilt.freeshell.org/better_wolf_web.user.js

I am getting ready to release 0.3 with an improved search bar and different handling of the user blocking. It will also come with a slightly broken version of the user blocking.

8/3/2009 2:05:57 PM

legatic
All American
7481 Posts
user info
edit post

add my ghost edit thing! that should be fairly easy.

8/3/2009 2:06:53 PM

not dnl
Suspended
13193 Posts
user info
edit post

Quote :
"i think not dnl is blocked by default using the plugin"


is this accurate?

8/3/2009 2:11:26 PM

FroshKiller
All American
51878 Posts
user info
edit post

I just uploaded what I'm calling version 0.25. I don't recommend customizing this very much, because 0.3 is going to break stuff. Here are the major changes:

* User blocking is now handled via a link added to each user's profile page
* There is a menu command under Tools > Greasemonkey > User Script Commands to reset your block list
* Threads by blocked users are simply hidden at the end of the thread list and can be toggled by a link at the foot of the table

not dnl: Yes, I mentioned that earlier in this thread. No one is blocked by default in this release, though.

[Edited on August 3, 2009 at 2:13 PM. Reason : ///]

8/3/2009 2:12:45 PM

HaLo
All American
14087 Posts
user info
edit post

can you add in my script replacement to insert CC at the cursor rather than at the end?

8/3/2009 2:45:23 PM

FroshKiller
All American
51878 Posts
user info
edit post

Quote :
"I could do it, but it'd require replacing the scripts attached to each button, and I don't want to do that."


Give me a link so I can take a look at your script, though.

8/3/2009 2:57:46 PM

mdozer73
All American
8005 Posts
user info
edit post

GG FK

can you change the "Post by blocked user" to a link that temporarily unblocks the post in the instance that someone is replying to a blocked user?

I would rather not see the blocked user's threads, but see their posts. Blocked posts make the boards difficult to read

8/3/2009 2:57:54 PM

FroshKiller
All American
51878 Posts
user info
edit post

I am addressing that in the 0.3 release. There will be toggles on each blocked post for displaying the content. I would have rolled it out today, but there are two issues preventing it from being ready for release.

8/3/2009 2:59:49 PM

HaLo
All American
14087 Posts
user info
edit post

It's on the bottom of the last page

8/3/2009 3:06:50 PM

BigMan157
no u
103352 Posts
user info
edit post

i don't think superbox should be all that slow until you actually click it and it does stuff, at which point it then is slow as balls

but i don't have any idea how js optimizes itself or allocates stack space or etc, so who knows

[Edited on August 3, 2009 at 3:40 PM. Reason : but that's what stacked ajax calls with multiple regexes will do to you!]

[Edited on August 3, 2009 at 3:41 PM. Reason : oh goddamnit i just figured out how to give it a speedboost - &iframe=true]

8/3/2009 3:38:01 PM

FroshKiller
All American
51878 Posts
user info
edit post

One of my design goals is to avoid faking shit, like calling full-on documents from the server via AJAX and hacking them down to fit into the page design. Once you show that you're willing to go that far with it, there is no real impetus for the site's maintainers to improve anything. The features I'm implementing (barring the blocking features) are nothing the Wolf Web couldn't do itself with some simple patches.

8/3/2009 3:55:13 PM

ScHpEnXeL
Suspended
32613 Posts
user info
edit post

the script is cool and all but it's painfully slow.

8/3/2009 4:02:53 PM

BigHitSunday
Dick Danger
51059 Posts
user info
edit post

damn


yall are some advanced motherfuckers (i assume)

8/3/2009 4:03:46 PM

nastoute
All American
31058 Posts
user info
edit post

ALL HAIL LORD FroshKiller

8/3/2009 4:04:59 PM

HaLo
All American
14087 Posts
user info
edit post



[Edited on August 3, 2009 at 4:10 PM. Reason : Weird ass double post]

8/3/2009 4:06:25 PM

FroshKiller
All American
51878 Posts
user info
edit post

Okay, guys, I need some votes. Take a walk with me.

My hands are somewhat tied when it comes to storing preferences persistently without requiring the user to edit the script himself. Greasemonkey can store and retrieve values in your Firefox configuration, but the values can only be strings, integers, or Boolean values.

The good news is that pretty much any JavaScript object can become a string if you encode it as JSON. That is very cool and very flexible!

The bad news is that native JSON support is only available in Firefox 3.1 and up.

Is anyone using a version of Firefox below 3.1? Would this matter to anyone at all?

8/3/2009 5:05:02 PM

nastoute
All American
31058 Posts
user info
edit post

YOU UPDATE YOUR SHIT OR YOU DIE BY FIRE

8/3/2009 5:14:59 PM

jocristian
All American
7506 Posts
user info
edit post

Doesn't Firefox auto-update?

8/3/2009 5:17:51 PM

nastoute
All American
31058 Posts
user info
edit post

just like your mom, firefox has tools and options which are totally advanced

8/3/2009 5:21:31 PM

ScHpEnXeL
Suspended
32613 Posts
user info
edit post

Ppl can use 3.1 or not have the script

8/3/2009 5:57:41 PM

wdprice3
BinaryBuffonary
45908 Posts
user info
edit post

FF3.5 here

and I like superbox add that shit in mang!

8/3/2009 7:58:15 PM

ParksNrec
All American
8741 Posts
user info
edit post

yo FroshKiller


would it be possible to add functionality that would make ghost editing just a click? I never remember the code for it and am always too lazy to look it up

8/3/2009 9:50:11 PM

ThePeter
TWW CHAMPION
37709 Posts
user info
edit post

Just installed it, looks awesome so far. Thanks for the work!

Quote :
"When editing a post, I'd like it to be just like the 'Post Reply' page, where you can see the thread. Useful for correcting carrots. Except maybe have the "Post Reply!" replaced with "Edit Post!" so you know you're not posting or something

Pages that are made ridiculously wide from a huge image or long string of text push out the Reply To Thread/etc links. If those could be floating and just stay at the edge of the screen that would be pretty cool"


[Edited on August 3, 2009 at 11:37 PM. Reason : moar]

Ok, the new search thingy is badass

[Edited on August 3, 2009 at 11:42 PM. Reason : search]

8/3/2009 11:36:53 PM

not dnl
Suspended
13193 Posts
user info
edit post

anyway to keep the thinking thread from going away?

anyway i can just block my2cents posts in chit chat? she has the cash for clunkers thread in soap box

anyone pm'ed someone they blocked yet? what happened? tried blocking jen and seeing what would happen

is there an easier way to unblock a user while still in a thread(so you dont have to push back and find them on the 1st page of chit chat)

[Edited on August 4, 2009 at 2:13 AM. Reason : .]

[Edited on August 4, 2009 at 2:15 AM. Reason : .]

8/4/2009 1:56:40 AM

smoothcrim
Universal Magnetic!
18917 Posts
user info
edit post

it'd be really cool if I could create my own pagination. I'd prefer to load all posts in a thread at once, or at least 100 posts per page

8/4/2009 8:58:00 AM

mdozer73
All American
8005 Posts
user info
edit post

the revised power search isn't working for me.

do you still click the wolf?

8/4/2009 9:42:05 AM

wdprice3
BinaryBuffonary
45908 Posts
user info
edit post

^mine isn't working either

8/4/2009 9:50:54 AM

ScHpEnXeL
Suspended
32613 Posts
user info
edit post

it doesnt work on the wolf for me but clicking the search button from the message board homepage still does a cool little drop down thing

8/4/2009 11:49:51 AM

FroshKiller
All American
51878 Posts
user info
edit post

Update: I'm tearing down the parser and moving all the grunt work into an external file. Next release will have a much, much nicer structure that you can plug your own function calls into. The parsers will also scrub documents for the most interesting data and return them as objects that you can work with without jumping all over the goddamn DOM tree.

New features to be announced.

8/4/2009 1:02:14 PM

dakota_man
All American
26584 Posts
user info
edit post

It would be awesome if you could generate a small, bulleted list of features that you copy/paste/update each time you release a new version - tracking back through the thread it's kind of hard to tell.

8/4/2009 1:16:23 PM

FroshKiller
All American
51878 Posts
user info
edit post

I know! I've started keeping a changelog. The source in the next release should be more comprehensive, too.

8/4/2009 1:25:06 PM

casummer
All American
4755 Posts
user info
edit post

An exceptions list for threads.


For example after clicking Show blocked threads, maybe a little box or something to click on to keep a thread from being blocked.

Is there a way to see the list of users you blocked? i think i blocked somebody by accident, because i never noticed that blocked threads thing until after viewing some profiles. I searched the .js file and didn't see any blocked names so i guess i'm good

8/4/2009 1:37:15 PM

dakota_man
All American
26584 Posts
user info
edit post

blocks are by user number iirc

8/4/2009 1:57:19 PM

qntmfred
retired
40363 Posts
user info
edit post

urc

8/4/2009 3:09:10 PM

DirtyGreek
All American
29309 Posts
user info
edit post

Frosh, a suggestion (or an edit if any of you want to do it yourselves)

postsToBlock.addClass("blocked_post").children().remove();
postsToBlock.append('<td colspan="2" align="center" style="height: 4em;">Post by a blocked user</td>');


to

postsToBlock.addClass("blocked_post").children().remove();
postsToBlock.append('<td colspan="2" align="center" style="height: 4em;">Post by a <a href="/user_info.aspx?user='+blockedUsers[i]+'">blocked user</a></td>');


This will change "blocked user" to a link to that user's profile, in case you'd like to know who it is.

[Edited on August 4, 2009 at 3:19 PM. Reason : .]

8/4/2009 3:18:19 PM

 Message Boards » Feedback Forum » Request features for a TWW Greasemonkey script Page 1 2 [3] 4 5 6 7 8, Prev Next  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.38 - our disclaimer.