| Author | Message |
| Post Title: Test release available | |
jettyrat
Joined: Nov 28, 2005 Posts: 1144
|
Posted: Tue Oct 23, 2007 12:10 pm
I've decided to temporarily make a test release available until I can rewrite the instruction readme since it all seems to be working now. There is no install readme instructions, but everything you need should be in the zip file.
Quick install guide: 1. Install gallery2 (preferably gallery 2.2.3) and make sure it is all working in standalone mode. 2. Install phpBB3rc7 and make sure it is all working and you have admin access to the acp. 3. Get the file from the link below and follow the integration_mods.txt instructions Note: this is a fairly complex mod. If you've installed phpbb mods before, you shouldn't have much trouble. If you've not installed phpbb mods before, this probably isn't the one to start with. Also, I don't recommend using easymod, if it even works with phpbb3. It will not perform the DIY instructions and it will not process the theme css mods properly. Let me know if there are problems! I will work on the readme and when Dari is back around we can release a proper sourceforge version. Edit: Goes without saying, but, this is a test release and as such is subject to change without notice until a sourceforge release becomes available. Edit2: Put a new version up that includes the changes mentioned by Sally here. [nukedgallery.net] Same link as above. No other changes at this time. Edit3: Now includes the subsilver2 mods. Edit4: Download includes the correct mod for the subsilver2 g2Img button. I've now separated the mods into 3 sections; the core integration mod, the prosilver mod, and the subsilver2 mod. Obviously you must install the core mod, then which ever style mod you want or both style mods. They can both co-exist together if you want both installed. Switch between them in the acp styles tab. Also added a gallery_overrides.css file to the integration. This eliminates the need for any changes to the gallery theme files. (There is no need to change any gallery files at this time.) I tested all the included gallery themes. There are some minor issues with a couple of them. Some don't look good at all with the current phpBB styles, but may look ok with future phpBB3 styles. If you need to tweak them up, do so in the gallery_overrides.css file...that is the point of it. It should be the last css file loaded in phpbb3/styles/???/template/overall_header.html so it will ovverride any conflicting phpbb3/gallery2 css attributes. Edit5: Fixed the addUserToGroup and the removeUserFromGroup functions in g2helper.inc. Most functions seem to be working now; will test some more later. Fixed prosilver-memberlist_body.html so group members listing page is correct. (Wasn't a problem in subsilver2) Added gallery2_mods.txt for the nukedgallery image and link in all the gallery themes. Edit 6: Deleted the test release link as we are getting close to a release version. |
| Author | Message |
| Post Title: Re: Test release available | |
mrmikehammond
Joined: Jun 12, 2007 Posts: 21 Location: U.K.
|
Posted: Tue Oct 23, 2007 4:25 pm
Any plans for SS2 JR ?
Good work by the way |
| Author | Message |
| Post Title: Re: Test release available | |
jettyrat
Joined: Nov 28, 2005 Posts: 1144
|
Posted: Tue Oct 23, 2007 5:11 pm
subSilver2? It is on my todo list. http://www.nukedgallery.net/postt3747.html [nukedgallery.net]
Just haven't had time yet |
| Author | Message |
| Post Title: Re: Test release available | |
mrmikehammond
Joined: Jun 12, 2007 Posts: 21 Location: U.K.
|
Posted: Tue Oct 23, 2007 5:40 pm
SS2 yep SubSilver2 sorry I shouldn't abbreviate
I'm running live with subsilver2 at the minute but I'll run it up with a clean Prosilver install to test and build from there, I want to change my portal too so probably as good a time as any to take the plunge |
| Author | Message |
| Post Title: Re: Test release available | |
jettyrat
Joined: Nov 28, 2005 Posts: 1144
|
Posted: Fri Oct 26, 2007 4:18 pm
Here are the mods for subsilver2. This only lists the things that are different from the core default integration so you still need to install the core integration along with this. Or you can install the prosilver mods and the subsilver2 mods and switch back and forth in the acp styles tab. Sweet...
Well, I was going to just post them here inline, but it doesn't like some of the html tags so it won't let me post it. I put the mods in the zip package so you'll have to get the whole download from the link above. |
| Author | Message |
| Post Title: Re: Test release available | |
mrmikehammond
Joined: Jun 12, 2007 Posts: 21 Location: U.K.
|
Posted: Fri Oct 26, 2007 5:17 pm
Thanks, I'll have a play with this over the weekend and report back
|
| Author | Message |
| Post Title: Re: Test release available | |
jettyrat
Joined: Nov 28, 2005 Posts: 1144
|
Posted: Sat Oct 27, 2007 10:03 pm
Found a small oversight in the subsilver2 mods. The g2Img button doesn't look right because I copied the mod from prosilver and the subsilver2 css is different. This is the correct mod for the g2Img button in posting_buttons.html
Code: › <input type="button" class="btnbbcode" name="g2image" value="g2Img" onclick="g2ic_open('postform', 'message');" title="{L_BBCODE_G_HELP}" /> |
| Author | Message |
| Post Title: Re: Test release available | |
mrmikehammond
Joined: Jun 12, 2007 Posts: 21 Location: U.K.
|
Posted: Sun Oct 28, 2007 6:33 am
I've got Prosilver integration working now after a couple of initial glitches caused by finger trouble, I'll get onto the subsilver2 later once I've played with the Gallery to make sure it does what I need. I've got some group permission issues I need to figure out.
One suggestion, in the DIY instructions it says to copy gallery2/themes/matrix/theme.css to gallery2/themes/matrix/local/theme.css Being a newb it confused me slightly as I thought it was a typo and was refering to the locale directory. Would it read better if it said create a new directory gallery2/themes/matrix/local before the copy statement ? |
| Author | Message |
| Post Title: Re: Test release available | |
jettyrat
Joined: Nov 28, 2005 Posts: 1144
|
Posted: Sun Oct 28, 2007 12:57 pm
Quote: › I've got some group permission issues I need to figure out.
There may be some unresolved group issues in the integration left still. If you come across something that seems like an error or doesn't work right, post it up here so I can look into it. Quote: › One suggestion, in the DIY instructions it says to copy gallery2/themes/matrix/theme.css to gallery2/themes/matrix/local/theme.css
Being a newb it confused me slightly as I thought it was a typo and was refering to the locale directory. Would it read better if it said create a new directory gallery2/themes/matrix/local before the copy statement ? Per edit 4 to the file link above, there is no longer a need to mess with any gallery files... |
| Author | Message |
| Post Title: Re: Test release available | |
mrmikehammond
Joined: Jun 12, 2007 Posts: 21 Location: U.K.
|
Posted: Sun Oct 28, 2007 7:19 pm
Well, it's now running in both Prosilver and SubSilver2 on my board, so far so good !!!
Thanks for the good work JettyRat and the others who have helped, you've made a lot of people very happy ! If I or any of my users manage to break it I'll let you know Mike PS the group issues I was having we're just me figuring out how G2 user & group permissions configure, nothing to do with the integration |
| Author | Message |
| Post Title: Re: Test release available | |
mrmikehammond
Joined: Jun 12, 2007 Posts: 21 Location: U.K.
|
Posted: Mon Oct 29, 2007 1:27 pm
O.K. 1st couple of observations, possibly not integration bugs ?
1) If I use G2img button or image tags PHPBB says "It was not possible to determine the dimensions of the image." when you try to submit the post ? is this a G2 issue or a phpbb3 issue ? 2) Next I've installed the useralbum module so when forum users go to the gallery it automatically creates an album for them, problem is it does this for all registered users and I can't find a way to limit it to our boards "Full Members" group ? Cheers Mike |
| Author | Message |
| Post Title: Re: Test release available | |
jettyrat
Joined: Nov 28, 2005 Posts: 1144
|
Posted: Mon Oct 29, 2007 3:40 pm
Quote: › 1) If I use G2img button or image tags PHPBB says "It was not possible to determine the dimensions of the image." when you try to submit the post ? is this a G2 issue or a phpbb3 issue ?
I've not seen this message before. Does it do that in both prosilver and subsilver2? Are you sure it is an image that causes it or a movie or something other than an image? Quote: › 2) Next I've installed the useralbum module so when forum users go to the gallery it automatically creates an album for them, problem is it does this for all registered users and I can't find a way to limit it to our boards "Full Members" group ?
I don't see a way to make the useralbum module only work for a certain group. It seems to work for any registered user. I don't think that is a bug one way or the other; just doesn't do what you want... http://codex.gallery2.org/Gallery2:Modules:useralbum [gallery2.org] |
| Author | Message |
| Post Title: Re: Test release available | |
mrmikehammond
Joined: Jun 12, 2007 Posts: 21 Location: U.K.
|
Posted: Mon Oct 29, 2007 3:52 pm
The G2img button / [IMG] problem is definately for an image, I've tried it several times trying to link to a gallery pic in a post but always the same in both themes ? by all means log in and have a look www.yamahaxjrownersclub.com, could it be related to the mod rewrite function ? it's switched off at the moment as I don't fully understand how to implement it or what it is for other than it changes the format of url's and I know the img tags in phpbb can act wierd depending on the url you input ? or are my sums wrong ..... 2+2 = 7 ?
I think your right on the useralbum, I'll sniff around and see if there's another module I can use instead. Mike |
| Author | Message |
| Post Title: Re: Test release available | |
jettyrat
Joined: Nov 28, 2005 Posts: 1144
|
Posted: Mon Oct 29, 2007 4:49 pm
I'll have a look later. I need to leave the computer for now...double check the mod for includes/message_parser.php...that's all I can think of at the moment!
|
| Author | Message |
| Post Title: Re: Test release available | |
IngerK
Joined: Jan 19, 2006 Posts: 120 Location: Oslo, Norway
|
Posted: Mon Oct 29, 2007 5:03 pm
mrmikehammond wrote: ›
1) If I use G2img button or image tags PHPBB says "It was not possible to determine the dimensions of the image." when you try to submit the post ? is this a G2 issue or a phpbb3 issue ? I have seen this before. I think had configured a max size for images in posts, and I had a .htaccess-file with username/password on my test-server. phpBB tries to find out the imagesize, but fails because of .htaccess. |
| Author | Message |
| Post Title: Re: Test release available | |
jettyrat
Joined: Nov 28, 2005 Posts: 1144
|
Posted: Mon Oct 29, 2007 5:11 pm
IngerK wrote: ›
mrmikehammond wrote: ›
1) If I use G2img button or image tags PHPBB says "It was not possible to determine the dimensions of the image." when you try to submit the post ? is this a G2 issue or a phpbb3 issue ? I have seen this before. I think had configured a max size for images in posts, and I had a .htaccess-file with username/password on my test-server. phpBB tries to find out the imagesize, but fails because of .htaccess. Is that related to the .htaccess file that the url rewrite module uses? |
| Author | Message |
| Post Title: Re: Test release available | |
mrmikehammond
Joined: Jun 12, 2007 Posts: 21 Location: U.K.
|
Posted: Mon Oct 29, 2007 5:18 pm
If I set the posting picture size in PHPBB's ACP to unlimited then it works fine, as soon as I reapply a limit eg 800x600 I get the problem again.
|
| Author | Message |
| Post Title: Re: Test release available | |
jettyrat
Joined: Nov 28, 2005 Posts: 1144
|
Posted: Mon Oct 29, 2007 6:44 pm
ok...I'm able to reproduce that now. It's because the image tag generated by g2image is not linked to an actual image, but rather info about the image that allows gallery to fetch it. phpbb will never be able to check the size of the image the way it is.
That's going to require mods to the phpbb code that checks the image to just allow the g2 tag and the check will have to happen in g2image or a new function in g2helper when the user first tries to insert the image. I'll have to give that some more thought when I get caught up on some of the other issues... |
| Author | Message |
| Post Title: Re: Test release available | |
jettyrat
Joined: Nov 28, 2005 Posts: 1144
|
Posted: Mon Oct 29, 2007 11:17 pm
Here is a quick and dirty fix for this issue. You will have to set the same size limit restrictions within gallery using the sizelimit module as within phpbb and the mod allows phpbb to ignore any images posted from gallery.
sizelimit module [gallery2.org] includes/message_parser.php Code: ›
# #-----[ FIND ]------------------------------------------ # if ($stats === false) # #-----[ REPLACE WITH ]------------------------------- # if ($stats === false && !strstr($in, 'g2_view=core.DownloadItem')) |
| Author | Message |
| Post Title: Re: Test release available | |
mrmikehammond
Joined: Jun 12, 2007 Posts: 21 Location: U.K.
|
Posted: Tue Oct 30, 2007 5:34 am
Might be dirty but it works
Cheers Mike |
| Author | Message |
| Post Title: Re: Test release available | |
jettyrat
Joined: Nov 28, 2005 Posts: 1144
|
Posted: Mon Nov 05, 2007 5:18 pm
I've deleted the test release link above since we are getting close to a real release version now.
|
| Author | Message |
| Post Title: Re: Test release available | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Mon Nov 05, 2007 9:12 pm
w00000000t
|