Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Ax Slinger

Pages: [1]
1
Chit Chat / Wow... Way to run a forum!
« on: November 18, 2018, 09:33:12 AM »
I just downloaded 1.8 and decided to pop in and say hello. It's been over 10 years since my last post here, and my account works the same as it ever did. Considering all the poorly run forums I've been to over the last 10 years, I have to say that is truly outstanding!

If I have any problems installing I'm sure I'll be back to pester ya a little bit...

2
Mods & Plugins (Requests & Discussions) / Sorting Images By Ratings
« on: June 04, 2008, 11:04:49 PM »
What would I have to do to sort the display in Top Images and Individual Categories by ratings?

And before anyone asks, yes, as I always do I have done extensive searching prior to asking this question. I searched for "Sorting Images By Ratings", "Sorting Top Images By Ratings", "Sorting Categories By Ratings", I've tried the same with "And Votes", "Or Votes", and with "Votes" instead of "Ratings". I've read the Tips forum, the Mod requests forum, the Mod support forum... The search terms are too general turning up countless unrelated threads, and I see nothing about this idea anywhere.

3
Mods & Plugins (Requests & Discussions) / Using a Forum Database
« on: May 29, 2008, 07:44:16 AM »
How would you set up 4Images to use the database of a forum instead of the one that is built into it?

4
Mods & Plugins (Requests & Discussions) / Image Display Resize
« on: November 25, 2005, 10:08:06 AM »
I have some code that I added to Invision Power Board 1.3.1 to resize the display of images posted, and I was wondering if it could be used in 4Images 1.7? Here's the resize code:

Quote
$maxwidth=580;
Maximum image width setting of 580 Pixels.
$imagesize = getimagesize ($url);
The instruction to get the actual image size of an image from the address in the [img] tag posted by the user.
$newwidth=$imagesize[0];
The original image image width.
$newheight=$imagesize[1];
The original image image height.
if($imagesize[0] > $maxwidth) {
            $newwidth=$maxwidth;
            $newheight=($maxwidth/$imagesize[0])*$imagesize[1];

        }

The array to calculate the new image size based on IF the original image's width is greater than the maximum image width setting, and if it is, THEN the new image width is the maxwidth setting (580), and the new image height is the maxwidth divided by the original image width, then multiplied by the original image height. Or for an 800x600 image that would be (580/800 = .725)*600 = 435 so therefore the new image size is 580x435.

return "<img src='$url' border='0' width='$newwidth' height='$newheight' alt='user posted image'>";
The new image source statement returned to the program to display the image in the new dimensions.

What I would like to do is be able to upload my photos in their original size of 2048x1536, yet have the Gallery display them in 550x412.

Do you think that is possible?

(Bear in mind, this does not resize the actual image, just how it is displayed. The original image would still be however big it was, and the file size would not change. Also, even though this was written for IPB, it is pretty much standard PHP as far as I know.)

5
Mods & Plugins (Requests & Discussions) / Image Links Mod Request
« on: August 29, 2005, 01:36:49 AM »
This may have been covered before, but I searched and did not find anything related to this idea. Of course, I don't speak German, so means I can't read a lot of threads here. I wish I could. Anyway, here goes...

The members of my forum have requested (if it is possible) to make the full size images (not thumbnails) into clickable links. The reason being I have set the maximum dimensions of images to 550x412, and some people have much larger images, and they would like to link to them from the gallery (which is version 1.7, by the way) to where these larger images would be stored on their own websites.

So what I have in mind is adding a field on the upload screen to put a link in, and a similar field in the control panel so a link could be added manually. If there is a link placed in this field, the image would be a clickable link, but if not it obviously wouldn't.

Is this possible?

Thanks in advance for your consideration of this request.

6
Installation, Update & Configuration / Comments Header Issue
« on: July 20, 2005, 12:53:21 AM »
Greetings,

I am trying to make a skin in 1.7, and have hit a roadblock... Where is the table header code for the user comments? I found all the rest of them, but this one is eluding me... As you can see in the screenshot below, it's not showing the background image, like the comment form is below it. It isn't in the comment_bit.html file, and I don't know where else to look. And this is the last thing to set before this skin is done. Anybody know where to find this? I'm lost...



Thanks!

Ax

7
Installation, Update & Configuration / Database Question
« on: May 11, 2005, 09:48:48 AM »
I have searched the forum as best I can, and can not find anything related to what I need to do. Is it possible to add the database tables for the 4images Gallery v1.7 to a MySQL database set up for Invision Power Board 1.3.1? I only have 5 databases on my server, and they are all being used. So I need to "double up"...

Pages: [1]