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

Author Topic: Gallery Lite for TP with Mesh theme  (Read 6622 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: 16436
    • 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: 16436
    • 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: 16436
    • 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: 16436
    • 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
7845 Views
Last post January 12, 2007, 06:28:22 am
by softtouch
0 Replies
3334 Views
Last post March 17, 2007, 10:44:22 am
by joyboy2001
1 Replies
4041 Views
Last post November 27, 2007, 03:29:25 pm
by fwp
2 Replies
4413 Views
Last post February 15, 2008, 02:07:58 pm
by lanec
0 Replies
4768 Views
Last post December 27, 2014, 04:32:40 pm
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