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: 186
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 192
Total: 192

Author Topic: Gallery Lite for TP with Mesh theme  (Read 6634 times)

0 Members and 1 Guest are viewing this topic.

Offline joyboy2001

  • Member
  • *
  • Posts: 9
    • View Profile
Gallery Lite for TP with Mesh theme
« on: March 17, 2007, 10:45:17 am »
Hi,

I want to install SMF gallery on my forum with TP and MeshTP theme installed.

The gallery installs properly but cannot be accessed since there is no button on the top. The button comes up in the Core theme and then the gallery can be accessed properly.

Also please let me know if this block code would work and would if follow the theme colors ??
The block code in question is :
http://www.smfhacks.com/index.php/topic,636.0.html

Any solutions ?
« Last Edit: March 17, 2007, 10:47:31 am by joyboy2001 »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Gallery Lite for TP with Mesh theme
« Reply #1 on: March 17, 2007, 11:35:21 am »
If it is a button based theme you would need to draw the button.

Add add the code to index.template.php
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 joyboy2001

  • Member
  • *
  • Posts: 9
    • View Profile
Re: Gallery Lite for TP with Mesh theme
« Reply #2 on: March 17, 2007, 11:39:58 am »
It is a button based theme but what do I need to link the button to ??

Also, would the code work with the theme pattern ??

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Gallery Lite for TP with Mesh theme
« Reply #3 on: March 17, 2007, 04:38:04 pm »
I would need to see the theme's index.template.php since some themes use different code.
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 joyboy2001

  • Member
  • *
  • Posts: 9
    • View Profile
Re: Gallery Lite for TP with Mesh theme
« Reply #4 on: March 18, 2007, 08:53:21 am »
Please download from my server ...

http://Revlimit.co.in/index.template.php.test

Please rename the file and remove the .test

Sorry, could not attach the file since the attachment folder is full.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Gallery Lite for TP with Mesh theme
« Reply #5 on: March 18, 2007, 09:00:40 am »
Link does not work for me.
I also increased the folder space on this site.
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 joyboy2001

  • Member
  • *
  • Posts: 9
    • View Profile
Re: Gallery Lite for TP with Mesh theme
« Reply #6 on: March 18, 2007, 03:34:00 pm »
here you go ...

Thanks ... I tried downloading the file myself, didn't work for me either ...
« Last Edit: April 27, 2007, 03:09:25 pm by joyboy2001 »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Gallery Lite for TP with Mesh theme
« Reply #7 on: March 18, 2007, 04:01:46 pm »

Open up the file
Find
Code: [Select]
// Go to PM center... [pm]
if ($context['user']['is_logged'] && $context['allow_pm'])
echo ($current_action == 'pm' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td nowrap="nowrap" valign="top" class="maintab_' , $current_action == 'pm' ? 'active_back' : 'back2' , '">
<a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</a>
</td>' , $current_action == 'pm' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

Add after
Code: [Select]
// Gallery
if ($context['allow_smfgallery_view'])
echo ($current_action == 'gallery' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td nowrap="nowrap" valign="top" class="maintab_' , $current_action == 'gallery' ? 'active_back' : 'back2' , '">
<a href="', $scripturl, '?action=gallery">' , $txt['smfgallery_menu'] , '</a>
</td>' , $current_action == 'gallery' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

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 joyboy2001

  • Member
  • *
  • Posts: 9
    • View Profile
Re: Gallery Lite for TP with Mesh theme
« Reply #8 on: March 18, 2007, 04:12:27 pm »
It worked !!!

Thanks  ;D ;D

 

Related Topics

  Subject / Started by Replies Last post
5 Replies
7928 Views
Last post January 12, 2007, 06:28:22 am
by softtouch
0 Replies
3340 Views
Last post March 17, 2007, 10:44:22 am
by joyboy2001
1 Replies
4055 Views
Last post November 27, 2007, 03:29:25 pm
by fwp
2 Replies
4423 Views
Last post February 15, 2008, 02:07:58 pm
by lanec
0 Replies
4790 Views
Last post December 27, 2014, 04:32:40 pm
by SMFHacks

+- 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