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

vbgamer45

Hmm, it sounds like it didn't install then. If you don't see a gallery configuration in your admin section I would try to reinstall it.
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

keith021773

Got it to work..  The link that was in the gallery config screen says url to gallery is http://www.yoursite.com/gallery, But it's actually, http://www.yoursite.com/?action=gallery

So, got it to work..  Thanks!

vbgamer45

Do not change the url in the gallery config that is used for the web path to the pictures
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

keith021773

I didn't...    All works fine now.

Pratt

#224
Hi there, first of all, great mod!

Im having some permision issues though. My idea is to give Guest, the permision to leave a comment on a picture, as a guest, without needing to register or whatsoever.

I gave the right permisions in the admin panel, but if a guest wants to add a comment, they still are redirected to the "Register/Log in" page.



Any ideas!

I gave Guests the permision to create new topics/answer to topics, but still no results.

http://www.hablarmierda.net/wiki2/index.php?action=gallery
http://www.hablarmierda.net/wiki2/index.php

vbgamer45

Guests are not supported to upload or leave comments.
Guests are only supported for viewing the gallery.
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

littleone

Ok...When you go to the Gallery you can click "MyImages" and it takes you to yours.  U can change the u= ## and get that for any members gallery.....

Here is what I am wondering if I can get some code for...

On the bottom of the members profile page where it says:

Send this member a personal message.

Show the last posts of this person.
Show general statistics for this member.


I want to add "View this member's images" so that when anyone clicks on it, it will take you to all the images that member has added so it looks like this:

Send this member a personal message.

Show the last posts of this person.
Show general statistics for this member.
View this member's images.


Is this possible? and if so would someone mind sharing the code for this with me.  I'd be overly appreiciative!

mrbones

Quote from: mrbones on October 24, 2006, 03:19:53 PM
Can you do it? It only seems to make sense since the gallery mod is permissions based.

??

vbgamer45

Quote from: mrbones on October 28, 2006, 10:53:10 AM
Quote from: mrbones on October 24, 2006, 03:19:53 PM
Can you do it? It only seems to make sense since the gallery mod is permissions based.

??
I started looking at it then seemed to be harder than I thought since I would need a way to lookup that user's permissions which I still need to find out.
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

mrbones

Ok, thanks. Keep me posted.

littleone

VBGamer, not sure if you missed my last post or not, but is what I asked or suggest possible?

is it possible to just get that code and I can manually add it where it needs to go?

Thanks!

vbgamer45

Quote from: littleone on October 28, 2006, 01:19:38 PM
VBGamer, not sure if you missed my last post or not, but is what I asked or suggest possible?

is it possible to just get that code and I can manually add it where it needs to go?

Thanks!
Yeah that easly done you just need to modify the Profile.template.php of the theme you are using then just link to their my images page using their user id.
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

littleone

Quote from: vbgamer45 on October 28, 2006, 01:49:43 PM
Quote from: littleone on October 28, 2006, 01:19:38 PM
VBGamer, not sure if you missed my last post or not, but is what I asked or suggest possible?

is it possible to just get that code and I can manually add it where it needs to go?

Thanks!
Yeah that easly done you just need to modify the Profile.template.php of the theme you are using then just link to their my images page using their user id.

I looked at that last night (at the code in that very file) and kinda lost and didnt want to mess anything up.  Could you be more specific on how to do this?  What code and where?

Hope its not to be a bother.  Thanks!

Jorin

Quote from: Badelehrling on September 19, 2006, 05:17:11 PM
Well, I hope its all correct ;D

If not, I hope you (German people ;)) will give me feedback, so that I can change it!

Ich habe mir erlaubt, das mal zu überarbeiten und weitere Fehler auszumerzen.

English: I proofed this translation again and correct some mistakes.

Quote//Begin SMF Gallery Text Strings
$txt['smfgallery_title'] = 'SMF Galerie';
$txt['smfgallery_menu'] = 'Galerie';
$txt['smfgallery_version'] = '1.0';
$txt['smfgallery_admin'] = 'Galerie Einstellungen';

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

$txt['permissionname_smfgallery_view'] = 'Zeige die SMF Galerie';
$txt['permissionhelp_smfgallery_view'] = 'Erlaube den Benutzern, die Galerie zu betrachten';
$txt['cannot_smfgallery_view'] = 'Du hast nicht die Berechtigung, die Galerie anzuschauen';

$txt['permissionname_smfgallery_add'] = 'Bild hinzufügen';
$txt['permissionhelp_smfgallery_add'] = 'Erlaubt den Benutzern, ein Bild hinzuzufügen.';
$txt['cannot_smfgallery_add'] = 'Du hast nicht die Berechtigung, ein Bild hinzuzufügen.';

$txt['permissionname_smfgallery_edit'] = 'Eigenes Bild bearbeiten';
$txt['permissionhelp_smfgallery_edit'] = 'Erlaubt dem Benutzer, ein Bild zu Ändern.';
$txt['cannot_smfgallery_edit'] = 'Du hast nicht die Berechtigung, Bilder zu Ändern.';

$txt['permissionname_smfgallery_delete'] = 'Eigenes Bild löschen';
$txt['permissionhelp_smfgallery_delete'] = 'Erlaubt dem Benutzer, ein Bild zu löschen.';
$txt['cannot_smfgallery_delete'] = 'Du hast nicht die Berechtigung, ein Bild zu löschen.';

$txt['permissionname_smfgallery_comment'] = 'Kommentar schreiben';
$txt['permissionhelp_smfgallery_comment'] = 'Erlaubt dem Benutzer, Kommentare zu schreiben.';
$txt['cannot_smfgallery_comment'] = 'Du hast nicht die Berechtigung, Kommentare zu schreiben.';

$txt['permissionname_smfgallery_report'] = 'Bilder/Beiträge melden';
$txt['permissionhelp_smfgallery_report'] = 'Erlaubt dem Benuter, Bilder und Kommentare zu melden.';
$txt['cannot_smfgallery_report'] = 'Du hast nicht die Berechtigung, Bilder und Kommentare zu melden.';

$txt['permissionname_smfgallery_autoapprove'] = 'Automatisch Bilder freigeben';
$txt['permissionhelp_smfgallery_autoapprove'] = 'Bilder brauchen nicht manuell freigegen zu werden.';

$txt['permissionname_smfgallery_manage'] = 'Galerie verwalten';
$txt['permissionhelp_smfgallery_manage'] = 'Erlaubt dem Benutzer, Kategorien hinzuzufügen, zu löschen und zu editieren, Kommentare und Bilder zu löschen, sowie Bilder freizugeben';
$txt['cannot_smfgallery_manage'] = 'Du hast nicht die Berechtigung, die Galerie zu verwalten.';

//END SMF Gallery Text Strings

<?php

/*

SMF Gallery Lite Edition

Version 1.0

by:vbgamer45

http://www.smfhacks.com

Copyright 2006 SMFHacks.com



############################################

License Information:

SMF Gallery is NOT free software.

This software may not be redistributed.



Links to http://www.smfhacks.com must remain unless

branding free option is purchased.

#############################################



Gallery English Text Strings

*/



//Gallery.template.php Strings



//Title string

$txt['gallery_text_title'] = 'Galerie';



//Main gallery table strings

$txt['gallery_text_galleryname'] = 'Galeriename';

$txt['gallery_text_gallerydescription'] = 'Galeriebeschreibung';

$txt['gallery_text_totalimages'] = 'Bilder insgesamt';

$txt['gallery_text_reorder'] = 'Position';

$txt['gallery_text_options'] = 'Optionen';



$txt['gallery_text_adminpanel'] = 'Galerie Admin Panel';

$txt['gallery_text_addcategory'] = 'Kategorie hinzuf&Uuml;gen';

$txt['gallery_text_editcategory'] = 'Kategorie bearbeiten';

$txt['gallery_text_delcategory'] = 'Kategorie l&ouml;schen';

$txt['gallery_text_settings'] = 'Einstellungen';

$txt['gallery_text_permissions'] = 'Berechtigungen';

$txt['gallery_text_imgwaitapproval'] = 'Bild wird noch gepr&Uuml;ft: ';

$txt['gallery_text_imgcheckapproval'] = 'Kontrolliere zu pr&Uuml;fende Bilder';



$txt['gallery_text_imgreported'] = 'gemeldete Bilder: ';

$txt['gallery_text_imgcheckreported'] = 'Kontrolliere gemeldete Bilder';





$txt['gallery_write_error'] = 'Warnung: Galerieverzeichnis ist nicht beschreibbar! ';

$txt['gallery_text_myimages'] = '[Meine Bilder]';

$txt['gallery_text_search'] = '[Suche]';

$txt['gallery_text_edit'] = '[Editieren]';

$txt['gallery_text_delete'] = '[L&ouml;schen]';

$txt['gallery_text_unapprove'] = '[Sperren]';

$txt['gallery_text_approve'] = '[Freigeben]';

$txt['gallery_text_up'] = '[nach oben]';

$txt['gallery_text_down'] = '[nach unten]';

$txt['gallery_text_reportpicture'] = '[Bild melden]';

$txt['gallery_text_delcomment'] = '[Beitrag l&ouml;schen]';





$txt['gallery_text_filesize'] = 'Dateigr&ouml;&szlig;e: ';

$txt['gallery_text_by'] = 'Von:';

$txt['gallery_text_date'] = 'Datum: ';

$txt['gallery_text_comments'] = 'Kommentare';

$txt['gallery_text_views'] = 'Betrachtet: ';



$txt['gallery_text_addpicture'] = 'Bild hinzuf&Uuml;gen';

$txt['gallery_text_returngallery'] = 'Zur&Uuml;ck zur Galerie';



//Online strings

$txt['gallery_who_viewgallery'] = ' betrachten diese Galerie.';

$txt['gallery_who_viewpicture'] = ' betrachten dieses Bild.';



//Form Strings

$txt['gallery_form_title'] = 'Titel:';

$txt['gallery_form_description'] = 'Beschreibung:';

$txt['gallery_form_icon'] = 'Galerie Icon Url:';



$txt['gallery_warn_category'] = 'Warnung: Dieser Befehl L&ouml;SCHT die Kategorie mit ALL ihren Bildern, Kommentaren und Bewertungen!';



$txt['gallery_form_addpicture'] = 'Bild hinzuf&Uuml;gen';

$txt['gallery_form_category'] = 'Kategorie:';

$txt['gallery_form_keywords'] = 'Stichworte:';

$txt['gallery_form_uploadpic'] = 'Bild hochladen:';

$txt['gallery_form_maxwidth'] = 'max. Breite ';

$txt['gallery_form_maxheight'] = 'max. H&ouml;he ';

$txt['gallery_form_pixels'] = ' Pixel';

$txt['gallery_form_additionaloptions'] = 'Erweiterte Optionen:';

$txt['gallery_form_allowcomments'] = 'Hinzuf&Uuml;gen von Kommentaren erlauben.';

$txt['gallery_form_notapproved'] = 'Dein Bild wird erst ver&ouml;ffentlicht, wenn es gepr&Uuml;ft wurde.';

$txt['gallery_form_editpicture'] = 'Bild bearbeiten';

//View picture

$txt['gallery_text_picstats'] = 'Bilderstatus:';

$txt['gallery_text_height'] = 'H&ouml;he:';

$txt['gallery_text_width'] = 'L&auml;nge:';

$txt['gallery_text_postedby'] = 'gepostet von:  ';

$txt['gallery_text_addcomment'] = 'Kommentar hinzuf&Uuml;gen';

//Delete picture

$txt['gallery_warn_deletepicture'] = 'Warnung: Das wird dein Bild ohne M&ouml;glicheit auf Wiederherstellung l&ouml;schen.';

$txt['gallery_form_delpicture'] = 'Bild l&ouml;schen';





$txt['gallery_form_comment'] = 'Kommentar:';



$txt['gallery_form_reportpicture'] = 'Bild melden';



//Gallery admin pics

$txt['gallery_form_managecats'] = 'Kategorien verwalten';

$txt['gallery_form_approveimages'] = 'Bilder genehmigen';

$txt['gallery_form_reportimages'] = 'gemeldete Bilder';



//Settings page

$txt['gallery_set_description'] = 'Erlaubt Dir, die wichtigsten Einstellungen Deiner Galerie zu &auml;ndern.';

$txt['gallery_set_maxheight'] = 'max. erlaubte Bildh&ouml;he: ';

$txt['gallery_set_maxwidth'] = 'max. erlaubte Bildbreite: ';

$txt['gallery_set_filesize'] = 'max. Bilddateigr&ouml;&szlig;e: ';

$txt['gallery_set_path'] = 'Galeriepfad: ';

$txt['gallery_set_url'] = 'Galerie Url: ';

$txt['gallery_set_whoonline'] = 'Zeige, wer gerade ein Bild betrachtet';

$txt['gallery_set_commentschoice'] = 'Dem Benutzer erlauben, umzuschalten, wenn Anmerkungen oder Abbildungen gezeigt werden k&ouml;nnen oder nicht.';

$txt['gallery_set_permissionnotice'] = 'Zum Schluss: Vergiss nicht, die Berechtigungen zu setzen, damit die Benutzer die Galerie ansehen k&ouml;nnen.';

$txt['gallery_set_editpermissions'] = 'Zulassung bearbeiten';



//Approve list

$txt['gallery_app_image'] = 'Bild';

$txt['gallery_app_title'] = 'Titel';

$txt['gallery_app_description'] = 'Beschreibung';

$txt['gallery_app_date'] = 'Datum';

$txt['gallery_app_membername'] = 'Mitgliedsname';



//Report list

$txt['gallery_rep_piclink'] = 'Bild Link';

$txt['gallery_rep_reportby'] = 'Eingestellt von';

$txt['gallery_rep_comment'] = 'Kommentar';

$txt['gallery_rep_viewpic'] = 'Bild anzeigen';

$txt['gallery_rep_deletepic'] = '[Bild l&ouml;schen]';

$txt['gallery_rep_delete'] = '[Bericht l&ouml;schen]';



//Search Page

$txt['gallery_search_pic'] = 'Bild suchen';

$txt['gallery_search_for'] = 'Suchen nach:';

$txt['gallery_search_title'] = 'Bildtitel durchsuchen';

$txt['gallery_search_description'] = 'Bildbeschreibung durchsuchen';

$txt['gallery_search_keyword'] = 'Stichworte durchsuchen';

$txt['gallery_search'] = 'Suche';



$txt['gallery_searchresults'] = 'Suchergebnisse';



//My Images

$txt['gallery_myimages'] = 'Meine Bilder';

$txt['gallery_myimages_app'] = 'zugelassene Bilder';

$txt['gallery_myimages_notapp'] = 'nicht zugelassenes Bild';





//#############################

//Gallery.php Strings

//#############################

$txt['gallery_error_cat_title'] = 'Du musst einen Kategorietitel eintragen!';

$txt['gallery_error_no_pic_selected'] = 'Kein Bild ausgew&auml;hlt.';

$txt['gallery_error_pic_notapproved'] = 'Diese Abbildung wurde noch nicht genehmigt und du hast nicht die Berechtigung, sie anzusehen. ';

$txt['gallery_error_no_title'] = 'Du musst einen Bildtitel eingeben.';

$txt['gallery_error_no_cat'] = 'Du musst eine Kategorie ausw&auml;hlen.';

$txt['gallery_error_invalid_picture'] = 'Dies ist keine g&Uuml;ltige Bilddatei.';

$txt['gallery_error_img_size_height'] = 'Das Bild &Uuml;bersteigt die erlaubte Gr&ouml;&szlig;e. Die Bildh&ouml;he war:  ';

$txt['gallery_error_img_size_width'] = ' Die Bildbreite war: ';

$txt['gallery_error_img_filesize'] = 'Das Bild &Uuml;berschreitet die Gr&ouml;&szlig;envorgabe. Die max. Bildgr&ouml;&szlig;e ist ';

$txt['gallery_error_no_picture'] = 'Keine hochgeladenen Bilder gefunden.';

$txt['gallery_error_noedit_permission'] = 'Du hast nicht die Berechtigung dieses Bild zu bearbeiten.';

$txt['gallery_error_nodelete_permission'] = 'Du hast nicht die Berechtigung dieses Bild zu l&ouml;schen.';

$txt['gallery_error_no_comment'] = 'Du hast kein Kommentar eingegeben!';

$txt['gallery_error_not_allowcomment'] = 'Dieses Bild erlaubt keine Kommentare...';

$txt['gallery_error_no_com_selected'] = 'Kein Kommentar gew&auml;hlt.';

$txt['gallery_error_no_user_selected'] = 'Kein Benutzer gew&auml;hlt.';

$txt['gallery_error_no_report_selected'] = 'Kein Beitrag gew&auml;hlt.';

$txt['gallery_error_no_search'] = 'Du hast kein Suchbegriff eingegeben...';

$txt['gallery_error_search_small'] = 'Die Suchanfrage ist zu kurz, sie muss mind. eine L&auml;nge von 3 Zeichen haben.';



?>

littleone

I noticed a problem.

When a member leaves a comment and they have an avator is shows with a red X.  So I do a right click on it and what it does is:

http://xxxxxxxxxxx.com/forum/avatars/http://img291.imageshack.us/img291/9426/godsmack1is7.jpg


I guess you have the avators thing in there by default and its putting there custom avator behind that.  How can this be fixed?

addictedBG

How can I show the latest image,the poster ..... from the gallery to my site...Something like SSI.php but with the gallery?

justafishermen

Anyone know if its possible to have link code display under images in SMF Gallery? Like photobucket?

It would make it much easier for adding photos to a thread for less knowledgable internet users.
Angling Fanatics Fishing Community
Built By The Members For The Members

vbgamer45

Quote from: justafishermen on November 03, 2006, 04:18:43 PM
Anyone know if its possible to have link code display under images in SMF Gallery? Like photobucket?

It would make it much easier for adding photos to a thread for less knowledgable internet users.
Yeah it is possible just need to edit the template a little. Gallery.template.php in the template_viewpicture function
You would just add a textbox with al ink to the photo
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

justafishermen

Quote from: vbgamer45 on November 03, 2006, 04:23:01 PM
Quote from: justafishermen on November 03, 2006, 04:18:43 PM
Anyone know if its possible to have link code display under images in SMF Gallery? Like photobucket?

It would make it much easier for adding photos to a thread for less knowledgable internet users.
Yeah it is possible just need to edit the template a little. Gallery.template.php in the template_viewpicture function
You would just add a textbox with al ink to the photo

Thanks vb but Im not much of a programmer. Would you mind telling me what I add to those files and where please?

Really appreciate it.
Angling Fanatics Fishing Community
Built By The Members For The Members

justafishermen

Angling Fanatics Fishing Community
Built By The Members For The Members

Advertisement: