Breaking my forum once again

Message boards : Cafe SETI : Breaking my forum once again
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile AthlonRob
Volunteer developer
Avatar

Send message
Joined: 18 May 99
Posts: 378
Credit: 7,041
RAC: 0
United States
Message 141491 - Posted: 23 Jul 2005, 16:52:22 UTC
Last modified: 23 Jul 2005, 16:52:58 UTC

I am devoting most of today to coding away on the boinc forum code... I have a list of things I want to accomplish today.

As I make these changes, I'm testing them out on my forum... http://boinctest.axpr.net/ ...feel free to find breakages and post about them there. :-)
Rob
ID: 141491 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 141502 - Posted: 23 Jul 2005, 17:07:45 UTC

Ok.
ID: 141502 · Report as offensive
Profile Misfit
Volunteer tester
Avatar

Send message
Joined: 21 Jun 01
Posts: 21804
Credit: 2,815,091
RAC: 0
United States
Message 141547 - Posted: 23 Jul 2005, 18:53:51 UTC - in response to Message 141491.  

Sounds kinda kinky.
ID: 141547 · Report as offensive
Profile John Cropper
Avatar

Send message
Joined: 3 May 00
Posts: 444
Credit: 416,933
RAC: 0
United States
Message 141550 - Posted: 23 Jul 2005, 18:55:14 UTC - in response to Message 141547.  

Sounds kinda kinky.


Only if he 'breaks' them. Often it simply involves making them feel inadequate.

Stewie: So, is there any tread left on the tires? Or at this point would it be like throwing a hot dog down a hallway?

Fox Sunday (US) at 9PM ET/PT
ID: 141550 · Report as offensive
Profile AthlonRob
Volunteer developer
Avatar

Send message
Joined: 18 May 99
Posts: 378
Credit: 7,041
RAC: 0
United States
Message 141767 - Posted: 24 Jul 2005, 5:20:57 UTC
Last modified: 24 Jul 2005, 5:25:14 UTC

Okay, status update....

I've disabled all HTML tags now (on the test forum, should be here soon enough). At long last, what you type in is what you'll see.

I've also enabled wiki linking. If you want to link to something on Paul's Boinc Wiki, all you'll have to do is put that something inside [['s. An exampe would be something like this:

[[SETI@Home]]

...which, if it were enabled here... would become a link to SETI@Home on the wiki.

Now that those two things are done, I'm revamping the back-end code. I'm taking a more object-oriented approach to the forums using PHP classes. One major benefit is a reduced database server load - I've cut thread display queries from what they are now to three queries for those who aren't logged in, and four for those that are. Currently we're looking at two queries for a logged in user just to make sure they're a logged in user and get their preferences, one query for the thread information, one query for the forum information, and two queries per post in the thread. IMHO, that's icky. We're using a relational database system for a reason. :-)
Rob
ID: 141767 · Report as offensive
N/A
Volunteer tester

Send message
Joined: 18 May 01
Posts: 3718
Credit: 93,649
RAC: 0
Message 141771 - Posted: 24 Jul 2005, 5:31:14 UTC - in response to Message 141491.  

[font='courier,courier new']Y'know... why not mis-label the Breakers forum and invite all the unmentionable undesirables to post?[/font]
ID: 141771 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 142051 - Posted: 24 Jul 2005, 16:04:18 UTC

They're broken alright...

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /var/www/boinctest.axpr.net/htdocs/inc/forum.inc on line 148

;)
ID: 142051 · Report as offensive
Profile Saenger
Volunteer tester
Avatar

Send message
Joined: 3 Apr 99
Posts: 2452
Credit: 33,281
RAC: 0
Germany
Message 142066 - Posted: 24 Jul 2005, 16:09:51 UTC - in response to Message 142051.  

They're broken alright...

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /var/www/boinctest.axpr.net/htdocs/inc/forum.inc on line 148

;)


I get the same message, for all fora on the message level.
Gruesse vom Saenger

For questions about Boinc look in the BOINC-Wiki
ID: 142066 · Report as offensive
Profile AthlonRob
Volunteer developer
Avatar

Send message
Joined: 18 May 99
Posts: 378
Credit: 7,041
RAC: 0
United States
Message 142092 - Posted: 24 Jul 2005, 16:26:52 UTC

Yeah, I'm attempting to incorporate some of the new code I've written in to the existing pages to see how compatible it might be. It's a work-in-progress. :-)
Rob
ID: 142092 · Report as offensive
Profile Saenger
Volunteer tester
Avatar

Send message
Joined: 3 Apr 99
Posts: 2452
Credit: 33,281
RAC: 0
Germany
Message 142094 - Posted: 24 Jul 2005, 16:28:19 UTC - in response to Message 142092.  

Yeah, I'm attempting to incorporate some of the new code I've written in to the existing pages to see how compatible it might be. It's a work-in-progress. :-)


So you brake it yourself?
What do you need us for? ;)
Gruesse vom Saenger

For questions about Boinc look in the BOINC-Wiki
ID: 142094 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 142096 - Posted: 24 Jul 2005, 16:30:19 UTC

I think it's now Hack the forum code quickly!!

thread Object
(
    [forum] => 2
    [owner] => forum_author Object
        (
            [user_id] => 1
            [create_time] => 1115239942
            [name] => AthlonRobLongLongLongLongLongLong
            [total_credit] => 0
            [expavg_credit] => 0
            [expavg_time] => 1118855322
            [has_profile] => 0
            [show_sig] => [b]Rob[/b]
            [posts] => 178
            [last_post] => 1122182161
            [avatar] => user_profile/images/1_avatar.jpg
            [special_user] => 1111000
        )

    [posts] => 
    [count] => 
    [post] => post Object
        (
            [author] => forum_author Object
                (
                    [user_id] => 
                    [create_time] => 
                    [name] => 
                    [total_credit] => 
                    [expavg_credit] => 
                    [expavg_time] => 
                    [has_profile] => 
                    [show_sig] => 
                    [posts] => 
                    [last_post] => 
                    [avatar] => 
                    [special_user] => 
                )

            [thread_id] => 
            [post_id] => 
            [timestamp] => 
            [modified] => 
            [parent] => 
            [score] => 
            [votes] => 
            [show_sig] => 
            [hidden] => 
            [content] => 
        )

    [thread_id] => 89
    [title] => Change I'm Implementing
    [timestamp] => 1122219249
    [views] => 79
    [replies] => 12
    [create_time] => 1115239942
    [hidden] => 0
    [sticky] => 0
    [activity] => 0
    [sufferers] => 0
)

1

forum Object
(
    [forum_id] => 2
    [title] => Number crunching
    [is_helpdesk] => 0
)

ID: 142096 · Report as offensive
Profile Captain Avatar
Volunteer tester
Avatar

Send message
Joined: 17 May 99
Posts: 15133
Credit: 529,088
RAC: 0
United States
Message 142097 - Posted: 24 Jul 2005, 16:30:30 UTC - in response to Message 142092.  

Yeah, I'm attempting to incorporate some of the new code I've written in to the existing pages to see how compatible it might be. It's a work-in-progress. :-)



Did you add BOINC Synergy to your Teams List Yet Rob?
ID: 142097 · Report as offensive
Profile Misfit
Volunteer tester
Avatar

Send message
Joined: 21 Jun 01
Posts: 21804
Credit: 2,815,091
RAC: 0
United States
Message 142154 - Posted: 24 Jul 2005, 17:27:29 UTC - in response to Message 142097.  

Yeah, I'm attempting to incorporate some of the new code I've written in to the existing pages to see how compatible it might be. It's a work-in-progress. :-)

Did you add BOINC Synergy to your Teams List Yet Rob?

Rob told me he intends to join BOINC SYNERGY! That SHOUT feature really floats his boat!
me@rescam.org
ID: 142154 · Report as offensive

Message boards : Cafe SETI : Breaking my forum once again


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.