Author Topic: Need help: ICQ sign in profile is errored  (Read 10350 times)

0 Members and 1 Guest are viewing this topic.

Offline mahler

  • Pre-Newbie
  • Posts: 7
    • View Profile
Need help: ICQ sign in profile is errored
« on: November 13, 2002, 05:31:09 PM »
Hi.

I didn't setup any icq no. at my profile settings and still a black annoying little square (like the icq sign but empty) appears there, How can I del this thing or make it disappear ??

Also, How can I configure the time at my gallery clock ?? (through control panel or other option you may suggest...)

Thanks allot for your help!  :D

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Need help: ICQ sign in profile is errored
« Reply #1 on: November 13, 2002, 06:03:55 PM »
See the template user_profile.html

You can configure the time with
Code: [Select]
define('TIME_OFFSET', 0);
in "includes/constants.php".

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline mahler

  • Pre-Newbie
  • Posts: 7
    • View Profile
Didn't work
« Reply #2 on: November 13, 2002, 09:01:20 PM »
Thanks for your help but I tried to change the "0" to "8" and It didn't do nothing to the time/clock at the main page ...


What about the ICQ box problem ?

Regards,

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Need help: ICQ sign in profile is errored
« Reply #3 on: November 13, 2002, 10:23:08 PM »
The date on the left side is only a example how to use php code in the templates ;)

ICQ:
As i posted above: see the template user_profile.html


Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline mahler

  • Pre-Newbie
  • Posts: 7
    • View Profile
I can't find "user_profile.htm" file...
« Reply #4 on: November 14, 2002, 06:33:09 PM »
I can't find "user_profile.htm" file...

Where is it located ??

I'm using the "4blue_orange1" tamplate.

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Need help: ICQ sign in profile is errored
« Reply #5 on: November 14, 2002, 07:31:41 PM »
member_profile.html

Sorry ;)

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline mahler

  • Pre-Newbie
  • Posts: 7
    • View Profile
so...
« Reply #6 on: November 14, 2002, 09:16:13 PM »
Thanks, Jan!

What should I del or edit there ??


        <tr>
          <td class="row2"><b>{lang_icq}</b></td>
          <td class="row2">{if user_icq}<a href="http://wwp.icq.com/scripts/search.dll?to={user_icq}">{user_icq}</a>
            (<b>{user_icq_status}</b>){endif user_icq}</td>
        </tr>


Should I del this ??

Offline mahler

  • Pre-Newbie
  • Posts: 7
    • View Profile
About the time issue
« Reply #7 on: November 14, 2002, 09:24:35 PM »
I tried to edit constants.php and put 8 or 2 or +8 or +2 at the TIMEOFF with no success.

The clock stayed the same.

What can and should I do in order to fix this timezone issue ??

Regards.

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Need help: ICQ sign in profile is errored
« Reply #8 on: November 15, 2002, 08:40:41 AM »
Waht do your mean? The dates of images and comments or the date which is showing on the left side under the random image?

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline mahler

  • Pre-Newbie
  • Posts: 7
    • View Profile
What I mean
« Reply #9 on: November 15, 2002, 08:45:51 AM »
I mean for the time near the date, it's located left of screen under the random picture.

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Need help: ICQ sign in profile is errored
« Reply #10 on: November 15, 2002, 09:03:08 AM »
As i posted above. This is only a example how to add php code in the templates. Changing the time offset does not effect on this date.

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline mahler

  • Pre-Newbie
  • Posts: 7
    • View Profile
icq issue is solved
« Reply #11 on: November 15, 2002, 09:14:44 PM »
Hi.

I managed to solve the ICQ issue but still don't know how to cinfigure my time zone to +8 hours.

Where should I add the line (TIMEOFFSET) or edit the text ??

I tried to do it in "constants.php" but this didn't do nothing here.

 :arrow:

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Need help: ICQ sign in profile is errored
« Reply #12 on: November 16, 2002, 10:04:14 AM »
I guess you don't understand me ;)
Changing the offset in constants.php does effect only on the dates created by 4images, i.e. the "added by" date of the images or the post time of comments.

The date on the left side is only an example how to use php code in the templates. This is an direct php output and has nothing to do with 4images.

You have to change the php code directly in the templates, i.e. in home.html

Change
Code: [Select]
<?php 
echo date&#40;"d.m.Y, H&#58;i"&#41;; 
?>

to
Code: [Select]
<?php 
echo date&#40;"d.m.Y, H&#58;i", time&#40;&#41; + &#40;3600 * <time_offset>&#41;&#41;; 
?>

Change <time_offset> to the same value you have set in constants.php

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search