Development after Release of v0.4.1

Forum rules
Support ended: 31.12.2011

Re: Development after Release of v0.4.1

Postby dive » Fri Jan 02, 2009 4:18 pm

Von Seiten der Forenbenutzer kam der Wunsch, den Link zu den (usereigenen) Bildern in der Galerie nicht nur im Profil, sondern auch im Userbereich neben einem Posting anzuzeigen (wie heißt der nochmal gleich?).
Kann man da was machen?
dive
Posts > 50
Posts > 50
 
Posts: 54
Topics: 15
Joined: Thu Apr 24, 2008 12:44 pm
phpBB.de: aquaman

Re: Development after Release of v0.4.1

Postby grotevoet » Fri Jan 02, 2009 5:10 pm

Da's ist doch schon da?

Bei Prosilver gibt is die unter den Avatar, neben email, website, und so weiter:
./styles/prosilver/images/icon_contact_gallery.gif
Sehe mal hier Rechts bei mir (oder bij NickVergessen)

Bei subSilver2 steht die unterhalb die Posting:
./styles/subsilver2/imageset/de/icon_contact_gallery.gif
Sehe mal ein Beispiel auf meine Seite: http://www.nsu.nl/forum/viewtopic.php?f=2&t=1134

MfG,
Marc
Image
User avatar
grotevoet
Donator
Donator
 
Posts: 285
Topics: 11
Images: 8
Joined: Tue Sep 09, 2008 8:13 pm
Location: Hilversum, NL
phpBB.com: grotevoet

Re: Development after Release of v0.4.1

Postby dive » Fri Jan 02, 2009 5:18 pm

Stimmt, ich denke, gemeint war eine Anzeige:

Bilder: x (und das Ganze eben als Link zu diesen Fotos)
dive
Posts > 50
Posts > 50
 
Posts: 54
Topics: 15
Joined: Thu Apr 24, 2008 12:44 pm
phpBB.de: aquaman

Re: Development after Release of v0.4.1

Postby nickvergessen » Sat Jan 03, 2009 2:14 am

grotevoet wrote:Finally, after several weeks of tweaking, I migrated my forum from phpBB2 to phpB3 in the last 3 days of 2008.

Last night I found that I had the Gallery installed double; very likely because my provider has ModSecurity installed on my host. ModSecurity is an open source web application firewall that runs as an Apache module, and it was blocking part of the web-based convertion of my Smartor album. When the install gets to the step
Code: Select all
install.php/index.php?mode=convert&convert_prefix=phpbb_&sub=create_table

the firewall will block the request with a HTTP 403 error.

I asked my provider to disable the specific line in the firewall, and after they did so, I could complete the convert, but that meant running the install, or at least the convertion, for a second time.

But somehow part of the installation was done double. As other's have seen, you can get the Gallery MOD twice in your ACP.
I had already disabled the second ACP Module through ACP > System > ACP > .Mods (as was the solution posted in this forum), but then I found that in the user profiles Gallery shows up twice, as well.

The errors and issues in one image:
230
(site is in Dutch, but images should be clear)

After checking how these views are build (they use the function list_modules from INCLUDE/FUNCTIONS_MODULE.PHP) I found the issue to be duplicate entries in the PHPBB_MODULES table in the database. I removed the duplicate entries (PHPBB_GALLERY, ACP_GALLERY_*, ACP_IMPORT_ALBUMS, and UCP_GALLERY_*) with the highest ID's, and that seems to have done the trick.

Maybe it is a good idea to:
  • Add the ModSecurity issue to an install FAQ
  • On the next version, have the installer do some checks to see if the GALLERY modules exist in the database, already, and offer to remove/use/create duplicates.

Also, with the issue of the lytebox not working sometimes, I noticed that in the ProSilver style you import the galler_lytebox.css, and that has references to {T_THEME_PATH}. For SubSilver2, you include all necessary codes in stylesheet.css. I tried using the import for SubSilver2, as well, and that works fine.

Marc
I hope you didn't delete the modules in the database itself, but with the function in the acp.
this might cause a lot of troubles otherwise.
The modules in the ucp can be disabled on the same way.
I'm not sure, but I think the ModSecurity alerts because of the drop if exists sql?
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Re: Development after Release of v0.4.1

Postby grotevoet » Sat Jan 03, 2009 11:43 am

nickvergessen wrote:I hope you didn't delete the modules in the database itself, but with the function in the acp.
this might cause a lot of troubles otherwise.
The modules in the ucp can be disabled on the same way.

I could not remove them through ACP and UCP, as I got the warning message that there were other modules dependening on these. But I always make an extra backup when doing these actions ;-)

Do you know what might be the dependancy that prevents me from deleting them trhough the ACP?

nickvergessen wrote:I'm not sure, but I think the ModSecurity alerts because of the drop if exists sql?

The step it failed on was create_tables, but the rule catches both creates and drops.

Marc
Image
User avatar
grotevoet
Donator
Donator
 
Posts: 285
Topics: 11
Images: 8
Joined: Tue Sep 09, 2008 8:13 pm
Location: Hilversum, NL
phpBB.com: grotevoet

Re: Development after Release of v0.4.1

Postby nickvergessen » Sat Jan 03, 2009 1:13 pm

grotevoet wrote:
nickvergessen wrote:I hope you didn't delete the modules in the database itself, but with the function in the acp.
this might cause a lot of troubles otherwise.
The modules in the ucp can be disabled on the same way.

I could not remove them through ACP and UCP, as I got the warning message that there were other modules dependening on these. But I always make an extra backup when doing these actions ;-)

Do you know what might be the dependancy that prevents me from deleting them trhough the ACP?

You need to delete the sub-modules at first and afterwards the parent module. but you you delete them hard out of the db, you will screw up the left_id and right_id!
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Re: Development after Release of v0.4.1

Postby grotevoet » Sat Jan 03, 2009 1:23 pm

Thanks - Got it fixed properly now. I re-loaded the dropped DB entries, then took the proper steps.

Didn't realize there were sub-modules to the Gallery entries in ACP and UCP ... :oops:

Marc
Image
User avatar
grotevoet
Donator
Donator
 
Posts: 285
Topics: 11
Images: 8
Joined: Tue Sep 09, 2008 8:13 pm
Location: Hilversum, NL
phpBB.com: grotevoet

Re: Development after Release of v0.4.1

Postby Mary » Sun Jan 04, 2009 4:43 pm

Hallo,

ich habe die Galerie installiert weil sie einfach toll ist, diese ist allerdings wohl nicht richtig installiert worden von mir.
Ich habe im ACP unter - Mods - zweimal PHPBB Gallerie stehen. Habe auch unter ACP - System - Persönlicher Bereich einen der Mods gelöscht, ist aber immer noch da. Dann zählt die Galerie keine Klicks usw.

Nun möchte ich die Galerie erst einmal komplett deinstallieren und neu installieren.
Wie mache ich das? Es mag für einige eine dumme Frage sein, ich weiß es nun aber wirklich nicht.

Eine Kopie meines Forums mitsamt Galerie habe ich unter wamp local laufen. Dort habe ich den Mod gelöscht unter ACP - System - Persönlicher Bereich - jedoch ist die Galerie nach wie vor zu sehen und im ACP unter Mods zu bearbeiten.

Aus diesem Grund habe ich mir heute hierunter die neuen Dateien heruntergeladen:
Development after Release of v0.4.1
viewtopic.php?f=38&t=1071

und diese neuen Dateien hier mit den Alten überspielt, will ja neu und sauber installieren:
[Beta] phpBB Gallery 0.4.1
http://www.phpbb.de/community/viewtopic.php?t=158871


Meine Frage:
wie deinstalliere ich die Galerie?
Oder wie bekomme ich die Galerie ans Laufen mitsamt den geänderten Dateien vom Development after Release of v0.4.1.

Meine bisherige Installation:
PHP Version 5.2.6
mysql 5.0.32
phpbb 3.0.4
Style prosilver
Gallery 0.4.1
Board3 Portal 1.0.2
Gallery Block 1.2.2
http://www.oldtimer-citroen.de/forum/
Mary
Posts < 10
Posts < 10
 
Posts: 5
Topics: 1
Joined: Wed Dec 31, 2008 2:30 am
phpBB.de: Mary

Re: Development after Release of v0.4.1

Postby _QC_ » Sun Jan 04, 2009 6:09 pm

ok, just got the main gallery installed and working smoothly. I haven't installed the random photo block yet - should I do this update first? Is the random block compatible?


thanks :)

great work
_QC_
Posts < 10
Posts < 10
 
Posts: 5
Joined: Sun Dec 28, 2008 5:04 pm

Re: Development after Release of v0.4.1

Postby nickvergessen » Mon Jan 05, 2009 1:17 pm

please seek for support in the support forum!
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

PreviousNext

Return to Archive

Who is online

Users browsing this forum: No registered users and 0 guests