4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Releases & Support) => Plugins => Topic started by: effemmess on June 21, 2003, 11:29:46 PM

Title: [Plugin] Old votes 2 DB
Post by: effemmess 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 (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 (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 (http://pub.comnetonline.de/old_votes2db.zip)

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 (http://www.4homepages.de/forum/viewtopic.php?t=6484).
Title: Re: [Plugin] Old votes 2 DB
Post by: ascanio 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
Title: Re: [Plugin] Old votes 2 DB
Post by: knuffi 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
Title: Re: [Plugin] Old votes 2 DB
Post by: Fragezeichen 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
Title: Re: [Plugin] Old votes 2 DB
Post by: AntiNSA2 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?
Title: Re: [Plugin] Old votes 2 DB
Post by: V@no on March 02, 2009, 03:46:04 PM
Attached file fixed. Please re-download it
Title: Re: [Plugin] Old votes 2 DB
Post by: AntiNSA2 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?
Title: Re: [Plugin] Old votes 2 DB
Post by: V@no on March 03, 2009, 07:44:22 AM
Anwendung:
- auspacken
- in das Verzeichnis 4images/admin/plugins kopieren
Title: Re: [Plugin] Old votes 2 DB
Post by: AntiNSA2 on March 03, 2009, 08:19:46 AM
 :oops: Having caffeine IV installed into arm now..... : )
Title: Re: [Plugin] Old votes 2 DB
Post by: AntiNSA2 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...