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

Pages: [1] 2 3 4
1
Thank you soo much v@no it's working now.


Jamestave.

2
Thank you very much v@no it's working good now. Is it possible to show the numbers 0-9 like this

0-9
111 (cat)
2222  (cat)
22 (cat)
33 (cat)
44 (cat)
999 (cat)

A
AAA (cat)

B
BBB (cat)

3
Also It's not showing the first letter of the list it's showing like this


1111
111

2
222
22

3
333
3333

4
4444
44444

A
AAAA
AA

B
BBB
BBBB

i want to show first letter too

1
1111
111

2
222
22

3
333
3333

4
4444

And  i want show like this 0-9,  rather than showing 1,2,3,4,

some thing like this

0-9
11
22
333
3333
44

A
AAAA
AA

B
BBB
BBBB

Can some one help me to do this.

4
Mods & Plugins (Requests & Discussions) / Server Load increasing
« on: February 16, 2009, 04:22:02 PM »
Hi I'm using 4images 1.7.6 and i have 65,000 photos, I'm using 4images for 3 years but last 2 weeks the server load is increasing and the database load also increasing, i contact my hosting company they said the gallery database is creating too many query. Now how do i solve this problem please help me.

Jamstave.

5
How do i put the letter top of the name like this.


A
A1 A2 A3
A4 A5 A6

B
B1 B2 B3
B4 B5 B6

C
C1 C2 C3
C4 C5 C6

6
Hi..how do i make category list like this

A
Albania
Algeria
American Samoa
Andorra

B
Bahrain
Bangladesh
Barbados
Belarus
Belgium

C
Cambodia
Cameroon
Canada
Cape Verde

D
Denmark
Djibouti
Dominica
Dominican Republic

E

Jamstave.

7
Open :
templates/your_template/member_uploadform.html

Find this code and delete.

Quote
          <tr>
            <td class="row1" valign="top">
           <b>{lang_thumb_file}</b><br />
           <span class="smalltext">
           {lang_max_filesize}<b>{max_thumb_filsize}</b><br />
           {lang_max_imagewidth}<b>{max_thumb_imagewidth}</b><br />
           {lang_max_imageheight}<b>{max_thumb_imageheight}</b><br />
           </span>
         </td>
            <td class="row1">
              <b>Upload:</b><br />
           <input type="file" name="thumb_file" class="input" size="20" /><br />
           <b>URL:</b><br />
           <input type="text" name="remote_thumb_file"  size="30" value="{remote_thumb_file}" class="input" /><br />
           <span class="smalltext"><b>{lang_allowed_file_types}</b> {allowed_thumb_types}</span>
            </td>
          </tr>

8
How do i remove the file path in the success message.

Jamstave

9
I removed the image name,description and keywprds and uploading is working but very first time when i add image i getting this warning message.



I click on the ok button then i click on the submit button file uploaded please some help me to correct this error.

My javascript in the member_muploadform_jupload.html

Code: [Select]
<script type="text/javascript" language="javascript">
  var filescache = new Array();
  var img_file_cache = new Array();
  var numfiles = 0;
  var uploadednum = null;
function get_id(id)
{
 if (document.getElementById) return document.getElementById(id);
 if (document.all && !document.getElementById) return document.all[id];
 if (document.layers) return document.layers[id];
}
function replaceDocument(content)
{
  get_id('result').innerHTML += content;
  get_id('result').style.display = "block";
}
function muploadinit()
{
  if (!get_id('JUpload')) return;

  // check if jupload is up and running
  if (get_id('JUpload').jsIsReady())
  {
    // Register the listeners
    get_id('JUpload').jsRegisterUploaded('Uploaded');
    get_id('JUpload').jsRegisterAddedListener("AddedListener");
    get_id('JUpload').jsRegisterRemoveListener("RemoveListener");
    get_id('JUpload').jsRegisterProgressListener('ProgressListener');
    RemoveListener();
  }
  else
  {
    // wait and try again until JUpload is ready
    window.setTimeout('muploadinit()',400);
  }
}

function printfields(i,num)
{
  return '<input type="hidden" name="media_file_number" value="'+num+'">';
}
function AddedListener()
{
  var num = get_id('JUpload').jsGetFileNumber();
  if (!num) return;
  var fvar = "";
  numfiles = num;
  for(i=0; i<num; i++)
  {
    var img_file = get_id('JUpload').jsGetFileAt(i);
    if (filescache[i] && filescache[i] == img_file)
    {
     
    }
    else
    {
     
      filescache[i] = img_file;
    }
    fvar += printfields(i,img_file,i+1)
  }
  get_id('fields').innerHTML = fvar;
  get_id('fields').style.display = "block";
}

function RemoveListener()
{
  var num = get_id('JUpload').jsGetFileNumber();
  var fvar = "";
  var tempcache = new Array();
  if (uploadednum == null && numfiles != num)
  {
    if (num)
    {
      for(i=0; i<numfiles; i++)
      {
        for(j=0;j<num;j++)
        {
          var img_file = get_id('JUpload').jsGetFileAt(j);
          if (img_file == filescache[i])
          {
           
            fvar += printfields(j,img_file,i+1);
            tempcache[j] = img_file;
            break;
          }
        }
      }
      filescache = tempcache;
    }
    numfiles = num;
    get_id('fields').innerHTML = fvar;
    get_id('fields').style.display = "block";
  }
  window.setTimeout('RemoveListener()',400);
}
function submitupload()
{
  var num = get_id('JUpload').jsGetFileNumber();
  if (num)
  {
    for(i=0; i<num; i++)
    {
      img_file_cache[i] = get_id('JUpload').jsGetFileAt(i);
     
    }
    if (uploadednum == null) uploadednum = 0;
    get_id('fields').style.display = "none";
    get_id('fields').innerHTML = printfields(0,img_file_cache[0],1);
    get_id('result').style.display = "none";
    get_id('result').innerHTML = "";

  }
  get_id('JUpload').jsClickUpload();
}
function Uploaded()
{
  uploadednum++;
  if (uploadednum < numfiles)
    get_id('fields').innerHTML = printfields(0,img_file_cache[uploadednum],uploadednum+1);
  else
    ProgressListener('',100);
}
function ProgressListener(command,percentage)
{
  if (percentage >= 100)
  {
    uploadednum = null;
    filescache = new Array();
    img_file_cache = new Array();
    get_id('fields').innerHTML = "";
  }
}
    </script>

10
I want to show category to guest but i don't want to show thumbnail. Also i want show message to guest that (Registered Users can view images)

Jamstave.

11
when did you downloaded it?

I download on 3/4/2006

12
I have updated 4images v1.7.2 it doesn't show the UNICODE in the sub categories list, but it's work in all other pages how to fix this error.

It show this.
& #2949; & #2950; 

In the html view it's show this
&amp;#2949; &amp;#2950;

It doesn't replace "&amp" into "&" in sub categories list but it replace in the other pages.

Jamstave.

13
Hi.. Is it possible to have 2 different jpg.html one is for postcard page and other one is for others pages.

JamStave.

14
Tthanks V@no for the help.

Jamstve.

15
Hi...Is this possible to have two thumbnail_bit because i need one thumbnail_bit for search page and other one for home and categories if it's possible please some tell me how do i do this.
JamStave.

Pages: [1] 2 3 4