Comics and Anime Club at UVa
Chalkboard yuri is always welcome.
|
|
LulzBB (Lack of) Development Thread
| View Previous Topic :: View Next Topic |
| Author |
Message |
eckstee
Azu-nyan ponder 
Joined: May 2007
Power level: 2607
|
yeah, I could put a default value on the field and change my code, but I won't. The subject is supposed to be meaningful dammit. I don't want my inbox to be filled with PMs that all say "(no subject)". Well, since the PM's subject was blank in the database, I changed it to "<( o_o <)" (copypasta'd out of Eureka's post) As for the code fix, well, I don't have a PM to test it on. Edit: tested with a saved draft, think I got it working. Stupid small oversight on my part really, was passing the subject through PHP's strip_tags() (removes anything that looks like an HTML tag, including Kirby faces) instead of htmlentities() (just turns a few select characters into &whatever;) Double edit: well, I put a default value on the field anyway just so if something else like this slips through in the future the subject (hopefully) won't be blank.
_________________ Twitter | Blag | MAGFest 12 - January 2-5, 2014, at the Gaylord (National Harbor, MD)!
|
|
Back to Top
|
[profile]
[pm] [www] [mal] [google] [aim] |
| |
eckstee
Azu-nyan ponder 
Joined: May 2007
Power level: 2607
|
So, small update. Search function implemented, taking the easy way out using Google for the dirty work (Thanks for reminding me about that, China). Maybe when I feel like learning how to do fulltext searches I'll actually write a real one that actually finds relevant results. On the list: Getting the login/logout, private messages, profile controls, search, etc. onto all pages so the links are actually usable POLLS Gravatar support? Would anyone use this? It's easy as hell to implement, but should I bother? Changing user titles. I've already written working code that does this but I need to fix issues and optimize the hell out of it.
_________________
 Twitter | Blag | MAGFest 12 - January 2-5, 2014, at the Gaylord (National Harbor, MD)!
|
|
Back to Top
|
[profile]
[pm] [www] [mal] [google] [aim] |
| |
eckstee
Azu-nyan ponder 
Joined: May 2007
Power level: 2607
|
Quick tweaks for some things that were annoying me: Clicking the thread title at the top of any page in the thread now takes you back to the beginning of the thread Quick referencing another post via >>post number was kicking me off of dev Deleting a single post now properly decreases the post count of the person who posted it Deleting a single post now returns you to the page of the thread you were looking at rather than the first page. Fixed forum and topic pagination for the Last Page link, it will no longer give you a starting offset that's not a multiple of TOPICS_PER_PAGE (15) or POSTS_PER_PAGE (also 15), respectively. If the starting offset is too high (for example, if you deleted the only post on a given page) you will be shown the last page in the thread instead of a page with no posts. Fixed a few incorrect statistics here and there. Mostly just by changing stuff in the database. Working on various tools to let me easily monitor statistics so I can see if they're getting messed up regularly or if it's just artifacts of previous bugs.
Don't go haphazardly hitting delete to check things out, there's no delete confirmation and once it's gone, it's gone. Perhaps that'll be fixed soon.
_________________
 Twitter | Blag | MAGFest 12 - January 2-5, 2014, at the Gaylord (National Harbor, MD)!
|
|
Back to Top
|
[profile]
[pm] [www] [mal] [google] [aim] |
| |
eckstee
Azu-nyan ponder 
Joined: May 2007
Power level: 2607
|
And the latest thing I'd wanted that lulzbb never had until I wrote it: A quick link to the first unread post in a thread. It might behave a little strangely depending on when you last visited the forums. The only real way to get it fixed is to read whatever's marked new and then let people post more.
_________________ Twitter | Blag | MAGFest 12 - January 2-5, 2014, at the Gaylord (National Harbor, MD)!
|
|
Back to Top
|
[profile]
[pm] [www] [mal] [google] [aim] |
| |
本屋
[EX Director Honya] 
Joined: Aug 2007
Power level: 3641
Location: 妄想中 |
I tried to use it but all I get is this: Resource specified doesn't exist.
_________________ 
|
|
Back to Top
|
[profile]
[pm] [www] [mal] [aim] |
| |
eckstee
Azu-nyan ponder 
Joined: May 2007
Power level: 2607
|
Original post by eckstee It might behave a little strangely depending on when you last visited the forums. The only real way to get it fixed is to read whatever's marked new and then let people post more. This is because once you view the forums your last visited time gets updated and the list of new posts is put into a cookie. So just read the threads as normal to clear out that cookie and then it'll work. I've been using it on all the posts made after I added it and it's working for me.
_________________ Twitter | Blag | MAGFest 12 - January 2-5, 2014, at the Gaylord (National Harbor, MD)!
|
|
Back to Top
|
[profile]
[pm] [www] [mal] [google] [aim] |
| |
eckstee
Azu-nyan ponder 
Joined: May 2007
Power level: 2607
|
>>17369(Re: google account profile field) Not difficult to implement, but I need something to link it to if it's going to be useful. I must admit I don't really know much about how Google's structured their stuff, it was only a few days ago when I was dicking around with my Google Wave account that I discovered that Google accounts have profiles. (After messing around with it some) Ohhh, okay... It's kind of weird. Google's all like "you suck because you don't want people to see your real name on the internet" so my profile isn't searchable, but... yeah. It's just http://www.google.com/profiles/$USERNAME Implementing... (after implementing) works on dev, making it live... (after copying some files around) done. As a bonus, there's an extra feature on the user control panel page that's now live. If you have a MAL account defined in your profile, it'll show you a text box with your signature code to be copied/pasted anywhere in your signature. in before "tweak it pl0x"
_________________ Twitter | Blag | MAGFest 12 - January 2-5, 2014, at the Gaylord (National Harbor, MD)!
|
|
Back to Top
|
[profile]
[pm] [www] [mal] [google] [aim] |
| |
eckstee
Azu-nyan ponder 
Joined: May 2007
Power level: 2607
|
I have an idea. Rather than the current B& feature we have that's more or less the minority opinion of a post since only 5 people can use it, I was thinking of turning it into a thumbs up/down sort of thing as seen on YouTube and elsewhere and opening it up for everyone to use. Each post would display its balance, and there could be an overall balance thing on a user's profile page. Perhaps I could stick the overall balance below the user's avatar/join date/power level/location in each post as well. I won't begin any work on this before or during MAGFest, so, there's time to discuss. Bullet points for my own later reference (and possible discussion): Mod/Admin-only B& feature -> public opinion of post feature would only be usable by logged-in users (so googlebot can't vote) can use existing ban_count field, renaming the field would be nice but also require some code/template changes Cache overall balance per-user in the user table. Could call it Internets or something.
Questions. We need a method for limiting use. For instance, YouTube only allows one vote on any given comment per day. I'd probably use cookies for remembering this (lol clear your cookies to vote again!). It does have that easy way of multi-voting but is a lot easier to implement than doing it server-side. Correct me if I'm wrong, but I think we'd need an entirely new database table to store this crap if it were stored server-side. One vote per post per 24 hour period (relative to when you last voted on the post), or one vote per post per day (resetting at midnight)? Representation of the voting functions is an issue. We seem to be sticking with text for things rather than using images (which I like, too many images makes things slow down, and using an image solely to display text is a big web design no-no). My first instinct is something like [/\] [\/], but it could be [^] [v], [+] [-], [↑] [↓], or even [up] [down]. I like the first one, but I also like the third one. How many of these things do we really want in the header of each post?
_________________
 Twitter | Blag | MAGFest 12 - January 2-5, 2014, at the Gaylord (National Harbor, MD)!
|
|
Back to Top
|
[profile]
[pm] [www] [mal] [google] [aim] |
| |
Aorii
I post in alt.total-loser 
Joined: Aug 2007
Power level: 1893
Location: Veni, Vidi, Nates Calce Concidi |

so somehow when I tried to delete/repost (added wrong pic) in the Tales of thread the entire thread vanished.... not to mention doing something strange --> might want to look into the database on this.
_________________ "Allow me to warn you that challenging my ingenuity is a dangerous sort of project, and may tend to make your life a lot more surreal." "You crazy bastard! I'm gonna treat you like shit until you reveal your true form!!!"
|
|
Back to Top
|
[profile]
[pm] [www] [mal] [google] [aim] |
| |
Aorii
I post in alt.total-loser 
Joined: Aug 2007
Power level: 1893
Location: Veni, Vidi, Nates Calce Concidi |
well, now that we know what DID happen to it. still shouldn't do that, mind...
_________________ "Allow me to warn you that challenging my ingenuity is a dangerous sort of project, and may tend to make your life a lot more surreal." "You crazy bastard! I'm gonna treat you like shit until you reveal your true form!!!"
|
|
Back to Top
|
[profile]
[pm] [www] [mal] [google] [aim] |
| |
本屋
[EX Director Honya] 
Joined: Aug 2007
Power level: 3641
Location: 妄想中 |
Okay, here's a request. Let's try to fix the front page so it's more accessible. I don't know how yet but we should think about it.
_________________ 
|
|
Back to Top
|
[profile]
[pm] [www] [mal] [aim] |
| |
|
You cannot reply because you are not logged in.
|
| |
Powered by lulzbb © 2008 by Hark
Maintained by XT-8147
|