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 - Sebas Bonito

Pages: 1 [2] 3 4 5 6 ... 19
16
Mods & Plugins (Releases & Support) / Re: [MOD] Last comments v1.2.0
« on: June 05, 2010, 10:35:31 AM »
Fantastic, thanx a lot!  :)

17
Mods & Plugins (Releases & Support) / Re: [MOD] Last comments v1.2.0
« on: June 04, 2010, 11:36:39 PM »
How to avoid showing the same picture on the main page?
It's not an exception, that there is more then one comment for each image.

18
Sorry for repeat myself, but so far nobody has reacted to my question:

How to decrease or change the file-size/-resolution of the pictures in the BIG-folder during the upload-process?

19
Requests for paid modifications / Jobbörse / Re: Facebook Connect
« on: February 15, 2010, 05:22:24 PM »
Any suggestions?  8O

20
Wieso gibt es immer noch kein komfortables Upload-Formular für die User?  8O

Natürlich ist es für Admins eine Leichtigkeit, per FTP die Bilder zu batchen.
Doch Websites, die den Usern freie Hand lassen, sehen verdammt alt aus.
Die bisherigen Multi-Upload-Formulare sind einfach nicht mehr zeitgemäß!
50 Fotos, aber schon ab 5 Bildern wird das ganze zu einer hakeligen und
ungemütlichen Angelegenheit für die registrierten Benutzer.

Der Ansatz dieser MOD hier ist sehr gut, doch wieso gibt es keine Möglichkeit,
dieses Skript umzuschreiben, oder ein ähnliches anzubieten... gerade wo der
Bedarf doch unglaublich groß ist (siehe nur die vielen Such-Einträge bei "Upload).
Für die aktuelle Version 1.7.7. gibt es kein komfortables Upload-Tool.

Ich finde, das ist das einzige Manko an der Galerie, aber auch das Größte,
und hoffe, dass es jemandem gelingt, etwas derartiges umzusetzen.

22
I need an emergency help. 8O

My space is going over 2 gigabyte, cause of the original files.
I wanna keep this big-function, but to limit it. Many of my pictures
(uploaded by members) have a size of 3,4 sometimes 5 megabyte!
That's to much (all in all)... so:

1. how to decrease automatically also the (into the big-folder copied) image?
So far, during the uploading process, it only copies the original file.
I need something like: decrease to max 1680*1050, jpg-quality: 85

2. how to do this with existing pictures (without doing it manually for each one)?

Thanx
Sebas


I guess, it's somewhere here in the member.php?!
Code: [Select]
//--------------------------------------------
//--------- Auto Image Resizing --------------
//--------------------------------------------
                  if ($config['auto_image'] && !$uploaderror) {
                     $src_copy = MEDIA_PATH."/".$cat_id."/big";
                     if ($direct_upload) {
                        $src = MEDIA_PATH."/".$cat_id."/".$new_name;
                        $src_copy = MEDIA_PATH."/".$cat_id."/big";
                    }
                    else {
                        $src = MEDIA_TEMP_PATH."/".$new_name;
                    }
                    $do_resize = 0;
                if ($image_info = @getimagesize($src)) {
                       if ($image_info[2] == 1 || $image_info[2] == 2 || $image_info[2] == 3) {
                          $do_resize = 1;
                    }
                  }
                  if ($do_resize) {
                     if (!function_exists(init_convert_options)) {
                           require(ROOT_PATH.'includes/image_utils.php');
                        }
                        $convert_options = init_convert_options();
        if (!$convert_options['convert_error']) {
if ($image_info[0] > $config['max_image_width'] || $image_info[1] > $config['max_image_height']) {
$result = true;
  if (!@is_dir($src_copy)) {
    $oldumask = umask(0);
    $result = mkdir($src_copy);
    umask($oldumask);
    if (!@is_dir($src_copy) || !$result) {
      $result = mkdir($src_copy, 0755);

    }
  }
if ($result == true){
copy($src, $src_copy."/".$new_name);
}
                      $convert_options = init_convert_options();
                      if (!$convert_options['convert_error']) {
                        $quality = (intval($config['auto_image_quality']) && intval($config['auto_image_quality']) <= 100) ? intval($config['auto_image_quality']) : 100;
                        if (!resize_image($src, $quality, $config['max_image_width'], 1)) {
                          $msg .= (($msg != "") ? "<br />" : "")."<b>".$lang['file_upload_error'].": ".$new_name;
                            $uploaderror = 1;
                         }
                     }
                   }else{
                    $do_resize = 0;
                   }
                      }
                     }
                  }
//-------------------------------------------

23
Take a look. Would be nice to assamble this into this mod  :)

http://www.youtube.com/direct

24
Kann man das umbauen, dass die Wetterdaten für die gesamte Kategorie gelten? Meist ist es ja so, dass man pro Ort eine Kategorie hat (gewiss, es gibt auch Abweichungen). Nachteil ist natürlich, dass man die Lat/Lon-Werte pro Kategorie manuell eingeben müsste. Fänd ich aber gut, wenn man das irgendwie hinkriegen würde.

25
Wie bereits erwähnt läuft es nur dann ordentlich (mal abgesehen von den offiziellen CSS3.Vorgaben), wenn die Positionsangabe im IMG-Tag steht, z.B. so

Code: [Select]
<img src="./templates/default/images/splugin.png" alt="Suchplugin" style="position:absolute;top:0px;right:0px;margin:0px;padding:0px;" border="0" />

26
Hi! Is there a current HowTo to install this mod PM v2? reagrds clubsociety
It's not working in 1.7.7

27
i wanna be able to do a facebook application and link it to my photogallery.

there is 2 opion:
1- the user will select what category he want to see in his facebook body page ( it's like query search result )

2- or he i will see a mini gallery ( latest pictures )



Is it done, or has somebody else seen a mod to connect to facebook?

28
Version 3.2.6 ist seit einigen Tagen draußen:

Quote
Version 3.2.6 (2009-08-19)
   Added new wordcount plugin, this will display the number of typed words as you write. Contributed by Andrew Ozz.
   Added new getNext and getPrev methods to DOM utils. These will return the first matching sibling.
   Fixed bug where it was impossible to place the caret after a table on Gecko. It will now add a paragraph after tables.
   Fixed bug where inline dialogs would fail if used in a window opened using a showModalDialog. Patch contributed by Derek Britt.
   Fixed bug where IE could sometimes render a unknown runtime error on invalid input HTML.
   Fixed bug where some incorrectly placed tables wouldn't be moved outside the paragraphs on IE.
   Fixed bug where uppercase script/style element wouldn't be handled correctly and converted to valid lowercase.
   Fixed bug where some WebKit versions on Mac OS X would produce issues with hidden select fields.
   Fixed bug where the media plugin would fail on WebKit since the node wasn't properly imported to the right document.
   Fixed bug where absolute URLs for the TinyMCE script using a base href element would cause loading problems in IE 6/7.
   Fixed bug where pasting using the paste plugin wasn't possible on IE with to restrictive security settings.
   Fixed bug where pasting of whitespace was impossible using the new custom paste method.
   Fixed bug where pasting on some WebKit browsers would not work if you pasted specific contents due to a WebKit bug.
   Fixed bug where doctypes with multiple lines would not be parsed correctly by the fullpage plugin. Patch contributed by Colin.
   Fixed bug where the autoresize plugin would break the fullscreen functionality.
   Fixed bug where tables would be chopped up running on IE using invalid contents and pasting paragraphs into a cell.
   Fixed bug where the each method of jQuery build didn't iterate styleSheets. We now use the TinyMCE API one instead.
   Fixed bug where auto switching to paragraphs after headers some times failed in Gecko.   
   Fixed so all editor options gets passed to the Serializer class. Patch contributed by Jasper Mattsson.
   Fixed so script/style blocks isn't wrapped in paragraphs as other inline elements.
   Fixed so the XHR requests sends the X-Requested-With HTTP header.
   Fixed so the data url scheme is handled in the tinymce.util.URI class.
   Changed inline documentation to use moxiedoc style comments.
   Removed the compat2x plugin people should have upgraded to the 3.x API by now. 3.0 was released more then a year ago.
   Re-added Gecko specific message for users who doesn't understand the security concept regarding paste.

Download

29
Man kann ja mittels...
Code: [Select]
if ($user_info['user_level'] == GUEST || $user_info['user_level'] == USER_AWAITING) {
  show_error_page($lang['no_permission']);
  exit;
erreichen, dass die jeweilige Seite nur dann aufgerufen werden kann, wenn man eingeloggt ist.
Ist man nicht eingeloggt, wird das error-Template angezeigt. Soweit, so gut.

Nur möchte z.B. Google die nicht zugänglichen Seiten aufrufen und landet immer stumpf auf der
error-Seite, kann das auch zu Nachteilen für die gesamte Website führen. Zumindest was deren
Indexierung betrifft. Nützlich sind da die Statuscodes, die im Hintergrund ablaufen. Eine -wie ich finde-
häufig verkannte Angelegenheit. Daher meine Frage, ob es irgendwie möglich ist, den folgenden
Header für die Seite einzufügen, die nur für User einsehbar ist? So weiß dann z.B. Google Bescheid,
dass es keine Authentifizierung für diese Seite gibt, und versteht den gleichen Inhalt (der error-template).

Code: [Select]
Header('HTTP/1.1 401 Unauthorized');

30
...
Völlig unabhängig von dem bestehenden Voting-System.
klar soll der völlig unabhängig sein, missverstanden habe ich da nichts.
nur ich würde halt den einfacheren weg gehen, wie schon gesagt ein voting wenn die vorgegebene quote erfüllt ist wird das bild inaktiv geschaltet.
wenn du nur mit ja nein voten lassen willst ist es auch gut, das prinzip ist ja immer das gleiche, oder?

mfg Andi

Nee, ICH hatte wohl was missverstanden  :)

Und JA, das Prinzip ist immer das Gleiche.  8)

Pages: 1 [2] 3 4 5 6 ... 19