Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12370
Latest: laurieb
New This Month: 1
New This Week: 1
New Today: 1
Stats
Total Posts: 40210
Total Topics: 7081
Most Online Today: 72
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 57
Total: 57

Author Topic: Buttons for Babylon Theme  (Read 11836 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: 15105
    • 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: 15105
    • 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: 15105
    • 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
2931 Views
Last post November 27, 2007, 03:29:25 pm
by fwp
0 Replies
3224 Views
Last post July 30, 2008, 09:42:39 am
by ikhala
0 Replies
2326 Views
Last post May 21, 2009, 06:57:19 am
by remi_naija
1 Replies
3004 Views
Last post August 15, 2009, 04:15:09 am
by collins465
3 Replies
3472 Views
Last post February 07, 2011, 10:51:52 am
by SMFHacks

+- Recent Topics

Download System Lite by Rock Lee
June 03, 2020, 07:34:24 pm

Font question by SMFHacks
May 27, 2020, 08:15:26 am

Error message with latest SMF 2.1 Github build by Hatshepsut
May 25, 2020, 01:43:26 am

smfblog not working on 2.0.17 by tech9
May 20, 2020, 01:44:34 pm

Copyright removal by stbc
May 18, 2020, 01:27:57 am

Mod Verified User i can't square the image by Rock Lee
May 07, 2020, 07:56:10 pm

SMF4Mobile 2.0 released for SMF 2.0.x by SMFHacks
May 06, 2020, 12:13:14 pm

SMF Social Login Pro - Discontinued? by Nicole
May 02, 2020, 05:47:04 pm

Likes by SMFHacks
April 30, 2020, 09:50:35 pm

Upgrade Issue - by SMFHacks
April 28, 2020, 12:40:13 pm

Powered by EzPortal