Comics and Anime Club at UVa
I have the coin! I have the power!
|
|
LulzBB (Lack of) Development Thread
| View Previous Topic :: View Next Topic |
| Author |
Message |
miki_sei
DIABEETUS 
Joined: Aug 2007
Power level: 3727
Location: Tir Na Nog |
Also someone needs to adjust the header; it's still showing the stuff we watched last semester.
_________________ Literacy is the best tech.
|
|
Back to Top
|
[profile]
[pm] [email] [mal] [aim] |
| |
eckstee
Azu-nyan ponder 
Joined: May 2007
Power level: 2607
|
yeah... I'll get the header. As for the Tales of Fridays thread, I've been trying to fix the bugs in the post delete code for a while now, and that's a new one that's popped up I guess. News page... I don't really see much use for anymore period. Unless we can come up with something that will actually entice people to go there, I just say delete it since it doesn't really present any info that isn't present elsewhere. We'd need to have sections of the site other than the forums to really have a news portal type of thing work out anyway, and we don't. Edit: also, response to Stephen regarding bugs in new posts being labelled as such: that whole system is buggy as shit. Blame L for moving us to incomplete code etc. I kind of want to move us to some complete forum software like SMF. There's a spoiler tag addon for SMF, there'd be buttons for people to click for bbcode if they're too lazy to type it all out themselves, bbcode would work in signatures, etc. The only thing that makes migration difficult is our image uploading feature.
_________________ 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: 妄想中 |
If we got rid of the front page completely and made it so that the header was easily editable by the mods I think that would be best for now. Basically something like an update button visible to people with high enough permission. Then click, type in something and post and it would update the info with a timestamp included to show recent the news is. However I pretty much agree with XT about migrating to SMF. I actually like that platform especially since it's pretty user friendly and I also like how it deals with user profiles. As long as user image upload were reintegrated it'd be perfect.
_________________ 
|
|
Back to Top
|
[profile]
[pm] [www] [mal] [aim] |
| |
Burt
whoa hello there
Joined: Jun 2007
Power level: 2924
|
Original post by eckstee Edit: also, response to Stephen regarding bugs in new posts being labelled as such: that whole system is buggy as shit. Blame L for moving us to incomplete code etc. phpbb2 was buggy as shit too. my implementation is true to the original. we should switch to drupal/joomla.
|
|
Back to Top
|
[profile]
[pm] [www] [mal] [aim] |
| |
本屋
[EX Director Honya] 
Joined: Aug 2007
Power level: 3641
Location: 妄想中 |

Found another bug. For some reason it says the Tales of Fridays thread has 16 pages but there are no posts on that page.
_________________ 
|
|
Back to Top
|
[profile]
[pm] [www] [mal] [aim] |
| |
eckstee
Azu-nyan ponder 
Joined: May 2007
Power level: 2607
|
I've checked the tales of fridays thread, I think it's just a pagination issue since the last post id is correct, and the number of posts in the thread is also correct. Also, pagination works fine everywhere else so wtf. If anyone can find any more issues with thread pagination it'd be nice to have some more stuff to work with, but I'll take a look at some things now and see if I can't figure it out. Edit: okay, the problem seems to be with this: $num_pages = (int)( $l['topic_replies'] / $_CONFIG['POSTS_PER_PAGE'] ); if ( $num_pages < 24 ) { $pages = range( 0, $num_pages ); } else { $pages = array( 0, 1, 2, $num_pages - 2, $num_pages - 1, $num_pages ); } With 240 posts in the thread and $_CONFIG['POSTS_PER_PAGE'] being 15 as it is now, $num_pages becomes 16. Making the range from 0 to 16 gives us 17 pages instead of 16, hence the blank last page. It only happens if the number of posts in the thread is evenly divisible by posts_per_page. Edit 2: ugh, trying to fix it makes all the other long threads one page shorter (in pagination only). Edit 3: I'm a moron, fixed it for real this time. Edit 4: And now the pagination inside the thread should be fixed. Edit 5: And now Dave's posted in the thread so you'll have to wait for 14 more posts to see the fix :(
_________________ 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: 妄想中 |

Another pagination issue this time in the firefox thread. Will created the first post on the third page but it isn't showing that correctly on the Spam index page or in the thread nav menu (which only shows page1 and last page and is missing 2 and 3).
_________________ 
|
|
Back to Top
|
[profile]
[pm] [www] [mal] [aim] |
| |
eckstee
Azu-nyan ponder 
Joined: May 2007
Power level: 2607
|
Yeah, there's issues with that in-thread pagination. I dunno what to do to be honest. I feel like reverting it back to where it would occasionally show an extra page just so it works properly everywhere else. Edit: reverted it back to the older incorrect behavior that at the very least listed all the pages
_________________ 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: 妄想中 |
So...how realistic is it to migrate to a different platform like SMF at this point or is the database fucked?
_________________ 
|
|
Back to Top
|
[profile]
[pm] [www] [mal] [aim] |
| |
eckstee
Azu-nyan ponder 
Joined: May 2007
Power level: 2607
|
I was thinking of playing around with it. The problems as I see them: - the image posting feature, which if I look hard enough there's probably an SMF mod for that.
- I'd have to modify an existing phpbb2->SMF migration script to work with all our database changes, or write one specific to lulzbb after inspecting SMF's database layout.
- L would probably need to install SMF here since it has some weird feature in the mod system where it FTPs into itself, and I don't have the password to the account the site is on (I just have write access to the directory). The alternative is that he could change his password to something he feels comfortable giving me, let me install SMF, and when I'm done change his password back.
- Unless I can find a mod to make SMF more receptive to running on two subdomains with the same database, dev.desudesudesu.org would probably have to die. I really don't want to have to be in and out of the source code, that's what SMF's mod system is for.
Fortunately I have a server I can install SMF on. I can then play around with modding it (spoiler tags, image posting, taglines?) and try to migrate a database dump from here. Once everything is sorted out we can see about installing it here and making it live. Oh and of course there would be some site downtime in the migration process, but that's a given.
_________________ Twitter | Blag | MAGFest 12 - January 2-5, 2014, at the Gaylord (National Harbor, MD)!
|
|
Back to Top
|
[profile]
[pm] [www] [mal] [google] [aim] |
| |
Burt
whoa hello there
Joined: Jun 2007
Power level: 2924
|
Original post by eckstee I'd have to modify an existing phpbb2->SMF migration script to work with all our database changes, or write one specific to lulzbb after inspecting SMF's database layout. The lulzbb is exactly the same as phpbb2 with a couple of extra fields thrown in (images, etc). I don't see why the migration script wouldn't work. Original post by eckstee L would probably need to install SMF here since it has some weird feature in the mod system where it FTPs into itself, and I don't have the password to the account the site is on It should only do that if it doesn't have write access to its own files. A lot of well-known pieces of software (Wordpress, etc) perform this check in a really stupid way. It probably just doesn't realize that it can write to itself directly. Hopefully you can write a plugin to override this misfeature.
|
|
Back to Top
|
[profile]
[pm] [www] [mal] [aim] |
| |
LadyRava
Chinsuko! 
Joined: Oct 2009
Power level: 138
|
You might want to look into a new time server too. The time is now 11 minutes off and keeps getting worse.
_________________
|
|
Back to Top
|
[profile]
[pm] [mal] |
| |
Burt
whoa hello there
Joined: Jun 2007
Power level: 2924
|
Original post by LadyRava You might want to look into a new time server too. The time is now 11 minutes off and keeps getting worse. This is running on a shared host -- I don't have access to the ntpd configuration (if they even have one running). Might consider running SMF on one of my dedicated servers if we transition, but meh.
|
|
Back to Top
|
[profile]
[pm] [www] [mal] [aim] |
| |
eckstee
Azu-nyan ponder 
Joined: May 2007
Power level: 2607
|
For anyone who hasn't already seen it, or read my post about it in Honya's fangasming thread, I just added a much more in-your-face notification that you've received new private messages. So much more in-your-face that you have to answer it (your choices are "Read" and "Ignore") to browse the site. It'll keep bugging you every time you return to the forum index until you've read all your private messages. I enabled it by default (for everyone but Hark) and there's a link on it to your user profile where you can turn it off. Just uncheck the box next to "Annoy me about new Private Messages" and hit Submit and the notification will be gone. Of course, this only works if you have Javascript on, and is untested in anything other than Firefox. Your mileage may vary, void where prohibited, see store nearest you for details.
_________________ Twitter | Blag | MAGFest 12 - January 2-5, 2014, at the Gaylord (National Harbor, MD)!
|
|
Back to Top
|
[profile]
[pm] [www] [mal] [google] [aim] |
| |
Burt
whoa hello there
Joined: Jun 2007
Power level: 2924
|
for everyone but Hark Thanks bro. Bro fist. ........... ...................__ ............./´¯/'...'/´¯¯`·¸ ........../'/.../..../......./¨¯\ ........('(...´...´.... ¯~/'...') .........\.................'...../ ..........''...\.......... _.·´ ............\..............(
|
|
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
|