Welcome Guest Search | Active Topics | Log In | Register

Is it impossible for Admin to ADD A POLL in a user topic? (SOLVED) Options · View
Nico
#1 Posted : Sunday, August 17, 2008 9:03:08 AM

Rank: YAF Commander



Joined: 7/16/2008
Posts: 80
Location: From Paris to Beijing
Hi everybody,

I want my admin to add polls to the users' topics (my end goal is to have it automatic).

I have tried to add poll first manually by using 'EDIT' on users' topics. The 'Create poll' label appears and I can put a question and answers. But when I post back the topic adter editing, nothing is saved in the data base.

Can someone confirm that this does not work yet?

ThanksWink
Neven
#2 Posted : Sunday, August 17, 2008 9:16:52 AM

Rank: YAF MVP



Joined: 11/26/2004
Posts: 509
Location: Zagreb, Croatia
I confirm that. Sad
But if you have DB access, you might do it Wink
... But trust me on the sunscreen!

test2005 wrote:
There not bugs(in YAF)...it's either un-defined features or exceptions to expected behavior!!
Nico
#3 Posted : Monday, August 18, 2008 5:41:55 AM

Rank: YAF Commander



Joined: 7/16/2008
Posts: 80
Location: From Paris to Beijing
Thanks Neven.

Well so I go to the code...

NB: what is your avatar?
Neven
#4 Posted : Monday, August 18, 2008 8:56:06 PM

Rank: YAF MVP



Joined: 11/26/2004
Posts: 509
Location: Zagreb, Croatia
Just a rock resembling a soldier wearing an 18 Century uniform Cheesy Grin
... But trust me on the sunscreen!

test2005 wrote:
There not bugs(in YAF)...it's either un-defined features or exceptions to expected behavior!!
Nico
#5 Posted : Tuesday, August 19, 2008 1:44:44 AM

Rank: YAF Commander



Joined: 7/16/2008
Posts: 80
Location: From Paris to Beijing
Ok. I've managed to add an automatic poll to the new topics of my Code Exchange Forum.

By default, each new topic has a poll whith the following question and answers:

Q:What is your opinion about this topic?
- Very usefull
- Usefull
- Limited interest
- Useless

This is transparent to user who does not see the poll when he creates its new topic. The poll only appears to everybody when it has been posted, and users can then vote.

I have also modified the code so that the admin can modify the poll Q&A if he wants or just add some more possible answers.

I will write something about it as soon as I get time.Very Happy
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.3 RC2 | YAF © 2003-2008, Yet Another Forum.NET
This page was generated in 0.065 seconds.

SourceForge.net Logo Powered by ASP.NET v2.0 411ASP.NET