Replaced code again, funny enough I get the very first error again now:
Quote:
Script:
Query: SELECT value FROM smf_settings WHERE variable='custom_avatar_url'
Result: Table 'kupuvaln_p.smf_settings' doesn't exist
Database handle: Resource id #5
|
Could it be because of this line in your lastly suggested code:
Quote:
|
list( $avatarurl ) = ppmysql_query_onerow("SELECT value FROM {$Globals['dprefix']}settings WHERE variable='custom_avatar_url'", $db_link);
|
It's the same like your first time suggestion that didn't work back then?
Just to ask again:
BTW, which php/tmpl to edit - I need less photos for ads, lets say 6, not 9 - as it's default now. I couldn't find reading the forums...