News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

SMF Gallery

Started by SMFHacks.com Team, September 16, 2006, 07:13:02 PM

Previous topic - Next topic

mynewusername

#1340
THIS IS FOR VBGAMER

1. With the existing LITE gallery, by getting PRO will the current gallery images/setup be intact.

2. Does the LITE gallery need to be uninstalled and PRO installed?

mynewusername

THIS IS FOR VB GAMER

Quote from: mynewusername on April 20, 2008, 10:58:07 AM
1. With the existing LITE gallery, by getting PRO will the current gallery images/setup be intact.

2. Does the LITE gallery need to be uninstalled and PRO installed?

vbgamer45

Quote from: mynewusername on April 20, 2008, 11:24:55 AM
THIS IS FOR VB GAMER

Quote from: mynewusername on April 20, 2008, 10:58:07 AM
1. With the existing LITE gallery, by getting PRO will the current gallery images/setup be intact.

2. Does the LITE gallery need to be uninstalled and PRO installed?

1. Yes all data is intact.

2. Yes it does.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

mynewusername

Quote from: vbgamer45 on April 20, 2008, 11:32:07 AM
Quote from: mynewusername on April 20, 2008, 11:24:55 AM
THIS IS FOR VB GAMER

Quote from: mynewusername on April 20, 2008, 10:58:07 AM
1. With the existing LITE gallery, by getting PRO will the current gallery images/setup be intact.

2. Does the LITE gallery need to be uninstalled and PRO installed?

1. Yes all data is intact.

Good.
Quote from: vbgamer45 on April 20, 2008, 11:32:07 AM
2. Yes it does.

Are there any particular (known) mods which (I just get this big feeling that IF I uninstall it its not going to go back in again) the PRO gallery is not compatible with?

mynewusername

No one will help you with an attitude like that. You are after FREE HELP so be nice. I know what... (ok i cant be bothered typing here...)

Quote from: babylon on April 20, 2008, 11:30:34 AM
oh ******.....now i understand...
If everybody keeps on posting without any answers to solve things how does anyone gets things solved ?



vbgamer45

Quote from: mynewusername on April 20, 2008, 11:36:41 AM
Quote from: vbgamer45 on April 20, 2008, 11:32:07 AM
Quote from: mynewusername on April 20, 2008, 11:24:55 AM
THIS IS FOR VB GAMER

Quote from: mynewusername on April 20, 2008, 10:58:07 AM
1. With the existing LITE gallery, by getting PRO will the current gallery images/setup be intact.

2. Does the LITE gallery need to be uninstalled and PRO installed?

1. Yes all data is intact.

Good.
Quote from: vbgamer45 on April 20, 2008, 11:32:07 AM
2. Yes it does.

Are there any particular (known) mods which (I just get this big feeling that IF I uninstall it its not going to go back in again) the PRO gallery is not compatible with?
Not that I know of.  The gallery edits as few files as possible so it should work with nearly any mods. Just adds a button in the default theme, some new permissions, and adds an action in the index.php file.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

babylon

nevermind..
found problem.as it was a manual install the part the code that needs to be edited into the index.template.php was interupted.
copy/paste doesnt worked as it should.

Achilles991

Guys, i have big problem with this... Everything works perfect, but when i click on thumb image, i am getting this error:

Not Acceptable

An appropriate representation of the requested resource /index.php could not be found on this server.

Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.5 Server at www.petnica.info Port 80

I don't know where is problem, and why it happens.
Take a look at my forum gallery, and you will see what i am talking about.

http://www.petnica.info/index.php?action=gallery

There is one image in category 'Astronomija'. Try to open it, and if you know how can i fix this, please reply here, i need help for this fastly!

babylon

as i recall,thats because of mod_security.
you have to contact your host for that.

vbgamer45

Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

denzil69

#1350
not sure if this is "a problem"

running 1.1.4 default theme.
gallery installed and working fine.

however on checking my error log today, find that someone has been trying to pass url redirects via the htmlcode box i have showing on pictures.
they have even logged off and back on again to change their ip address, and tried it again.

ive looked around the concerned pictures and cannot see any changes in the html link code.
imhoping you will inform me that, the process is safe and that redirects or writing direct to the database cannot be done???

thanks in advance for any advice

EDIT: on further inspection on the error log it looks like they have followed the link (as a guest) to view the gallery, and used a website link as their "id" in the browser url.
very strange...

LiamTheDuck

This is a very nice mod, might use it one day ;)
I am back, its been like a year... so yeah.... how has it been? :D

mathmission

This is a great mod, saw it on someone else's site, and wanted to integrate it into my own. Ran the install, and got a test failed:

2.     Execute Modification     ./Themes/default/languages/Modifications.english-utf8.php     Test failed

Anyway to figure out what part of that failed?


Here are the mods I'm working with thus far:

   Mod Name     Version     
1.    SMF Gallery Lite                  1.8.3    
2.    YouTube BBCode                      2.3    
3.    phpBB3_Login_Fix              1.0    
4.    nneonneo's AJAX ShoutBox    1.13    
5.    PM On Registration               1.0.2    

Using SMF 1.1.4

Adsiz, default, and Day of Defeat Templates.

vbgamer45

It can fail on that file as long as it works on modifications.english.php and your forum's language is set to just english.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

mathmission

Installed this mod, works great on Default theme!

Quote from: vbgamer45 on April 20, 2008, 10:42:08 AM
Custom theme's require a button/link to be created in the index.template.php of the theme.

Is there a guide somewhere as to how to do this? I need it on Adsiz and DoD Themes, possibly FerryTema

ToxXxic

#1355
I can't install any packages...
Neither can I install this one.
Time after time the step to correctly fill in my FTP-information makes me get stuck.
When I click "Apply mod" this shows up:

Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager.

I know how to chmod the files, but why doesn't it tell me which files to chmod?

perplexed

#1356
it would probably refer to the files in /packages folder as that is where it is trying to install


Quote from: mathmission on April 23, 2008, 10:03:47 AM
Installed this mod, works great on Default theme!

Quote from: vbgamer45 on April 20, 2008, 10:42:08 AM
Custom theme's require a button/link to be created in the index.template.php of the theme.

Is there a guide somewhere as to how to do this? I need it on Adsiz and DoD Themes, possibly FerryTema

why yes there is, http://custom.simplemachines.org/mods/index.php?mod=473

look in the box at the top right where it says Manual Install Instructions for SMF and follow the instructions

mathmission

#1357
Successfully installed to the DoD theme, but having trouble with Adsiz theme. Below is the code, and where I inserted it:

// Show the start of the tab section.
   echo '
        <ul class="menu">';
 
   // Show the [home] button.
   echo '<li', $current_action == 'home' ? ' class="chosen"' : '', '><a href="', $scripturl, '"><b>' , $txt[103] , '</b></a></li>';
   // Show the [help] button.
   echo '<li', $current_action == 'help' ? ' class="chosen"' : '', '><a href="', $scripturl, '?action=help"><b>' , $txt[119] , '</b></a></li>';
   // How about the [search] button?
   if ($context['allow_search'])
   echo '<li', $current_action == 'search' ? ' class="chosen"' : '', '><a href="', $scripturl, '?action=search"><b>' , $txt[182] , '</b></a></li>';
   // Is the user allowed to administrate at all? ([admin])
   if ($context['allow_admin'])
   echo '<li', $current_action == 'admin' ? ' class="chosen"' : '', '><a href="', $scripturl, '?action=admin"><b>' , $txt[2] , '</b></a></li>';
   // Edit Profile... [profile]
   if ($context['allow_edit_profile'])
   echo '<li', $current_action == 'profile' ? ' class="chosen"' : '', '><a href="', $scripturl, '?action=profile"><b>' , $txt[79] , '</b></a></li>';
   // Go to PM center... [pm]
   if ($context['user']['is_logged'] && $context['allow_pm'])
    echo '<li', $current_action == 'pm' ? ' class="chosen"' : '', '><a href="', $scripturl, '?action=pm"><b>' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</b></a></li>';
   // The [calendar]!
   if ($context['allow_calendar'])
   echo '<li', $current_action == 'calendar' ? ' class="chosen"' : '', '><a href="', $scripturl, '?action=calendar"><b>' , $txt['calendar24'] , '</b></a></li>';
   // the [member] list button
   if ($context['allow_memberlist'])
   echo '<li', $current_action == 'mlist' ? ' class="chosen"' : '', '><a href="', $scripturl, '?action=mlist"><b>' , $txt[331] , '</b></a></li>';








// 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>' : '';







   // If the user is a guest, show [login] button.
   if ($context['user']['is_guest'])
   echo '<li', $current_action == 'login' ? ' class="chosen"' : '', '><a href="', $scripturl, '?action=login"><b>' , $txt[34] , '</b></a></li>';
   // If the user is a guest, also show [register] button.
   if ($context['user']['is_guest'])
   echo '<li', $current_action == 'register' ? ' class="chosen"' : '', '><a href="', $scripturl, '?action=register"><b>' , $txt[97] , '</b></a></li>';
   // Otherwise, they might want to [logout]...
   if ($context['user']['is_logged'])
   echo '<li', $current_action == 'logout' ? ' class="chosen"' : '', '><a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '"><b>' , $txt[108] , '</b></a></li>';
   echo '
           </ul>';
}



The big open space is where I assume it fits in, but I'm not sure. I tried it there, but no button appeared. This is the resut:


vbgamer45

This theme uses different codes


change the gallery button to

// Gallery button
   if ($context['allow_smfgallery_view'])
   echo '<li', $current_action == 'gallery' ? ' class="chosen"' : '', '><a href="', $scripturl, '?action=gallery"><b>' , $txt['smfgallery_menu'] , '</b></a></li>';

Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

mathmission

Works like a charm, I thank you good sir or madam!

Advertisement: