4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Releases & Support) => Plugins => Topic started by: effemmess on June 21, 2003, 11:13:37 PM
-
Ich hab wiedermal ein wenig gebastelt und will euch die Ergebnisse nicht vorenthalten...
Dieses Mod mit Plugin ist zur Erweiterung von v@no´s Mod "Votes saved in DB" Variante A gedacht. Darum hier der Link zum Thread (http://www.4homepages.de/forum/viewtopic.php?t=6123)
Das Mod ändert folgendes in der Tabelle "prefix_voted":
1. Ändern der Feldeigenschaft von user_id von unsigned auf signed.
Bei der Übernahme der Standard-Votings muß eine user-id angegeben werden. Deshalb führe ich für diese Übernahmewerte die user_id=-2 ein.
2. Hinzufügen des Feldes vote_date
Zur weiteren Auswertung will ich das Vote-Datum mit speichern.
Anwendung:
- auspacken
- in das Verzeichnis 4images/admin/plugins kopieren
- Backup der DB !!!
- in Adminkonsole anklicken...
Nachfolgend kann mein weiteres Plugin zur Übernahme der bestehenden Votes verwendet werden. Hier der Link zum Thread (http://www.4homepages.de/forum/viewtopic.php?t=6405)
Downloadlink (http://pub.comnetonline.de/change_voted_a_install.zip)
-
Hi once u have install this plugungs can u delete the files from the admin/plugings folder? i don understand any german
-
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
-
2. Hinzufügen des Feldes vote_date
Zur weiteren Auswertung will ich das Vote-Datum mit speichern.
Kann ich das aktuelle datum der abgegeben votes mitspeichern? Also wenn ein User jetzt zb. Votet.
-
Greetings..!
Im getting this error
Warning: require(./../admin/admin_global.php) [function.require]: failed to open stream: No such file or directory in /home/lifephotography/htdocs/admin/plugins/change_voted_a_install.php on line 5
Fatal error: require() [function.require]: Failed opening required './../admin/admin_global.php' (include_path='.:/usr/local/share/pear') in /home/lifephotography/htdocs/admin/plugins/change_voted_a_install.php on line 5
with 1.7.6...
Thanks...!
Anyone got this working? Im trying to use more than more stats.....
-
Attached package fixed, but for you future references, when you see such error in plugins, open the plugin and replace
$root_path = (eregi("\/plugins\/", $PHP_SELF)) ? "./../../" : "./../";
define('ROOT_PATH', $root_path);
with this:
define('ROOT_PATH', "./../../");
-
I tried your new attachment and recieved the error :
Warning: require(./../../admin/admin_global.php) [function.require]: failed to open stream: No such file or directory in /home/lifephotography/htdocs/change_voted_a_install.php on line 4
Fatal error: require() [function.require]: Failed opening required './../../admin/admin_global.php' (include_path='.:/usr/local/share/pear') in /home/lifephotography/htdocs/change_voted_a_install.php on line 4
So I will try playing with the path and seing if I can make it work... I hate paths :)
Ill try... if you can fix it before me feel free to try again :) THanks
-
OK, I cant get it to work... when I change the paths nothing works, except when I change it to:
define('ROOT_PATH', "./");
Then it starts but I get a 404 error message right after it starts....
-
Yes well, what is doing in your 4image root directory? it's belong in admin/plugins/
-
:oops: :oops: :oops: :oops: :oops:
If all the greatest mountains were this easy to solve
thanks
-
So just to refresh my memory voted_a_install.php is no longer important.
change_voted_a_install.php is the one you need right?
Everytime I try to run the voted_a_install.php from the plugin panel I get the error
Warning: include(./global.php) [function.include]: failed to open stream: No such file or directory in /home/lifephotography/htdocs/admin/plugins/voted_a_install.php on line 4
Warning: include() [function.include]: Failed opening './global.php' for inclusion (include_path='.:/usr/local/share/pear') in /home/lifephotography/htdocs/admin/plugins/voted_a_install.php on line 4
SSo I guess it is the changed one we need.