Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 64
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 120
Total: 120

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

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

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

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal