Gallery 2 forum module updates

scieck
scieck's picture

Joined: 2008-02-27
Posts: 16
Posted: Mon, 2008-06-16 11:50

Hi All,

I would like to make few update announcements regarding the gallery 2 forum module but
first I would like to thank Serban Constantinescu for joining me in the development of the galley2 forum module, his contribution has been already extremely invaluable in terms of bug fixing and general suggestions that shows his advance knowledge of the gallery 2 framework.

To follow the rest of the announcements:

1) The project has a new home page where is possible to find more information, report bugs, request features etc. here: http://galleryforum.sourceforge.net/
2) Experimentally there is also a gallery 2 demo site focused on the forum module here: http://galleryforum.abelvedere.com/main.php

Please use this forum for comments or general support and the project home page for reporting bugs, request features etc.

Regards
Andrea

アンドレア

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2008-06-16 18:20

This is cool!
If you wish you can ( or I can) create a codex page for this module.
Keep up the good work.
thanks for adding it to the http://codex.gallery2.org/Gallery2:User_Contributions#Modules page.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
zepdad60

Joined: 2008-07-24
Posts: 32
Posted: Tue, 2008-07-29 02:39

Great module. I'm setting up my first Gallery (v2.3RC1) and this is nearly perfect for my basic needs. Is there an ETA for the subscription function? I prefer that it allow Gallery registered users access to the forum but not guests.

 
scieck
scieck's picture

Joined: 2008-02-27
Posts: 16
Posted: Tue, 2008-07-29 06:21

Hi All,

With Serban help we released an updated version of the forum module please find it here: https://sourceforge.net/project/showfiles.php?group_id=223271.

The new release includes various bug fixes and few new features of which:

- post subscription and email notification
- latest post summary on side column

@zepdad60
currently only registered gallery member can post, but the actual forum has no access control.
but thanks for the comment and I will try to include your feature request on our next release.

Andrea
アンドレア

 
giorgos
giorgos's picture

Joined: 2002-08-19
Posts: 115
Posted: Tue, 2008-07-29 10:41

Is there any quick way to be able to use any other theme instead of only the default one? Or do I need to wait for next release.
A feature request for that was already submitted at sourceforge.

http://www.dailyalbum.com

 
scieck
scieck's picture

Joined: 2008-02-27
Posts: 16
Posted: Tue, 2008-07-29 11:45

Hi giorgos,

I have no idea of your skills in terms of css and html but:
the very quick way to change the look of the forum is to hack the css (forum.css) that is inside the forum module directory.
the less quick way is to hack the html of the .tpl files that are in forum/templates directory. If you do any changes on the css or templates file you have to back them up when you upgrade the forum or the changes will be lost.

To see what is what on an html page I suggest you use firefox and download the firefox plug-in called firebug, using firebug, among many other things, you can inspect the various elements of the page and see which css declaration is affecting a particular element look, then by changing the css declaration you change how the element is displayed on the page (i.e. change color, width, height etc.)

currently the forum tries to adapt its look on the gallery2 theme in use.
What i can see happening in the near future is probably to make the mark up of the templates files less rigid so that it better adapts to the theme used in the gallery2.

To have a dedicated theming system just for the forum will be really cool but I can't see it happening in the near future.

アンドレア

 
zepdad60

Joined: 2008-07-24
Posts: 32
Posted: Tue, 2008-07-29 12:35

sciek: Thanks for the quick reply. You are absolutely correct. Only registered users can post. Guests can view only. During my testing I failed to logout but instead was in the guest view mode. What you have now (guest view, no post) is common for most forums and is what I needed. The ability to completely toggle off the forum for guests may be a nice feature for some.

I've upgraded to the new version. The post subscription feature is nice as well as the "auto subscribe all users" toggle. No since confusing users...am I registered in the forum or not? The sidebar view of recent posts is kinda cool but how many posts will it display? 3, 5, last 24 hours? Some limit might be helpful.

Thanks for your hard work. I will be watching the evolution of the forum with great interest.

 
serbanc

Joined: 2006-05-19
Posts: 314
Posted: Tue, 2008-07-29 13:07

you have a parameter in the sidebar module that asks for how many posts to be displayed. default is 5.

serbanc - www.e-poze.ro

 
giorgos
giorgos's picture

Joined: 2002-08-19
Posts: 115
Posted: Tue, 2008-07-29 20:46

scieck, thanks for the explanation. Although my skills are very limited I'll give it a try.

http://www.dailyalbum.com

 
zepdad60

Joined: 2008-07-24
Posts: 32
Posted: Wed, 2008-07-30 02:50

serbank, thanks I located the sidebar post limit in the block theme settings. Missed it on the first pass.

 
gaynormcc
gaynormcc's picture

Joined: 2003-09-05
Posts: 426
Posted: Sun, 2008-08-03 19:39

Interesting addition.

Thanks
Gaynor

 
svaesb

Joined: 2008-08-19
Posts: 8
Posted: Tue, 2008-09-02 05:19

does anyone know thats wrong if you look at my attached screenshot? just dont know where to set that permission. had it working and suddenly it didn't...

 
serbanc

Joined: 2006-05-19
Posts: 314
Posted: Tue, 2008-09-02 06:38

you probably deleted a user which had posts in the forum.

serbanc - www.e-poze.ro

 
svaesb

Joined: 2008-08-19
Posts: 8
Posted: Tue, 2008-09-02 12:10

Hmmm, thanks. Yes, that might be it, will give it a try.
Good to know that I just can't delete user.

 
serbanc

Joined: 2006-05-19
Posts: 314
Posted: Tue, 2008-09-02 12:30

yeap, it happened to me once (actually forgot about this issue and deleted an user)

I have to discuss at some point with scieck to find a workaround

serbanc - www.e-poze.ro

 
razorwoods

Joined: 2005-07-08
Posts: 3
Posted: Thu, 2008-09-11 01:37

I have a totally lame question... how to I get the ' forums ' link to appear in the nav bar ?

 
scieck
scieck's picture

Joined: 2008-02-27
Posts: 16
Posted: Thu, 2008-09-11 07:01

From "Site Admin" click the Forum module, in the options check the "Add link in system menu", and press "Save Settings".

アンドレア

 
pho2o.net
pho2o.net's picture

Joined: 2008-09-16
Posts: 6
Posted: Wed, 2008-09-17 14:06

1-how can I add a advnace bost box such like the Vb

2- how I can add the permtion for the forum such as I want some forum to be close to sumbit for user and make it open for adminstrator and some other group

http://pho2o.net

 
scieck
scieck's picture

Joined: 2008-02-27
Posts: 16
Posted: Wed, 2008-09-17 14:27

About point 2:
that kind of permission granularity is not available yet, but we will keep it into consideration for the next release.
About point 1:
I am not familiar with "Vb" so I don't know what you are asking, also less typos would help.

アンドレア

 
lucho79

Joined: 2009-01-23
Posts: 2
Posted: Sun, 2009-01-25 17:34

Are forum posts stored in the database? or in text files?
i want to mean: shall i experience slower and slower browsing as forum grows, lets say 2 or 3 gb?

 
scieck
scieck's picture

Joined: 2008-02-27
Posts: 16
Posted: Sun, 2009-01-25 19:49

all is stored in database, you shouldn't experience any slower browsing as your forum grows.

アンドレア

 
lucho79

Joined: 2009-01-23
Posts: 2
Posted: Mon, 2009-01-26 18:15

thank you!! is very good to hear that
visit me (still alpha phase)
wainphoto.net
in a month will be in english too

 
anfri

Joined: 2008-03-06
Posts: 13
Posted: Wed, 2009-08-19 11:30

After installing the forum module on my Gallery 2.3 installation and activating it the whole website became inaccesible, with http 500 errors all along. I think this has something to do with the core api parameter. The values of the required coreAPI and module API in the module.inc of the forum module files is by far outdated, I tried to update them, but that did not do the trick. It a bit scaring to experiment with a working site with hundreds of users, so if anyone has an idea on how to update this modules to be usable under gallery 2.3 I would very much appreciate any help on this.

Gallery URL = http://www.bilder.snf.se/gallery2/main.php
Galleryversion = 2.3 kärna 1.3.0
API = Kärna 7.54, Modul 3.9, Tema 2.6, Inbyggd 1.5
PHP-version = 5.2.5 isapi
Webbserver = Microsoft-IIS/6.0
Databasbaserad = mysqlt 5.0.51a-community-nt, lock.system=database
Verktyg = Exif, ArchiveUpload, Gd, ImageMagick, NetPBM, Ffmpeg, Dcraw, Thumbnail
Acceleration = none/0, none/0
Operativsystem = Windows NT SNFBS01 5.2 build 3790
Standardtema = matrix
gettext = aktiverad
Lokala inställningar = sv_SE
Webbläsare = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB6; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

Händelsedetaljer
Datum 08/19/09 10:45:41
Typ Gallery Error
Plats http://www.bilder.snf.se/gallery2/main.php?g2_view=forum.Forum&g2_return=%2Fgallery2%2Fmain.php%3Fg2_view%3Dkeyalbum.KeywordAlbum%26g2_keyword%3Dris
Användar-id 5
Klient 66.249.71.174
Sammanfattning C:\Inetpub\wwwroot\gallery2\gallery2\modules/forum/module.inc
Hänvisning null
Detaljer Error (ERROR_BAD_PARAMETER) : C:\Inetpub\wwwroot\gallery2\gallery2\modules/forum/module.inc in C:\Inetpub\wwwroot\gallery2\gallery2\modules\core\classes\helpers\GalleryPluginHelper_simple.class at line 94 (GalleryCoreApi::error) in C:\Inetpub\wwwroot\gallery2\gallery2\modules\core\classes\helpers\GalleryPluginHelper_simple.class at line 88 (GalleryPluginHelper_simple::loadPlugin) in C:\Inetpub\wwwroot\gallery2\gallery2\modules\core\classes\GalleryCoreApi.class at line 273 (GalleryPluginHelper_simple::loadPlugin) in C:\Inetpub\wwwroot\gallery2\gallery2\modules\core\classes\GalleryView.class at line 153 (GalleryCoreApi::loadPlugin) in C:\Inetpub\wwwroot\gallery2\gallery2\main.php at line 325 (GalleryView::loadView) in C:\Inetpub\wwwroot\gallery2\gallery2\main.php at line 104 in C:\Inetpub\wwwroot

 
scieck
scieck's picture

Joined: 2008-02-27
Posts: 16
Posted: Wed, 2009-08-19 13:15

Hi anfri,

just tested forum version 0.1.9 with a clean installation of gallery 2.3 on a Linux box with php version 5.2.6 and it works fine.
I need to reproduce the error to be able to fix it, but I don't have your environment (IIS etc.).

So from here on I am guessing.
According to this line of your error dump:
C:\Inetpub\wwwroot\gallery2\gallery2\modules\core\classes\helpers\GalleryPluginHelper_simple.class at line 94

The error seems to be because the plug-in loader failed to find the module.inc file inside the forum directory,
this could happen because of file permission issues, cache issue, corrupted downloaded module, etc.

So try checking permissions, disable any cache system you have, download a fresh copy of the forum from here:
https://sourceforge.net/projects/galleryforum/files/
and try again.

Let me know if you succeed.
アンドレア (Andrea)

 
robmills

Joined: 2007-08-23
Posts: 16
Posted: Fri, 2010-02-19 11:23

Great module. Well done and thanks. I only want registered users to access the forum. It seems anyone can read the forums at this stage. I know only registered users can post.

Do I understand this correctly?

www.signsoflife.co.za