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

Pages: [1]
1
Quote
I think we need a professional guy to make a good mod rewrite, since all the people here including me want a clear root like example.com/category/image.htm vano says he cant, there is a lot of CMS with a similar structure than 4images that can do it. i am not an expert in rewrite URL but am pretty sure it can be done we ll have to wait I supose.
Main problem is not make "good mod rewrite", because mod rewrite only few rules. Most difficult is - make engine understand and generate FURLs and save ability to use old-style urls for compatibility. Of course, we may done this with a lots of if(...), but it is a indian-style and will slow down not fast 4img.
I'm thinking about FURL for my gallery, and maybe share some ideas here.

2
Please don't allow to much time for this because lately i have server load problems again and maybee the mood has just help to this load.
I don't see a reason why this mod may make a high load... Other pages get more queries and more resources.
But I have only few thousands in keywords table... But very intensive to resources is a color search mod ;)

3
I have checked php config, exif was disabled so problem has been found. ^^"

Quote
In either case in next update I will add a settings to enable/disable exif.
That was be great.  :roll:

4
Quote
Sorry, don't understand. Please explain.
Ok. Here some quotes from previous post:

sorry, but get_exif_insert_link() is not part of 4images. It must be from a mod you've installed.

and

Sorry!

This is the code to insert in the admin_functions.php 

Code: [Select]
function get_exif_insert_link($file, $input, $add_text = 1) {
  $exif = read_exif_data($file);
  ereg("([0-9]{4}):([0-9]{2}):([0-9]{2}) ([0-9]{2}):([0-9]{2}):([0-9]{2})", $exif["DateTimeOriginal"], $exif_data_created);
  $value = $exif_data_created[1].'-'.$exif_data_created[2].'-'.$exif_data_created[3].' '.$exif_data_created[4].':'.$exif_data_created[5].':'.$exif_data_created[6];
  if (!empty($value)) {
          $html = "\n<input type=\"hidden\" name=\"hidden_".$input."\" value=\"".trim($value)."\">\n";
          $html .= "<script language=\"javascript\">\n<!--\n";
          $html .= "this.document.writeln('<br /><br /><input type=\"button\" value=\"EXIF Date Time Original &raquo;: $value \" onClick=\"this.form.".$input.".value=".(($add_text) ? "this.form.".$input.".value + " : "")."this.form.hidden_".$input.".value\"> <br /><br />');";
          $html .= "\n//-->\n</script>\n";
          return $html;
     }
}

But function from
Code: [Select]
$exif = read_exif_data($file);doesn't exist and script get error.
So probably this is mistake and read_exif_data we need replace to exif_read_data or we need add a missed function.

BTW does anybody test v4.11 with multiupload? It works fine?

5
EXIF function probably not full. Even with adding function get_exif_insert_link it can't find read_exif_data() =\

6
Mods & Plugins (Releases & Support) / Re: [MOD] Support Ticket System
« on: October 22, 2008, 11:39:25 PM »
Even with redirect, most browsers will cache the data. All a user will need to do is back the page 1 - 2 times and resend the data. To stop it from posting all together it may be best to use a time delay to not allow any sending of tickets for a certain time frame. I most cases a user should not need to send more than one ticket at a time. Even still if he does need to send it in. It takes some time to write a new one, giving it time for the delay to run out.
You probably right. "normal" user won't refresh page a 1xxx times, but restrict posting time not good too. Even if anybody found a bug, and then another he must get access to send ticket immediatly (what if this is mega-urgent bug? =) ). But this is more retoric question... o.O
Like a alternate way I can offer to limit a count of tickets per user. ;)

7
Mods & Plugins (Releases & Support) / Re: [MOD] Support Ticket System
« on: October 22, 2008, 06:01:40 PM »
I can setup an anti-spam system to it. It will delay you creating a ticket within so many minutes, which can be set in the admin panel
Well... In "good code" all data must be terminated after sending. And it may redirect to "thanks" page. If user refresh page he will get an error page.
Maybe I write this fix by myself, but now I have a little time. So if anyone would like to fix it, please.

8
Mods & Plugins (Releases & Support) / Re: [MOD] Support Ticket System
« on: October 22, 2008, 12:29:59 PM »
Another little "bug" when you send Ticket (page with: your ticket added bla-bla-bla) and refresh page. New ticket will be created. And if user will "sleep" on F5...

Pages: [1]