Author Topic: [MOD] Poll v2.0 (with ACP integration) NEW VERSION!!!  (Read 205112 times)

0 Members and 1 Guest are viewing this topic.

Offline Icemann71

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: [MOD] Poll v2.0 (with ACP integration) NEW VERSION!!!
« Reply #135 on: September 22, 2007, 10:43:13 AM »
it does not work correctly
Have a nice Day ;-)

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] Poll v2.0 (with ACP integration) NEW VERSION!!!
« Reply #136 on: September 22, 2007, 11:24:37 AM »
Quote
it does not work correctly

Please read my 6th step in signature.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline Crazy_Boys

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: [MOD] Poll v2.0 (with ACP integration) NEW VERSION!!!
« Reply #137 on: September 24, 2007, 03:13:26 PM »
kan mir bitte jemand helfen, Bei mir werden die einstellung und stimmungen  auf datenbank nicht eingetragen? ich bekomme auch keine fehler meldung,aber tabelle 4images_encuestas existiert bei der datenbank. warum wird nichts gespeichert.

Offline Icemann71

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: [MOD] Poll v2.0 (with ACP integration) NEW VERSION!!!
« Reply #138 on: September 27, 2007, 12:58:42 AM »
Folgendes Problem unter
Plesk
MySQL - 4.1.13
Protokoll-Version: 10

phpMyAdmin - 2.8.2.4
MySQL Client-Version: 4.1.13

funktioniert es nicht

unter
WinXP xampp
Server Version: 5.0.41-community-nt
Protokoll-Version: 10

phpMyAdmin - 2.10.1
MySQL-Client-Version: 5.0.41

funktioniert es nicht

unter
Debian xampp
Server Version: 5.0.45
Protokoll-Version: 10

phpMyAdmin - 2.10.3
MySQL-Client-Version: 5.0.45

funktioniert es

was muß ich ändern ?
wer kann helfen
Have a nice Day ;-)

Offline glitzer

  • Full Member
  • ***
  • Posts: 204
    • View Profile
    • over 7000 E-Cards
Re: [MOD] Poll v2.0 (with ACP integration) NEW VERSION!!!
« Reply #139 on: October 26, 2007, 05:12:30 PM »
Hi,

i have installed the Poll Script now i have 2 errors.


the error in the admin is:

DB Error: Bad SQL Query: SELECT * FROM 4images_encuestas ORDER BY orden
Table 'ekarten.4images_encuestas' doesn't exist
(but the table is named "ENCUESTAS_TABLE" in the script, why is an error with 4images_encuestas ?

outside the ACP is the error: DB Error: Bad SQL Query: SELECT * FROM 4images_encuestas ORDER BY orden
Table 'ekarten.4images_encuestas' doesn't exist

need help!!!
Please!
Thank you!

Offline Loda

  • Sr. Member
  • ****
  • Posts: 353
    • View Profile
    • Fotosucht Schweiz
Re: [MOD] Poll v2.0 (with ACP integration) NEW VERSION!!!
« Reply #140 on: October 26, 2007, 07:25:15 PM »
hi,
check you database and look for the table 4images_encuestas, if you don't find this you create it manuell.
in the install_encuestas.php you can find instructions..

skiemor

  • Guest
Re: [MOD] Poll v2.0 (with ACP integration) NEW VERSION!!!
« Reply #141 on: December 22, 2007, 07:28:28 PM »
Great job excitex2 , the MOD is working perfectly ...  :D
thank you for this great tool ...   :D

here a german version of ( hier eine deutsche Version von ) :
- lang/Your_language/admin.php
- lang/Your_language/main.php
- admin/plugin/admin_encuestas.php

Danke mawenzi, ich hab' deine Übersetzung integriert. Nun habe ich aber immer alles deutsch (Auswertung).
Die Sprachauswahl Englisch greift nicht. Wie erreiche ich, dass auch die Auswerteseite je nach Sprachwahl richtig angezeigt wird?

Frohe Weihnachten an alle,

Gruß Chris.
« Last Edit: December 22, 2007, 10:16:01 PM by skiemor »

skiemor

  • Guest
Re: [MOD] Poll v2.0 (with ACP integration) NEW VERSION!!!
« Reply #142 on: December 26, 2007, 09:54:39 PM »
hello, excitex2

you can help me??
despite language selection always comes with voting the standard language > deutsch

see topic
http://www.4homepages.de/forum/index.php?topic=6859.msg67749#msg67749

greets


Gibt's da noch keine Lösung?
Has anybody fixed this problem?

Chris.

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] Poll v2.0 (with ACP integration) NEW VERSION!!!
« Reply #143 on: December 27, 2007, 02:23:16 AM »
Ok, I think I find problem for l=your_lang .

In index.php file,

find:

Code: [Select]
include(ROOT_PATH.'encuestas.php');

cut line.

Find:

Code: [Select]
include(ROOT_PATH."includes/page_header.php");

paste after (move to):

Code: [Select]
include(ROOT_PATH.'encuestas.php');

In encuestas_resultados.php file,

find:

Code: [Select]
<form method=\"post\" action=\"result_encuestas.php\">

replace:

Code: [Select]
<form method=\"post\" action=\"" . $site_sess->url(ROOT_PATH . "result_encuestas.php") . "\">
« Last Edit: December 27, 2007, 02:38:18 AM by thunderstrike »
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

skiemor

  • Guest
Re: [MOD] Poll v2.0 (with ACP integration) NEW VERSION!!!
« Reply #144 on: December 27, 2007, 02:37:18 AM »
Ok, I think I find problem for l=your_lang .

In index.php file,

find:

Code: [Select]
include(ROOT_PATH.'encuestas.php');

cut line.

Find:

Code: [Select]
include(ROOT_PATH."includes/page_header.php");

paste after (move to):

Code: [Select]
include(ROOT_PATH.'encuestas.php');

In encuestas.php file,

find:

Code: [Select]
<form method=\"post\" action=\"result_encuestas.php\">

replace:

Code: [Select]
<form method=\"post\" action=\"" . $site_sess->url(ROOT_PATH . "result_encuestas.php") . "\">

Thanks Thunderstrike  :oops:, you are the best! ;-)
<form method=\"post\" action=\"" . $site_sess->url(ROOT_PATH . "result_encuestas.php") . "\">

encuestas_resultados.php (not result_....) but I know what you mean, IT WORKS!!!

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] Poll v2.0 (with ACP integration) NEW VERSION!!!
« Reply #145 on: December 27, 2007, 02:38:58 AM »
Very good. Thank for posting.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline stormdesign

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: [MOD] Poll v2.0 (with ACP integration) NEW VERSION!!!
« Reply #146 on: January 29, 2008, 09:48:56 PM »
I'd like to know if its possible to put the polls inside others templates files like categories.html, lightbox.html and others... I've done this but the form polls only appears in home.html

can someone help me please?

Offline Sunny C.

  • Addicted member
  • ******
  • Posts: 1.805
  • I ♥ 4I
    • View Profile
Re: [MOD] Poll v2.0 (with ACP integration) NEW VERSION!!!
« Reply #147 on: August 07, 2008, 01:11:47 AM »
Ich hab das mal in die 1.7.6 eingebaut, soweit wird auch alles angezeigt.

Allerdings werden keine Angaben übernommen, sei es auf der Seite oder im AdminPanel.

Was ich lediglich ändern musste ist folgende Datei

admin/plugins/admin_encuestas.php
Da musste ich die Header angabe:
Code: [Select]
<?php // PLUGIN_TITLE: Control de encuestas
$root_path = (eregi("\/plugins\/"$PHP_SELF)) ? "./../../" "./../";
define('ROOT_PATH'$root_path);
require(
ROOT_PATH.'admin/admin_global.php');

In diese ändern:
Code: [Select]
<?php // PLUGIN_TITLE: Umfrage
$nozip 1;
define('IN_CP'1);
$root_path = (!eregi("\/plugins\/"$_SERVER['PHP_SELF'])) ? "./../" "./../../";
define('ROOT_PATH'$root_path);
require(
ROOT_PATH.'admin/admin_global.php');

Sonst hat er nichts angezeigt.

Naja jedenfalls ist das Problem, dass halt nicht übernommen wird.
Was kann das sein?

Offline medo007

  • Newbie
  • *
  • Posts: 29
  • Internet addict
    • View Profile
Re: [MOD] Poll v2.0 (with ACP integration) NEW VERSION!!!
« Reply #148 on: November 13, 2008, 08:57:31 PM »
hi i have a  problem with poll


when i click on Control de encuestas in ACP i get this:

Code: [Select]
Warning: require(./../admin/admin_global.php) [function.require]: failed to open stream: No such file or directory in /home/medvaric/public_html/kopivanec/admin/plugins/admin_encuestas.php on line 4

Warning: require(./../admin/admin_global.php) [function.require]: failed to open stream: No such file or directory in /home/medvaric/public_html/kopivanec/admin/plugins/admin_encuestas.php on line 4

Fatal error: require() [function.require]: Failed opening required './../admin/admin_global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/medvaric/public_html/kopivanec/admin/plugins/admin_encuestas.php on line 4

and line 4 in this file is:

Code: [Select]
require(ROOT_PATH.'admin/admin_global.php');
 :(

can anyone help me with this?  :cry:
mEDO

Offline Pumaaa

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
    • Sunny Täter
Re: [MOD] Poll v2.0 (with ACP integration) NEW VERSION!!!
« Reply #149 on: December 22, 2008, 11:40:25 AM »
Ich bekomme bei der Installation folgende Fehlermeldung:

Code: [Select]
    Ejecución:
    CREATE TABLE `galerie_encuestas` (
    orden int(2) unsigned NOT NULL auto_increment,
    nombre varchar(50) NOT NULL default '',
    visitante varchar(4) NOT NULL default '',
    plazo_votacion varchar(10) NOT NULL default '',
    fecha_inicio varchar(50) NOT NULL default '',
    fecha_cierre varchar(50) NOT NULL default '',
    opcion_1 varchar(30) NOT NULL default '',
    votos_1 int(2) NOT NULL default '0',
    opcion_2 varchar(30) NOT NULL default '',
    votos_2 int(2) NOT NULL default '0',
    opcion_3 varchar(30) NOT NULL default '',
    votos_3 int(2) NOT NULL default '0',
    opcion_4 varchar(30) NOT NULL default '',
    votos_4 int(2) NOT NULL default '0',
    opcion_5 varchar(30) NOT NULL default '',
    votos_5 int(2) NOT NULL default '0',
    opcion_6 varchar(30) NOT NULL default '',
    votos_6 int(2) NOT NULL default '0',
    opcion_7 varchar(30) NOT NULL default '',
    votos_7 int(2) NOT NULL default '0',
    opcion_8 varchar(30) NOT NULL default '',
    votos_8 int(2) NOT NULL default '0',
    opcion_9 varchar(30) NOT NULL default '',
    votos_9 int(2) NOT NULL default '0',
    opcion_10 varchar(30) NOT NULL default '',
    votos_10 int(2) NOT NULL default '0',
    KEY `orden` (`orden`)
    )TYPE=MyISAM

    Ejecución:
    INSERT INTO `galerie_encuestas` VALUES ('','Que opinas de esta galería ?', '0', '0', 'Monday - 22 of of 2008 at 11:30', '', 'Opcion_1', 0, 'Opcion_2', 0, 'Opcion_3', 0, 'Opcion_4', 0, 'Opcion_5', 0, '', 0, '', 0, '', 0, '', 0, '', 0)

Operación realizada con exito!

Kann mir jemand helfen und sagen was hier zu tun ist?  :(
Danke!