Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 149
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 151
Total: 151

Author Topic: Change the position of the "latest pictures"?  (Read 12489 times)

0 Members and 1 Guest are viewing this topic.

Offline joh87swe

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Change the position of the "latest pictures"?
« on: January 26, 2007, 05:35:13 pm »
Hi,

How to do so that the window that shows the "latest pictures" is before the categories. But the other windows like "best rated" and "most comented" have to be under the categories.

Cordially,
Johan

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Change the position of the "latest pictures"?
« Reply #1 on: January 26, 2007, 05:41:03 pm »
That would require some code changes.


Open Gallery.template.php

Find
Code: [Select]
echo '<h1 align="center">', $txt['gallery_text_title'], '</h1>';
After it add
Code: [Select]
MainPageBlock($txt['gallery_main_recent'], 'recent');
After that make sure you turn off show gallery recent images. To avoid them being shown twice.
« Last Edit: January 26, 2007, 05:44:07 pm by SMFHacks »
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline joh87swe

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Re: Change the position of the "latest pictures"?
« Reply #2 on: January 26, 2007, 05:45:51 pm »
I entered so it looks this way, but it doesn't work.

Code: [Select]
echo '<h1 align="center">', $txt['gallery_text_title'], '</h1>';
MainPageBlock($txt['gallery_main_recent'], 'recent');

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Change the position of the "latest pictures"?
« Reply #3 on: January 26, 2007, 05:51:52 pm »
Anything happen?
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline joh87swe

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Re: Change the position of the "latest pictures"?
« Reply #4 on: January 26, 2007, 05:55:44 pm »
No, the "last pictures posted" is always after the category list at the gallery index.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Change the position of the "latest pictures"?
« Reply #5 on: January 26, 2007, 05:56:43 pm »
Can you attach your Gallery.template.php so I can take a look.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline joh87swe

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Re: Change the position of the "latest pictures"?
« Reply #6 on: January 26, 2007, 06:02:43 pm »
Here it is.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Change the position of the "latest pictures"?
« Reply #7 on: January 26, 2007, 06:06:31 pm »
File attached.
Upload it to your themes/default folder on your forum.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline joh87swe

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Re: Change the position of the "latest pictures"?
« Reply #8 on: January 26, 2007, 06:12:00 pm »
Nothing changed.

Offline joh87swe

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Re: Change the position of the "latest pictures"?
« Reply #9 on: January 26, 2007, 06:14:34 pm »
Mabe it's why I'm not using the default theme?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Change the position of the "latest pictures"?
« Reply #10 on: January 26, 2007, 06:21:42 pm »
Did you upload the updated file to the site over the old file?
Check your other theme folders on the site and see if they can contain gallery.template.php


Then uncheck Show the index blocks on top of gallery
Uncheck Show the most recent images on the main page - To avoid it showing twice.
And save the settings.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline joh87swe

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Re: Change the position of the "latest pictures"?
« Reply #11 on: January 26, 2007, 06:26:49 pm »
Yes! It worked, when I unchecked the "show the letest pics..." but how do you do the same thing on your boarder index?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Change the position of the "latest pictures"?
« Reply #12 on: January 26, 2007, 06:32:50 pm »
I have a mod that adds it to the overall header for the default theme.
Found here
http://www.smfhacks.com/index.php/topic,163.0.html
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline joh87swe

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Re: Change the position of the "latest pictures"?
« Reply #13 on: January 26, 2007, 06:45:08 pm »
Thx, but I just want it to be displayes on the index page of my forum, not when you enter a forum like "general discussion". How to do this?

Offline joh87swe

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Re: Change the position of the "latest pictures"?
« Reply #14 on: January 26, 2007, 07:12:34 pm »
When installing the package it works fine, even if I don't want the "latest images" to be displayed in other pages than the index forum.
But there's one big error in my joomla, big error message from the /Source/Subs.php very strange? Why?

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
4467 Views
Last post May 21, 2007, 06:37:59 pm
by SMFHacks
1 Replies
8931 Views
Last post September 28, 2007, 11:46:07 am
by smalldonkey
2 Replies
8234 Views
Last post November 06, 2007, 08:55:18 pm
by dry3210
11 Replies
15033 Views
Last post October 21, 2008, 07:43:10 pm
by Matt5L
2 Replies
5693 Views
Last post February 17, 2009, 10:36:44 am
by Nomi

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal