pragmaMx Support Forum

Archive => veraltete bzw. unsupportete Systeme und Module => Alt Archive => PHPNuke 5.2-6.0 & VKP 5.5 => Thema gestartet von: vakistaste am 01 Juni 2002, 21:02:25

Titel: HOT OR NOT MODUL
Beitrag von: vakistaste am 01 Juni 2002, 21:02:25
Servus !

Benutzt zufällig jemand von Euch das Hot OR Not Modul !

Es läuft bei Mir ohne Fehler aber was muss ich verändern damit die abstimmungen auch angezeigt werden ?

Wichtig !!!!

Titel: Re: HOT OR NOT MODUL
Beitrag von: Voigt am 01 Juni 2002, 22:43:31
3. IMPORTANT: Open the mainfile.php in the PHPNuke root directory, and add the following
code to the top of the file in order to make the rating of image work:

Change this:
------------------------------------------------------------
$dbi = sql_connect($dbhost, $dbuname, $dbpass, $dbname);
$mainfile = 1;

if (isset($newlang)) {
    if (file_exists("language/lang-$newlang.php")) {
------------------------------------------------------------
   
Into:
------------------------------------------------------------
$dbi = sql_connect($dbhost, $dbuname, $dbpass, $dbname);
$mainfile = 1;

###################################################
# Code for Hot or Not module by ::Trashbin:: 2002 #
###################################################
require_once("modules/Hot_Or_Not/rate.php");
###################################################

if (isset($newlang)) {
    if (file_exists("language/lang-$newlang.php")) {    
------------------------------------------------------------

NOTE: Without this change, rating an image will NOT work.
Titel: Re: HOT OR NOT MODUL
Beitrag von: vakistaste am 01 Juni 2002, 23:10:11
Vielen Dank !

Hat Super gefuzt !
Hab wohl was überlesen

Titel: Re: HOT OR NOT MODUL
Beitrag von: Xcurse am 04 Juni 2002, 09:01:58
WO kann man das HOT OR NOT Modul runterladen  :puzz
Titel: Re: HOT OR NOT MODUL
Beitrag von: am 04 Juli 2002, 06:26:17
 http://www.trashbin.net/:P  
Titel: Re: HOT OR NOT MODUL
Beitrag von: modelportal am 01 Februar 2003, 18:50:36
mal ne blöde frage. habe das neue hot or not modul eingefügt. nach jedem voting komme ich immer auf die index.php meiner website. weiß jemand wo ich das ändern kann?