Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4200
Latest: [chrisB]
New This Month: 4
New This Week: 1
New Today: 1
Stats
Total Posts: 42602
Total Topics: 7433
Most Online Today: 103
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 2
Guests: 57
Total: 59

Author Topic: aero79 theme  (Read 10887 times)

0 Members and 1 Guest are viewing this topic.

Offline CrotalusCo

  • Member
  • *
  • Posts: 32
    • View Profile
aero79 theme
« on: April 22, 2007, 08:08:49 am »
I Just installed gallery lite using admin panel. I can get to the gallery using the direct url http://www.wireptiles.com/forums//?action=gallery
However i get no gallery button, No text in permissions settings and no gallery admin link in the admin section under configuration.

Are the modified files posted somewhere that i need to replace? Will I have the same problems If i purchase the pro?

How can i correct this help needed

also is there a way I can put this in a default folder of http://www.wireptiles.com/gallery/ and not in the forums? yet have the forum button send to /gallery/
« Last Edit: April 22, 2007, 08:10:36 am by CrotalusCo »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16156
    • View Profile
Re: aero79 theme
« Reply #1 on: April 22, 2007, 08:14:54 am »
Since you are using a custom theme. You will need to a couple of changes

Copy the following text below to your themes/themenamehere/languages/modifications.english.php file
Before the ?> in that file
Code: [Select]
//Begin SMF Gallery Text Strings
$txt['smfgallery_title'] = 'Gallery For SMF';
$txt['smfgallery_menu'] = 'Gallery';
$txt['smfgallery_version'] = '1.0 Lite';
$txt['smfgallery_admin'] = 'Gallery Configuration';

//Permissions
$txt['permissiongroup_smfgallery'] = 'SMF Gallery';

$txt['permissionname_smfgallery_view'] = 'View SMF Gallery';
$txt['permissionhelp_smfgallery_view'] = 'Allows the user to view the Gallery';
$txt['cannot_smfgallery_view'] = 'You are not allowed to view the Gallery';

$txt['permissionname_smfgallery_add'] = 'Add Picture';
$txt['permissionhelp_smfgallery_add'] = 'Allows the user to add a picture.';
$txt['cannot_smfgallery_add'] = 'You are not allowed to add a picture.';

$txt['permissionname_smfgallery_edit'] = 'Edit own Picture';
$txt['permissionhelp_smfgallery_edit'] = 'Allows the user to edit a picture.';
$txt['cannot_smfgallery_edit'] = 'You are not allowed to edit a picture.';

$txt['permissionname_smfgallery_delete'] = 'Delete own Picture';
$txt['permissionhelp_smfgallery_delete'] = 'Allows the user to delete a picture.';
$txt['cannot_smfgallery_delete'] = 'You are not allowed to delete a picture.';

$txt['permissionname_smfgallery_comment'] = 'Leave Comments';
$txt['permissionhelp_smfgallery_comment'] = 'Allows the user to leave comments on a picture.';
$txt['cannot_smfgallery_comment'] = 'You are not allowed to leave comments.';

$txt['permissionname_smfgallery_report'] = 'Report Pictures/Comments';
$txt['permissionhelp_smfgallery_report'] = 'Allows the user to report pictures and comments.';
$txt['cannot_smfgallery_report'] = 'You are not allowed to report content.';

$txt['permissionname_smfgallery_autoapprove'] = 'Auto Approve Pictures';
$txt['permissionhelp_smfgallery_autoapprove'] = 'Pictures do not need to wait for approval.';

$txt['permissionname_smfgallery_manage'] = 'Manage Gallery';
$txt['permissionhelp_smfgallery_manage'] = 'Allows the user to add/delete/edit all catagories. Delete Comments, Delete Pictures, Approve Pictures';
$txt['cannot_smfgallery_manage'] = 'You are not allowed to manage gallery.';

//END SMF Gallery Text Strings

You will need to update the index.template.php of the aero79 theme and include a menu button or link to the gallery in the menu.
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 CrotalusCo

  • Member
  • *
  • Posts: 32
    • View Profile
Re: aero79 theme
« Reply #2 on: April 22, 2007, 08:32:25 am »
there is no languages folder in the aero70 folder do i change the one in default?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16156
    • View Profile
Re: aero79 theme
« Reply #3 on: April 22, 2007, 08:35:04 am »
If you are using other languages in the default/languages folder

Copy the text strings to every modifications.language.php file in that folder
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 CrotalusCo

  • Member
  • *
  • Posts: 32
    • View Profile
Re: aero79 theme
« Reply #4 on: April 22, 2007, 10:15:55 am »
That adjustment was already in
themes/tdefault/languages/modifications.english.php
though I did take out what was there and out in what you gave me -- no dice

here is a listing of files that are in the aero 79 folder
   images      777
   
   BoardIndex.template.php   19 k   0666
   Display.template.php   35 k   0666
   MessageIndex.template.php   24 k   0666
   Themes.template.php   38 k   0666
   index.php   0 k   0666
   index.template.php   26 k   0666
   style.css   11 k   0666
   style_terra.css   11 k   0666
   theme_info.xml

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16156
    • View Profile
Re: aero79 theme
« Reply #5 on: April 22, 2007, 12:49:04 pm »
Do you have any modifications.* files even ones that contain utf8
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 CrotalusCo

  • Member
  • *
  • Posts: 32
    • View Profile
Re: aero79 theme
« Reply #6 on: April 22, 2007, 01:08:35 pm »
only those in wireptiles/forums/themes/default/languages folder
I did make the changes you mentioned above in that file in this folder no change

   Modifications.english.php   13 k   0755  <-- made above mentioned changes here no difference
   Modifications.english.php~   11 k   0666
   Modifications.english_british-utf8.php   0 k   0755
« Last Edit: April 22, 2007, 01:10:19 pm by CrotalusCo »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16156
    • View Profile
Re: aero79 theme
« Reply #7 on: April 22, 2007, 01:17:28 pm »
Hmm what about the theme that you are using on the folder check in
that themes/yourtheme/languages folder
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 CrotalusCo

  • Member
  • *
  • Posts: 32
    • View Profile
Re: aero79 theme
« Reply #8 on: April 22, 2007, 04:26:39 pm »
wireptiles/forums/themes/aero79


   images      777 "<---------------------------only folder"
   
   BoardIndex.template.php   19 k   0666
   Display.template.php   35 k   0666
   MessageIndex.template.php   24 k   0666
   Themes.template.php   38 k   0666
   index.php   0 k   0666
   index.template.php   26 k   0666
   style.css   11 k   0666
   style_terra.css   11 k   0666
   theme_info.xml

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16156
    • View Profile
Re: aero79 theme
« Reply #9 on: April 22, 2007, 05:03:45 pm »
Not sure what would cause that to happen.
Just make sure the text strings are in every modifications.* php in your default theme's folder.
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 G6

  • Member
  • *
  • Posts: 10
  • Lost in space
    • View Profile
    • Familjegodis.se
Re: aero79 theme
« Reply #10 on: April 23, 2007, 04:20:39 pm »
Aero uses the default themes modifications.english.php

To add the gallery button in to the theme just copy the forum button code and change the url action to

Code: [Select]
<a href="', $scripturl, '?action=gallery">' , $txt['smfgallery_menu']  , '</a>
And the rest of the "forum" names to "gallery"

The fighting mom

Offline CrotalusCo

  • Member
  • *
  • Posts: 32
    • View Profile
Re: aero79 theme
« Reply #11 on: April 23, 2007, 05:54:00 pm »
I do apreciate the help no luck so far

This is in the index.template.php
Quote
// the [SMF Gallery] button
   if ($context['allow_smfgallery_view'])
      echo ($current_action == 'gallery' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'gallery' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=gallery">' , $txt['smfgallery_menu']  , '</a>
            </td>' , $current_action == 'gallery' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

I have also added the following code to the deafult/languages/modifications.english.php

Quote
//Begin SMF Gallery Text Strings
$txt['smfgallery_title'] = 'Gallery For SMF';
$txt['smfgallery_menu'] = 'Gallery';
$txt['smfgallery_version'] = '1.0 Lite';
$txt['smfgallery_admin'] = 'Gallery Configuration';

//Permissions
$txt['permissiongroup_smfgallery'] = 'SMF Gallery';

$txt['permissionname_smfgallery_view'] = 'View SMF Gallery';
$txt['permissionhelp_smfgallery_view'] = 'Allows the user to view the Gallery';
$txt['cannot_smfgallery_view'] = 'You are not allowed to view the Gallery';

$txt['permissionname_smfgallery_add'] = 'Add Picture';
$txt['permissionhelp_smfgallery_add'] = 'Allows the user to add a picture.';
$txt['cannot_smfgallery_add'] = 'You are not allowed to add a picture.';

$txt['permissionname_smfgallery_edit'] = 'Edit own Picture';
$txt['permissionhelp_smfgallery_edit'] = 'Allows the user to edit a picture.';
$txt['cannot_smfgallery_edit'] = 'You are not allowed to edit a picture.';

$txt['permissionname_smfgallery_delete'] = 'Delete own Picture';
$txt['permissionhelp_smfgallery_delete'] = 'Allows the user to delete a picture.';
$txt['cannot_smfgallery_delete'] = 'You are not allowed to delete a picture.';

$txt['permissionname_smfgallery_comment'] = 'Leave Comments';
$txt['permissionhelp_smfgallery_comment'] = 'Allows the user to leave comments on a picture.';
$txt['cannot_smfgallery_comment'] = 'You are not allowed to leave comments.';

$txt['permissionname_smfgallery_report'] = 'Report Pictures/Comments';
$txt['permissionhelp_smfgallery_report'] = 'Allows the user to report pictures and comments.';
$txt['cannot_smfgallery_report'] = 'You are not allowed to report content.';

$txt['permissionname_smfgallery_autoapprove'] = 'Auto Approve Pictures';
$txt['permissionhelp_smfgallery_autoapprove'] = 'Pictures do not need to wait for approval.';

$txt['permissionname_smfgallery_manage'] = 'Manage Gallery';
$txt['permissionhelp_smfgallery_manage'] = 'Allows the user to add/delete/edit all catagories. Delete Comments, Delete Pictures, Approve Pictures';
$txt['cannot_smfgallery_manage'] = 'You are not allowed to manage gallery.';

//END SMF Gallery Text Strings         

Still no button, still no text for permissions "though checkboxes are there"

if i use direct gallery url the gallery is there, Just cannot access from forums or change permission settings

maybe this might help, screen shot of member permissions section, notice no selections visable -- also notice in left option bar space between "server settings" and "current theme" I am assuming a gallery section is supposed to be there?
http://www.wireptiles.com/images/memberpermissions.JPG


I am a php noob but i am trying to follow what you are suggesting

« Last Edit: April 23, 2007, 06:04:24 pm by CrotalusCo »

Offline grossmacht

  • Member
  • *
  • Posts: 1
    • View Profile
Re: aero79 theme
« Reply #12 on: April 26, 2007, 02:09:13 am »
hi,
i was looking for tips on how to use smf gallery lite with a theme other than the default and came across your posting...it appears as though you've had the same problem...then i checked you site an it looks like you've had some success.  Is there any way you could share the steps you took with me? 
i'm also using a modded version of Aero79 and want to add the button to the menu.  I too am pretty new at this.  Any help is appreciated.
Thanks in advance,
-dan

Offline CrotalusCo

  • Member
  • *
  • Posts: 32
    • View Profile
Re: aero79 theme
« Reply #13 on: May 04, 2007, 09:00:32 am »
Still have gotten no where with this any suggestions?

Offline CrotalusCo

  • Member
  • *
  • Posts: 32
    • View Profile
Re: aero79 theme
« Reply #14 on: May 04, 2007, 09:28:08 am »
index.template.php
modifications.english.php

attached any others needed?


 

Related Topics

  Subject / Started by Replies Last post
1 Replies
5946 Views
Last post August 18, 2006, 10:05:03 pm
by arslan
0 Replies
5942 Views
Last post July 08, 2006, 09:53:49 am
by SMFHacks
2 Replies
6400 Views
Last post September 25, 2006, 01:14:38 pm
by jtchopick
0 Replies
5567 Views
Last post March 26, 2007, 09:35:05 pm
by SMFHacks
0 Replies
3909 Views
Last post April 01, 2007, 09:20:13 am
by SMFHacks

+- Recent Topics

Errors with SMF2WPBridge by SMFHacks
Today at 12:21:25 pm

Undefined index: id by Shades
Today at 12:15:20 pm

Permissions query by davejo
Today at 01:31:46 am

"Notify all store admins of item purchase" Not Working in SMF 2.1.2 or 2.1.3 by Michael Vail
Today at 01:02:34 am

Additional Recommendations for SMF Store by Michael Vail
November 26, 2022, 12:49:58 pm

SMF Store 5.0 Beta Errors - Trying to access array offset on value of type null by Michael Vail
November 26, 2022, 12:07:42 pm

Modification: Subcategories total in main gallery view by VisiGod
November 26, 2022, 11:27:34 am

Change log for Downloads Pro 6.13 and 6.14 by Nicole
November 20, 2022, 08:24:34 am

Release date? by SMFHacks
November 20, 2022, 08:09:10 am

Can't install due to missing file? by SMFHacks
November 18, 2022, 06:55:45 pm

Powered by EzPortal