BB Question/poll/review/results...

Started by Dainis, September 26, 2004, 08:39:33 AM

Previous topic - Next topic

Dainis

Hi all,

Can I do this (or any part of it) with SM Forum:
a) New threads go to the admin first, and are made "public" by the admin (me).

b) I evaluate the threads on a 1-10 scale in 6 categories. That's basically 6 questions, and I rate 1-10. My eval needs to be presented with an average along with my comments.

c) I make the thread public, users of the forum can answer a 4-selection question with an "other" field; then evaluate the thread on a 1-10 scale; then be able to make comments. After a user has rated 1-10, they can't rate again on that thread. The result is averaged, and all users can see what each user voted. After that, the thread functions like a normal forum.

d) Get that to work in my Mambo site (demo at: http://liquidenglish.dainis.net/liquidenglish/, specifically: http://liquidenglish.dainis.net/liquidenglish/content/view/51//), if not it will be a separate BB. Ideally, the forum would be integrated into my Mambo site, but that's more of a hope than an expecation.

e) Here's an alternate solution: I collect the "qualifications" info in "c" with custom fields in the BB user profiles, then I only need to do the 1-10 poll per thread.

OK, that ought to do it...hope I was able to describe what I'm looking for...

Sincerely,
Dainis

A.M.A

Hi and welcome to SMF :)

sorry to disappoint you .. but It seems that you are looking for a specific script .. none of the Forums I know would do (all) what you have asked for ..

the good news is that some work has been done on integrating Mambo with SMF:
http://www.simplemachines.org/community/index.php?topic=6344.0
Really sorry .. real life is demanding my full attention .. will be back soon hopefully :)

Dainis

Thanks! Glad to be here!

...it's funny, because PHPSurveyor can make exactly the kind of surveys I need, but I can't get it to display results to my users. I also don't know how to make a PHPSurveyor poll rate a particular thread.

Any ratings tool that can rate 1-10 can do what I need, but I can't seem to attach that to specific users and comments.

Here is a long list of threads in which I've sought to create my ideal polling/review system, for folks who might be able to/interesed in steering me in the right direction:

http://forum.mamboserver.com/showthread.php?t=16143
http://www.mambers.com/showthread.php?t=10605
http://www.mamboportal.de/showthread.php?t=3839
http://www.sitepoint.com/forums/showthread.php?t=197392
http://www.sitepoint.com/forums/showthread.php?t=198030
http://www.mamboxt.com/index.php?option=com_simpleboard&Itemid=27&func=view&id=127&catid=5
http://sourceforge.net/forum/forum.php?thread_id=1147195&forum_id=254599

Peace,
Dainis

[Unknown]

I'm afraid post moderation is not yet available as a standard feature, but I think there's a mod for it.

The evaluation thing isn't a difficult mod, but it's not built in either :/.

Working on Mambo integration as mentioned.

-[Unknown]

Dainis

Hmm...sounds promising...

Here's something new I came up with as a solution. Maybe this could work in SMBB:

1) Threads only appear after Admin approval
2) Custom user profile fields (4 options + other[textfield]) ==> appears in all posts
3) All threads automatically have a standard 1-10 poll on them (appears under the first post)
4) I can, as the admin, automatically "review" the first post with a custom poll (1-10 ratings in 6 categories, then averaged)

Hope you guys don't mind my posting another BB's url's here, but it will help explain what I'm looking to do, also, please feel free to comment on the "other" BB:

1-3 seem to be working in WoltLab's BB. Here's a link to their test board (don't know how long my test parameters stay active over there: http://www.woltlab.de/products/burning_board/demo/thread.php?threadid=1).

OK, I'll search around for "post moderation" at simplemachines, and I'd be glad to look at mods you think might apply in my situation.

Cheers!
Dainis





Oldiesmann

1. Grudge has a mod for this.
2. http://unknown.network32.net (nice tutorial on custom profile fields there)
3. and 4. Not sure how easy that would be to do...
Michael Eshom
Christian Metal Fans

Dainis

Re 3&4, I think 3 would be called a topic rating poll. Could I do that? It would appear automatically on all topics in a particular "section" of the forum.

I'd love to hear about #4.

Thanks for your reply!
Dainis

Dainis

I read the stuff by "Unknown W. Brackets," and I like what you guys are about. I sent the Simple Machines tech crew an email about Charter Membership to see whether that level of support would help me implement the functionality I'm looking for. I did, however, receive an email back saying that I don't have an account, etc. etc., so I don't know if that email arrived/was read/etc.

At any rate, my #3 is a pretty standard "thread rating" (except for where I want the ratings box to appear...under the first post, not at the bottom of the thread). If I do some preparatory "half programming" (which is the best I can do), I bet we wouldn't need much support to get things going on the 6 category 1-10 rating either.

Hoping to hear back from the Simple Machines Tech Crew.

Sincerely,
Dainis

Dainis

Whoah!

Now I get it. [Unknown] is the person who replied to this thread stating that the things I'm looking to do wouldn't be too tough...not built in...but not too tough...hmm...I think I'll try it.

Still, should I go for it "on my own" or try it with Charter Membership?

Looking forward to your replies...and whew...didn't quite get that bracket unknown thing there...mysterious!  :)

--dainis

[Unknown]

Well, I'm more than willing to help you work it out ;).

-[Unknown]

Dainis

I'm taking the SMF plunge, baby!

Hear that diving board creak? ...
See that fella kind of making a cannon-ball shape...
...leg not really tucked...
...arm flailing...

...uh...I'll let you know how I do on the install  :)

--Dainis

Amacythe


Dainis

Installed (with a hitch or two, but no problemo). To explain, on my cPanel, MySQL renames the users and DB's that I make (it adds a prefix), so I had to get the right names and whamo ... up and running.

I'll be working on modifying the theme and creating the surveys I mentioned, but here's a question:

I'm fumbling through the permissions section of the acp, and I'm curious if there's a way to allow for users to post in a board (no polls, just posts), and only that user and the admin can see that particular thread (the user who started the thread and the admin). Is that possible?

Thanks for the welcome, I'm already glad to be here.

--Dainis


[Unknown]

That's called "post moderation".  It should be an option in 1.1, but for now there is a mod to do it.

-[Unknown]

Dainis

Thanks for the tip on post moderation, I've installed Member Specific Permissions, which I thought might give me "post moderation." Eventually, it might help to know what php file the permissions are stored in (or how permissions work in SMF), so that I can modify them directly. 

At the moment, here's what's up:

Tried to install the post moderation package and got the following:

Database Error
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ADD moderatedPosts int(8) NOT NULL DEFAULT '0'' at line 3
File: /home/dainismi/public_html/liquidenglish/smf/Packages/temp/PostModPdb.php
Line: 43 

My Package Manager shows the package, and in the install process, all of the files showed "success" (except for the top two or three, which I don't think can succeed or fail...the Report/Description field was blank). I tried to search on "ADD moderatedPosts" on this forum, and I couldn't find anything.

I'm also curious as to what procedure one needs to follow to apply "post moderation" to a particular board, once the mod is installed and working. Would that be in "edit permissions?"

Looks like SMF is going to be perfect for my needs. I'm grateful and happy. I'll be posting on the "review thing" that I want to do soon...

Cheers!
Dainis



[Unknown]

That's strange.  I probably should have tested the mod before recommending it, huh?

Can you try the attached package?

-[Unknown]

Dainis

That one gives me this...

Database Error
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ' (
`ID_APPROVAL` int(9) NOT NULL auto_increment,
`ID_MSG`
File: /home/dainismi/public_html/liquidenglish/smf/Packages/temp/PostModPdb.php
Line: 72 

...don't worry about not testing the mod beforehand...fuhgeddabaudeeht!

Is there anything I need to do? Something I'm missing?

--Dainis

[Unknown]

Well, it's not my mod :P ;).

Can you try this one?

-[Unknown]

Dainis

It woiked :), except for the graphics next to "Post Moderated Users" and "Post Moderation Manager." ...now for the small detail  :P of my not knowing how to use it to:

Quoteallow users to post in a board (no polls, just posts), and only that user and the admin can see that particular thread (the user who started the thread and the admin).

...seems like it would be something like: Permissions by Board|select board|modify all users except Admin a) profile_view_any, set to "no" b) something like profile_view_own, set to "yes," but I'm making up "profile_view_own," and I don't see that when I "show permissions."

or maybe something like: Permissions by Board|select board|set to "post moderation" using the mod...but I don't see anything like that...

Did some other fumbling around, but I won't ramble on...

Oh, my edit permissions doesn't look anything like: http://www.simplemachines.org/community/index.php?topic=4606.0 ...does that mean that my RC1 is current?

Also, how can I get deeper into SMF permissions? What files are involved?

Cheers!
--Dainis

Dainis

Here's a crack-o-hacko attempt at getting these permissions to do what I need them to do:

Been reading ManagePermissions.php and several other files that have permissions settings (I searched for things like poll_view within my SMF folder), at any rate, that's how I found the ManagePermissions.php file.

Somewhere in this file I'm thinking I could add something like:

In Board such and such, if not admin, then allow posting, don't allow polls, can't view other's posts, can view own posts, can view posts made "public" by admin.


Please be gentle, cuz I'm going to try to hack together some code.


In Board such and such:
$request = db_query("SELECT ID_BOARD, ???

show "public" posts/polls, everyone can reply (but not make polls)

if not admin:
??

then allow posting:
'topic' => array('post_new' => true

don't allow polls:
'poll' => array('poll_post' => false,

can't view other's posts:
Use 'who_view' somehow??

can view own post:
Make something like 'post_view_own' somewhere, and set that to true

As you can see, I don't speak PHP very well, but I am curious, if this is actually something that "post moderation" can accomplish (and I just don't know how use the mod), or if chasing these code modifications is a good idea (which it is, because it's cool, but it might not be necessary to do what I'm trying to do).

Peace!
Dainis




Advertisement: