FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Suggestions » Groups and supergroups
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Groups and supergroups [message #34021 is a reply to message #34016] Sun, 01 October 2006 19:34 Go to previous messageGo to previous message
otherbird is currently offline  otherbird   Israel
Messages: 25
Registered: September 2006
Karma:
Junior Member
Gmah hatimah tovah to you too Smile

D'oh, coming back to this forum means I just realized why the message part wasn't working! That'll teach me to code overnight... maybe...

Quote:


if (!$hide_controls && $GLOBALS['FUD_OPT_3'] & 524288) {
    $geo = db_saq("SELECT cc,country FROM {SQL_TABLE_PREFIX}geoip 
                   WHERE ".sprintf("%u", ip2long($obj->ip_addr))." 
                   BETWEEN ips AND ipe");
    } elseif ($obj->poster_id == 7) {
$geo = array('lb', 'LEBANON');
    } else {
$geo = null;
}



should of course read:

$geo = null;

if (!$hide_controls && $GLOBALS['FUD_OPT_3'] & 524288) {
    $geo = db_saq("SELECT cc,country FROM {SQL_TABLE_PREFIX}geoip 
                   WHERE ".sprintf("%u", ip2long($obj->ip_addr))." 
                   BETWEEN ips AND ipe");
}
if ($obj->poster_id == 7) {
    $geo = array('lb', 'LEBANON');
}

[Updated on: Sun, 01 October 2006 19:36]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: the system for insert image isn't good
Next Topic: Flagging threads with own involvement
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Dec 02 21:23:21 GMT 2024

Total time taken to generate the page: 0.13536 seconds