Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4268
Latest: Butiks
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 43584
Total Topics: 7566
Most Online Today: 47
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 31
Total: 32

Author Topic: Buttons for Babylon Theme  (Read 13988 times)

0 Members and 1 Guest are viewing this topic.

Offline clive

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
Buttons for Babylon Theme
« on: February 13, 2008, 01:44:57 pm »
Hi,

I really like the look of the Gallery system you have created.

I have installed the lite version and all seems Ok. I have uploaded images and used the search so I guess all my server requirements are Ok

I am not using the default theme on smf so the button on the forum pages is not visible yet.. I am using the direct link instead.

I am using the Babylon theme that just has some colour css changes and I have a button set installed.

I would like to upgrade to pro and create the gallery with images and categories before I place the button on the front end. (A nice surprise for my members)

Is there a button for use in the babylon theme?

Is it very easy to make the button show on the babylon theme?

Is there a step by step guide to edit the theme index to add the button code?

Clive

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16580
    • View Profile
Re: Buttons for Babylon Theme
« Reply #1 on: February 13, 2008, 08:25:17 pm »
I do have a gallery gif for the Babylon theme. If you need helping editing that theme to support the Babylon gallery graphic we can modify the theme for you.

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 clive

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
Re: Buttons for Babylon Theme
« Reply #2 on: February 14, 2008, 02:48:51 am »
Thanks for your reply SMFHacks.

Is there any limit to the amount of images using this system?

Could you tell me if it is very easy to change the width of the gallery frame? There is a lot of white space around the outside.

I would also like to completely remove the word "Gallery" so the white space there is gone as well (the frame will move up if the text is removed?).

See screen shot to see white space that I want to remove.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16580
    • View Profile
Re: Buttons for Babylon Theme
« Reply #3 on: February 14, 2008, 07:40:35 am »
There is no set limit for number of images you can load in the gallery. The main limits is your diskspace on your website

To remove the gallery text open themes/default/Gallery.template.php
Around line 370
Find and remove
Code: [Select]
echo '<h1 align="center">', $txt['gallery_text_title'], '</h1>';


For the white space there are a couple options you can either make the table wider or remove/change the class in the css.
Example
Find
Code: [Select]
function template_mainview()
{
global $db_prefix, $scripturl, $txt, $context, $ID_MEMBER, $user_info, $modSettings, $boarddir, $boardurl, $subcats_linktree;

echo '<div class="tborder">';

Change to
Code: [Select]
function template_mainview()
{
global $db_prefix, $scripturl, $txt, $context, $ID_MEMBER, $user_info, $modSettings, $boarddir, $boardurl, $subcats_linktree;

echo '<div>';
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 clive

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
Re: Buttons for Babylon Theme
« Reply #4 on: February 14, 2008, 07:52:43 am »
Thanks for the reply and help. I really like this gallery.

I bought the pro version this morning and am really impressed with your work. My forum members are going to love it when I add the link to the front page....

I removed the gallery text by commenting the line out at the beginning of the english language file..

Now that there are images in the gallery the white sapce looks good. I would just like to change it from white to something a little darker.

I am using the babylon theme. Do you know where the css is for the background of the gallery that is now white?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16580
    • View Profile
Re: Buttons for Babylon Theme
« Reply #5 on: February 14, 2008, 08:05:44 pm »
The CSS for the white color that you see is controlled by the tborder class.

One thing you can do is add maybe a tbroder2 class to your css file for that theme and customize the color then do a find and replace all in gallery.template.php for tborder and replace it with the tborder2 class.
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/

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
4134 Views
Last post November 27, 2007, 03:29:25 pm
by fwp
0 Replies
4321 Views
Last post July 30, 2008, 09:42:39 am
by ikhala
0 Replies
3464 Views
Last post May 21, 2009, 06:57:19 am
by remi_naija
1 Replies
5184 Views
Last post August 15, 2009, 04:15:09 am
by collins465
3 Replies
4578 Views
Last post February 07, 2011, 10:51:52 am
by SMFHacks

+- Recent Topics

Weird setup by SMFHacks
November 07, 2024, 06:37:41 am

Restoring a deleted photo by Monocero
November 01, 2024, 04:23:56 am

Gallery Pro reinstalation by Lirorobert
October 14, 2024, 01:43:43 am

Move picture from main gallery to user gallery by SMFHacks
October 11, 2024, 09:11:00 pm

quoting part of message by Lirorobert
October 04, 2024, 03:21:40 pm

Does SMF Gallery support by SMFHacks
October 02, 2024, 06:14:26 am

Item count on Gallery Tab shows double by SMFHacks
September 26, 2024, 12:59:20 pm

Forum post missing when image over 4000x pixels is uploaded to gallery by Michel68
September 24, 2024, 01:37:17 pm

Setting a photo as invisible by Monocero
September 17, 2024, 02:11:56 pm

Two gallery names by SMFHacks
September 15, 2024, 02:17:49 pm

Powered by EzPortal