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
31
Hi..Acidgod thank you very much  for the reply.

32
Hi..Is there any mod to change the all categories permission at ones.

33
what exactly doesnt work?


Hi...V@no thanks for your reply and it's show the current postcard in the database but i need total postcard since the gallery stated.

It's show this
Current postcard: 97

But i need to show this

Total Postcard: 4707

I need to get the last postcard id from the database.

gallery/postcards.php?postcard_id=4707

Jamestve.

34
Hi..I want show total postcards(from gallery stated) in the site statistics?
Using "postcard_id"

gallery/postcards.php?postcard_id=4707

I tried this code in the "stats.php" but it's doesn't work please someone help me.

Code: [Select]
//-----------------------------------------------------
//--- Total Postcards ----------------------------------------
//-----------------------------------------------------
   $sql = "SELECT COUNT(*) as postcards
          FROM ".POSTCARDS_TABLE;
  $row = $site_db->query_firstrow($sql);

   
  $total_postcard = "".$lang['total_postcard']."<B> ".$row['postcards']."</B>\n";
 
  $site_template->register_vars("total_postcard", $total_postcard);
unset($total_postcard);

Jamestave.

35
Mods & Plugins (Requests & Discussions) / Need comment validation
« on: October 05, 2005, 02:47:06 PM »
Hi....Is this possible when user post a comment it should not post right away it should wait for Validate, like images validate?

36
Hi.. I need a modification in the comments page. In my gallery some images have more then 5 pages comments, after the user posted a new comment it's go to last page of the comment, but I need it's go to the first page of the comment is that possible.

Jamestave.

37
Hi...TheOracle I have some audio file in my gallery that's why I need to remove "open" button option from the download dialog box because when user click on the open button it will play I don't want "open" button I need only save and cancel button.

Jamestve.

38
Hi..I need to remove "open" option from the download dialog box when user click on the download button in my gallery. i just need "save" and "cancel" option only is that possible to do this modifications, please someone help me.




Jamestave.

39
Hi...TheOracle thanks for you answer but that's not I'm looking for, finally I did that modification myself.

Open admin/validateimages.php
1.1 Find:
Code: [Select]
$sql = "SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_date, i.image_media_file".get_user_table_field(", u.", "user_name")."
Replace with
Code: [Select]
$sql = "SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_date, i.image_media_file, i.image_thumb_file".get_user_table_field(", u.", "user_name")."
1.2 Find:
Code: [Select]
$file_src = get_file_path($image_row['image_media_file'], "media", 0, 1);

Replace with
Code: [Select]
$file_src = get_file_path($image_row['image_thumb_file'], "thumb", 0, 1);
Now save and upload the file.

Done.

Jemestave.

40
Hi..I need a modification in the valadateimages. The modification is when I validate the image it's load the image file from "data/tmp_media" it's taking lots of time to load the images so I need to load the thumbnail from "tmp_thumbnails" is that possible, please someone help me to do this modification.

41
Hi...I want to make username is not requested field in the comment, please some one help me to do this. And when the user posted the comment it's go last page of the comment but I need to go to the first page of the comment is that possible.

Jmastave.

42
Hi..V@no thanks for the reply and i didn't edit any php code i just put this tag({total_images},{total_categories) in the home.html
I got that tag from main.php
$lang['site_stats'] = "<b>{total_images}</b> images in <b>{total_categories}</b> categories.";

Jamstave.

43
Hi..I want to add some more statistics in my statistics details, please help me to do like this.

Total Votes: 2411
Total Members: 957
Total Hits: 2065645
Total Images: 16487
Total Categories:  246
Total Downloads: 111766

my code like this

{total_votes}<br>
{total_users}<br>
{total_hits}<br>
{total_images}br>
{total_categories}<br>
{total_downloads}

My statistics show's like this

Total Votes: 281
Total Members: 97
Total Hits: 10645
887
26
Total Downloads: 1856

Please help me to add Total Images and Total Categories.

Jamstave.

44
Hi..alekken to remove border on image in details.php

Open:
templates/your templates/media/jpg.html

then change the border size 1 to 0

<!-- Template file for JPG Files -->
<img src="{media_src}" border="0" alt="{image_name}"{width_height} /><br />

then upload the jpg.html into templates/your templates/media/.

Jamstve.

45
Hi....V@no thanks for the answer now I understood. Thanks again for the information.

Jamestave.

Pages: 1 2 [3] 4