SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
February 08, 2012, 06:52:00 pm

Login with username, password and session length
Members
Total Members: 9898
Latest: zlmember
Stats
Total Posts: 27745
Total Topics: 4856
Online Today: 77
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 1
Guests: 62
Total: 63
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
| | | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 2 [3] Go Down Print
Author Topic: Is SMFGallery Pro right for me?  (Read 11137 times)
Xtreme4U2NV
SMF Store Customer
Jr. Member
*****
Offline Offline

Posts: 64


View Profile
« Reply #30 on: February 20, 2007, 09:57:40 am »

thank you very much
Logged
Xtreme4U2NV
SMF Store Customer
Jr. Member
*****
Offline Offline

Posts: 64


View Profile
« Reply #31 on: February 20, 2007, 07:36:29 pm »

can you please tell me the script to change the [MyGallery][MyImages][Search] to picture buttons?  I have the buttons made, just need to know where to put them.

Please and thank you
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9376


View Profile
« Reply #32 on: February 20, 2007, 09:41:03 pm »

Areas to edit
Gallery.template.php

Around line 66
Code:
echo '<div align="right">';
if ($g_gallery)
echo '<a href="', $scripturl, '?action=gallery;su=user;u=', $ID_MEMBER, '">', $txt['gallery_text_mygallery'], '</a>&nbsp;';
if ($g_add && !($context['user']['is_guest']))
echo '<a href="', $scripturl, '?action=gallery;sa=myimages;u=', $ID_MEMBER, '">', $txt['gallery_text_myimages'], '</a>&nbsp;<a href="', $scripturl, '?action=gallery;sa=search">', $txt['gallery_text_search'], '</a>';

echo '</div>';

Ardound line 219
Code:
echo '<div align="right">';
if($g_gallery)
echo '<a href="', $scripturl, '?action=gallery;su=user;u=', $ID_MEMBER, '">', $txt['gallery_text_mygallery'], '</a>&nbsp;';
if($g_add && !($context['user']['is_guest']))
echo '<a href="', $scripturl, '?action=gallery;sa=myimages;u=', $ID_MEMBER, '">', $txt['gallery_text_myimages'], '</a>&nbsp;<a href="', $scripturl, '?action=gallery;sa=search">', $txt['gallery_text_search'], '</a>';
echo '</div>';
Logged
Xtreme4U2NV
SMF Store Customer
Jr. Member
*****
Offline Offline

Posts: 64


View Profile
« Reply #33 on: February 21, 2007, 12:08:53 pm »

I just want to start by saying i truly appreciate the prompt responses I get when I have a question regarding your smf gallery pro.

Now on to an other question, lol...

When you click my gallery link, I have two categories.  And within those categories, I have sub-categories.  And the sub categories contain the pics.

My question is, when you click on the Gallery button, and see the two intial Categories, they show a picture count of zero.  Which really isn't the case because that category contains sub-categorys with hundreds of pics.

Is there a way to not show that picture count on the main categories?
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9376


View Profile
« Reply #34 on: February 21, 2007, 12:13:17 pm »

Yes that is a setting. "Counts child categories picture totals. " Check that it will count one level of subcategories.
IE: Main cateogry -> Sub Cat one,two,three
But it will not count sub sub categories.
Logged
Xtreme4U2NV
SMF Store Customer
Jr. Member
*****
Offline Offline

Posts: 64


View Profile
« Reply #35 on: February 21, 2007, 12:26:40 pm »

That's totally awesome, thank you.

And....on to an other thing (I know, I know, will I shut-up already, lol)...

I would like to make a banner for my gallery, instead of just the word 'Gallery' at the top of the gallery.  How would I go about doing that?
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9376


View Profile
« Reply #36 on: February 21, 2007, 12:41:11 pm »

Gallery.template.php
Find
Code:
echo '<h1 align="center">', $txt['gallery_text_title'], '</h1>';
Replace with
Code:
echo '<div align="center"><img src="http://www.yourimage.com/image.png" /></div>';
Logged
Pages: 1 2 [3] Go Up Print 
« previous next »
Jump to:  

Recent
[Today at 06:14:06 pm]

[Today at 04:36:21 pm]

[Today at 09:56:10 am]

[Today at 09:11:02 am]

[Today at 09:07:32 am]

[Today at 03:46:49 am]

[February 07, 2012, 09:45:42 pm]

[February 07, 2012, 06:09:23 pm]

[February 07, 2012, 02:56:36 pm]

[February 06, 2012, 08:16:24 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 0.228 seconds with 20 queries.