Author Topic: "Top Images" or "Top Bilder" link missin  (Read 9830 times)

0 Members and 1 Guest are viewing this topic.

Offline bag53

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
"Top Images" or "Top Bilder" link missin
« on: August 06, 2002, 07:53:19 AM »
I was bouncing around the 4images website and I checked out the Live Demo. I noticed that there is a "Top Images" link up by the "New Images" link. Clicking this link takes you to a stats screen that shows the most popular images by rating, downloads, hits, etc.

This link on my website is not there. How can I fix this?

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
"Top Images" or "Top Bilder" link missin
« Reply #1 on: August 06, 2002, 08:21:36 AM »
Can you post a link to your gallery.

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

Offline bag53

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
"Top Images" or "Top Bilder" link missin
« Reply #2 on: August 07, 2002, 07:33:43 AM »
I private messaged you my website URL.

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
"Top Images" or "Top Bilder" link missin
« Reply #3 on: August 07, 2002, 08:22:18 AM »
Mey be you have deleted the tag {lang_top_images} durin customizing your templates. I see the link in your source code, but the text is missing.
Code: [Select]
<a href="./top.php"><b></b></a>
Greets Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline bag53

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
"Top Images" or "Top Bilder" link missin
« Reply #4 on: August 07, 2002, 09:21:49 AM »
I fixed it. The problem wasn't missing text. I copied this right from home.html:

Code: [Select]
<a href="{url_top_images}"><b>{lang_top_images}</b>

The problem was {lang_top_images} was not defined in lang/english/main.php. The variable contained no text. I added

Code: [Select]
$lang['top_images'] = "Top images";

to lang/english/main.php, and it works now.

Offline bag53

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
"Top Images" or "Top Bilder" link missin
« Reply #5 on: August 07, 2002, 09:25:48 AM »
There must be more language variables not defined in the english language pack. My statistics page containes no titles. Surf to /top.php on my website to see what I mean.

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
"Top Images" or "Top Bilder" link missin
« Reply #6 on: August 07, 2002, 09:30:25 AM »
You should download the english language pack again from the download area. Maybe you have not updated the language files during upgrading your 4images version.

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

Offline bag53

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
"Top Images" or "Top Bilder" link missin
« Reply #7 on: August 07, 2002, 09:32:09 AM »
The following variables are not defined in lang/english/main.php:

{lang_top_image_rating}
{lang_top_image_votes}
{lang_top_image_hits}
{lang_top_image_downloads}

Edit: I have the language pack that came with 1.6.1. Is there a later version?

Offline bag53

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
"Top Images" or "Top Bilder" link missin
« Reply #8 on: August 07, 2002, 09:37:03 AM »
Ahh,

I have costomized my main.php file a little. I didn't update my language pack when I upgraded to 1.6.1. I'll have to check the latest version with what I have and update my main.php file.

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
"Top Images" or "Top Bilder" link missin
« Reply #9 on: August 07, 2002, 09:39:47 AM »
Ok ;)

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

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
"Top Images" or "Top Bilder" link missin
« Reply #10 on: August 07, 2002, 09:44:04 AM »
Good idea is, to use ExamDiff Pro to see differences between two files.

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