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 - Der_Nick

Pages: [1] 2 3 4
1
Mods & Plugins (Releases & Support) / [Mod] Show user's lightbox to admin.
« on: February 26, 2003, 11:07:47 AM »
Quote
Step 1.
Open member.php

Find: Code:
    $site_template->register_vars(array(
      "user_id" => $user_row['user_id'],
      "user_name" => (isset($user_row['user_name'])) ? htmlspecialchars($user_row['user_name']) : REPLACE_EMPTY,

Replace with: Code:
     $sql = "SELECT *
         FROM ".LIGHTBOXES_TABLE."
         WHERE ".get_user_table_field("", "user_id")." = ".$user_row['user_id'];
     $user_lightbox_info = $site_db->query_firstrow($sql);
     $num_rows_all = 0;
     if (!empty($user_lightbox_info['lightbox_image_ids'])) {
     $image_id_sql = str_replace(" ", ",", trim($user_lightbox_info['lightbox_image_ids']));
     $sql = "SELECT COUNT(image_id) AS images
          FROM ".IMAGES_TABLE."
          WHERE image_active = 1 AND image_id IN ($image_id_sql)";
     $result = $site_db->query_firstrow($sql);
     $num_rows_all = $result['images'];
    }
    $site_template->register_vars(array(
      "lang_show_user_lightbox" => $lang['show_user_lightbox']." (".$num_rows_all.")",
      "url_show_user_lightbox" => ($user_info['user_level'] == ADMIN) ? $site_sess->url(ROOT_PATH."search.php?search_lightbox=".$user_row['user_id']) : "",
      "user_id" => $user_row['user_id'],
      "user_name" => (isset($user_row['user_name'])) ? htmlspecialchars($user_row['user_name']) : REPLACE_EMPTY,


i have the avater mod!and so,the first code to find is another!how must i change the first step?

2
thank you again V@no!!!

genialer mod! korrekt! hab mit dem sortieren schon langsam die krise bekommen!!

3
schon wieder ich mit nem doofen problem!

Quote
===============================================================
== SQL
===============================================================
Code:

INSERT INTO `babes_settings` ( `setting_name` , `setting_value` )
VALUES (
'cat_order', 'c.cat_name ASC'
);  

wo finde ich diese SQL datei zu editieren???

where can i find the SQL file to edit?

4
Mods & Plugins (Releases & Support) / Re: [Mod] Avatar v2.01
« on: February 24, 2003, 05:23:40 PM »
oh no!! :oops:
ok,thats it!! thank a lot!!
now it works!! :D

very great mod!!

5
Mods & Plugins (Releases & Support) / Re: [Mod] Avatar v2.01
« on: February 24, 2003, 02:57:35 PM »
ok! i can enable/disable the avatar feature!!
here is my code from the db_field_definitions.php:

Quote
/* ------------------------------------------------------------------------
If you want to add additional fields in order to store more info on
each image or user, set up these fields by inserting a column to the "4images_images"
or "4images_users" table in your database.

If you add an additional image field and allow upload from the gallery,
add the columns to "4images_images_temp" as well.

Add one line for each new column in the following format:

  $additional_image_fields['%column_name%'] = array("%field_description%", "%admin_field_type%", %is_required%);
or
  $additional_user_fields['%column_name%'] = array("%field_description%", "%admin_field_type%", %is_required%);
  $additional_user_fields['user_avatar'] = array($lang['avatar'], "avatar", 0);

At the bottom of this file, you will find examples for adding a new field.

----------
%column_name% string

  Replace %column_name% with name of the table column.
  You can use the tag {%column_name%} in the templates to display the value of the
  database field.
  If you want to add a textfield to the templates, do this such like:

    <input type="text" name="%column_name%" value="{%column_name%}" />

----------
%field_description% string

  Replace %field_description% with a custom name. This name will be displayed in the Control Panel.
  The value can be displayed in the templates with the tag {lang_%column_name%}.
  It is also recommended to add this tag to the language files (main.php) and to replace "%field_description%"
  with $lang['%column_name%'].

----------

and the code from step 4 does exist!

6
Mods & Plugins (Releases & Support) / Re: [Mod] Avatar v2.01
« on: February 24, 2003, 01:28:51 PM »
sorry, but it doesn't work!
i do all again with new files from my hd! i do one step to another,slowly, i checked all files two times, i have absolutely no mistake, but it doesn't work!!
i found no mistake?! :(

the same problem with the 2 "custom"!

should i post all my files here?

your mod is great,but i believe,i am too stupid to check this! :!:  :?:


(excuse me for my very bad englisch!!)

7
Mods & Plugins (Releases & Support) / Re: [Mod] Avatar v2.01
« on: February 24, 2003, 01:52:53 AM »
ok!
i add this line
Quote
$user_avatar = $user_info['user_avatar'];
!!
but i only see this | !! :oops:
but i'm sure, i don't forget to add anything!i checked exactly and found no mistake! :?:
should i check all the files again?  :(

8
Mods & Plugins (Releases & Support) / Re: [Mod] Avatar v2.01
« on: February 23, 2003, 11:30:04 PM »
shit!
i checked all steps, but i didn't missed anything and i didn't anything wrong?!
wheres my problem? i don't know,sorry

9
Mods & Plugins (Releases & Support) / Re: [Mod] Avatar v2.01
« on: February 23, 2003, 03:25:54 PM »
yes!at the first time it was ok, but now, i run it again:
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('avatar_use', '1')
Duplicate entry 'avatar_use' for key 1

DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('avatar_user_custom', '1')
Duplicate entry 'avatar_user_custom' for key 1

DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('avatar_width', '50')
Duplicate entry 'avatar_width' for key 1

DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('avatar_height', '50')
Duplicate entry 'avatar_height' for key 1

DB Error: Bad SQL Query: ALTER TABLE 4images_users ADD `user_avatar` VARCHAR( 255 ) NOT NULL
Duplicate column name 'user_avatar'

???????

10
Mods & Plugins (Releases & Support) / Re: [Mod] Avatar v2.01
« on: February 23, 2003, 02:53:21 PM »
i have a small problem with this mod!!
after saving my avater,the member.php file jumps back to "none" avater!!
i can choose my avatars, my own and the avatar in the list,but i can't save the it!

11
Discussion & Troubleshooting / metatags in welchem html dokument?
« on: February 03, 2003, 03:27:18 PM »
nein,das hilft mir ehrlich gesagt überhaupt nicht weiter!
und gefunden hab ich irgendwie auch nichts!sorry

12
Discussion & Troubleshooting / metatags in welchem html dokument?
« on: February 03, 2003, 03:00:13 PM »
mir ist aufgefallen,das ich gar keine metatags bei meiner 4images galerie habe!
in welchem html script muss ich die den einbinden? in der home.html? oder in welchem?

13
Discussion & Troubleshooting / frage zu einem umzug!
« on: January 30, 2003, 02:38:43 PM »
momentan ist meine 4images url http://www.fetteseite.com/4images
hab jetzt aber die domain www.golfiv-bilderzone.de beantragt!
was muss ich beachten beim umzug auf diese url.!
.de und .com sind dann die hleiche seite! also erreicht man meine galerie dann auch unter www.fetteseite.com!
reicht es aus,wenn ich die ganzen 4images daten nur um einen ordner verschiebe,also aus dem 4images ordner raus! oder muss ich noch andere dinge einstellen??
hab so nen umzug noch nie gemacht!!

14
Discussion & Troubleshooting / email einstelung der member!
« on: January 09, 2003, 03:46:40 PM »
:lol: ich liebe deine antworten!!
ok, sagst mir wenigstens in welchem script??*bettel* :P

15
kann ich sowas unten bei den online user anzeigen lassen! also wann die meisten user gleichzeitig online waren?

Pages: [1] 2 3 4