Advertisement:

Author Topic: SMF Gallery  (Read 1221354 times)

Offline thatguy

  • Jr. Member
  • **
  • Posts: 129
  • Gender: Male
  • Rancho Relaxo
Re: SMF Gallery
« Reply #540 on: March 19, 2007, 06:35:11 PM »
I have tried like 6 times to install this package but after install when I go to edit permissions, the area where the permissions for this package are supposed to be is blank. I have no idea why. I have tried in Firefox and IE7. Any idea what could causing that? I can't edit the permissions if I can't see them ! LoL.
The statements above have not been evaluated by the Food and Drug Administration.
These statements are not intended to diagnose, treat, cure or prevent any disease.

Offline Photoshocker

  • Semi-Newbie
  • *
  • Posts: 60
Re: SMF Gallery
« Reply #541 on: March 19, 2007, 07:27:36 PM »
What language are you using?

Offline thatguy

  • Jr. Member
  • **
  • Posts: 129
  • Gender: Male
  • Rancho Relaxo
Re: SMF Gallery
« Reply #542 on: March 19, 2007, 07:29:34 PM »
English.
The statements above have not been evaluated by the Food and Drug Administration.
These statements are not intended to diagnose, treat, cure or prevent any disease.

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,629
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Gallery
« Reply #543 on: March 19, 2007, 07:46:16 PM »
English utf? Make sure you copy the txt strings to all modifications.language.php
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

Offline thatguy

  • Jr. Member
  • **
  • Posts: 129
  • Gender: Male
  • Rancho Relaxo
Re: SMF Gallery
« Reply #544 on: March 19, 2007, 07:50:09 PM »
English utf? Make sure you copy the txt strings to all modifications.language.php

What does that mean? Sorry I thought this was simply click and install, I didn't know I had to edit code. Thanks though, I don't have the time for that.
The statements above have not been evaluated by the Food and Drug Administration.
These statements are not intended to diagnose, treat, cure or prevent any disease.

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,629
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Gallery
« Reply #545 on: March 19, 2007, 08:49:44 PM »
It is. But if you don't have time I understand I don't have time to explain how to do it either.
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

Offline Photoshocker

  • Semi-Newbie
  • *
  • Posts: 60
Re: SMF Gallery
« Reply #546 on: March 20, 2007, 11:33:07 AM »
Hi, is there any way to make the  pictures in the gallery to click on the image a popup window would show the full image with scrollbars?

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,629
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Gallery
« Reply #547 on: March 20, 2007, 07:36:05 PM »
Not at this time maybe in the future.
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

Offline indbjoe

  • Newbie
  • *
  • Posts: 5
Re: SMF Gallery
« Reply #548 on: March 22, 2007, 12:27:35 PM »
Hi

After the installation SMF Gallery this happens: ( its only some of the text)
I have vers. SMF 1.1.2

please help!!!!


2006 SMFHacks.com ############################################ License Information: SMF Gallery is NOT free software. This software may not be redistributed. Links to hxxp:www.smfhacks.com [nonactive] must remain unless branding free option is purchased. ############################################# */ function template_main() { global $db_prefix, $scripturl, $txt, $context, $ID_MEMBER, $modSettings, $boarddir,$boardurl; echo '
'; //Permissions $g_manage = allowedTo('smfgallery_manage'); $g_add = allowedTo('smfgallery_add'); if ($g_manage) { //Check if the gallery path is set if(empty($modSettings['gallery_path'])) { $modSettings['gallery_path'] = $boarddir . '/gallery/'; } //Warn the user if they are managing the gallery that it is not writable if (!is_writable($modSettings['gallery_path'])) echo '', $txt['gallery_write_error'], $modSettings['gallery_path'] . ''; } //Check if the gallery url has been set if not use the default if(empty($modSettings['gallery_url'])) { $modSettings['gallery_url'] = $boardurl . '/gallery/'; } //Get the Category if present @$cat = (int) $_REQUEST['cat']; //Check if a category is selected if($cat) { //Permissions if they are allowed to edit or delete their own gallery pictures. $g_edit_own = allowedTo('smfgallery_edit'); $g_delete_own = allowedTo('smfgallery_delete'); if($g_add && !($context['user']['is_guest'])) echo '
' . $txt['gallery_text_myimages'] . ' ' . $txt['gallery_text_search'] . '
'; $maxrowlevel = 4; echo '
'; //Show the pictures $dbresult = db_query("SELECT p.ID_PICTURE, p.commenttotal, p.filesize, p.views, p.thumbfilename, p.title, p.ID_MEMBER, m.memberName, m.realName, p.date, p.description FROM {$db_prefix}gallery_pic as p, {$db_prefix}members AS m WHERE p.ID_MEMBER = m.ID_MEMBER AND p.ID_CAT = $cat AND p.approved = 1 ORDER BY ID_PICTURE DESC", __FILE__, __LINE__); $rowlevel = 0; while($row = mysql_fetch_assoc($dbresult)) { if($rowlevel == 0) echo ''; echo ''; if($rowlevel < ($maxrowlevel-1)) $rowlevel++; else { echo ''; $rowlevel = 0; } } if($rowlevel !=0) { //$cspan = $maxrowlevel - $rowlevel; //echo ''; echo ''; } mysql_free_result($dbresult); //Display who is viewing the picture. if (!empty($modSettings['gallery_who_viewing'])) { echo ''; } //Show return to gallery link and Show add picture if they can echo ' '; echo '
' . @$context['gallery_cat_name'] . '

'; echo '' . $txt['gallery_text_views'] . $row['views'] . '
'; echo $txt['gallery_text_filesize'] . round($row['filesize'] / 1024, 2) . 'KB
'; echo $txt['gallery_text_date'] . timeformat($row['date']) . '
'; echo $txt['gallery_text_comments'] . ' (' . $row['commenttotal'] . ')
'; echo $txt['gallery_text_by'] . ' ' . $row['realName'] . '
'; if ($g_manage) echo ' ' . $txt['gallery_text_unapprove'] . ''; if ($g_manage || $g_edit_own && $row['ID_MEMBER'] == $ID_MEMBER) echo ' ' . $txt['gallery_text_edit'] . ''; if ($g_manage || $g_delete_own && $row['ID_MEMBER'] == $ID_MEMBER) echo ' ' . $txt['gallery_text_delete'] . ''; echo '
 


 

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,629
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Gallery
« Reply #549 on: March 22, 2007, 07:36:46 PM »
Doesn't sound like it was installed currently? When does that error occur?
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

Offline indbjoe

  • Newbie
  • *
  • Posts: 5
Re: SMF Gallery
« Reply #550 on: March 23, 2007, 03:01:03 AM »
Doesn't sound like it was installed currently? When does that error occur?

It happen right after Installation.

This is what happen.

Picture of my screen !
hxxp:www.harstad.dk/Bilder/Error.jpg [nonactive]

Can I Install this manual? If yes, how?

Thanks!!
« Last Edit: March 23, 2007, 04:05:24 AM by indbjoe »

Offline tlee

  • Newbie
  • *
  • Posts: 1
Re: SMF Gallery
« Reply #551 on: March 24, 2007, 08:23:08 PM »
I just tried installing Gallery 1.7.1 on SMF 1.1.2. However, it's not instaling. It giives me an error that the version might be incompatible or that the package may be corrupted. What am I doing wrong?

Offline indbjoe

  • Newbie
  • *
  • Posts: 5
Re: SMF Gallery
« Reply #552 on: March 26, 2007, 02:53:22 AM »
Doesn't sound like it was installed currently? When does that error occur?

It happen right after Installation.

This is what happen.

Picture of my screen !
hxxp:www.harstad.dk/Bilder/Error.jpg [nonactive]

Can I Install this manual? If yes, how?

Thanks!!

I have found out what the problem for my question is :) When I sett the Themes to default: POFF.. FIX! ;D

Espen

Offline FreeSporePrints

  • Jr. Member
  • **
  • Posts: 150
    • Free Spore Prints
Re: SMF Gallery
« Reply #553 on: March 26, 2007, 05:29:44 PM »
Hi all!

I've installed the SMF Gallery Lite on my SMF 1.1.2, with default theme.

I've configured that also the Global Moderators can upload pics etc etc but into the forum the global moderators can't upload pics (but common members and the administrator yes!).

Why?!? Can anyone solve this enigma?

thank you all!
F.

Offline Photoshocker

  • Semi-Newbie
  • *
  • Posts: 60
Re: SMF Gallery
« Reply #554 on: March 27, 2007, 07:27:38 PM »
Check your permissions..

Offline Teunel

  • Jr. Member
  • **
  • Posts: 201
    • Vertalen
Re: SMF Gallery
« Reply #555 on: March 28, 2007, 06:19:39 AM »
Hi, First of all: Great mod! I can't wait to use it. I tried to install it with the package manager, but that didn't work (probably because I use a dutch version, or because I installed some other mods). When I did everything manually, everything went fine, untill I had to put in the MySQL queries. I did this manually too, because the galleryinstall.php didn't work.

When I try this in phpMyAdmin, it gives me this error:
Code: [Select]
SQL-query:

`ID_PICTURE` int(11) NOT NULL auto_increment, `ID_MEMBER` mediumint(8) unsigned NOT NULL default '0', `date` int(10) unsigned NOT NULL default '0', `title` VARCHAR(100) NOT NULL, `description` text, `views` int(10) NOT NULL default '0', `filesize` int(10) NOT NULL default '0', `height` int(10) NOT NULL default '0', `width` int(10) NOT NULL default '0', `filename` tinytext, `thumbfilename` tinytext, `commenttotal` int(10) NOT NULL default '0', `ID_CAT` int(10) NOT NULL default '0', `approved` tinyint(4) NOT NULL default '0', `allowcomments` tinyint(4) NOT NULL default '0', `keywords` VARCHAR(100) NOT NULL, PRIMARY KEY (`ID_PICTURE`))", __FILE__, __LINE__)

MySQL retourneerde: Documentatie
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ID_PICTURE` int(11) NOT NULL auto_increment,
`ID_MEMBER` mediumint(8) unsigned ' at line 1

What am I doing wrong? :(
 

Offline TalkNFC

  • Newbie
  • *
  • Posts: 5
Re: SMF Gallery
« Reply #556 on: March 29, 2007, 05:54:25 AM »
Is there not a security issue with leaving the gallery folder chmod at 777?

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,629
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Gallery
« Reply #557 on: March 29, 2007, 07:49:25 AM »
No there really isn't but you can keep it at 755 instead of 777
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

Offline papados

  • Semi-Newbie
  • *
  • Posts: 23
Re: SMF Gallery
« Reply #558 on: March 30, 2007, 11:04:16 AM »
However, you can always copy the index.php file from your attachments folder to the gallery folder, so that not everyone can browse your gallery folder.

It works for me at least.

Offline TalkNFC

  • Newbie
  • *
  • Posts: 5
Re: SMF Gallery
« Reply #559 on: March 30, 2007, 12:50:25 PM »
No there really isn't but you can keep it at 755 instead of 777
CHMOD 755
Warning Gallery path is not writable! /home/tsfan/public_html/forum/gallery/