Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Darkness2001

Pages: [1] 2 3 4 5 ... 11
1
Hi,

also habe genau den selben Fehler wie Ivan, und blende es erstmal mit dem Code von Ivan aus.
Vielleicht gibts ja noch ne andere Lösung  :lol:

Grüße Torsten  :mrgreen:

2
Mods & Plugins (Requests & Discussions) / Re: Link zu eigenem Profil
« on: August 09, 2007, 05:06:50 AM »
Kurz und genial  :D

Grüße darkness  :mrgreen:

3
Mods & Plugins (Releases & Support) / Re: [MOD] Shoutbox
« on: August 02, 2007, 05:39:38 PM »
Hi,

i have an error when i open the search funktion

Notice: Undefined index: shout

Whats wrong ?? can i help me please.

Thanks darkness  :mrgreen:

Ok i find the error, here is my code ;-)

Part 1. open includes/page_header.php

kill this code:

Code: [Select]
/*include (ROOT_PATH.'includes/shout.php');*/
find this:

Code: [Select]
"url_lightbox" => $site_sess->url(ROOT_PATH."lightbox.php"),
insert below this:

Code: [Select]
"url_shout" => $site_sess->url(ROOT_PATH.'includes/shout.php'),
Part 2. open index.php
Code einfügen

find this:

Code: [Select]
include(ROOT_PATH.'includes/page_header.php');
insert below this:

Code: [Select]
include(ROOT_PATH.'includes/shout.php');

safe and upload the files, i test it.. works fine  :lol:

Greetings darkness  :mrgreen:

4
Mods & Plugins (Releases & Support) / Re: [MOD] Last comments v1
« on: August 02, 2007, 01:54:14 AM »
Hi @ all,

also wer nur bestimmte Anzahl an "last comments" auf der startseite sehen will kann das einfach hiermit machen...

Part 1.

index.php
find this

Code: [Select]
ORDER BY c.comment_date DESC
LIMIT ".$num;

und ersetzen durch:


Code: [Select]
ORDER BY c.comment_date DESC
LIMIT 2";

thats all  :wink:

Greetings darkness  :mrgreen:

5
Hi at @ll....

sehr guter MOD work's perfekt...

Greetings darkness  :mrgreen:

6
Mods & Plugins (Releases & Support) / ERROR in DB
« on: July 30, 2007, 05:06:27 PM »
Hi,

ich bekomme immer nach jedem Kommentareintrag auf der detail Seite einen Fehler angezeigt. Wenn ich im Adminbereich Bilder bearbeite und dann speichere kommt der selbe Fehler

Errormeldung: DB Error: Bad SQL Query: INSERT INTO galerie_voted (user_id, image_id, vote) VALUES (, 4, )
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 4, )' at line 4


ich habe hier schon gesucht, aber nix gefunden.

Mein table voted in der DB sieht so aus:

--
-- Tabellenstruktur für Tabelle `galerie_voted`
--

DROP TABLE IF EXISTS `galerie_voted`;
CREATE TABLE `galerie_voted` (
  `user_id` mediumint(8) NOT NULL default '0',
  `image_id` mediumint(8) unsigned NOT NULL default '0',
  `vote` int(2) unsigned NOT NULL default '0',
  `vote_date` int(10) unsigned NOT NULL default '0',
  KEY `user_id` (`user_id`),
  KEY `image_id` (`image_id`),
  KEY `vote_date` (`vote_date`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_german2_ci;

Wer kann mir helfen  :mrgreen:

GRüße darkness

7
Mods & Plugins (Releases & Support) / Re: [MOD] Show user images in profile
« on: November 12, 2006, 03:29:38 PM »
Hello Nicky,

thanks for this ;-)

Greez Darkness  :mrgreen:

8
Hello,

i have a idea, see here

http://www.4homepages.de/forum/index.php?topic=15157.msg82793#msg82793

Greez Darkness  :mrgreen:

With this is working ;-)

9
Feedback & Suggestions / Re: 4images 1.7.4 - Feedback
« on: November 07, 2006, 11:41:16 PM »
Hallo,

ich habe eine Lösung gefunden, wie man die Fehlermeldungen [die ich zu Masse hatte] auszuklammern ;-)

Ich habe meine "alten Mods" in eine neue mods.php kopiert und in includes/ ordner gepackt.

Hier ein Beispiel:

includes/mods.php

Quote
<?
//-----------------------------------------------------
// MOD PLUGIN 1.7.4
// BY DARKNESS
//-----------------------------------------------------


//-----------------------------------------------------
// --- Newest username -----
//-----------------------------------------------------
  $sql = "SELECT user_name, user_id
          FROM ".USERS_TABLE."
          WHERE user_level > ".USER_AWAITING."
          ORDER BY user_id DESC";
  $row = $site_db->query_firstrow($sql);

  $newest_user ="<a href =\"".$site_sess->url(ROOT_PATH."member.php?action=showprofile&user_id=".$row['user_id'])."\"><b>".$row['user_name']."</b></a>";
  $lang_newest_user = $lang['newest_user'];
 
  $site_template->register_vars("newest_user", $newest_user);
  unset($newest_user);

//-----------------------------------------------------

//-----------------------------------------------------
//--- Photo Of The Day --------------------------------
//-----------------------------------------------------

$potd_image = (defined("SHOW_POTD_IMAGE") && SHOW_POTD_IMAGE == 0) ? "" : get_potd_image();
$site_template->register_vars("potd_image", $potd_image);
$site_template->register_vars(array("lang_potd_title" => $lang['potd_title']));
$site_template->register_vars(array("lang_potd_type" => $lang['potd_type_'.ereg_replace ("i.image_", "", $select_mode)]));
unset($potd_image);

//--- End Photo Of The Day ----------------------------

//-----------------------------------------------------
//--- Last active User --------------------------------
//-----------------------------------------------------
$last_action_user_list = "";
$sql = "SELECT user_name, user_id, user_lastaction FROM ".USERS_TABLE."
                WHERE user_level >= '".USERS."'
                   ORDER BY user_lastaction DESC
                LIMIT 3";
   $result = $site_db->query($sql);

   while ($row = $site_db->fetch_array($result)) {
   $last_action_user_list .= "<smalltext><a href =\"".$site_sess->url(ROOT_PATH."member.php?action=showprofile&user_id=".$row['user_id'])."\"><b>".$row['user_name']."</b></a><br ><span class=\"smalltext\">".format_date($config['date_format']." ".$config['time_format'], $row['user_lastaction'])."</span><br >";
   }

$user_last_action_box = $site_template->parse_template("user_last_action_box");
$site_template->register_vars(array(
 "user_last_action_box" => $user_last_action_box,
 "lang_user_last_action" => $lang['lang_user_last_action'],   
 "user_last_action_list" => $last_action_user_list
));
 unset($user_last_action_box);
 unset($last_action_user_list);
 
 ########################### Top Kommentatoren #####################
$sql = "SELECT user_comments, user_name, user_id FROM ".USERS_TABLE."
WHERE user_level >= '".USER."'
ORDER BY user_comments DESC
LIMIT 5";
$result = $site_db->query($sql);

while ($row = $site_db->fetch_array($result)) {
$last_action_user_list .= '<table width="100%"><tr><td width="60%"><a href ="'.$site_sess->url(ROOT_PATH.'member.php?action=showprofile&user_id='.$row['user_id']).'"><b>'.$row['user_name'].'</b></a></td><td width="40%"><span class="smalltext">'.$row['user_comments'].'</span></td></tr></table>';
}
//------------------ TOP UPLOADER ------------------------
$site_template->register_vars(array(
"user_comments_list" => $last_action_user_list,
));
unset($user_comments_list);

$last_action_user_list = "";
$sql = "SELECT COUNT(i.image_id) AS user_t_images, u.user_name, u.user_id
        FROM ".USERS_TABLE." u
        LEFT JOIN ".IMAGES_TABLE." i ON (i.user_id = u.user_id)
        WHERE u.user_level > ".GUEST."
        GROUP BY u.user_id
        ORDER BY user_t_images DESC
        LIMIT 5";

$result = $site_db->query($sql);

while ($row = $site_db->fetch_array($result)) {
$last_action_user_list .= '<table width="100%"><tr><td width="60%"><a href ="'.ROOT_PATH.'member.php?action=showprofile&user_id='.$row['user_id'].'"><b>'.$row['user_name'].'</b></a></td><td width="40%"><span class="smalltext">'.$row['user_t_images'].'</span></td></tr></table>';
}

$site_template->register_vars(array(
"user_uploaders_list" => $last_action_user_list,
));
unset($user_uploaders_list);
//-------------------------------------------

//-----------------------------------------------------
//--- Photo Of The Day --------------------------------
//-----------------------------------------------------

$potd_image = (defined("SHOW_POTD_IMAGE") && SHOW_POTD_IMAGE == 0) ? "" : get_potd_image();
$site_template->register_vars("potd_image", $potd_image);
$site_template->register_vars(array("lang_potd_title" => $lang['potd_title']));
$site_template->register_vars(array("lang_potd_type" => $lang['potd_type_'.ereg_replace ("i.image_", "", $select_mode)]));
unset($potd_image);

//--- End Photo Of The Day ----------------------------


//-------------------------------------------[ [Mod] Calendar with nav and search ]
$nav_calendar = get_calendar('', bordercolor, head2, tablehead, imagerow1, imagerow2, navbar, button_new);
// paramters => function get_calendar($date = '', $class_table, $class_nav, $class_week_days, $class_noday, $class_eachday, $class_today,$class_linkday)
$site_template->register_vars("nav_calendar", $nav_calendar);
unset($nav_calendar);
//-------------------------------------------[/[Mod] Calendar with nav and search ]
?>

dann auf den entsprechenden Seiten einfach mit:

Quote
include(ROOT_PATH.'includes/mods.php');

unter :

include(ROOT_PATH.'includes/page_header.php');

einfügen.

Und schon läuft alles ;-)

Hoffe auf Feedback ob das so überall Fehlerfrei läuft

Grüße Darkness  :mrgreen:

10
Discussion & Troubleshooting / Re: Abkürzungen Liste
« on: November 07, 2006, 03:31:15 PM »
Hi,

setzt doch einfach mehrere [ANKER punkte] im Quelltext der Seite, thats all ;-)


Grüße Darkness  :mrgreen:

11
Mods & Plugins (Requests & Discussions) / Re: User online Anzeige
« on: November 07, 2006, 03:27:29 PM »
Moin!

Was is aber nun wenn man beispielsweise nicht nur für offline ein Bild hat sondern auch für online? Wie muss man das dann ändern?

Lg. Daniel

Hallo,

suche mal nach dem MOD Memberliste da steht alles weitere drin, was Du da suchst ;-)

Grüße Darkness  :mrgreen:

12
my style css :

.bordercolor {
}
.head2{}
.tablehead{}
.imagerow1{}
.imagerow2 {}
.navbar {}
.button_new {}
.class_table {}
these classes should not be empty  :?

1 - open the default 4images stylesheet  (style.css in templates/default dir)
2 - take the original values of classes   
3 - put them in your own stylesheet

@ch€ri{Bi}²,

i put the class types in the style.css with .... .class_table { background: #000000;  etc. }

I put it in and dont working. I have [see last message] a many error's in the page_header. I think the MOD no working in Vers. 1.7.4


Greez Darkness  :mrgreen:

13
@ Darkness

... meinen Beitrag oben habe ich aktualisiert ... ;)

@ mawenzi,

danke, läuft perfekt ;-)

Grüße Darkness :mrgreen:

14
Feedback & Suggestions / Re: 4images 1.7.4 - Feedback
« on: November 06, 2006, 11:11:20 PM »
Hallo,

also ich habe soweit wieder (fast) alle alten MOD's in meine neue Version 1.7.4 eingebaut und es läuft sehr gut.
Danke nochmals für die Unterstützung !

Die letzten Fehler [PM] und ein paar Kleinigkeiten werden bestimmt auch bald behoben ;-)

Eigenrlich könnte das ein "standard" Mod werden ;-)

Grüße Darkness  :mrgreen:

15
Hallo,

hab die Tabelle so eingebaut und in der css entsprechend style angelegt, doch er zeit mir keine ratings an, woran kann das liegen ?

Grüße Darkness  :mrgreen:

Pages: [1] 2 3 4 5 ... 11
Post your comments here