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 - Clow Read

Pages: [1] 2
1
Mods & Plugins (Releases & Support) / Integration 4images 1.7 / phpBB
« on: March 19, 2003, 06:21:18 AM »
Hi Jan! ^^

could you help me with this prob???

i'm using phpBB 2.0.4 and i've integrated 4images 1.7 to phpBB and i've followed the instructions but when i login inside 4images...it gives me this 404 error

Code: [Select]

Not Found
The requested URL /forum/http://www.vectorcandy.com/gallery/index.php was not found on this server.


phpBB 2.0.4 is placed inside the /forum/ folder and 4images is placed inside /gallery/ folder...

do i have to modify phpBB's functions.php file???

thnx ^_~

2
Mods & Plugins (Requests & Discussions) / Login auf Startseite
« on: March 17, 2003, 06:18:59 AM »
i'm no php expert and i don't understand how i can code this one...

could someone give me step by step instructions???

3
Mods & Plugins (Releases & Support) / Re: [Mod] Avatar v2.01
« on: March 16, 2003, 12:31:11 AM »
beautiful mod V@no ^^

i have a question...
i have 4images integrated to phpBB and i want to integrate this mod with phpBB...

in other words...i want 4images to use phpBB's avatar database as well as the upload avatar database

could you help me code???

thanx ^_~

4
@ Chris and v@no ^^

could you put up a complete and updated version of this mod??? ^^

thxn ^_~

5
Mods & Plugins (Releases & Support) / Re: [Mod] Random image / Zufallsbild
« on: February 24, 2003, 01:40:54 AM »
could someone help me modify this mod to view only new images from a certain category using V@no's code...

Code: [Select]
<?php 
/**************************************************************************
*                                    * 
*  4images - A Web Based Image Gallery Management System        * 
*  ----------------------------------------------------------------  * 
*                                    * 
*       File: random.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''./4images/'); // change this to your 4images dir. 
include(ROOT_PATH.'config.php'); 
include(
ROOT_PATH.'includes/db_mysql.php'); 
include(
ROOT_PATH.'includes/constants.php'); 
define('ICON_PATH'ROOT_PATH.TEMPLATE_DIR."/default/icons/"); // path to your template icons. 
$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

function 
get_file_extension($file_name) { 
 
ereg("(.+)\.(.+)"basename($file_name), $regs); 
 return 
strtolower($regs[2]); 

function 
check_thumb_type($file_name) { 
 return (
preg_match('#(gif|jpg|jpeg|png)$#is'$file_name)) ? 0

$sql "SELECT COUNT(*) as total_images 
    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.
    "

$row $site_db->query_firstrow($sql); 
$total_images $row['total_images']; 

mt_srand((double)microtime() * 1000000); 
$number = ($total_images 1) ? mt_rand(0$total_images 1) : 0
$sql "SELECT a.image_id, a.cat_id, a.image_name, a.image_active, a.image_media_file, a.image_thumb_file, a.image_comments 
    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.
    LIMIT 
$number, 1"
$row $site_db->query_firstrow($sql); 
$image_extention get_file_extension($row['image_media_file']); 
$image_id $row['image_id']; 
$cat_id $row['cat_id']; 
$image_name $row['image_name']; 
$image_comments $row['image_comments']; 

if (empty(
$row['image_thumb_file'])) { 
 
$thumb_src ICON_PATH."/".$image_extention.".gif"

else { 
$thumb_src = (is_remote($row['image_thumb_file'])) ? $row['image_thumb_file'] : ROOT_PATH.THUMB_DIR."/".$cat_id."/".$row['image_thumb_file']; 

if (!
check_thumb_type($image_extention)) { 
 
 $full_src ICON_PATH."/".$image_extention.".gif"

else { 
 
 $full_src = (is_remote($row['image_media_file'])) ? $row['image_media_file'] : ROOT_PATH.MEDIA_DIR."/".$cat_id."/".$row['image_media_file']; 

$full_src_link ROOT_PATH."details.php?image_id=$image_id"
?>

thnx ^_~

6
Mods & Plugins (Requests & Discussions) / random new images outside 4image
« on: February 23, 2003, 12:34:23 AM »
could i request a mod where it previews some new images outside 4images randomly???

thnx ^_~

7
is there a mod where 4images uses a thumbnail specified by the admin to highlight a category just like Gallery and V@no Gallery

thanx ^^

8
Mods & Plugins (Releases & Support) / [Mod] Randomizing {new_images}
« on: February 10, 2003, 05:48:13 AM »
could you create a mod that will have a feature where the randomized new images could be placed outside 4images??? ^^

thnx ^_~

9
interesting mod but could you help me make the same mod but without the licensing thingy and be able to use different folders for different image sizes???

10
Mods & Plugins (Releases & Support) / [MOD] for Bypassing The SAFE MODE
« on: February 06, 2003, 01:23:15 AM »
interesting ^^
this mod is really useful for ppl who are working under safe mode

thnx for the mod ^_~

11
Mods & Plugins (Releases & Support) / Integration 4images 1.7 / phpBB
« on: January 28, 2003, 06:01:37 AM »
like where?

12
Feedback & Suggestions / [feature request] organized folders
« on: January 28, 2003, 05:49:49 AM »
not subcategory but subfolder concept

folder organization inside your server and not inside MySQL ^^

13
Mods & Plugins (Releases & Support) / Integration 4images 1.7 / phpBB
« on: January 28, 2003, 02:32:33 AM »
i have a problem integrating phpBB and 4images...

here's where both scripts are located...
phpBB: http://vectorcandy.com/home/
4images: http://vectorcandy.com/gallery/

the installation worked out fine and i've installed all the necessary files for integration but when i log in...i always receive this error

Code: [Select]
Not Found

The requested URL /home/http://vectorcandy.com/gallery/index.php was not found on this server.


here's the value that i've inputed to session.php

$url_app = http://vectorcandy.com/home/

Thanx for you help ^_^

14
Mods & Plugins (Requests & Discussions) / another randomized {new_images}
« on: January 27, 2003, 07:14:28 AM »
i know there's a MOD for this but it only works inside 4images...
could i request to have a MOD like this that could be placed anywhere on my site which is outside 4images???

just like the random image MOD but it uses new images ^^

Thanx ^_~

15
yay! ^^
i'm looking forward for it!

Pages: [1] 2