SonyEricsson-World

Members
  • Content count

    28
  • Joined

  • Last visited


1 Follower



About SonyEricsson-World

  • Rank
    core_member_rank_44

Contact Methods

Profile Information

  • Gender Male

SonyEricsson-World's Activity

  1. SonyEricsson-World added a post in a topic: Latest images on forum's main page - how to reduce?   

    Ok found it. In IPB Gallery 5.0 you must go on your ftp to admin => applications_addon =>ips=>gallery=>sources=>classes and edit hooks.php file.

    Edit:



    //----------------------------------------- // Fetch the most recent 20 images //----------------------------------------- if ( $this->memberData['g_gallery_use'] && IPSLib::appIsInstalled('gallery') ) { $recents = $this->registry->gallery->helper('image')->fetchImages( $this->memberData['member_id'], array( 'limit' => 20, 'sortKey' => 'date', 'sortOrder' => 'desc', 'unixCutOff' => GALLERY_A_YEAR_AGO, 'thumbClass' => 'galattach', 'link-thumbClass' => 'galimageview' ) ); }

    "20" value to your own and problem solved :smile:
  2. SonyEricsson-World added a post in a topic: Latest images on forum's main page - how to reduce?   

    Hello,

    How to reduce number of recent images on the forum's main page from 20 to for example 12? On previous IP.Gallery versions it was possible by hook ediotion. On IP.Gallery 5.0 i can't see that setting. Thank you for help,

    Best Regards,

    Sony Ericsson World Team
  3. SonyEricsson-World added a post in a topic: Total Time Spent On Forums   

    Ok, thank you for information. Is it possible to protect your hook against cheaters refreshing page every single minute for whole weeks?
  4. SonyEricsson-World added a post in a topic: Total Time Spent On Forums   

    Hello,

    I have two questions about that hook.

    1. In which sql table do you save user's time online?

    2. Is there any possibility to update that modification and add one new function? Because on my forum there is one user which stays online 24hours/day. I suppose that he is using plugin for Firefox and refreshes page every single minute just to be on the first place of total time spent on forums rank. Always when i check his last activity script shows "Searching...". I know a few similar cases on other forums. So maybe there is a chance to use cookies or save time of visit in database connected with checking of flood value? Any protection against cheaters would be very helpful.

    Thank you for any help,

    Best regards,
    Sony Ericsson World Team

About Me

Status Feed