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

0 Members and 1 Guest are viewing this topic.

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
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
Signature stolen from mawenzi

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: [MOD] Poll v2.0 (with ACP integration) NEW VERSION!!!
« Reply #151 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

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: [MOD] Poll v2.0 (with ACP integration) NEW VERSION!!!
« Reply #152 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__ »

Offline stdio

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: [MOD] Poll v2.0 (with ACP integration) NEW VERSION!!!
« Reply #153 on: April 09, 2010, 09:47:57 PM »
Another not "supported" mod... :( 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.

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] Poll v2.0 (with ACP integration) NEW VERSION!!!
« Reply #154 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 ...
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) ...

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: [MOD] Poll v2.0 (with ACP integration) NEW VERSION!!!
« Reply #155 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

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Poll v2.0 (with ACP integration) NEW VERSION!!!
« Reply #156 on: June 21, 2010, 06:42:19 AM »
in admn/plugins/admin_encuestas.php replace
$root_path = (eregi("\/plugins\/"$PHP_SELF)) ? "./../../" "./../";

with:
$root_path "./../../";
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)

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: [MOD] Poll v2.0 (with ACP integration) NEW VERSION!!!
« Reply #157 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__ »

Offline sxdte

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: [MOD] Poll v2.0 (with ACP integration) NEW VERSION!!!
« Reply #158 on: August 05, 2012, 11:52:49 PM »
It will be nice to add a new option like the visitors can add text

for example, have a poll with questions:
what categories you like the best
I have +3000 categories and surely can not have +3000 options (time consuming and boring for me and the visitors --> long page)

of course any other questions would be possible, like which images you like the most, etc etc

someone have a idea for code to add to the actual pool v2

by the way it worked first time and I have version 1.7.11 with plenty other mods
so it work on new version too even if old

Offline SolidSnake0308

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: [MOD] Poll v2.0 (with ACP integration) NEW VERSION!!!
« Reply #159 on: September 03, 2013, 12:21:50 PM »
Would be nice If someone could Re-Up the Version 2.
In Attach there is only Version 1.

Thx.