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 - Sun Zaza

Pages: 1 ... 26 27 28 29 [30] 31 32 33 34
436
Oke,
{date_end} and {date_start}  are both are type date (I can change it if you want to).


Do you need more info? :)

437
Thank you Thunderstrike,

Here we go:

The image additional fields are already exist:
{date_start} and {date_end}

So I want a new array
{date2}= {date_end} - {date_start} (days, for example: 30 days)

I want also:
{date3}= today - {date_start} (days, for example: 30 days)

Thank yoy in advance,
Cruxy


438
Hi guys,

I have the hole day problems with my gallery and now I have to solve something difficult for me:

I add two image additional fields:
{date_start} and {date_end}
Both are working fine on details.html

First question:
I want to add a new array {date2}
{date2}= {date_end} - {date_start}
I want the answer in days

Second question:
I want to add a new array {date3}
{date3}= today - {date_start}
I want the answer also in days

It is now midnight and I can not sleep because this issue. :cry:

Many thanks in advance for any help and/or explain,
Cruxy

439
Great man! The second code works perfect. :D

440
I could not deleted it. So Nicky or other moderator will do it :)

441
Hello guys,

I have a php question:

To add an new array (In details.html and details.php) you use:

In details.php:
$site_template->register_vars(array(
"test" => $lang['test'],
"test1" => $lang['test1'],
));
 
and then in details.html you use:
{test}

How can I add a new array {hits2}:
{hits2}= {image_hits)+1000 to use it in details.html.

I already add {lang_hits2} (NO PROBLEM), but the otherone I couldn't.

Thank you in advance,
Cruxy

442
I forgot to thank you about this great mod :wink:

443
I understand you very well! If you do something, you do it good! Respect :wink:

444
I do not need pages :). So maybe the version 1.0 without paging and when you have more time you code version 2.0 with paging :idea:

445
Hi Thunderstrike,

I had to add:     
"lang_show_uploaded_images" => $lang['show_uploaded_images'], in member.php to {show lang_show_uploaded_images}. Perfect :D

Actually I wanted something like other MOD. I mean the images are showing in member_editprofile.html without using the link.
Is it a lot of work?
I think if we can shows the images in member_profile.html ([MOD] - See other upload images by uploader from details page ),
it will be easy to show it in the member_editprofile.html. :roll:

446
Yes, I used your member_editprofile.

447
Hi Thunderstrike, :)

I just install it on a (fresh gallery), but nothing is showing (No images, no text).
See screenshot :roll:

448
Mods & Plugins (Requests & Discussions) / Re: Image hits per day
« on: November 08, 2007, 08:53:28 PM »
Hi Thunderstrike,

It is not what I meant. (I already installed that usefull MOD).

I want to show the information in the details.html.
Something like:

{lang image_hits_today}: {image_hits_today}
{lang image_hits_yesterday}: {image_hits_yesterday}
{lang image_hits_lastweek}: {image_hits_lastweek}
{lang image_hits_lastmonth}: {image_hits_lastmonth} :wink:




449
Mods & Plugins (Requests & Discussions) / Image hits per day
« on: November 08, 2007, 08:34:17 PM »
Hi guys,

How can I show on the details.html the image hits per day?
Something like: Today hits: 120 times or viewed today: 120 times.

It whould crazy if we can als count the hits of yesterday, last week, last mounth.

Many thanks in advance, :)
Cruxy

450
I will make an example for you. Later  :)

Pages: 1 ... 26 27 28 29 [30] 31 32 33 34