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 ... 8 9 10 11 [12] 13 14 15 16 ... 741
166
Works fine for me in FF4, IE9, Chrome, Opera. Perhaps either something wrong with your browser (try another one), or ... something wrong with your browser :)

167
Programming / Re: WBB User Postīs in 4images User Profile
« on: April 27, 2011, 05:24:20 AM »
A little lesson about MySQL query.

when you are dealing with multiple tables in the same query, you must either use full table name or you can create short aliases.
In your first code:
//-----------------------------------------------------
//--- Show Profile ------------------------------------
//-----------------------------------------------------

// WBB Datenbank auslesen
  
$sql "SELECT a.userID, a.posts
          FROM "
.USERS_TABLE." u ON (".get_user_table_field("u.""user_id")." = c.user_id)
          LEFT JOIN wbb1_1_user a ON (a.userID = "
.get_user_table_field("u.""user_id").")
          WHERE c.user_id = 
$user_id
          ORDER BY c.user_name ASC"
;
  
$result $site_db->query($sql);

you are using two tables: USERS_TABLE and wbb1_1_user
For USERS_TABLE you chosen an alias "u" and for wbb1_1_user an alias "a", it's all good, but then all of sudden there is an unknown alias "c" comes into play:  c.user_id and c.user_name
But that is not actual error that mysql is complaining but the structure of the whole line is incorrect:
FROM ".USERS_TABLE." u ON (".get_user_table_field("u.", "user_id")." = c.user_id)

Try something like this:
  $sql "SELECT a.userID, a.posts
          FROM "
.USERS_TABLE." u
          LEFT JOIN wbb1_1_user a ON (a.userID = "
.get_user_table_field("u.""user_id").")
          WHERE u.user_id = 
$user_id
          ORDER BY u.user_name ASC"
;
  
$result $site_db->query($sql);

168
Please reply to the topic where you got your modification from, so we know what code exactly you are talking about.

169
Discussion & Troubleshooting / Re: 404 File Not Found
« on: April 13, 2011, 03:13:14 PM »
Have you tried delete the folder and create a new one via FTP?

170
Discussion & Troubleshooting / Re: Error adding category
« on: April 09, 2011, 03:42:39 AM »
And you were saying no modifications were made..;)

I bet if you restore admin/categories.php to it's original code, everything will work just fine.
Double check the modifications you did from that mod and if still have problem, reply to that topic instead.

171
Yes, that is one of the features of this mod. Review step 3 for more info.

172
Are you looking for a hint or a complete code? ;)
A hint: you can see how it's done in admin/templates.php :)

173
Discussion & Troubleshooting / Re: Error adding category
« on: April 06, 2011, 05:43:05 AM »
That error only shows when information about new category was not successfully saved in the database. Theoretically it should also show you some other error with it...

What 4images version? did you modify admin/categories.php ?

175
Are you trying cripple functionality of your gallery? these "mode=" endings are not for decoration, you know...;)

176
Discussion & Troubleshooting / Re: How do I change the folder name??
« on: March 26, 2011, 04:37:16 PM »
Rename your folders and update includes/constants.php

define('MEDIA_TEMP_DIR''data/tmp_media');
define('THUMB_TEMP_DIR''data/tmp_thumbnails');

177
Mods & Plugins (Requests & Discussions) / Re: add paging to index
« on: March 25, 2011, 03:05:01 AM »
what error?

178
You too welcome to 4images forum :)

The link to the mod Apniwish provided should all you need.

179
Chit Chat / Re: Anti-Spam page like 4images forum.
« on: March 20, 2011, 12:49:24 AM »
On your site for SMF or 4images? using MOD httpBL

180
Discussion & Troubleshooting / Re: Right way to backup??
« on: March 16, 2011, 01:52:11 PM »
I bet you could google some FTP synchronization software..

Pages: 1 ... 8 9 10 11 [12] 13 14 15 16 ... 741