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 ... 3 4 5 6 [7] 8 9 10 11 ... 741
91
what was the last changes you did in members.php?
Attach it to your reply, it might speed up the answer ;)

92
did you try use {user_foot_dropdown} (without any additional <input>)

93
Does not work with 1.7.10
It works, you just made a mistake on the first line of the code you were supposed to replace.

94
Discussion & Troubleshooting / Re: Fehlermeldung nach Upload
« on: November 08, 2011, 06:11:47 PM »
I see my name poped up...whatever you guys are talking about it wasn't me! I swear! :lol:


@conmark:
please attach your member.php and functions.php files

95
Installation, Update & Configuration / Re: 500 Internal server error
« on: November 07, 2011, 01:42:47 AM »
Most error message have more details in server's error logs, so in order to find what causing this you'll need look into these logs.

P.S.
500 error is most probably caused by incorrect server configuration, it's not 4images fault for sure.

96
how did you upgrade? edited all files manually or copied all files from fresh 1.7.10 package to your site, overwriting old files?

97
The reason of the error is because you are using unexisting version...that would be my guess. There is no v1.8.0

98
You got to specify which code you are using.

100
It looks like you have images_config.php file, if that's the case, you'll need change it there. All settings in that file will override settings in images.php

This was done so settings persist after mod update.

101
No, 4images doesn't support complex conditions, however you can use PHP code inside template. Just keep in mind, that template's code executed inside a function, therefor non-global variables are not accessible there without using global keyword (global $blah;)
Registered template tags can be access via $this->val_cache array

Here is an example you can use your additional field in template:

Code: [Select]
<div>
  your template text/code
</div>
<div>
<?php
if ($this->val_cache['image_camera'] == "Canon")
{
?>

  some information witch will display the information only if image_camera is "Canon".
</div>
<?php
//don't forget closing bracket, otherwise you'll get parse error!
else
{
?>

  this will be showed if the camera is not Canon.
<?php
}
?>

</div>

A long time ago I had this theory that since 4images converts all {if blah} into PHP code anyway it would make sense that if template had all {if blah} already converted into PHP then the template parsing will be faster...for some reason it didn't turn out to be true, at least with fresh 4images v1.7 and default template.

102
Mods & Plugins (Requests & Discussions) / Re: Would this work?
« on: October 29, 2011, 04:54:58 PM »
Did you do integration yourself of followed a mod's instruction? If second, then your best bet is reply to the mod's topic, so the author could answer your question.

103
I'd suggest do it below
  if (!($result $site_db->query($sql)))
    return 
false;
(inside comment_rating_update function)

Something like this:
	
if (
$row['user_id'] != GUEST)
	
{
	
	
$sql "UPDATE " USERS_TABLE "
	
	
	
	
	
	
SET user_karma = user_karma + " 
. ((int)$rating 10 : -10) . "
	
	
	
	
	
	
WHERE " 
get_user_table_field("""user_id") . " = " $row['user_id'];
	
	
$result $site_db->query($sql);
	
}


104
Discussion & Troubleshooting / Re: Old images have disappeared
« on: October 29, 2011, 04:31:32 PM »
I was talking about file permissions that can be checked/changed via FTP

105
There is one issue with your method: when an images deleted the lightbox count for each member who had that image in their lightbox will needs to be updated. And the way 4images handles lightboxes it will be pretty much scanning every single lightbox one by one.

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