[RC] phpBB Gallery 1.0.4 (including TS Gallery converter)

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Suggested Hosts
Locked
MrC
Registered User
Posts: 857
Joined: Mon Jun 30, 2003 4:11 pm
Location: The Netherlands
Name: Ivo
Contact:

Re: [Beta] phpBB Gallery 0.3.0 - keep it up tsr

Post by MrC »

Stipendiat wrote:Excellent work! About works very well! Only I cannot understand as to create a personal album. There is an inscription: This album does not exist though all access rights are adjusted.
It's in the User control panel
MrC
Registered User
Posts: 857
Joined: Mon Jun 30, 2003 4:11 pm
Location: The Netherlands
Name: Ivo
Contact:

Re: [Beta] phpBB Gallery 0.3.0 - keep it up tsr

Post by MrC »

I see a lytebox css, but where do I enable that lytebox?
Stipendiat
Registered User
Posts: 35
Joined: Fri Sep 21, 2007 1:58 pm

Re: [Beta] phpBB Gallery 0.3.0 - keep it up tsr

Post by Stipendiat »

Tausend Dank!!! Herzlich Dank!!!

Thank you very very much! Gut Job!!! :P
User avatar
moston
Registered User
Posts: 11
Joined: Sun Jan 06, 2008 9:52 am

Re: [Beta] phpBB Gallery 0.3.0 - keep it up tsr

Post by moston »

After update I don't see foto in "semi" full size:

Image

after i click it i got this message for example:

http://sod.netarteria.eu/forum/gallery/ ... ge_id=1209

And one more bug - subsilver2 style doesn't support managing comments.
gmodfan423
Registered User
Posts: 28
Joined: Sat Feb 16, 2008 4:23 pm

Re: [Beta] phpBB Gallery 0.3.0 - keep it up tsr

Post by gmodfan423 »

and it keeps on saying "Your uploaded file is too large!"
User avatar
JRSweets
Registered User
Posts: 2047
Joined: Wed Apr 14, 2004 8:37 pm
Location: Massachusetts

Re: [Beta] phpBB Gallery 0.3.0 - keep it up tsr

Post by JRSweets »

Thanks for the update. The gallery keeps getting better and better. :D
gmodfan423
Registered User
Posts: 28
Joined: Sat Feb 16, 2008 4:23 pm

Re: [Beta] phpBB Gallery 0.3.0 - keep it up tsr

Post by gmodfan423 »

Its not working for me ive installed it everytime i upload a pic i keep getting "Your uploaded file is too large!"
User avatar
madmax765
Registered User
Posts: 60
Joined: Sun Jan 08, 2006 2:11 pm
Location: u.s.
Contact:

Re: [Beta] phpBB Gallery 0.3.0 - keep it up tsr

Post by madmax765 »

Well installed it.. I must of did something wrong

for one in the ACP on my .MODS tab i click on it and on right side i see the seetings for gallery... but there doubled. If i go to Personal Album Permissions and change a setting and hit Submit i get a mysql error

SQL ERROR [ mysql4 ]

Column 'config_value' cannot be null [1048]

SQL

UPDATE phpbb_gallery_config SET config_value = NULL WHERE config_name = 'personal_gallery_private'

BACKTRACE


FILE: includes/db/mysql.php
LINE: 158
CALL: dbal->sql_error()

FILE: includes/acp/acp_gallery.php
LINE: 669
CALL: dbal_mysql->sql_query()

FILE: includes/acp/acp_gallery.php
LINE: 95
CALL: acp_gallery->album_personal_permissions()

FILE: includes/functions_module.php
LINE: 471
CALL: acp_gallery->main()

FILE: adm/index.php
LINE: 75
CALL: p_master->load_active()
Spaniel
Registered User
Posts: 159
Joined: Sun Dec 30, 2007 3:51 am

Re: [Beta] phpBB Gallery 0.3.0 - keep it up tsr

Post by Spaniel »

Madmax, did you run the install file? i get a similar error but that's probably cos it won't allow me to complete the installation; i get the error that i posted here.
User avatar
MagicMike304
Registered User
Posts: 185
Joined: Sun Aug 22, 2004 7:04 pm

Re: [Beta] phpBB Gallery 0.3.0 - keep it up tsr

Post by MagicMike304 »

gmodfan423 wrote:Its not working for me ive installed it everytime i upload a pic i keep getting "Your uploaded file is too large!"
What size is your photo? The setting for most php users is 2mb limit. This is a PHP limit/setting, not a photo album setting. If your photo is over 2mb, then you will have to contact your hosting company and ask them to raise the limit.
User avatar
madmax765
Registered User
Posts: 60
Joined: Sun Jan 08, 2006 2:11 pm
Location: u.s.
Contact:

Re: [Beta] phpBB Gallery 0.3.0 - keep it up tsr

Post by madmax765 »

Ok i got it all fixed but one thing, After spending the night redoing my forum over and over, I got it. Only one small bug... In Style Prosilver In the Header. I can't get the icon to show up next to the Gallery. This is a small part of the code.. from overall_header.html Can anyone help me please ?

<ul class="linklist rightside">
<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
<li class="icon-gallery"><a href="{U_GALLERY_MOD}" title="{L_GALLERY_EXPLAIN}">{L_GALLERY}</a></li>
<!-- IF not S_IS_BOT -->
<!-- IF S_DISPLAY_MEMBERLIST --><li class="icon-members"><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}">{L_MEMBERLIST}</a></li><!-- ENDIF -->
<!-- IF not S_USER_LOGGED_IN --><li class="icon-register"><a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->
<li class="icon-logout"><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="l">{L_LOGIN_LOGOUT}</a></li>
<!-- ENDIF -->
</ul>
Spaniel
Registered User
Posts: 159
Joined: Sun Dec 30, 2007 3:51 am

Re: [Beta] phpBB Gallery 0.3.0 - keep it up tsr

Post by Spaniel »

madmax, could you tell me how you fixed the problem cos i'm getting a very similar problem twice on two different installs and am still stuck.

For the gallery image in the header all it should take it a refresh of your template and theme in the ACP > Style section.
User avatar
madmax765
Registered User
Posts: 60
Joined: Sun Jan 08, 2006 2:11 pm
Location: u.s.
Contact:

Re: [Beta] phpBB Gallery 0.3.0 - keep it up tsr

Post by madmax765 »

Spaniel wrote:madmax, could you tell me how you fixed the problem cos i'm getting a very similar problem twice on two different installs and am still stuck.

For the gallery image in the header all it should take it a refresh of your template and theme in the ACP > Style section.

well i tryed to update from 2.3 to 3.0 well i just went to mysql data base and deletes all tabels phpbb_gallery_***** then i ran the install file. The files installed ok. but i had a bug in the ACP plane. So i just rolled back to befor i installed 2.3 and did a fresh install.. All seems to be working good now. I even tryed to removed 2.3 At first.. i did the install backwards... removed all files i added and udid all the files i had edited.. and delete the mysql database. But under the .MODS tab it was still showing it there. Even delete Catch and all, So thats why i did a roll back. I been messing with it for 3 days, After being up all night then came out 3.0 By then i was to tirde to mess with it. And yes this MOD works grate with MYSQL. I wish you all luck with this mod.. It is a sweet one and many thanks to the maker of it...
MrC
Registered User
Posts: 857
Joined: Mon Jun 30, 2003 4:11 pm
Location: The Netherlands
Name: Ivo
Contact:

Re: [Beta] phpBB Gallery 0.3.0 - keep it up tsr

Post by MrC »

I get this error in ACP -Styles - Imageset

Undefined index: IMG_BUTTON_UPLOAD_IMAGE

When selecting the upload button I only see [EN] without the button name in front of it
User avatar
madmax765
Registered User
Posts: 60
Joined: Sun Jan 08, 2006 2:11 pm
Location: u.s.
Contact:

Re: [Beta] phpBB Gallery 0.2.3 - keep it up tsr

Post by madmax765 »

pollos wrote:I don't know if this has been posted before, sorry if it has.

In Smartors album we could add the code similar to below to receive an e-mail when someone uploaded an image.

I've just tested the code below in this gallery and it works fine

Find in upload.php

Code: Select all

/**
	* Complete... now send a message to user
	*/
Add before

Code: Select all

if ($album_id == 0) {
$album = 'Their personal gallery' ;
} elseif ($album_id == 1) {
$album = 'The first gallery' ; // change to name of gallery
} else {
$album = 'The second gallery' ; } // change to name of gallery

// as many elseif's as necessary for the number of gallerys you have, I have two

$from = $user->data [username];
$notification = $from . " has uploaded a new picture to " . $album . " You asked to be informed. Please, visit http://www.examople .com/pbpbb3/gallery/index.php to check it out.";
mail("Name<user@example.com>", "A New picture uploaded to the [sitename/URL] Photo Gallery", $notification);
Substituting your e-mail address and site name/URL. You can add other mail()

I get an e-mail as follows
{uasername} has uploaded a new picture to {The gallery name} you asked to be informed. Please, visit http://www.sitename/forumname/gallery/index.php to check it out.
I add the moderators e-mail to the recipients as uploaded images to one of me gallery's need approving.
Yes i love this little scrips you wrote.. was going to add it to 3.0 but upload.php is not longer there.. can you revise this please for 3.0 ?
Locked

Return to “[3.0.x] MODs in Development”