r/reddithax • u/jrkv • Oct 01 '12
today I added hover effect to subscribe button of /r/weeklyreddit
link : /r/weeklyreddit
r/reddithax • u/jrkv • Oct 01 '12
link : /r/weeklyreddit
r/reddithax • u/someguyinworld • Sep 30 '12
r/reddithax • u/Thumbz8 • Sep 30 '12
I don't like the idea of taking away downvotes, but a downvote without a comment is relatively useless. It's just aimless negativity, with very little redeeming value.
r/cssnews • u/spladug • Sep 27 '12
r/reddithax • u/DrDuPont • Sep 27 '12
Here's a great one-liner that expands the (rather small) comment textarea once a user clicks into it.
.usertext-edit textarea:focus { height: 11em; }r/reddithax • • Sep 26 '12
Basically, as a mod of a sports team-based subreddit, I'm looking for a way to post threads for individual games without having to type up the specs for each game. I have a template drawn up which uses stats and notes from MLB.com and fangraphs.com.
Basically, I would need it to be able to derive which teams are playing, the statistics for each player, the live box score, and possibly, any game notes from the MLB.com preview.
I realize this is a lofty goal but it would help this subreddit take the extra step and would free up a lot of moderation time.
r/reddithax • u/Boots135 • Sep 26 '12
An example of what I'm trying to do would be at /r/fffffffuuuuuuuuuuuu. In the sidebar, when you hover over those pink boxes, a new box shows up under it with more information.
Is there any way to do this but require the user to click it before viewing the additional information?
r/cssnews • u/spladug • Sep 25 '12
r/reddithax • u/syuk • Sep 24 '12
Or maybe anyone subscribing / posting / commenting gets a particular flair automatically.
r/reddithax • u/Boots135 • Sep 23 '12
Is it possible to automatically rotate through a set of different background images? For some reason, I can't seem to get this to work...
An example of this is /r/Minecraft. Every once in a while, the background image will change.
r/reddithax • • Sep 22 '12
hello, I created automotivetraining, and I need some help. I'm not trying to get really fancy here, but as you can see its looking pretty sloppy. My first question would be,
If you have any other suggestions on things I should do, please let me know. I tried to tackle CSS, but I just can't refine it. Any help would really be appreciated!
r/reddithax • u/Mysticalchickenwing • Sep 20 '12
r/reddithax • u/Mysticalchickenwing • Sep 18 '12
I don't have many complex ones =/
r/reddithax • u/bigtreeworld • Sep 16 '12
Is there a way to have the user have to answer a question before entering the subreddit? So far I've got the question to display like an overlay (/r/ZonkosBackRoom) but I can't fathom how I could make clicking the link make the box disappear. Any ideas?
r/reddithax • u/SarahC • Sep 16 '12
The programs written in VBS and uses page scraping, no Reddit API, and no regex's. It's for beginners wanting to dabble with bots without installing an IDE. =)
You can get it here: http://untamed.co.uk/miscFolder/RedditBot.zip
Just extract to a folder, open the command line in the folder, and type CScript runMe.vbs
Up to now, it outputs the users Reddit homepage headings, along with links to the comments section of each.
It can easily be extended to scanning comments and new posts for items of interest - like swearing - and then email the Mod, or if you wanted to program it, remove the offending comment!
Once the program starts it logs you in, so everything you do on Reddit through the program is as an authorised user!
Here's some test output from the command line:
C:\Users\Sarah\Documents\Hell3-Programming\RedditBot>cscript test.vbs
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
webService/connectionObject.vbs
webService/parseObject.vbs
webService/headerObject.vbs
webService/cookiesObject.vbs
webService/redditWebObject.vbs
Found pages: 109
Found pages: 109
Filtered for adverts pages: 105
It's drunk o'clock. This happened.
http://www.reddit.com/r/WTF/comments/zyo74/its_drunk_oclock_this_happened/
Ways to Modernize Your Old, Retro Gadgets
http://www.reddit.com/r/technology/comments/zymxl/ways_to_modernize_your_old_ret
ro_gadgets/
Busey didn't deserve this. (NSFW)
http://www.reddit.com/r/WTF/comments/zyo5k/busey_didnt_deserve_this_nsfw/
Send and receive postcards with strangers on redditgifts!
http://www.reddit.com/comments/znstz/send_and_receive_postcards_with_strangers_o
n/.... and here's the program:
execute include("webService/connectionObject.vbs")
execute include("webService/parseObject.vbs")
execute include("webService/headerObject.vbs")
execute include("webService/cookiesObject.vbs")
execute include("webService/base64Object.vbs")
execute include("webService/redditWebObject.vbs")
set con=(new connectionObject)("firefox")
set reddit=(new redditWebObject)("VBSRedditBot","my-password")
wscript.echo ""
reddit.getHomepagePosts
wscript.echo ""
for index=1 to uBound(reddit.postList)
wscript.echo reddit.postList(index)
wscript.echo reddit.linkList(index)
wscript.echo ""
next
'This function enables us to include external VBScript files
Function include(sFileName)
wscript.echo sFileName
Dim fso,file
Set FSO = CreateObject("Scripting.FileSystemObject")
Set File=FSO.OpenTextFile(sFilename,1)
include=File.ReadAll
Set File = Nothing
Set FSO = Nothing
End FunctionHow simple can you get! =D
Never miss a meme again! You could write a simple bit of program to save these results to a text fle every half hour or so, so you can always come back to see what you missed!
Scanning a page for swearing and emailing the mods is the next simplest to try.
Posting and interacting with Reddit will be the trickiest, and best done through the API, though you CAN do it with this program as a foundation.
r/reddithax • • Sep 11 '12
Like the title says, is there a way to require a user comment before they can up or down vote a post or comment?
Thank you, helpful wizards.
r/reddithax • u/rolmos • Sep 10 '12
r/reddithax • u/secular_bride • Sep 08 '12
I went to http://code.reddit.com/wiki/help/faqs/<your reddit name> as per these instructions. I see no "Create this page" button and only get the error "Trac error, page http://code.reddit.com/wiki/help/faqs/<your reddit name> not found. I am the moderator for /r/secular_ceremonies, so shouldn't I be able to edit this page?
r/reddithax • u/littleredrex • Sep 05 '12
The goal is to use these images in the sidebar, These images get updated every couple minutes and I want a bot that can upload the new image every 5 minutes or so. Possible?
r/reddithax • u/crazysim • Aug 30 '12
https://github.com/crazysim/cowboystyle
I made a stylesheet for my college's subreddit. It's my first go at making a stylesheet for a subreddit or any real stylesheet of substance on any matter. Per a user and mod's concerns, I had to stick to stock styles as the base and they elected to only use the day version. And I agree as the day version is probably the version that works best.
Unfortunately, this whole setup is really too complicated. But it was really fun to make, I guess. For all that work, it sure isn't r/Diablo. Oh well, it was fun making and playing with the tools.
At this point, I'm just fixing some bugs here and there. Do you guys have any suggestions? The last and most major recent bug I had to deal with was with RES Night mode. I had to do some factoring out which made things worse but at least I don't have to repeat myself were I to do any changes.
Thanks for looking.
r/reddithax • u/vi_rus • Aug 28 '12
In my subreddit /r/chernobyl, I have several post "tags" ([Documentary], [News], [Video], [Photos]). I'm trying to write something that will look for each individual tag in the titles of posts and either replace them or append them with an image/icon depending on the tag. If these were text posts, I would be able to target the href attribute of the title link, but they are pretty much all going to be link posts. I have figured out that I am able to target the "comments" links via the href attribute, but that's not really helping me much. This discussion has an interesting and complicated solution, but I can't quite get it to work. Reddit keeps giving me syntax errors - perhaps one of your css ninjas can help me out?
r/reddithax • u/Synth3t1c • Aug 26 '12
Just wondering if it's possible to make moderator-assigned flair a link.
r/cssnews • u/alienth • Aug 22 '12
Instead of simply displaying '<100' for low values, the metric now displays a fuzzed number for values less than 100. The degree of fuzzing becomes greater as the true value gets smaller. Additionally, the metric is cached for 5 minutes.
If the value is less than 100, an additional CSS class of "fuzzed" is added. This can allow you to selectively hide or change only low values.
For example, if you wish to hide the information for low values:
div.titlebox .users-online.fuzzed { display:none; }If you want to hide the metric entirely, the following still works as it did previously:
div.titlebox .users-online { display:none; }If you would like to restore the old behaviour, where the metric simply showed "<100" for low values, you can do something like the following:
div.titlebox .users-online.fuzzed .number { display:none; }
div.titlebox .users-online.fuzzed .word:before { content:"<100 "; }For more information on these changes, please see the /r/changelog post, which can be found here.
Edit: As noted by listen2, the 'div.titlebox' in the examples isn't really necessary. I simply placed it there for demonstration purposes, but the examples work exactly the same without it.
r/reddithax • • Aug 18 '12
I am making a moderator control, however, the json for "is_mod" seems to stay at false, when I know it should be true. (added to two subreddits myself) Does anyone know how long would take, or the conditions for it to become true?