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  
FroshKiller
All American
51878 Posts
user info
edit post

I don't think there's any reason that CrazyWeb should allow users to post HTML comments in the first place, even premium users. ;P

[Edited on August 7, 2009 at 11:01 AM. Reason : http://jlhamilt.freeshell.org/better_wolf_web.user.js]

8/7/2009 11:00:49 AM

legatic
All American
7481 Posts
user info
edit post

how many ways are there to ghost edit?

couldn't you just set it to look for comments in the HTML of a users post? (I assume the posts are in some sort of table, so it would be easy to tell where one post stops and the other one starts)

it wouldn't make TWW immensely more awesome, but I think it would make for a better experience. Knowledge is power!

8/7/2009 11:01:11 AM

FroshKiller
All American
51878 Posts
user info
edit post

So write it yourself! The features I'm doing "officially" are the ones I feel would be most useful to the most users and the ones that I feel are most interesting to implement. There's nothing stopping you from modifying the script.

8/7/2009 11:02:53 AM

legatic
All American
7481 Posts
user info
edit post

I might give it a shot, but I've been out of the computer science game for a long time I'm sure I could pick it up if I looked at the script though

8/7/2009 11:12:19 AM

mdozer73
All American
8005 Posts
user info
edit post

i love the fact that the script makes "the script" ineffective

Quote :
"ddd"


FTW

8/7/2009 11:13:22 AM

FroshKiller
All American
51878 Posts
user info
edit post

I've got an English degree. If I can do it, anyone can, right? ;P

8/7/2009 11:17:34 AM

dakota_man
All American
26584 Posts
user info
edit post

Trying it again. I'm not crazy about how the extra stuff makes the post row taller. Could one of those links be rolled into the user name (click FroshKiller for user info, or something). I guess you could also turn the date and time into what you click to edit a post, if you wanted to.

8/7/2009 11:38:17 AM

FroshKiller
All American
51878 Posts
user info
edit post

I'm playing around with a few ideas. Moving the "user info" link up into the username might be kind of jarring. I don't want to frustrate users' established behaviors entirely, so I'm wary to do things that change up the layout of familiar elements.

I've also considered breaking out the "user info," "send PM," and "view photos" links into a tooltip kind of thing, but I really like having that stuff a single click away. Otherwise, there's no reason not to just navigate to the user's profile if you've got a second click coming anyway.

I'll probably wind up breaking the timestamp into a separate row, move the "edit post" link over to that, and add a "quote & reply" link to that layout while I'm at it. It'll be more radical than I really want to be, but hell, you only live once.

How would you guys feel about me collecting some metrics from you via AJAX? I promise not to steal your passwords or anything.

8/7/2009 11:50:07 AM

ScHpEnXeL
Suspended
32613 Posts
user info
edit post

Quote :
"I promise not to steal your passwords or anything."

i'm guessing about 1% of users using this thing would even be able to tell thats what it does..and even less than that are taking the time to bother going through each revision, lol

so, do whatever you need to do

8/7/2009 11:54:26 AM

AstralAdvent
All American
9999 Posts
user info
edit post

User blocking is great. I read almost every blocked post, but its just satisfying so see their message blocked out in red.

I'm AstralAdvent and i approved this message.

8/7/2009 12:33:58 PM

AstralAdvent
All American
9999 Posts
user info
edit post

Also the whos online list doesn't appear to be working on the front page.

I'm AstralAdvent and i approved this message.

8/7/2009 1:09:55 PM

ScHpEnXeL
Suspended
32613 Posts
user info
edit post

It's been on and off for months dumbass. turn the script off and it still doesn't work.

8/7/2009 1:14:11 PM

BIGcementpon
Status Name
11318 Posts
user info
edit post

Quote :
"How would you guys feel about me collecting some metrics from you via AJAX?"
Fine by me, just tell us what you're getting. You'd get called out on it if you did something bad anyway.

8/7/2009 1:21:43 PM

AstralAdvent
All American
9999 Posts
user info
edit post

oh.

I'm used to having Premie and having it disabled with just my buddies. Didn't know that.

I'm AstralAdvent and i approved this message.

8/7/2009 1:25:55 PM

not dnl
Suspended
13193 Posts
user info
edit post

anyway you can keep users from seeing someone post? like if i wanted someone to not be able to see my posts?

8/7/2009 1:46:30 PM

FroshKiller
All American
51878 Posts
user info
edit post

No, and that is a creepy question to ask.

8/7/2009 2:15:41 PM

mdozer73
All American
8005 Posts
user info
edit post

lol

8/7/2009 2:52:36 PM

El Nachó
special helper
16370 Posts
user info
edit post

Just a question out of curiosity, more than a request to change it back, but why did you change the way posts are displayed from blocked users? Personally, if I have someone blocked, I want to forget they exist, not be tempted with "there's stupid from <---This user hiding behind this oh so easy to click link. I kinda prefered it the way it was before. I'm sure you'll have people that like it better this way though.

[Edited on August 7, 2009 at 6:03 PM. Reason : you even changed it out on the topics page if they were the last post. now I am perplexed.]

8/7/2009 5:59:44 PM

EMCE
balls deep
89696 Posts
user info
edit post

^^^

8/7/2009 7:01:07 PM

not dnl
Suspended
13193 Posts
user info
edit post

Quote :
"No, and that is a creepy question to ask."


dude, if thats creepy, how the hell do you function?

8/7/2009 8:16:55 PM

BobbyDigital
Thots and Prayers
41777 Posts
user info
edit post

what?

pot calling the hammer a nigger

8/8/2009 8:58:50 AM

pooljobs
All American
3481 Posts
user info
edit post

change the color so its not so obvious to coworkers

8/8/2009 5:40:14 PM

BigMan157
no u
103352 Posts
user info
edit post

this is a strange feedback thread

* shit is getting done
* recommendations are being heard
* changes are being made for the better

WHAT BASTARD CHILD OF A THREAD HAVE YOU WROUGHT?

8/8/2009 6:18:11 PM

MileyCyrus
Veteran
322 Posts
user info
edit post

how about a "Preview Post" option?

for those of us who can't ghost edit

we can at least make sure we get it right the first time

8/8/2009 8:17:47 PM

pttyndal
WINGS!!!!!
35217 Posts
user info
edit post

Think the script hates me now. Was showing opa in place of Block this User so I uninstalled with the box to remove associated preferences, closed the browser, reinstalled and now the links under edit post are gone and there isn't block user option in the person's profile. Using Firefox 3.5.2.

[Edited on August 8, 2009 at 9:36 PM. Reason : ]

8/8/2009 9:32:49 PM

AstralAdvent
All American
9999 Posts
user info
edit post

you should implement random breaks/errors for your script so that i don't forget i'm on tww.

I'm AstralAdvent and i approved this message.

[Edited on August 8, 2009 at 11:46 PM. Reason : ]

8/8/2009 11:46:41 PM

not dnl
Suspended
13193 Posts
user info
edit post

i disagree with el nacho on the block user thing. works better now imo. if i see emce post and i wonder what he said in that instance, i can click. if not you just skip.

8/9/2009 12:44:18 AM

FroshKiller
All American
51878 Posts
user info
edit post

El Nachó said:
Quote :
"Just a question out of curiosity, more than a request to change it back, but why did you change the way posts are displayed from blocked users? Personally, if I have someone blocked, I want to forget they exist, not be tempted with "there's stupid from <---This user hiding behind this oh so easy to click link. I kinda prefered it the way it was before. I'm sure you'll have people that like it better this way though."


As soon as I introduced blocking, I got a bunch of butt-hurt whines from some of the same people who requested blocking saying they still wanted to be able to see some threads and posts. I'd personally rather keep the option of communicating with blocked users on the table.

If you don't want to see posts and threads from the users you've blocked at all, you can edit your user style sheet to set elements with certain classes to not display. I think there was an example earlier in the thread, but:

.thread_by_3479, .post_by_3479 { display: none !important; }


pooljobs said:
Quote :
"change the color so its not so obvious to coworkers"


You can do that yourself. Elements' colors are defined in an external stylesheet, but you can specify your own rules in a user style sheet. You're not going to get the result you really want, I bet, but it's better than nothing.

My aim is to enhance the site experience, and changes to the site's appearance that are difficult to implement don't fit in with that.

MileyCyrus
Quote :
"how about a "Preview Post" option?

for those of us who can't ghost edit

we can at least make sure we get it right the first time"


That's a good suggestion, but it would take a lot of work and probably wouldn't be accurate. I can't predict all the ways that a post might fail, and I don't know exactly how the software will interpret mistakes. We've all seen the results of a mangled image tag, mismatched bold tags, whatever, but considering that the site lets you edit posts, I don't think this would be a very worthwhile feature at the moment.

pttyndal said:
Quote :
"Think the script hates me now. Was showing opa in place of Block this User so I uninstalled with the box to remove associated preferences, closed the browser, reinstalled and now the links under edit post are gone and there isn't block user option in the person's profile. Using Firefox 3.5.2."


Not sure what to tell you. What version of Greasemonkey are you using? What does your error console say?

8/9/2009 9:20:45 AM

El Nachó
special helper
16370 Posts
user info
edit post

Is that last post fucked up for anybody else with the script installed? Displays fine on a computer without the script, or when I disable it on this one, but it's all messed up when the script is running.

8/9/2009 1:07:47 PM

ScHpEnXeL
Suspended
32613 Posts
user info
edit post

looks fine to me

[Edited on August 9, 2009 at 1:09 PM. Reason : maybe spaced funny? but thats it]

8/9/2009 1:08:44 PM

El Nachó
special helper
16370 Posts
user info
edit post

Hmm. Here's what it looks like for me.




Notice the reply to my quote looks normal, but then the other quotes are displayed without an individual reply. Then at the bottom, all three replies are clumped together into one big block of text (starting with the "said: part")

8/9/2009 1:19:04 PM

pooljobs
All American
3481 Posts
user info
edit post

Quote :
"
You can do that yourself. Elements' colors are defined in an external stylesheet, but you can specify your own rules in a user style sheet. You're not going to get the result you really want, I bet, but it's better than nothing.
"

i can't do that myself, i have no idea what it means

8/9/2009 1:43:56 PM

dakota_man
All American
26584 Posts
user info
edit post

Along those lines, I think I mentioned it before but it would be awesome if you could pick the major color of the site. I know there's another script that does it, and that I could do it myself, but I want your script to do it and I want you to make that happen.

8/9/2009 3:43:53 PM

nastoute
All American
31058 Posts
user info
edit post

^^

Quote :
"I've got an English degree. If I can do it, anyone can, right? ;P"


[Edited on August 9, 2009 at 3:45 PM. Reason : .]

8/9/2009 3:45:22 PM

nastoute
All American
31058 Posts
user info
edit post

^^

what you should do is attempt to make the change yourself and then PM him the code

that's the solid thing to do

you know

the correct thing

8/9/2009 3:46:15 PM

dakota_man
All American
26584 Posts
user info
edit post

I'm taking a first look at some of it today.

Also, I see where you shrink giant pictures, can you split long lines of text?

Edit: Almost forgot - if you browse to a photo through the photo gallery, can clicking on the photo take you to the next one in the folder / gallery?

[Edited on August 9, 2009 at 4:10 PM. Reason : .]

8/9/2009 3:57:36 PM

FroshKiller
All American
51878 Posts
user info
edit post

Quotes are messing up posts in the current version because of some unexpected behavior from jQuery's children() method. I've already fixed it in the next version.

pooljobs: Take a look at http://www.mozilla.org/unix/customizing.html. Firefox profiles have a file called userContent.css that lets you specify how certain page elements appear regardless of what the document itself says.

dakota_man: I'm investigating some methods for breaking long strings of text, but I don't think it happens that often outside of links, so I don't know if checking every post for long strings is worthwhile. As for the photo thing, that should be easy enough to do.

8/10/2009 9:24:01 AM

ScHpEnXeL
Suspended
32613 Posts
user info
edit post

how bout the super cool thing on facebook where the left and right keys will browse through photo galleries?

no idea how hard that is to do.

8/10/2009 9:29:02 AM

FroshKiller
All American
51878 Posts
user info
edit post

Not hard at all, actually. I'd just bind those key presses to fire the Prev and Next links on the photo page. I could implement that and Dakota's suggestion pretty easily. Will put it in the next release.

8/10/2009 9:32:34 AM

BubbleBobble
:3
113739 Posts
user info
edit post

I wish there was a way to do photo comments

I know this wouldn't work with a greasemonkey script, but I just wanted to complain

8/10/2009 2:34:20 PM

FroshKiller
All American
51878 Posts
user info
edit post

Next release will definitely include a function that prevents gunzz from gaying up threads with IFRAMEs.

[Edited on August 10, 2009 at 4:36 PM. Reason : def]

8/10/2009 4:30:50 PM

dakota_man
All American
26584 Posts
user info
edit post

How about if you're looking at a PM you just sent, reply composes a PM to the previous recipients, instead of yourself.

8/10/2009 5:06:31 PM

FroshKiller
All American
51878 Posts
user info
edit post

new release up: http://jlhamilt.freeshell.org/better_wolf_web.user.js

no time to detail

gotta go home

fixed some bugs i guess

8/10/2009 5:08:15 PM

HaLo
All American
14087 Posts
user info
edit post

Still haven't included my insert At cursor code. Is it just too hard?

8/10/2009 6:26:46 PM

FroshKiller
All American
51878 Posts
user info
edit post

Yeah, that's a good idea. Talk shit about something being too hard to the dude who's actually putting in work. That'll go over.

8/10/2009 6:33:53 PM

HaLo
All American
14087 Posts
user info
edit post

WTF dude? I wasn't criticizing you I was actually wondering. Jesus. I dont know enough about grease monkey to add it in myself or I would. I've already got the script working it just needs to replace the existing script tags. I don't know how to go about it in gm so I provided the script to include. I have zero interest in adding it myself since you've already rejected other users edits.

8/10/2009 7:24:09 PM

wdprice3
BinaryBuffonary
45908 Posts
user info
edit post

Quote :
"Still haven't included my insert At cursor code. Is it just too hard"


there's a script that does this already

8/10/2009 7:34:49 PM

pttyndal
WINGS!!!!!
35217 Posts
user info
edit post

yeah, I have this, insertAtCursor, scaleImages (resizes large images), TWW Small image fixer (make small images big), ShortenLongLinks, and a modified tww@work script to make all the red stuff black.

8/10/2009 7:52:53 PM

HaLo
All American
14087 Posts
user info
edit post

Wonderful. Do you have any clues on it's secret location?

8/10/2009 7:53:54 PM

pttyndal
WINGS!!!!!
35217 Posts
user info
edit post

// ==UserScript==
// @name InsertAtCursor
// @namespace tww.fixes
// @description Inserts text from button click or copy & paste
// @include *thewolfweb.com/*
// @include *brentroad.com/*
// ==/UserScript==

// borrowed from the intarweb
document.getElementsByClassName = function(cl)
{
var retnode = [];
var myclass = new RegExp('\\b'+cl+'\\b');
var elem = this.getElementsByTagName('*');
for (var i = 0; i < elem.length; i++) {
var classes = elem[i].className;
if (myclass.test(classes)) retnode.push(elem[i]);
}
return retnode;
};

// also borrowed and modified
function insertAtCursor(event)
{
insertText = this.getAttribute('title');

// if the className is fb (NOT fb_down, because the class has been changed by now)
// AND it's a start/end tag, make it an ending tag
if(this.className == 'fb' && insertText.indexOf('[') != -1) {
insertText = insertText.substr(0,1) + '/' + insertText.substr(1, insertText.length - 1);
}

field = document.getElementById('_ctl0_body');
if (field.selectionStart || field.selectionStart == '0') {
field.focus();
var startPos = field.selectionStart;
var endPos = field.selectionEnd;
field.value = field.value.substring(0, startPos) + insertText + field.value.substring(endPos, field.value.length);
field.setSelectionRange(endPos+insertText.length, endPos+insertText.length);
// behave with default
} else {
field.value += insertText;
}
}

// bind click listener to all "fb" class items
var buttons = document.getElementsByClassName('fb');
var field = document.getElementById('_ctl0_body');

for(var i = 0; i < buttons.length; i++) {
var button = buttons[i];
var clickEvent = button.getAttribute('onClick');
var insertText = "";

if(clickEvent) { // tag
// overwrite the default onclick behavior
button.setAttribute("onClick","if(className=='fb_down'){className='fb';}else{className='fb_down';}");
insertText = clickEvent.substring(
clickEvent.indexOf('['),
clickEvent.indexOf(']', clickEvent.indexOf('[')) + 1
);
} else { // smiley or prompt
// overwrite the default onMouseUp behavior
var upEvent = button.getAttribute('onMouseUp');
if(upEvent.indexOf('prompt') == -1) { // smiley
button.setAttribute("onMouseUp","if(className == 'fb_down'){className='fb';}");
insertText = upEvent.substring(
upEvent.indexOf("addtext('") + 10,
upEvent.indexOf("')", upEvent.indexOf("addtext('")) - 1
);
} else { // prompt
// get rid of old prompt, people know how to copy & paste now.
button.setAttribute("onMouseUp","");
button.setAttribute("onMouseDown","");
button.setAttribute("onMouseOut","");
button.setAttribute("onClick","if(className=='fb_down'){className='fb';}else{className='fb_down';}");
if(upEvent.indexOf('[link]') != -1) {
insertText = '[link]';
} else if(upEvent.indexOf('[image]') != -1) {
insertText = '[image]';
}
}
}

var buttonID = "button-" + i;
button.setAttribute("id", buttonID);
button.setAttribute("title", insertText);

document.getElementById(buttonID).addEventListener('click', insertAtCursor, false);
}

8/10/2009 7:55:35 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.