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

Pages: 1 2 [3] 4 5 6
31
i am using Version: 1.7.10 now.

a new example.

my image 1: france national logo
my image 2: england national logo

when visitor search "france" only listing france national logo. (this is good)
when visitor search "france national", listing both pictures. (this is bad. i want, only listing france pictures)

32
Discussion & Troubleshooting / Re: category blank page
« on: April 09, 2012, 01:11:10 PM »
i did it. error seen on all pages now.

Notice: Undefined index: cat_sort in /home/football/public_html/global.php on line 468

33
unfortunately my visitors dont know this algorithm. :(

I had to use google search. :(

i hope this problem is solved in the next 4images version.

34
Discussion & Troubleshooting / category links in details page?
« on: April 09, 2012, 12:58:47 PM »
i added this codes in details.html and categories.html in my template but category links dont preview in these pages.

      {if categories}
{categories}
    {lang_site_stats}
{endif categories}

how can i fix this problem.

Thank you.

35
When someone search "jennifer lopez wallpapers" keyword in my gallery the results are incorrect because it shows us "wallpapers" results.  How can i fix this problem

36
How can i add new variable (like {header}) in my theme? I want to create {advertise} and edit in admin panel. Just like {header}. I added advertise.html in theme by ftp but it didnt work. i cant see advertise.html in admin panel.

Thanks.

Nobody help mee  :cry:

37
i have a template inside another template. 7dana/italy. i have 1 sql. Second theme is ok it.domain.net but image cant view by visitors.

i send pm about my process, urls, etc.

mmmm....ok, lets try it again.
1) are both of your domains (domain.net and it.domain.net) are on the same server and are have the same root folder? If so, then YOU DON'T NEED SECOND GALLERY
2) this got me very puzzled, either you do something very, very different and custom, or you do it wrong:
      $config['language_dir'] = "english"//language -(i did different language by template)-
      
$config['template_dir'] = "7dana/italy"//template

in default 4images, you cannot have a template inside another template...

38
oo sorry.

i did your say in Reply #5 like this stuff.

Code: [Select]
/*
domain based settings
insert begin
*/
$host = str_replace("www.", "", (!empty($HTTP_SERVER_VARS['HTTP_HOST'])) ? $HTTP_SERVER_VARS['HTTP_HOST'] : getenv("SERVER_NAME"));
switch ($host)
{
  case "it.domain.net":
      $config['language_dir'] = "english"; //language -(i did different language by template)-
      $config['template_dir'] = "7dana/italy"; //template
    break;
  case "domain.net":
      $config['language_dir'] = "english"; //language
      $config['template_dir'] = "7dana"; //template
    break;
  default:
    break;
}
/*
domain based settings
insert end
*/

But nothing changed. First gallery is ok but second gallery cant show images yet.


39
Hello again i did but second script cannot show images. i send u my site url with private message.

40
did both of your galleries work before you did any changes?

First gallery is ok (http://www.example.com) is work but second gallery (www.it.example.com) didnt work (Error:Currently there are no new images.). Second gallery's theme is ok but cant preview images. Second gallery image path is: http://it.example.com/data/media/... All images in www.example.com/data/media/...

i copy all images in this documents for work second gallery. But i want all galleries show same image path. (www.example.com/data/media/...)

Regards.

41
maybe this can help:
www.4homepages.de/forum/index.php?topic=25739.0

Hello Vano, i did this but this error.

An unexpected error occured. Please try again later.
ERROR: Could not load configuration settings!

Second gallery constant is this:

Code: [Select]
// Table names
define('CATEGORIES_TABLE', $table_prefix.'categories');
define('COMMENTS_TABLE', $table_prefix.'comments');
define('GROUP_ACCESS_TABLE', $table_prefix.'groupaccess');
define('GROUP_MATCH_TABLE', $table_prefix.'groupmatch');
define('GROUPS_TABLE', $table_prefix.'groups');
define('IMAGES_TABLE', $table_prefix.'images');
define('IMAGES_TEMP_TABLE', $table_prefix.'images_temp');
define('LIGHTBOXES_TABLE', $table_prefix.'lightboxes');
define('POSTCARDS_TABLE', $table_prefix.'postcards');
define('SESSIONS_TABLE', '4images1_sessions');
define('SESSIONVARS_TABLE', '4images1_sessionvars');
define('SETTINGS_TABLE', $table_prefix.'settings');
define('USERS_TABLE', '4images1_users');
define('WORDLIST_TABLE', $table_prefix.'wordlist');
define('WORDMATCH_TABLE', $table_prefix.'wordmatch');

Second gallery data paths:
Code: [Select]
// Data paths
define('MEDIA_DIR', '../data/media');
define('THUMB_DIR', '../data/thumbnails');
define('MEDIA_TEMP_DIR', '../data/tmp_media');
define('THUMB_TEMP_DIR', '../data/tmp_thumbnails');
define('DATABASE_DIR', '../data/database');
define('TEMPLATE_DIR', '../templates/theme3');

Second gallery Config.php is

Code: [Select]
$db_servertype = "mysql";
$db_host = "localhost";
$db_name = "ersen_deneme";
$db_user = "ersen_eutbola";
$db_password = "ersenim";

$table_prefix = "4images_2";

define("4IMAGES_ACTIVE", 1);
define('SESSION_KEY

How can i do?


When i didnt changed config.php i have this error.

Code: [Select]
An unexpected error occured. Please try again later.

An unexpected error occured. Please try again later.

An unexpected error occured. Please try again later.

An unexpected error occured. Please try again later.

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/example/public_html/it/includes/db_mysql.php on line 116

"/it/" name is my subdomain name.

42
Firstly, apologise for my english.

How do i open a new subdomain with same SQL + same image urls and different themes.

I have a photo gallery http://www.example.com i want publish same gallery with different language. http://es.example.com

i want galleries working same SQL, Same images and different themes.

My process was:
1.i created a subdomain.
2.move script documents. (not move images)
3.open a new theme.

My theme is ok but i have image problem. My image cant preview. I change constant.php like this :

// Data paths
define('MEDIA_DIR', 'esl/data/media');
define('THUMB_DIR', 'es/data/thumbnails');
define('MEDIA_TEMP_DIR', 'es/data/tmp_media');
define('THUMB_TEMP_DIR', 'es/data/tmp_thumbnails');
define('DATABASE_DIR', '../data/database');
define('TEMPLATE_DIR', '../templates/espanol');

How can i do this?

43
Which folder is using for the awaiting validation images?

they how do you propose uploaders use urls to the images that are not yet active?
And so you know, when images are awaiting validation, they are stored in different folders, separate from validated images. If you show url to the these images, then once they were validated and images moved to the appropriate folders, these urls will be wrong, pointed to not existing images. Or if you show urls to the images in folders as if they already validated (but not yet), then these urls will be wrong until images validated, which might only confuse.

44
You'll have to turn off image validation then

i am not going to close my validation cause some people will upload +18 content.



45
Move the new code in member.php below
          }
          
add_searchwords($image_id$search_words);


This way, it will only show links if image does not require validation.

Hello Vano, i did this but only registered users can see the codes. i want everybody can see links (true links) after uploading image. This is serious problem for 4images validation uploading. What can we do?

Pages: 1 2 [3] 4 5 6