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

Login with username, password and session length
Members
Total Members: 9904
Latest: toytoy5555
Stats
Total Posts: 27798
Total Topics: 4859
Online Today: 79
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 1
Guests: 75
Total: 76
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Editng Permissions for a Gallery  (Read 2747 times)
rumboogy
SMF Gallery Pro Customer
Full Member
*****
Offline Offline

Posts: 215


View Profile WWW
« on: August 23, 2007, 08:14:15 pm »

I am wanting to edit the text that is displayed when a guest tries to view a MEMBER only gallery or picture. Right now it says...

ERROR
You are not allowed to view this category.

I want it to say:

ERROR
You are not allowed to view this category. You must register to see this gallery or photo.

Can I edit this myself...if so, where is this located?

Thanks,

Wally
Logged

Rumboogy
"Yeah, I got way too many irons in the fire"
Biker Site:      http://www.razorbiker.com
Biker Site:      http://www.arkansasbiker.net
Zumo GPS:     http://www.zumoforums.com
Personal Site:  http://www.wallyjarratt.com
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9399


View Profile
« Reply #1 on: August 23, 2007, 08:59:19 pm »

Themes/default/languages/Gallery.english.php

Gallery.english.php(373): $txt['gallery_perm_no_view'] = 'You are not allowed to view this category.';
Logged
rumboogy
SMF Gallery Pro Customer
Full Member
*****
Offline Offline

Posts: 215


View Profile WWW
« Reply #2 on: August 23, 2007, 09:45:44 pm »

Thank you....

Wally
Logged

Rumboogy
"Yeah, I got way too many irons in the fire"
Biker Site:      http://www.razorbiker.com
Biker Site:      http://www.arkansasbiker.net
Zumo GPS:     http://www.zumoforums.com
Personal Site:  http://www.wallyjarratt.com
rumboogy
SMF Gallery Pro Customer
Full Member
*****
Offline Offline

Posts: 215


View Profile WWW
« Reply #3 on: August 23, 2007, 09:59:35 pm »

I changed the line:

You are not allowed to view that category.
to this
You must be registered to view this category.

But, when I edit that line and then upload it...instead of getting:

AN ERROR HAS OCCURRED!
You are not allowed to view that category.

I get this:
AN ERROR HAS OCCURRED!



It is not a big deal...but I did not even replace the whole line...I just replaced the words...so there could not have been a syntax error.

Again...not a big deal. I'll just leave it as it is...

Thanks.

Wally
Logged

Rumboogy
"Yeah, I got way too many irons in the fire"
Biker Site:      http://www.razorbiker.com
Biker Site:      http://www.arkansasbiker.net
Zumo GPS:     http://www.zumoforums.com
Personal Site:  http://www.wallyjarratt.com
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9399


View Profile
« Reply #4 on: August 23, 2007, 10:28:37 pm »

Would need to see the whole file check for an error.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[Today at 03:36:31 pm]

[Today at 02:42:09 pm]

[Today at 02:23:51 pm]

[Today at 10:26:45 am]

[February 09, 2012, 05:30:55 pm]

by exit
[February 09, 2012, 04:47:13 pm]

[February 08, 2012, 09:09:16 pm]

[February 08, 2012, 09:11:02 am]

[February 08, 2012, 09:07:32 am]

[February 08, 2012, 03:46:49 am]
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.242 seconds with 18 queries.