Author Topic: [Plugin] Old votes 2 DB  (Read 33060 times)

0 Members and 2 Guests are viewing this topic.

Offline effemmess

  • Sr. Member
  • ****
  • Posts: 304
    • View Profile
[Plugin] Old votes 2 DB
« on: June 21, 2003, 11:29:46 PM »
Hier nun das Plugin zur Übernahme der Vote-Daten aus der Tabelle "prefix_images" in die Tabelle "prefix_voted".

Hier nochmal die Links zu den Mods, die zwingende Voraussetzung für dieses plugin sind:

v@no´s Votes saved in DB: http://www.4homepages.de/forum/viewtopic.php?t=6123
effemmess´s Extension for Votes saved in DB: http://www.4homepages.de/forum/viewtopic.php?t=6404

Das Plugin errechnet aus dem aktuellen Rating ein mögliches Voting der user (da das tatsächliche nicht nachvollziehbar ist und verschiedene Varianten möglich sind). Dieses wird in der Tabelle "prefix_voted" mit einer einzustellenden user_id (source editieren! -2 voreingestellt!) und dem aktuellem Datum gespeichert.
Der Nutzen ist, daß man nun verschieden Auswertungen bezüglich der votes machen kann...

Anwendung:
- auspacken
- in das Verzeichnis 4images/admin/plugins kopieren
- Backup der DB !!!
- in Adminkonsole anklicken...

Downloadlink

PS:Der bei mir wichtigste Nutzen: auf meiner Site werden Bilder auch wieder gelöscht; daher würden die Statistiken nicht mehr stimmen. Mit Hilfe eigener Tabellen wird dieses Problem behoben! Allerdings müssen die Standardfunktionen zum Löschen von Bildern bzw. usern usw. noch angepasst werden, damit in den neuen Tabellen auch die entsprechenden Werte stehen (z.B. gelöschter user: user_id=-2). Das werde ich demnächst erledigen...und hier der Link zu meinen Statistiken.
« Last Edit: March 02, 2009, 03:45:34 PM by V@no »

Offline ascanio

  • Hero Member
  • *****
  • Posts: 569
    • View Profile
    • http://www.surfourspace.net
Re: [Plugin] Old votes 2 DB
« Reply #1 on: April 05, 2005, 07:41:03 PM »
Hi once u have install this plugungs can u delete the files from the admin/plugings folder? i don understand any german

Offline knuffi

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: [Plugin] Old votes 2 DB
« Reply #2 on: June 13, 2005, 08:01:25 PM »
Hallo

Habe versucht das ganz zu installieren....

Es kommen  beim Anklicken im Adminbereich folgende Fehlermeldungen.....

Warning: main(./../admin/admin_global.php) [function.main.html]: failed to open stream: No such file or directory in /home/erotikpl/public_html/webandart/4images/admin/plugins/change_voted_a_install.php on line 5

Fatal error: main() [function.require.html]: Failed opening required './../admin/admin_global.php' (include_path='.:/usr/local/lib/php') in /home/erotikpl/public_html/webandart/4images/admin/plugins/change_voted_a_install.php on line 5

Und

Warning: main(./../admin/admin_global.php) [function.main.html]: failed to open stream: No such file or directory in /home/erotikpl/public_html/webandart/4images/admin/plugins/old_votes2db.php on line 8

Fatal error: main() [function.require.html]: Failed opening required './../admin/admin_global.php' (include_path='.:/usr/local/lib/php') in /home/erotikpl/public_html/webandart/4images/admin/plugins/old_votes2db.php on line 8


Wer kann mir helfen???

Hruss Hans-Ruedi

Offline Fragezeichen

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
Re: [Plugin] Old votes 2 DB
« Reply #3 on: June 20, 2007, 07:28:20 PM »
i also have installed both mods bevor,but when i insert the statistic i just can see the random image on a second place, nothing more.
im using 4images 1.7.4

Offline AntiNSA2

  • Hero Member
  • *****
  • Posts: 774
  • As long as I can finish my site before I die.
    • View Profile
    • http://www.thelifephotography.com
Re: [Plugin] Old votes 2 DB
« Reply #4 on: March 01, 2009, 10:28:57 AM »
Ive used this before many years ago... however trying to install it on 1.7.6 for more than more stats and i get  this error when trying to run it:

Warning: require(./../admin/admin_global.php) [function.require]: failed to open stream: No such file or directory in /home/lifephotography/htdocs/admin/plugins/old_votes2db.php on line 8

Fatal error: require() [function.require]: Failed opening required './../admin/admin_global.php' (include_path='.:/usr/local/share/pear') in /home/lifephotography/htdocs/admin/plugins/old_votes2db.php on line 8


Any ideas?
As long as I can finish my site before I die.

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: [Plugin] Old votes 2 DB
« Reply #5 on: March 02, 2009, 03:46:04 PM »
Attached file fixed. Please re-download it
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 AntiNSA2

  • Hero Member
  • *****
  • Posts: 774
  • As long as I can finish my site before I die.
    • View Profile
    • http://www.thelifephotography.com
Re: [Plugin] Old votes 2 DB
« Reply #6 on: March 03, 2009, 05:11:01 AM »
Thanks! Downloaded and tried to install... but..

But getting the error:

Warning: require(./../../admin/admin_global.php) [function.require]: failed to open stream: No such file or directory in /home/lifephotography/htdocs/old_votes2db.php on line 7

Fatal error: require() [function.require]: Failed opening required './../../admin/admin_global.php' (include_path='.:/usr/local/share/pear') in /home/lifephotography/htdocs/old_votes2db.php on line 7


any ideas?
As long as I can finish my site before I die.

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: [Plugin] Old votes 2 DB
« Reply #7 on: March 03, 2009, 07:44:22 AM »
Anwendung:
- auspacken
- in das Verzeichnis 4images/admin/plugins kopieren
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 AntiNSA2

  • Hero Member
  • *****
  • Posts: 774
  • As long as I can finish my site before I die.
    • View Profile
    • http://www.thelifephotography.com
Re: [Plugin] Old votes 2 DB
« Reply #8 on: March 03, 2009, 08:19:46 AM »
 :oops: Having caffeine IV installed into arm now..... : )
As long as I can finish my site before I die.

Offline AntiNSA2

  • Hero Member
  • *****
  • Posts: 774
  • As long as I can finish my site before I die.
    • View Profile
    • http://www.thelifephotography.com
Re: [Plugin] Old votes 2 DB
« Reply #9 on: March 06, 2009, 03:25:18 AM »
I get this error when running this :
Warning: Division by zero in /home/lifephotography/htdocs/admin/plugins/old_votes2db.php on line 104

Warning: Division by zero in /home/lifephotography/htdocs/admin/plugins/old_votes2db.php on line 104

Warning: Division by zero in /home/lifephotography/htdocs/admin/plugins/old_votes2db.php on line 104

Warning: Division by zero in /home/lifephotography/htdocs/admin/plugins/old_votes2db.php on line 104

Warning: Division by zero in /home/lifephotography/htdocs/admin/plugins/old_votes2db.php on line 104

Warning: Division by zero in /home/lifephotography/htdocs/admin/plugins/old_votes2db.php on line 104

Warning: Division by zero in /home/lifephotography/htdocs/admin/plugins/old_votes2db.php on line 104

Warning: Division by zero in /home/lifephotography/htdocs/admin/plugins/old_votes2db.php on line 104

Warning: Division by zero in /home/lifephotography/htdocs/admin/plugins/old_votes2db.php on line 104



Is this just because I have installed/previously ran the plugin already? Im troubleshooting why I ccannt gget this more than more stats to work...
As long as I can finish my site before I die.