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

!Hachi!

yep all threads first post have img attacment.it will be fine to transfer 1st post.
Happy Ramadan

qd-race

Dear vbgamer45

I incidently replace the index.template.php file in default theme. I mod back and I need to check what code is missing in this file.

// The [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[803] , '</a>
</td>' , $current_action == 'gallery' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


Please advise the above code is correct or not and please inform the rest of the code should be in this file.

Thanks.
http://www.qd-race.com |  http://www.replica2u.com  |  http://www.steamyx.net

vbgamer45

Change in the above code

<a href="', $scripturl, '?action=gallery">' , $txt[803] , '</a>

To

<a href="', $scripturl, '?action=gallery">' , $txt['smfgallery_menu'] , '</a>
Community Suite for SMF - Take your forum to the next level built for 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

qd-race

No other code in index.template.php in default theme, I guess. :-\
http://www.qd-race.com |  http://www.replica2u.com  |  http://www.steamyx.net

vbgamer45

Yeah that is correct code no need to start to topics on it though in two threads.
Community Suite for SMF - Take your forum to the next level built for 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

qd-race

http://www.qd-race.com |  http://www.replica2u.com  |  http://www.steamyx.net

kangkenyot

installed and workwell under diblermc theme (after modify index.template.php)  8)

Webrunner

Is there a way to import an existing coppermine gallery?
There is a difference between knowing the path and walking the path.

=========================================
Vrouwen Power! | Sprintweb: No nonsense e-Business consultancy

vbgamer45

Quote from: Webrunner on September 24, 2006, 05:59:25 AM
Is there a way to import an existing coppermine gallery?
That is something I have planned to work on but that will be later on. I plan make importers for some of the major gallery systems.
Community Suite for SMF - Take your forum to the next level built for 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

Webrunner

Cool, i will keep an eye on this thread :)
There is a difference between knowing the path and walking the path.

=========================================
Vrouwen Power! | Sprintweb: No nonsense e-Business consultancy

ivo2296

On RC3 i see in forum error log many like this:

8: Undefined variable: 1
File: /home/djs/public_html/Themes/default/languages/Gallery.english.php (myimages sub template - eval?)
Line: 1662


Any idea?

mark25

mine:

8: Undefined index: gallery_commentchoice
File: /home/mark25/public_html/forum/Themes/default/languages/Gallery.english.php (eval?)
Line: 495

vbgamer45

What gallery version you running? and SMF version
Community Suite for SMF - Take your forum to the next level built for 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

ivo2296

Quote from: vbgamer45 on September 24, 2006, 12:19:48 PM
What gallery version you running? and SMF version

smf 1.1 RC3 + latest lite gallery

vbgamer45

Quote from: ivo2296 on September 24, 2006, 12:28:32 PM


smf 1.1 RC3 + latest lite gallery
I want you to reinstall the gallery from the SMF mod site. I just checked that line and I am sure I fixed that line.
Community Suite for SMF - Take your forum to the next level built for 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

mark25

Quote from: vbgamer45 on September 24, 2006, 12:19:48 PM
What gallery version you running? and SMF version

smf 1.1 RC3 then the latest gallery too...

vbgamer45

Quote from: mark25 on September 24, 2006, 12:13:30 PM
mine:

8: Undefined index: gallery_commentchoice
File: /home/mark25/public_html/forum/Themes/default/languages/Gallery.english.php (eval?)
Line: 495
I see that error I will have a fix in the next release.
You can fix it now by just checking gallery comment choice in the settings page save the setting then uncheck again and save it again.
Community Suite for SMF - Take your forum to the next level built for 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

mark25

how about his one?

http://xxx.xxx/forum/index.php?action=gallery;sa=adminset;sesc

8: Undefined index: gallery_commentchoice
File: /home/mark25/public_html/forum/Themes/default/Admin.template.php (eval?)
Line: 1308

vbgamer45

That's the same thing just  do what I said and the errors will disappear, they occur because that setting is not in the database by default.
Community Suite for SMF - Take your forum to the next level built for 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

mark25

Quote from: vbgamer45 on September 24, 2006, 01:13:06 PM
That's the same thing just  do what I said and the errors will disappear, they occur because that setting is not in the database by default.

i tried what u said but errors didn't disappear... hmm... i try to check it... no error shown up... u know what's the problem?

Advertisement: