sengsara
Support Staff


Joined: Sep 18, 2003
Posts: 289
Location: Batam, Indonesia (an hour boat ride from Singapore) ;)
|
Posted:
Tue Mar 09, 2004 7:00 pm |
  |
Creating poll through Admin -> Survey and attaching an article to announce the poll doesn't work. Poll get posted, article don't.
In admin/modules/polls.php around line 194 (for PHP-Nuke 7.0) change
| Code: |
$result = sql_query("insert into ".$prefix."_stories values (NULL, '$catid', '$aid', '$title', now(), '$hometext', '$bodytext', '0', '0', '$topic', '$aid', '', '$ihome', '$planguage', '$acomm', '0', '0', '0', '0')", $dbi);
|
to
| Code: |
$result = sql_query("insert into ".$prefix."_stories values (NULL, '$catid', '$aid', '$title', now(), '$hometext', '$bodytext', '0', '0', '$topic', '$aid', '', '$ihome', '$planguage', '$acomm', '0', '0', '0', '0', '')", $dbi);
|
It's the missing associated topics field. So I think this was broken since 6.7.
Of course the real fix is to allow posting associated topics in the poll creation form.
 |
_________________ The Answer Get it now.
Batam Web Network Most likely the content of this site is not for you... |
|