Twitter SMFHacks Facebook SMFHacks SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 24, 2013, 10:42:46 am

Login with username, password and session length
Members
Total Members: 10768
Latest: CayoTTe
Stats
Total Posts: 32395
Total Topics: 5480
Online Today: 57
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 1
Guests: 44
Total: 45
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 2 [3] 4 5 ... 8 Go Down Print
Author Topic: SMF Gallery Lite Help Information  (Read 86605 times)
tones_ie
Inline PM Customer
*****
Offline Offline

Posts: 6


View Profile
« Reply #30 on: January 26, 2007, 09:10:37 pm »

Ive a similiar request please.....ive tried withpout any luck tpo get the button to show on a custom theme

Ive attached the file from my BlackNBlack theme....appreciate the help.... Smiley

regards

tones

* index.template.php (23.77 KB - downloaded 557 times.)
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11003


View Profile
« Reply #31 on: January 26, 2007, 09:24:05 pm »

Open index.template.php
Find
Code:
// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo '<li><a href="', $scripturl, '?action=profile"><span>' , $txt[79] , '</span></a></li>';

After it add
Code:
// Gallery
if ($context['allow_smfgallery_view'])
echo '<li><a href="', $scripturl, '?action=gallery"><span>' , $txt['smfgallery_menu'] , '</span></a></li>';


Logged
tones_ie
Inline PM Customer
*****
Offline Offline

Posts: 6


View Profile
« Reply #32 on: January 26, 2007, 09:28:03 pm »

worked a treat....thank u soo much
Logged
Reg
Inline PM Customer
*****
Offline Offline

Posts: 1


View Profile
« Reply #33 on: April 10, 2007, 03:52:35 pm »

You must get tired of helping a grateful public. So, in advance, thank you for your assistance!

I am using Scribbles11 and have tried modifying the template to show the gallery buttons. The template comes with gallery buttons, so, this really shouldn't be that tough. Then again. Could you check and see what I am doing wrong?

Thanks again!

* index.template.php (27.11 KB - downloaded 505 times.)
Logged
ph4ever
Inline PM Customer
*****
Offline Offline

Posts: 5


View Profile
« Reply #34 on: April 24, 2007, 09:19:53 pm »

I’m having issues getting the gallery to work on my site and I hope someone here can help me.

I loaded a fresh version of SMF 1.1.2 on my site through my fantastico

When I went to my admin page I found a blank page that said:
Unknown system variable 'NAMES'

I contacted my host and was told

Quote
This is actually an issue with the newer versions of SMF. In order to correct this, please find the following line at the bottom of your Settings.php file:

$db_character_set = 'utf8';

and comment it out so it appears as follows:

//$db_character_set = 'utf8'

Which I did and my site worked fine.  The first mod I tried to install was the Gallery .

This is a screenshot of the SMF install page http://home.comcast.net/~ph4ever/installgallery1.jpg

and this is a screenshot of the page I get when I redirect after mod installation. http://home.comcast.net/~ph4ever/redirect.jpg

I'm attaching a text file of the error log that was generated.   I did blank out my forum addy as I maintain a site for people with health issues and I did this to protect my members.

Any help that you can give me will be so greatly appreciated.

Thanks in advance.

* errorlog.txt (5.51 KB - downloaded 578 times.)
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11003


View Profile
« Reply #35 on: April 24, 2007, 10:32:42 pm »

Copy the text strings from themes/default/languages/modifications.english. php to any other themes/default/languages/modifications.*.php file
Logged
ph4ever
Inline PM Customer
*****
Offline Offline

Posts: 5


View Profile
« Reply #36 on: April 24, 2007, 10:49:44 pm »

Copy the text strings from themes/default/languages/modifications.english. php to any other themes/default/languages/modifications.*.php file

Thanks for your quick response.

I only have the themes/default/languages/modifications.english. php

however I have numerous themes/default/languages/modifications.*-utf8.php files.  Should I do anything with them?

thanks!!
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11003


View Profile
« Reply #37 on: April 24, 2007, 10:50:42 pm »

Yes copy the text strings from mofications.english.php to all the other modifications.*-utf8.php
Logged
ph4ever
Inline PM Customer
*****
Offline Offline

Posts: 5


View Profile
« Reply #38 on: April 24, 2007, 10:52:42 pm »

Thanks!!!!!  Grin
Logged
ph4ever
Inline PM Customer
*****
Offline Offline

Posts: 5


View Profile
« Reply #39 on: April 24, 2007, 11:47:09 pm »

now I get this

Template Parse Error!
It seems something has gone sour on the forum with the template system. This problem should only be temporary, so please come back later and try again. If you continue to see this message, please contact the administrator.

You can also try refreshing this page.
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11003


View Profile
« Reply #40 on: April 25, 2007, 06:59:36 am »

What did you do? Did you just copy the text from one file and move it to the others.
Logged
ph4ever
Inline PM Customer
*****
Offline Offline

Posts: 5


View Profile
« Reply #41 on: April 25, 2007, 11:18:11 am »

Yes but I'm going to double check today and make sure I didn't make any errors.  I was tired when I did it last night. 

But then I was also thinking - since English is the primary language on my board couldn't I just delete all the non english language files as well?

Thanks so much for all your help - I'll let you know what happens when I check the files.
Logged
buneduggy
Inline PM Customer
*****
Offline Offline

Posts: 1


View Profile
« Reply #42 on: May 06, 2007, 06:59:43 pm »

I am running the "Black Day" theme on my forum, can you help get the gallery button to show and fuction. Thanks,
« Last Edit: May 06, 2007, 07:01:44 pm by buneduggy » Logged
riffmaster
Inline PM Customer
*****
Offline Offline

Posts: 4


View Profile
« Reply #43 on: June 08, 2007, 02:07:39 pm »

I have the VampiretM theme.  I finally got it uploaded, installed and created a few categories.  I went into index.template.php and created the link for the top bar.  It doesn't show up, but I can hover over it where its supposed to be and click on it.  Conversely when I go to the permission section I see nothing of the Gallery.  All that I do see is some checkboxes on the right.  I checked all of them and then logged out and back in with my non-ADMIN username and it finally showed up on the link bar at the top...HOWEVER IT SHOWED UP JUST LIKE THE ADMIN SECTION.  A blank spot that I can hover over and click to get to the gallery.

Thanks for any help you might offer.

* index.template.php (23.35 KB - downloaded 544 times.)
Logged
stormlrd
Full Member
***
Offline Offline

Posts: 136



View Profile WWW
« Reply #44 on: June 08, 2007, 08:47:52 pm »

you need to load the txt strings from default theme modifications.english to the modifications.english in the vampire theme is all.
Logged

Pages: 1 2 [3] 4 5 ... 8 Go Up Print 
« previous next »
Jump to:  

Recent
[May 23, 2013, 08:29:56 pm]

[May 23, 2013, 04:50:21 am]

[May 22, 2013, 10:03:30 pm]

[May 22, 2013, 03:00:09 pm]

[May 22, 2013, 03:03:31 am]

[May 21, 2013, 03:27:16 pm]

[May 21, 2013, 02:11:10 pm]

[May 21, 2013, 01:18:58 pm]

[May 21, 2013, 12:22:02 am]

[May 21, 2013, 12:20:41 am]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
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 1.427 seconds with 21 queries.