4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 17, 2014, 11:36:08 PM

Login with username, password and session length
Search:     Advanced search
You're looking for some 4images templates and styles? Then visit this thread to show websites with 4images templates to download.
Togle to toolbar
Translate this page with =>
Translate this page >
* Home Help Search Login Register
 
+  4images Forum & Community
|-+  4images Modifications / Modifikationen
| |-+  Mods & Plugins (Releases & Support) (Moderators: mawenzi, Rembrandt)
| | |-+  [MOD] Poll v2.0 (with ACP integration) NEW VERSION!!!
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: «« « 1 ... 7 8 9 10 [11] 12 » »» Print
This topic has not yet been rated!
Author Topic: [MOD] Poll v2.0 (with ACP integration) NEW VERSION!!!  (Read 121050 times)
skiemor
Guest
« Reply #150 on: December 27, 2007, 02:37:18 AM »

Ok, I think I find problem for l=your_lang .

In index.php file,

find:

1
include(ROOT_PATH.'encuestas.php');

cut line.

Find:

1
include(ROOT_PATH."includes/page_header.php");

paste after (move to):

1
include(ROOT_PATH.'encuestas.php');

In encuestas.php file,

find:

1
<form method=\"post\" action=\"result_encuestas.php\">

replace:

1
<form method=\"post\" action=\"" . $site_sess->url(ROOT_PATH . "result_encuestas.php") . "\">

Thanks Thunderstrike  Embarassed, you are the best! Wink
<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!!!
Logged
thunderstrike
4images Guru
*******
Offline Offline

Posts: 2327

Thank You
-Given: 0
-Receive: 10


View Profile
« Reply #151 on: December 27, 2007, 02:38:58 AM »

Very good. Thank for posting.
Logged

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 ?
stormdesign
Newbie
*
Offline Offline

Posts: 10

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #152 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?
Logged
Sumale.my
Addicted member
******
Offline Offline

Posts: 1785

Thank You
-Given: 159
-Receive: 75

Neverdie


View Profile
« Reply #153 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:
1
2
3
4
<?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:
1
2
3
4
5
6
<?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?
Logged
medo007
Newbie
*
Offline Offline

Posts: 29

Thank You
-Given: 0
-Receive: 0

Internet addict


View Profile WWW
« Reply #154 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:

1
2
3
4
5
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:

1
require(ROOT_PATH.'admin/admin_global.php');

 Sad

can anyone help me with this?  Crying or Very sad
Logged

mEDO
Pumaaa
Jr. Member
**
Offline Offline

Posts: 64

Thank You
-Given: 0
-Receive: 0


View Profile WWW
« Reply #155 on: December 22, 2008, 11:40:25 AM »

Ich bekomme bei der Installation folgende Fehlermeldung:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
    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?  Sad
Danke!
Logged

Nicky
Administrator
4images Guru
*****
Offline Offline

Posts: 3190

Thank You
-Given: 22
-Receive: 51


View Profile
« Reply #156 on: December 24, 2008, 07:49:47 PM »

Pumaa,

die "fehlermeldung" übersetzt: http://translate.google.com/translate_t#es|de|Operaci%C3%B3n%20realizada%20con%20exito!  Laughing
Logged

cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images | Facebook Covers
Signature stolen from mawenzi
__G__
Sr. Member
****
Offline Offline

Posts: 286

Thank You
-Given: 8
-Receive: 0


View Profile
« Reply #157 on: February 13, 2009, 01:41:38 AM »


hi i just installed XAMPP and download all files to my local pc so i can do what ever test i needed in future with mods and stuff but on my local pc with xamp its giving me this error

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\4images\encuestas.php:166) in C:\xampp\htdocs\4images\includes\page_header.php on line 391

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\4images\encuestas.php:166) in C:\xampp\htdocs\4images\includes\page_header.php on line 405


But on my hosting all the files are same and everything does anyone know what could be causing it on the local pc with XAMPP
Logged
ivan
4images Moderator
4images Guru
*****
Offline Offline

Posts: 2279

Thank You
-Given: 4
-Receive: 30


View Profile WWW
« Reply #158 on: February 13, 2009, 01:00:11 PM »

yes.. this is a very old poll function for 4images 1.7.1 (2005)
and not compatible with new 4images versions!

greets ivan
Logged

greetings / grüsse
ivan

Facebook Fan Page | Follow Twitter

Blog: Reisen Blog
Bilder Gallery: Bilder Gallery
__G__
Sr. Member
****
Offline Offline

Posts: 286

Thank You
-Given: 8
-Receive: 0


View Profile
« Reply #159 on: February 13, 2009, 03:09:02 PM »

hi ivan its working on my hosting server its just my local server which is showing that error im using xampp

**************************


HMmmm i figured out the problem it was extra space at the end of the encuestas.php file  which was causing the problem.
« Last Edit: February 14, 2009, 08:05:18 AM by __G__ » Logged
stdio
Newbie
*
Offline Offline

Posts: 41

Thank You
-Given: 1
-Receive: 0


View Profile
« Reply #160 on: April 09, 2010, 09:47:57 PM »

Another not "supported" mod... Sad How can we allow only ONE vote /registered user /poll? It's sad that no one is interested in making mods up-to-date and translate them.
Logged
mawenzi
Moderator
4images Guru
*****
Offline Offline

Posts: 4500

Thank You
-Given: 36
-Receive: 119


View Profile
« Reply #161 on: April 09, 2010, 11:04:00 PM »

@stdio

... feel free and translate it in to every language you want and make the mod up-do-to-date ...
... and don't forget ... publish your translation and update here and make it up-to-date also in 5 years ...
... I'm still waiting ...
Logged

Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...
__G__
Sr. Member
****
Offline Offline

Posts: 286

Thank You
-Given: 8
-Receive: 0


View Profile
« Reply #162 on: June 21, 2010, 05:36:46 AM »

Hi i have done the code two times but when I am going in control panel and trying to access the Mod PLugin i get this error and yes im using 4images 1.7.6



Warning: require(./../admin/admin_global.php) [function.require]: failed to open stream: No such file or directory in /mounted-storage/home139/sub014/sc75725-AETA/mywebsite.com/admin/plugins/admin_encuestas.php  on line 5

Warning: require(./../admin/admin_global.php) [function.require]: failed to open stream: No such file or directory in /mounted-storage/home139/sub014/sc75725-AETA/mywebsite.com/admin/plugins/admin_encuestas.php on line 5

Fatal error: require() [function.require]: Failed opening required './../admin/admin_global.php' (include_path='.:/usr/share/php5/') in /mounted-storage/home139/sub014/sc75725-AETA/mywebsite.com/admin/plugins/admin_encuestas.php on line 5
Logged
V@no
If you don't tell me what to do, I won't tell you where you should go :)
Administrator
4images Guru
*****
Offline Offline

Posts: 17849

Thank You
-Given: 47
-Receive: 554

mmm PHP...


View Profile WWW
« Reply #163 on: June 21, 2010, 06:42:19 AM »

in admn/plugins/admin_encuestas.php replace
1
$root_path = (eregi("\/plugins\/"$PHP_SELF)) ? "./../../" "./../";

with:
1
$root_path "./../../";
Logged

Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)
__G__
Sr. Member
****
Offline Offline

Posts: 286

Thank You
-Given: 8
-Receive: 0


View Profile
« Reply #164 on: June 21, 2010, 08:17:54 AM »

Thanks a lot V@NO okay now the plugin error is FIXED Thank you so much for that, also I get and error when i try to vote i get this


DB Error: Bad SQL Query: SELECT * FROM 4images_encuestas ORDER BY orden
Unknown column 'orden' in 'order clause'

Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home139/sub014/sc75725-AETA/mywebsite.com/includes/db_mysql.php:190) in /mounted-storage/home139/sub014/sc75725-AETA/mywebsite.com/encuestas_resultados.php on line 403
« Last Edit: June 21, 2010, 01:56:28 PM by __G__ » Logged
Pages: «« « 1 ... 7 8 9 10 [11] 12 » »» Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.162 seconds with 21 queries.