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.


Messages - V@no

Pages: 1 ... 4 5 6 7 [8] 9 10 11 12 ... 741
106
Discussion & Troubleshooting / Re: Old images have disappeared
« on: October 29, 2011, 12:16:59 AM »
The first thing you should do is check via FTP if images still there. If they are, then it must be permissions issue, if they are not, well, that's explains 404 error, contact your host admin, maybe they can put some light what happened.

107
Mods & Plugins (Requests & Discussions) / Re: Newest images - List Only?
« on: October 26, 2011, 08:15:26 PM »
The mysql query I used shows only images available for guests. Try remove these two lines and see if it show you anything:
Code: [Select]
AND c.auth_viewcat=".AUTH_ALL." /*only categories accessible for guests*/
AND c.auth_viewimage=".AUTH_ALL." /*only images accessible for guests*/

108
Installation, Update & Configuration / Re: install 2 galleries
« on: October 26, 2011, 04:31:05 AM »
So, is the code on the first post all i need to do? (Up to date)
yes

Does the second gallery appear beside or under the first on Homepage?
mmmm if the "homepage" is your first gallery, then second will be under different directory, otherwise they could be beside of each other, it's all up to you.

109
Thank you for sharing this mod with only two* steps


Hmmm I see some security issue - never use $_GET/$_POST/etc global variables! 4images uses "old" type ($HTTP_GET_VARS) for a reason - they are filtered and secured.
You also could simplify the process instead of using "user=" use "user_id=" this way it will automatically gets filtered and secured and available via $user_id variable.
And finally, the step 4.1/4.2 could be simplified by adding two lines below the line that needs to be found instead of replacing it, for example:
Code: [Select]
$next_image_url = $site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$next_image_id.((!empty($mode)) ? "&mode=".$mode : ""));
 // member lightbox easy way
 if ($mode == "member_lightbox")
    $next_image_url .= "&user=" . $huhu;




* local joke - a mail was bounced back because on the address was written "123 sixteenth avenue" instead of "123 16th avenue"

111
Ìîãó ÿ ó Âàñ ñïðîñèòü?
Нет,  не можете, а вот что вы можете - так это получить бан за спам, который также будет распространён на тысячи других форумах.
Первое и последнее предупреждение. Будем продолжать?

112
Hello.
For this you'll need contact your server's administrator, something wrong with the server.

113
Hello and welcome to 4images forum.

I believe that label is your gallery name.
Go to ACP (Admin Control Panel) -> Settings -> Site name

114
I've updated my post above. Seems to work for me (at least no error messages)

115
Mods & Plugins (Requests & Discussions) / Re: Newest images - List Only?
« on: October 23, 2011, 07:49:07 AM »
Upload attached file to your 4images root directory

116
Try this:
1) [FIX] Max height has no affect when do image resize
2) in member.php find:
          if ($convert_options['convert_error'] || (!$convert_options['convert_error'] && !resize_image($userpic_file85$config['userpic_width'], 1))) 
Replace it with:
          if ($convert_options['convert_error'] || (!$convert_options['convert_error'] && !resize_image($userpic_file85$config['userpic_width'], 1$config['userpic_height']))) 


[EDIT]
I think I misunderstood your request...maybe this will suit you better (assuming you've added the code for thumbnails you've mentioned)
replace the line above (in member.php) with this:
          $image_info = @getimagesize($userpic_file);
          if (
$image_info)
            
$wh get_width_height($config['userpic_width'], $image_info[0], $image_info[1], 1);
          if (
$convert_options['convert_error'] || !$wh || (!$convert_options['convert_error'] && !resize_image_gd_thumb($userpic_file$userpic_file85$wh['width'], $wh['height'], $image_info)))

117
Programming / Re: Private Nachrichten / private messages
« on: October 16, 2011, 10:18:57 PM »
That looks ok to me, there is some room for optimization, but it will work just fine.

118
Gibts denn schon eine neue Version 1.12?
no, not really, just a typo ;) nothing was added on the demo site.

Das Archiv ist beschädigt
Clear your browser's cache and try re-download. File is fine when I download it with FF7, IE9, Chrome16

119
Programming / Re: Private Nachrichten / private messages
« on: October 16, 2011, 05:36:22 PM »
I'm lost, it doesn't work or what?
do you get the correct number in $wbb_row['pmOutstandingNotifications'] ?

120
* V@no have no clue what you are trying to do and what is the question...

Pages: 1 ... 4 5 6 7 [8] 9 10 11 12 ... 741