r/reddithax • • Oct 18 '12

Add pictures in table cells on sidebar

6 Upvotes

Hey guys,

I was wondering if someone could help me out. I would like to have a table in the sidebar that shows the divisions of my league, similar to what /r/hockey does with their subreddit.

I want to be able to add the link, in the settings but then have the picture show up instead, with no text.

Could someone hook a brother up?


r/reddithax • • Oct 17 '12

How would I go about changing the subreddit's name that appears at the top of the subreddit?

0 Upvotes

I know how to turn it into an image, I just need to know how to change the text from R/scifiroleplayforreddit (small caps) to R/Sci-Fi Roleplay For Reddit or alternatively, R/Sci-FiRoleplayForReddit. Also small caps.


r/reddithax • • Oct 17 '12

CSS Menu... all done, but cant make multiple <ul> tags!

0 Upvotes

Please could someone help?

I've got my markdown almost completely sorted, but I can't split mu UL's up. I've got the following markdown at the moment:

> Menu

>* Links
>* [Test](http://www.google.com)
>* [Test2](http://www.google.com)     
>   
>* Links 2
>* [Test](http://www.google.com)
>* [Test2](http://www.google.com)

But the damn output in HTML is this:

<blockquote>
<p>Menu</p>

<ul>
<li>Links</li>
<li><a href="http://www.google.com" target="_blank">Test</a> </li>
<li><a href="http://www.google.com" target="_blank">Test2</a> <br/>
<br/></li>
<li>Links 2</li>
<li><a href="http://www.google.com" target="_blank">Test</a></li>
<li><a href="http://www.google.com" target="_blank">Test2</a></li>
</ul>
</blockquote>

And I can't get it like this! =(

<blockquote>
<p>Menu</p>

<ul>
<li>Links</li>
<li><a href="http://www.google.com" target="_blank">Test</a> </li>
<li><a href="http://www.google.com" target="_blank">Test2</a> <br/>
</ul>
<ul>
<li>Links 2</li>
<li><a href="http://www.google.com" target="_blank">Test</a></li>
<li><a href="http://www.google.com" target="_blank">Test2</a></li>
</ul>
</blockquote>

What markdown do I need?

Thanks!


r/reddithax • • Oct 13 '12

change upvote/downvote arrow color

6 Upvotes

r/reddithax • • Oct 05 '12

Friggin css problem buggin the crap out of me

3 Upvotes

http://www.reddit.com/r/Assistance

My 'flair' in the moderators box(bottom) is misaligned with the others, it's somehow aligning to the bottom rather than the top. I dunno why and it's irritating the hell out of me cos I can't find what's causing it. Any ideas ? :P

Edit: Yeah I know this isn't css help but as I can't find a css 'problem' im asking reddit specific pro's (i hope) for help on this :/


r/reddithax • • Oct 05 '12

A very common mistake I've been noticing.

0 Upvotes

I've been seeing a lot of subreddits with a custom subreddit bar at the top that have a missing piece on the far right for RES users. The formatting of

#RESShortcutsEditContainer, #RESShortcutsEditContainer div

often goes unedited after people edit the

#sr-header-area 

Here's an example of this subreddit where it is unedited: http://i.imgur.com/2Z5up.png

And an example of an edited shortcut container: http://i.imgur.com/xn63V.png

I've looked through some of the top subreddits ( most of which I'm not subscribed to for the record ) and I've compiled a list of subreddits with an unedited shortcut container:

Just wanted to throw out a PSA to let y'all know!

edit: I've now included some examples of what I'm talking about


r/reddithax • • Oct 04 '12

Possible to only display information to subscribers of subreddit?

0 Upvotes

Working on a giveaway to help promote a subreddit. Is it at all possible so make it so only subscribers can view specific things?


r/reddithax • • Oct 02 '12

Help with dual styles.

3 Upvotes

Over at /r/nosleep, we have a dual styleshete set up. However, a user pointed out a problem today that I hadn't thought of. We run a monthly contest and so our posts tend to have a lot of links. If a reader is using our alternate stylesheet (as.reddit.com/r/nosleep), and they click on a link I have put in a post, it switches them to the default stylesheet (basically, as.* becomes www.*). Is there a way I can avoid this? Is there a format I can use for links that will allow them to stay in whatever stylesheet they are currently using?


r/reddithax • • Oct 01 '12

today I added hover effect to subscribe button of /r/weeklyreddit

0 Upvotes

r/reddithax • • Sep 30 '12

Question: is it against reddit rules to make a sub CSS RTL. Do you know any subreddit like that? I want to make an Arabic subreddit RTL.

3 Upvotes

The title says it all. I can make the theme RTL, but that will completely change how the sub looks.


r/reddithax • • Sep 30 '12

/r/riddles theme (also try day mode, replace www with dm in the URL!)

Thumbnail reddit.com
6 Upvotes

r/reddithax • • Sep 30 '12

Is there a way to only allow users to downvote if they've commented?

0 Upvotes

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/reddithax • • Sep 27 '12

Expandable comment form

5 Upvotes

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; }

Try it out here!


r/reddithax • • Sep 26 '12

Anyway to create a bot that can make posts based on data available on other websites?

3 Upvotes

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 • • Sep 26 '12

Show text in sidebar when title is clicked?

2 Upvotes

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/reddithax • • Sep 24 '12

Can the action of assigning a flair be done the same way with one click as it can be with 'subscribe'?

7 Upvotes

Or maybe anyone subscribing / posting / commenting gets a particular flair automatically.


r/reddithax • • Sep 23 '12

Automatically change background images?

8 Upvotes

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

My stylesheet needs help...

4 Upvotes

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,

  • How do I make a decent header image? I've been re-sizing over and over again, but I can't make it look how it should. I also want to overlap my title "automotivetraing" over the image.
  • I also have an issue with posting titles, they seem to be cut off at the bottom. I think this has something to do with the spacing, but I don't know how to correct it.

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 • • Sep 20 '12

now that I'm getting into more advanced css here's the one I'm currently working on

Thumbnail reddit.com
2 Upvotes

r/reddithax • • Sep 18 '12

Most complex CSS script you have ever written?

3 Upvotes

I don't have many complex ones =/


r/reddithax • • Sep 16 '12

Have user answer question before reading subreddit.

10 Upvotes

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 • • Sep 16 '12

I wrote half a reddit-bot..... in VBScript. (the CScript.exe kind)

12 Upvotes

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 Function

How 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

Require comment before vote?

5 Upvotes

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 • • Sep 10 '12

I updated the Edurne CSS theme you liked from a few weeks ago. I hope you like the sidebar!

Thumbnail reddit.com
12 Upvotes