4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
February 22, 2018, 01:45:21 PM

Login with username, password and session length
Search:     Advanced search
Follow 4images on twitter: Click here to follow!
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)
| | |-+  Plugins (Moderators: mawenzi, Rembrandt)
| | | |-+  [Plugin] Old votes 2 DB
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
This topic has not yet been rated!
Author Topic: [Plugin] Old votes 2 DB  (Read 24791 times)
effemmess
Sr. Member
****
Offline Offline

Posts: 304

Thank You
-Given: 0
-Receive: 0


View Profile
« 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.

* old_votes2db.zip (2.68 KB - downloaded 22 times.)
« Last Edit: March 02, 2009, 03:45:34 PM by V@no » Logged

ascanio
Hero Member
*****
Offline Offline

Posts: 569

Thank You
-Given: 0
-Receive: 3


View Profile WWW
« 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
Logged
knuffi
Newbie
*
Offline Offline

Posts: 12

Thank You
-Given: 0
-Receive: 0


View Profile
« 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
Logged
Fragezeichen
Jr. Member
**
Offline Offline

Posts: 58

Thank You
-Given: 2
-Receive: 0


View Profile
« 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
Logged
AntiNSA2
Hero Member
*****
Offline Offline

Posts: 774

Thank You
-Given: 0
-Receive: 2

As long as I can finish my site before I die.


View Profile WWW
« 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?
Logged

As long as I can finish my site before I die.
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: 565

mmm PHP...


View Profile WWW
« Reply #5 on: March 02, 2009, 03:46:04 PM »

Attached file fixed. Please re-download it
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)
AntiNSA2
Hero Member
*****
Offline Offline

Posts: 774

Thank You
-Given: 0
-Receive: 2

As long as I can finish my site before I die.


View Profile WWW
« 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?
Logged

As long as I can finish my site before I die.
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: 565

mmm PHP...


View Profile WWW
« Reply #7 on: March 03, 2009, 07:44:22 AM »

Anwendung:
- auspacken
- in das Verzeichnis 4images/admin/plugins kopieren
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)
AntiNSA2
Hero Member
*****
Offline Offline

Posts: 774

Thank You
-Given: 0
-Receive: 2

As long as I can finish my site before I die.


View Profile WWW
« Reply #8 on: March 03, 2009, 08:19:46 AM »

 Embarassed Having caffeine IV installed into arm now..... : )
Logged

As long as I can finish my site before I die.
AntiNSA2
Hero Member
*****
Offline Offline

Posts: 774

Thank You
-Given: 0
-Receive: 2

As long as I can finish my site before I die.


View Profile WWW
« 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...
Logged

As long as I can finish my site before I die.
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.071 seconds with 20 queries.