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

Pages: 1 ... 5 6 7 8 [9] 10 11 12 13 ... 188
121
Chit Chat / Re: test
« on: October 11, 2009, 03:03:14 AM »
like thunder would say.

purfect ;)

122
@raghunadhreddys,

LOL,

you are the funniest guy i ever met  :P

i will upload those videos to my server up to steveeyes get them again online on his one..

 :arrow: stay tuned, new urls will be posted as soon as possible


[EDIT 05.10.2009]
Videos are online now

123
Code: [Select]
<td align='center'>
those are NOT PHP basic  :P

124
well thanx alot but i still want it to be perfect

1) i want a hyperlink of category on category name.
2) i wont the font in "CENTER" , "VERDENA" and "Size.2".
3) is it possile to use friendly urls ?


1.) i will create an query for you
2.) use html codes like for the background color in my previons post
3.) no, it is not possible rightnow

Code: [Select]
<?php
/**************************************************************************
 *                                                                        *
 *    4images - A Web Based Image Gallery Management System               *
 *    ----------------------------------------------------------------    *
 *                                                                        *
 *             File: random_more_pics.php                                 *
 *        Copyright: (C) 2002 Jan Sorgalla                                *
 *            Email: jan@4homepages.de                                    *
 *              Web: http://www.4homepages.de                             *
 *    Scriptversion: 1.0 for 4images 1.6.1                                *
 *                                                                        *
 *    Never released without support from: Nicky (http://www.nicky.net)   *
 *                                                                        *
 **************************************************************************
 *                                                                        *
 *    Dieses Script ist KEINE Freeware. Bitte lesen Sie die Lizenz-       *
 *    bedingungen (http://www.4homepages.de/4images/lizenz.php) für       *
 *    weitere Informationen.                                              *
 *    ---------------------------------------------------------------     *
 *    This script is NOT freeware! Please read the Copyright Notice       *
 *    (http://www.4homepages.de/4images/lizenz_e.php) for further         *
 *    information.                                                        *
 *                                                                        *
 *************************************************************************/

// PATH to your 4images Gallery / PFAD zu Ihrer 4images Gallerie
define('ROOT_PATH''./');

include(
ROOT_PATH.'config.php');
include(
ROOT_PATH.'includes/db_mysql.php');
include(
ROOT_PATH.'includes/constants.php');

define('SCRIPT_URL''http://www.wallpaperspecial.com/wallzz/');

$site_db = new Db($db_host$db_user$db_password$db_name);
function 
is_remote($file_name) {
  return (
preg_match('#^https?\\:\\/\\/[a-z0-9\-]+\.([a-z0-9\-]+\.)?[a-z]+#i'$file_name)) ? 0;
}

echo 
"<body bgcolor=\"#5D8FB5\" topmargin=\"0\" leftmargin=\"0\" rightmargin=\"0\" bottommargin=\"0\" marginwidth=\"0\" marginheight=\"0\">\n";

// NUMBER OF THUMBNAILS TO DISPLAY / NUMMER DER GEWÜNSCHTEN THUMBNAILS
$num_images 1;

$sql "SELECT a.image_id, a.cat_id, a.image_name, a.image_active, a.image_thumb_file, a.image_comments, a.image_hits, b.cat_name 
        FROM ("
.IMAGES_TABLE." a, ".CATEGORIES_TABLE." b) 
        WHERE a.image_active=1 
        AND a.cat_id = b.cat_id 
        AND b.auth_viewcat="
.AUTH_ALL.
        AND b.auth_viewimage="
.AUTH_ALL.
        ORDER BY RAND() 
        LIMIT 
$num_images";
$result $site_db->query($sql);

echo 
"<table border='0' width='133' bgcolor='#5D8FB5' align='left'>\n";

while (
$row $site_db->fetch_array($result)){
  
$image_id $row['image_id'];
  
$cat_id $row['cat_id'];
  
$image_name $row['image_name'];
  
$image_comments $row['image_comments'];
  
$thumb_src = (is_remote($row['image_thumb_file'])) ? $row['image_thumb_file'] : ROOT_PATH.THUMB_DIR."/".$cat_id."/".$row['image_thumb_file'];
  
$image_hits $row['image_hits'];
  
$cat_name $row['cat_name'];


  echo 
"<tr>\n";
  echo 
"<td><a href=\"".SCRIPT_URL."details.php?image_id=$image_id\" target=\"_blank\"> <img src=\"".SCRIPT_URL.$thumb_src."\" border=\"0\" alt=\"$image_name\"></a></td>\n";
  echo 
"</tr>\n";
  echo 
"<tr>\n";
  echo 
"<td><font face='Verdana' size='2'><a href=\"".SCRIPT_URL."details.php?image_id=$image_id\" target=\"_blank\"><b>$image_name</b></a></font></td>\n";
  echo 
"</tr>\n";
  echo 
"<tr>\n";
  echo 
"<td><font face='Verdana' size='2'>Views: $image_hits</font></td>\n";
  echo 
"</tr>\n";
  echo 
"<tr>\n";
  echo 
"<td><font face='Verdana' size='2'><a href=\"".SCRIPT_URL."categories.php?cat_id=$cat_id\" target=\"_blank\">$cat_name</a></font></td>\n";
  echo 
"</tr>\n";
}
  echo 
"</table>\n";
?>

125
hi,

change you colors here
Code: [Select]
echo "<TD bgcolor='#FFFFFF'> <a href=\"".SCRIPT_URL."details.php?image_id=$image_id\" target=\"_blank\"> <b>$image_name</b></a><br>\n";
Code: [Select]
echo "<TD bgcolor='#FFFFFF'>Views: $image_hits</TD>\n";
thumnails are in original size, but you can add width and height to your html code at
Code: [Select]
<img src=\"".SCRIPT_URL.$thumb_src."\" border=\"0\" alt=\"$image_name\">
and thank you for added 4images copyright back

126
so..

1.)
as i know., google accept 50000 entries per sitemap

2.)
yes you can:
example with 20000 urls (for to don't stress your server if you have tousends of pictures)

create google.php
change original
Code: [Select]
$images = mysql_query('SELECT image_id,image_active,image_date FROM ' . $table_prefix . 'images');query for images
to
Code: [Select]
$images = mysql_query('SELECT image_id,image_name,image_active,image_date FROM ' . $table_prefix . 'images ORDER by image_id ASC limit 0,20000');entry for .htaccess
Code: [Select]
RewriteRule ^sitemap.xml$ google.phpcall for google:
Code: [Select]
http://www.google.com/webmasters/sitemaps/ping?sitemap=http://yourdomain_com/gallery/sitemap.xml
create google2.php
change original
Code: [Select]
$images = mysql_query('SELECT image_id,image_active,image_date FROM ' . $table_prefix . 'images');query for images
to
Code: [Select]
$images = mysql_query('SELECT image_id,image_name,image_active,image_date FROM ' . $table_prefix . 'images ORDER by image_id ASC limit 20000,20000');entry for .htaccess
Code: [Select]
RewriteRule ^sitemap2.xml$ google2.phpcall for google:
Code: [Select]
http://www.google.com/webmasters/sitemaps/ping?sitemap=http://yourdomain_com/gallery/sitemap2.xml
create google3.php
change original
Code: [Select]
$images = mysql_query('SELECT image_id,image_active,image_date FROM ' . $table_prefix . 'images');query for images
to
Code: [Select]
$images = mysql_query('SELECT image_id,image_name,image_active,image_date FROM ' . $table_prefix . 'images ORDER by image_id ASC limit 40000,20000');entry for .htaccess
Code: [Select]
RewriteRule ^sitemap3.xml$ google3.phpcall for google:
Code: [Select]
http://www.google.com/webmasters/sitemaps/ping?sitemap=http://yourdomain_com/gallery/sitemap3.xml
if you need more, create more... :)


3.) yes and yes

have phun

127
Chit Chat / Re: Attachments inline view
« on: September 30, 2009, 02:05:42 PM »
for me example.txt is working with FF 3.5.3 but with IE 8 not

128
Chit Chat / Re: Attachments inline view
« on: September 30, 2009, 09:21:57 AM »
hi V@no,
really nice feature when you don't want to download text files.

129
Mods & Plugins (Releases & Support) / Re: [Mod] Random image / Zufallsbild
« on: September 30, 2009, 09:19:05 AM »
Code: [Select]
<?php
/**************************************************************************
 *                                                                        *
 *    4images - A Web Based Image Gallery Management System               *
 *    ----------------------------------------------------------------    *
 *                                                                        *
 *             File: random_more_pics.php                                 *
 *        Copyright: (C) 2002 Jan Sorgalla                                *
 *            Email: jan@4homepages.de                                    *
 *              Web: http://www.4homepages.de                             *
 *    Scriptversion: 1.0 for 4images 1.6.1                                *
 *                                                                        *
 *    Never released without support from: Nicky (http://www.nicky.net)   *
 *                                                                        *
 **************************************************************************
 *                                                                        *
 *    Dieses Script ist KEINE Freeware. Bitte lesen Sie die Lizenz-       *
 *    bedingungen (http://www.4homepages.de/4images/lizenz.php) für       *
 *    weitere Informationen.                                              *
 *    ---------------------------------------------------------------     *
 *    This script is NOT freeware! Please read the Copyright Notice       *
 *    (http://www.4homepages.de/4images/lizenz_e.php) for further         *
 *    information.                                                        *
 *                                                                        *
 *************************************************************************/

// PATH to your 4images Gallery / PFAD zu Ihrer 4images Gallerie
define('ROOT_PATH''./');

include(
ROOT_PATH.'config.php');
include(
ROOT_PATH.'includes/db_mysql.php');
include(
ROOT_PATH.'includes/constants.php');

define('SCRIPT_URL''http://www.wallpaperspecial.com/wallzz/');

$site_db = new Db($db_host$db_user$db_password$db_name);
function 
is_remote($file_name) {
  return (
preg_match('#^https?\\:\\/\\/[a-z0-9\-]+\.([a-z0-9\-]+\.)?[a-z]+#i'$file_name)) ? 0;
}

// NUMBER OF THUMBNAILS TO DISPLAY / NUMMER DER GEWÜNSCHTEN THUMBNAILS
$num_images 4;

$sql "SELECT a.image_id, a.cat_id, a.image_name, a.image_active, a.image_thumb_file, a.image_comments, a.image_hits 
        FROM "
.IMAGES_TABLE." a, ".CATEGORIES_TABLE." b 
        WHERE a.image_active=1 
        AND a.cat_id = b.cat_id 
        AND b.auth_viewcat="
.AUTH_ALL.
        AND b.auth_viewimage="
.AUTH_ALL.
        ORDER BY RAND() 
        LIMIT 
$num_images";
$result $site_db->query($sql);

while (
$row $site_db->fetch_array($result)){
  
$image_id $row['image_id'];
  
$cat_id $row['cat_id'];
  
$image_name $row['image_name'];
  
$image_comments $row['image_comments'];
  
$thumb_src = (is_remote($row['image_thumb_file'])) ? $row['image_thumb_file'] : ROOT_PATH.THUMB_DIR."/".$cat_id."/".$row['image_thumb_file'];
  
$image_hits $row['image_hits'];


  echo 
"<table border='0' width='133' bgcolor='#FFFFFF' Align=left>\n";
  echo 
"<TR>\n";
  echo 
"<TD><a href=\"".SCRIPT_URL."details.php?image_id=$image_id\" target=\"_blank\"> <img src=\"".SCRIPT_URL.$thumb_src."\" border=\"0\" alt=\"$image_name\"></a><br>\n";
  echo 
"</TR>\n";
  echo 
"<TR>\n";
  echo 
"<TD bgcolor='#FFFFFF'> <a href=\"".SCRIPT_URL."details.php?image_id=$image_id\" target=\"_blank\"> <b>$image_name</b></a><br>\n";
  echo 
"</TR>\n";
  echo 
"<TR>\n";
  echo 
"<TD bgcolor='#FFFFFF'>Views: $image_hits</TD>\n";
  echo 
"</TR>\n";
  echo 
"</table>\n";
}
?>

about: USER FRIENDLY URLS
rightnow this is not possible from my side.

130
Templates & Styles (Requests & Discussions) / Re: Random wallpaper service.
« on: September 29, 2009, 11:53:19 PM »
got it and answered it

131
Mods & Plugins (Releases & Support) / Re: [Mod] Random image / Zufallsbild
« on: September 29, 2009, 11:44:37 PM »
if random.php is in your 4images ROOT

then

Code: [Select]
define('ROOT_PATH', './wallzz/');should be
Code: [Select]
define('ROOT_PATH', './');
and change
Code: [Select]
define('SCRIPT_URL', 'http://www.wallpaperspecial.com/wallzz');to
Code: [Select]
define('SCRIPT_URL', 'http://www.wallpaperspecial.com/wallzz/');
after changes call

http://www.wallpaperspecial.com/wallzz/random.php


and ADD ASAP 4images copyright back.

132
Templates & Styles (Requests & Discussions) / Re: Random wallpaper service.
« on: September 29, 2009, 06:38:08 PM »
hi and welcome to the 4images forum,

can you explain exactly what do you want to do.

133
Chit Chat / Re: test
« on: September 28, 2009, 01:33:26 PM »
BANNED  :P

134
Chit Chat / Re: when Second Generation released??
« on: September 07, 2009, 12:04:50 AM »
sehr geehrter herr detlef (würde man in at und de ansprechen),

sie wissen ja das solche postings "...  :mrgreen: ..." meinerseits gelöscht werden ...
wenn sie es wissen wann die 2nd generation rausgegebenwird, dann sagen sie das, wenn nicht dann lassen sie es sein..

und diese wiener erst... du glauben die wissen alles...

====
schexxx, jetzt muss ich selber lachen.... schönen abend an euch alle... :)


@SnaFy
they are just going crazy including myself  :lol:

135
Mods & Plugins (Releases & Support) / Re: [Mod] Random image / Zufallsbild
« on: September 06, 2009, 11:33:22 PM »
Is there anyway that when using this mod. . . . .  When the thumbnail is clicked the page opens up in a New/blank window?  Setting the Target for the link to blank ?

I am guessing setting the target to blank in this line somewhere. . .  Just not sure where. .  Any thoughts?

document. write('<a href=\"". SCRIPT_URL. "details. php?image_id=$image_id\"><img src=\"". $full_src. "\" border=\"1\" alt=\"$image_name\"></a>');

hi Horvath,

Code: [Select]
document. write('<a href=\"". SCRIPT_URL. "details. php?image_id=$image_id\" target=\"_blank\"><img src=\"". $full_src. "\" border=\"1\" alt=\"$image_name\"></a>');
@MoXxinator
ich verstehe auch leider nur bahnhof ;)
bitte link zu deiner gallery und zu der random.php
und denn link wo du es einfügen willst.

dann könnten wir abfahren ;)

Pages: 1 ... 5 6 7 8 [9] 10 11 12 13 ... 188