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

Pages: [1] 2 3 4 5 ... 10
1
Discussion & Troubleshooting / Re: can't upload images, no error message
« on: September 19, 2006, 04:32:35 PM »
thanks V@no, that was it! :)

2
Discussion & Troubleshooting / Re: can't upload images, no error message
« on: September 15, 2006, 01:10:23 PM »
hello Nicky, thanks for your reply.

From admin panel it happens the same thing, when i click add new image, it gives a blank page.

3
Discussion & Troubleshooting / can't upload images, no error message
« on: September 14, 2006, 04:02:49 PM »
Hi,

a strange bug it's happening in my gallery. When i try to upload an image, it doens't give me any error message, but instead of that it shows a blank page, and the image it isn't uploaded.
I haven't deleted any file, so i don't understand what's happening.

You're welcome to try it

www.fotografia-na.net

user: user
password: pass


Thanks in advance

4
Mods & Plugins (Requests & Discussions) / new user fields size
« on: June 30, 2003, 11:59:53 PM »
and in dp_field_definitions.php should i put "textarea", cause i currently have that new field as "text", than in 4images_user it's varchar255

should i change it to textarea and than to "text" in db?
thanks

5
Mods & Plugins (Requests & Discussions) / new user fields size
« on: June 29, 2003, 04:44:38 PM »
hello,

i had a new user field to the profile, wich is something like a little personal presentation of the user, and i would like to let this field have more than 255 characters, cause i can't get this bigger than (varchar 255).

is it possible?
thanks

6
im sorry v@no, but this thing really doesn't show the photos of the current day, here's my search.php modified parts:


Code: [Select]
$year_default = 2003;
$year_now = date("Y", time());
$year_start = (isset($HTTP_POST_VARS['year_start']) ) ? intval($HTTP_POST_VARS['year_start']) : ((isset($HTTP_GET_VARS['year_start'])) ? intval($HTTP_GET_VARS['year_start']) : $year_default);
$year_end = (isset($HTTP_POST_VARS['year_end']) ) ? intval($HTTP_POST_VARS['year_end']) : ((isset($HTTP_GET_VARS['year_end'])) ? intval($HTTP_GET_VARS['year_end']) : $year_now);
$month_start = (isset($HTTP_POST_VARS['month_start']) ) ? intval($HTTP_POST_VARS['month_start']) : ((isset($HTTP_GET_VARS['month_start'])) ? intval($HTTP_GET_VARS['month_start']) : 1);
$month_end = (isset($HTTP_POST_VARS['month_end']) ) ? intval($HTTP_POST_VARS['month_end']) : ((isset($HTTP_GET_VARS['month_end'])) ? intval($HTTP_GET_VARS['month_end']) : date("n", time()));
$day_start = (isset($HTTP_POST_VARS['day_start']) ) ? intval($HTTP_POST_VARS['day_start']) : ((isset($HTTP_GET_VARS['day_start'])) ? intval($HTTP_GET_VARS['day_start']) : 1);
$day_end = (isset($HTTP_POST_VARS['day_end']) ) ? intval($HTTP_POST_VARS['day_end']) : ((isset($HTTP_GET_VARS['day_end'])) ? intval($HTTP_GET_VARS['day_end']) : date("j", time()));
$date_start = $year_start."-".$month_start."-".$day_start;
$date_end = $year_end."-".$month_end."-".$day_end;


Code: [Select]
$sql = "SELECT m.image_id, i.image_date
              FROM ".WORDLIST_TABLE." w, ".WORDMATCH_TABLE." m
              LEFT JOIN ".IMAGES_TABLE." i ON (m.image_id = i.image_id)
              WHERE w.word_text LIKE '".addslashes(str_replace("*", "%", $split_words[$i]))."'
              AND m.word_id = w.word_id AND i.image_date >= UNIX_TIMESTAMP('".$date_start."') AND i.image_date <= UNIX_TIMESTAMP('".$date_end."')
              $match_field_sql";


Code: [Select]
$site_template->register_vars(array(
    "search_keywords" => stripslashes($org_search_keywords),
    "year_start" => date_select($year_default, $year_now, $year_start),
    "year_end" => date_select($year_default, $year_now, $year_end),
    "month_start" => date_select(1, 12, $month_start, $lang['month_array']),
    "month_end" => date_select(1, 12, $month_end, $lang['month_array']),
    "day_start" => date_select(1, 31, $day_start),
    "day_end" => date_select(1, 31, $day_end),
    "lang_search_date" => $lang['search_date'],
    "lang_search_date_start" => $lang['search_start'],
    "lang_search_date_end" => $lang['search_end'],


i've followed all the steps and maybe i've forgot to post here some changed part, but i think that this is it.
hope that you can help me on this :)

thanks mate

7
hey v@no, are u sure that that's correct?
cause i replaced my code and everything works the same way as before...

here's my changed code:
Code: [Select]
$sql = "SELECT m.image_id, i.image_date
              FROM ".WORDLIST_TABLE." w, ".WORDMATCH_TABLE." m
              LEFT JOIN ".IMAGES_TABLE." i ON (m.image_id = i.image_id)
              WHERE w.word_text LIKE '".addslashes(str_replace("*", "%", $split_words[$i]))."'
              AND m.word_id = w.word_id AND i.image_date >= UNIX_TIMESTAMP('".$date_start."') AND i.image_date < UNIX_TIMESTAMP('".$date_end."')
              $match_field_sql";



edit:

i just noticed that no your step 1.2 it's
Code: [Select]
AND m.word_id = w.word_id AND i.image_date > UNIX_TIMESTAMP('".$date_start."') AND i.image_date < UNIX_TIMESTAMP('".$date_end."')

and now the changed code says that i have to replace this
Code: [Select]
AND m.word_id = w.word_id AND i.image_date > UNIX_TIMESTAMP('".$date_start."') AND i.image_date <= UNIX_TIMESTAMP('".$date_end."')

but as you can see, these codes are not the same just look at this part:
Code: [Select]
AND i.image_date <= UNIX_TIMESTAMP

maybe you posted it wrong
maybe :)

8
Mods & Plugins (Releases & Support) / [Mod] Mini-Top
« on: June 27, 2003, 04:08:29 AM »
portuguese here:

Code: [Select]
$lang['mini_top_title'] = "As Mais Populares";
$lang['mini_top_hits'] = "Mais vista";
$lang['mini_top_rating'] = "Melhor votação";
$lang['mini_top_downloads'] = "Mais downloads";
$lang['mini_top_comments'] = "Mais comentada";
$lang['mini_top_votes'] = "Mais votada";

9
i think i've found some kind of bug in the mod...

i installed it on my site today, and now, that is counting as 27 of June, when i search for all my images on the server (***), it doesn't appear the pics that were submitted after the 0am of June 27.

why's that, why doesn't search images that were submitted on the present day?
they all have words with more than 3 letters...
i don't understand it

10
Mods & Plugins (Requests & Discussions) / owner visits dont count
« on: June 24, 2003, 04:04:32 AM »
is it possible not to count the visits to the image that is owner does?

11
Mods & Plugins (Requests & Discussions) / pointing {thumbnail}
« on: June 12, 2003, 06:07:56 PM »
Hello,

i'm running a contest on my site and i would like to create a new template where i would show all images that are running on the contest. I would like to know if it«s possible to make something like {thumbnail=131}, and this would show image #131 of my database, but with all the thumbnail info (image title, owner, category, comments, and lightbox button)

this way it would be much more easyer to me cause i would just point all the image ids and that would show their thumbnails.

thanks in advance
 :wink:

12
is it possible to show a popup window when user log in, showing updated news on the site?

this would work with cookies, and it would show only once to each user, or maybe only once per day to each user...

possible?
thanks

13
well i wanted to see all images that were submitted in a specified period of time, isn't that what this can do? or does this only search all images with specified keywords in the mentioned period?

if so, how can i put this working like the 1st way?
thanks

14
hey v@no this is awesome :)
just what i needed

but i think there's some prob on it cause i went to your demo and tryed to do a search and no results were found, and i've tried many dates

is it me?

15
Discussion & Troubleshooting / search options
« on: June 10, 2003, 03:50:52 PM »
Quote
what about a date searchable field?

something like this:
 
eg:
search images since {start_counting} until {end_couting}


this would be cool to search all images submitted in a specific month or week, for example. Admin Control Panel has that option, but registed users don't, and i think it's a good think to have


not possible?
anyone? thanks

Pages: [1] 2 3 4 5 ... 10