Pereiti prie turinio

RealList`

Nariai
  • Pranešimai

    43
  • Užsiregistravo

  • Lankėsi

  • Atsiliepimai

    0%

RealList` Pranešimai

  1. RealStudio - Visos dizaino paslaugos.

     

    Paslaugos:

    WEB dizainai: įvairaus stilio dizainai pagal jūsų norus.

    Baneriai ir reklaminiai klipai.

    Logo, headerių, ekranvaizdžių, įvariu grafinių paveiksliukų gamyba.

    Html ir CSS ruošimas, WEB dizainų karpymas, php programavimas.

     

    Tinklapis: RealStudio - Visos dizaino paslaugos.

     

    Mes jauni ir mažai patyrę, bet nieko nenusileidžiantis.

    Mes nesam kolektyvas ar bendradarbiai, mes - draugai.

  2. Bandau įdiegti shoutbox'ą ir man jis atrodo štai taip:

    http://img84.imageshack.us/img84/1111/screenhunter005jg1.jpg

     

    Visiškai nepriderintas prie forumo stilio, ir fontas standartinis :)

     

    Ir dar kai diegiu index_body.tpl yra parodyta taip:

    # 
    #-----[ FIND ]------------------------------------------------ 
    #
    <td align="right"><span class="gensmall">{S_TIMEZONE}</span></td>
    </tr>
    </table>
    
    # 
    #-----[ AFTER, ADD ]------------------------------------------ 
    #
    
    <!-- Start add - Fully integrated shoutbox MOD -->
    <table width="100%" cellspacing="0" border="0" align="center" cellpadding="2" class="forumline"> 
      <tr> 
    	 <td align="center" nowrap="nowrap" class="catHead"><span class="cattitle"><a href="{U_SHOUTBOX_MAX}">{L_SHOUTBOX}</a></span></td> 
      </tr> 
      <tr>
    	 <td> 
    	  <iframe src="{U_SHOUTBOX}" scrolling="NO" width="100%" height="180" frameborder="0" marginheight="0" marginwidth="0" allowtransparency="true"></iframe> 
    	 </td> 
     </tr> 
    </table>
    <br/>
    <!-- End add - Fully integrated shoutbox MOD -->

    Ir man ten net nėra nieko panašaus :D

  3. Noriu paklausti, jei pas mane toks 24h apsilankiusiu žmonių modas.

    ##############################################################
    ## MOD Title: Show online today
    ## MOD Author: rhs98 < [email protected] > (Russell Smith) http://russ.isitaboat.co.uk/
    ## MOD Description: Shows which users have been online today.
    ## MOD Version: 1.1.3
    ##
    ## Installation Level: easy
    ## Installation Time: 5 Minutes
    ## Files To Edit:
    ##	  index.php
    ##			  templates/subSilver/index_body.tpl
    ##	  language/lang_english/lang_main.php
    ##	  templates/subSilver/overall_footer.tpl
    ## Included Files: n/a
    ##############################################################
    ## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
    ## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
    ## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
    ## in our MOD-Database, located at: http://www.phpbb.com/mods/
    ##############################################################
    ## Author Notes:This does work fine with easy mod. Enjoy!
    ##
    ##	  Please contact me on the forum @
    ##	  http://www.isitaboat.co.uk/forum/ (example there also)
    ##############################################################
    ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
    ##############################################################
    
    
    #
    #-----[ OPEN ]------------------------------------------
    #
    index.php
    
    #
    #-----[ FIND ]------------------------------------------
    #
    
    else
    {
      message_die(GENERAL_MESSAGE, $lang['No_forums']);
    }
    
    #
    #-----[ AFTER, ADD ]------------------------------------------
    #
    
    //
    // Begin USERS ONLINE TODAY
    // http://russ.isitaboat.co.uk/
    //
    $uot_this_timestamp_array = getdate();
    $uot_when_from = mktime ( 0 , 0 , 0 , $uot_this_timestamp_array[mon] , $uot_this_timestamp_array[mday] , $uot_this_timestamp_array[year] );
    
    
    
    $sql =  "SELECT count(*) cnt
      FROM ".USERS_TABLE." u
      WHERE u.user_session_time >= ". $uot_when_from . "
      ORDER BY u.username ASC";
    if ( !($uot_result = $db->sql_query($sql)) )
    {
      message_die(GENERAL_ERROR, 'Could not obtain regd user/online information', '', __LINE__, __FILE__, $sql);
    }
    
    $row = $db->sql_fetchrow($uot_result);
    $uot_count = $row['cnt'];
    
    
    
    $sql =  "SELECT u.user_id, u.username, u.user_allow_viewonline, u.user_level, user_session_time
      FROM ".USERS_TABLE." u
      WHERE u.user_session_time >= ". $uot_when_from . "
      ORDER BY u.username ASC";
    if ( !($uot_result = $db->sql_query($sql)) )
    {
      message_die(GENERAL_ERROR, 'Could not obtain regd user/online information', '', __LINE__, __FILE__, $sql);
    }
    
    
    
    
    $users_online_today=array();
    
    $uot_hidden_count = 0;
    
    while ( $row = $db->sql_fetchrow($uot_result) )
    {
      //counter stuff
      $$which_counter++;
      $row_color = ( $$which_counter % 2 ) ? $theme['td_color1'] : $theme['td_color2'];
      $row_class = ( $$which_counter % 2 ) ? $theme['td_class1'] : $theme['td_class2'];
    
      //generate the user name (robbed from the code above)
      $uot_user_id = $row['user_id'];
    
      //reset the style...
      $uot_style = '';
    
      if ( $uot_user_id != $prev_user )
      {
      $uot_username_plain = $uot_username = $row['username'];
    
      if ( $row['user_level'] == ADMIN )
      {
    	 $uot_style = 'style="color:#' . $theme['fontcolor3'] . ';"';
    	 $uot_username = '<b>' . $uot_username . '</b>';
      }
      else if ( $row['user_level'] == MOD )
      {
    	 $uot_style = 'style="color:#' . $theme['fontcolor2'] . ';"';
    	 $uot_username = '<b>' . $uot_username . '</b>';
      }
    
      if ( !$row['user_allow_viewonline'] )
      {
    	 $uot_hidden_count++;
    	 $view_online = ( $userdata['user_level'] == ADMIN ) ? true : false;
    	 $uot_username = $lang['UOT_hidden_start'] . $uot_username . $lang['UOT_hidden_end'];
      }
      else
      {
    	 $view_online = true;
      }
    
      }
    
      //annon does not have a profile...
      if($row['user_id']>0){
      $uot_username = sprintf('<a href="profile.php?mode=viewprofile&u=%d" title="%s was last here at: %s" %s>%s</a>',$uot_user_id,$uot_username_plain,create_date('g:ia', $row['user_session_time'], $board_config['board_timezone']),$uot_style,$uot_username);
      }
    
      //this will show just the user's name, with the time in the tool tip.
      if($view_online)
      {
      array_push($users_online_today,$uot_username);
      }
    
    }
    
    if(count($users_online_today)==0){
      array_push($users_online_today,$lang['UOT_none']);
    }
    
    if( $userdata['user_level'] == ADMIN && $uot_hidden_count>0){
      array_push($users_online_today,sprintf($lang['UOT_hidden'], $uot_hidden_count));
    }
    
    
    $template->assign_vars(array(
      'UOT_TITLE' => $lang['UOT_title'],
      'UOT_COUNT' => $uot_count,
      'UOT_LIST' => implode(", ",$users_online_today)
      )
    );
    //end of UOT
    
    
    #
    #-----[ OPEN ]------------------------------------------
    #
    templates/subSilver/index_body.tpl
    #
    #-----[ FIND ]------------------------------------------
    #
     <tr>
      <td class="row1" align="center" valign="middle" rowspan="2"><img src="templates/subSilver/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
    #
    #-----[ REPLACE WITH ]------------------------------------------
    #
     <tr>
      <td class="row1" align="center" valign="middle" rowspan="3"><img src="templates/subSilver/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
    
    #
    #-----[ FIND ]------------------------------------------
    #
      <td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE}   [ {L_WHOSONLINE_ADMIN} ]   [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}</span></td>
     </tr>
    #
    #-----[ AFTER, ADD ]------------------------------------------
    #
    
     <tr>
      <td class="row1" align="left"><span class="gensmall"><b>{UOT_COUNT}</b> {UOT_TITLE}: {UOT_LIST} </span></td>
     </tr>
    
    
    
    
    #-----[ OPEN ]------------------------------------------
    #
    language/lang_english/lang_main.php
    #
    #-----[ FIND ]------------------------------------------
    #
    ?>
    #
    #-----[ BEFORE, ADD ]------------------------------------------
    #
    
    $lang['UOT_title'] = 'Users online today';
    $lang['UOT_none'] = 'None';
    $lang['UOT_hidden_start'] = '';
    $lang['UOT_hidden_end'] = ' (hidden)';
    $lang['UOT_hidden'] = ' (%d hidden)';
    
    #
    #-----[ OPEN ]------------------------------------------
    #
    templates/subSilver/overall_footer.tpl
    #
    #-----[ FIND ]------------------------------------------
    #
    Powered by <a href="http://www.phpbb.com/" target="_phpbb" class="copyright">phpBB</a> {PHPBB_VERSION} © 2001, 2002 phpBB Group<br />{TRANSLATION_INFO}</span></div>
    #
    #-----[ REPLACE WITH ]------------------------------------------
    #
    Powered by <a href="http://www.phpbb.com/" target="_phpbb" class="copyright">phpBB</a> {PHPBB_VERSION} © 2001, 2002 phpBB Group<br />{TRANSLATION_INFO}<br /><a href="http://russ.isitaboat.co.uk/archive?cat=24"><img src="http://files.isitaboat.co.uk/russ/uot/status/3.gif" border="0" alt="UOT" /></a></span></div>
    
    #
    #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
    #
    # EoM

    Kaip reikia padaryti, ką pakeisti, kad nick'ų spalvos būtų pagal Color Groups nustatymus?

  4. Patarkite, kurį MP3 Playerį pasirinkti.

     

    1. iPod Shuffle

    Atminties talpa: 512 MB

    Maitinimo tipas: Li-Ion akumuliatorius

    Spalva: Sidabrinė

    Svoris (kg): 0,22

    http://www.bms.lt/?preke=16029

     

    2. Creative Muvo

    Atminties talpa: 512 MB

    Skystųjų kristalų ekranas: yra

    FM imtuvas: nėra

    Diktofonas: yra

    Spalva: Juoda

    Svoris (kg): 0,043

    http://www.bms.lt/?preke=20960

     

    3. Creative Zen Nano Plus

    Atminties talpa: 512 MB

    Skystųjų kristalų ekranas: yra

    FM imtuvas: yra

    Diktofonas: yra

    Maitinimo tipas: AAA akumuliatoriai

    Spalva: Balta

    Svoris (kg): 0,030

    http://www.bms.lt/?preke=23807

     

    Ir dar klausimas, kaip dėl tų akumuliatorių, ten kur dedasi ne baterijos, o pvz Li-Ion baterija. Ar jos patvarios?

  5. Čia apie iPod Shuffle tema, o ne apie kitą "grabą". O man kaip tik atrodo, kad jie yra labai geri, nebrokuoti, ir jų skambėjimo kokybė labai puiki.

  6. Jei pas mane toks 24h apsilankiusiu žmonių modas

    ##############################################################
    ## MOD Title: Show online today
    ## MOD Author: rhs98 < [email protected] > (Russell Smith) http://russ.isitaboat.co.uk/
    ## MOD Description: Shows which users have been online today.
    ## MOD Version: 1.1.3
    ##
    ## Installation Level: easy
    ## Installation Time: 5 Minutes
    ## Files To Edit:
    ##	  index.php
    ##			  templates/subSilver/index_body.tpl
    ##	  language/lang_english/lang_main.php
    ##	  templates/subSilver/overall_footer.tpl
    ## Included Files: n/a
    ##############################################################
    ## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
    ## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
    ## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
    ## in our MOD-Database, located at: http://www.phpbb.com/mods/
    ##############################################################
    ## Author Notes:This does work fine with easy mod. Enjoy!
    ##
    ##	  Please contact me on the forum @
    ##	  http://www.isitaboat.co.uk/forum/ (example there also)
    ##############################################################
    ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
    ##############################################################
    
    
    #
    #-----[ OPEN ]------------------------------------------
    #
    index.php
    
    #
    #-----[ FIND ]------------------------------------------
    #
    
    else
    {
      message_die(GENERAL_MESSAGE, $lang['No_forums']);
    }
    
    #
    #-----[ AFTER, ADD ]------------------------------------------
    #
    
    //
    // Begin USERS ONLINE TODAY
    // http://russ.isitaboat.co.uk/
    // 
    $uot_this_timestamp_array = getdate();
    $uot_when_from = mktime ( 0 , 0 , 0 , $uot_this_timestamp_array[mon] , $uot_this_timestamp_array[mday] , $uot_this_timestamp_array[year] );
    
    
    
    $sql =  "SELECT count(*) cnt
      FROM ".USERS_TABLE." u
      WHERE u.user_session_time >= ". $uot_when_from . "
      ORDER BY u.username ASC";
    if ( !($uot_result = $db->sql_query($sql)) )
    {
      message_die(GENERAL_ERROR, 'Could not obtain regd user/online information', '', __LINE__, __FILE__, $sql);
    }
    
    $row = $db->sql_fetchrow($uot_result);
    $uot_count = $row['cnt'];
    
    
    
    $sql =  "SELECT u.user_id, u.username, u.user_allow_viewonline, u.user_level, user_session_time
      FROM ".USERS_TABLE." u
      WHERE u.user_session_time >= ". $uot_when_from . "
      ORDER BY u.username ASC";
    if ( !($uot_result = $db->sql_query($sql)) )
    {
      message_die(GENERAL_ERROR, 'Could not obtain regd user/online information', '', __LINE__, __FILE__, $sql);
    }
    
    
    
    
    $users_online_today=array();
    
    $uot_hidden_count = 0;
    
    while ( $row = $db->sql_fetchrow($uot_result) )
    {
      //counter stuff
      $$which_counter++;
      $row_color = ( $$which_counter % 2 ) ? $theme['td_color1'] : $theme['td_color2'];
      $row_class = ( $$which_counter % 2 ) ? $theme['td_class1'] : $theme['td_class2'];
    
      //generate the user name (robbed from the code above)
      $uot_user_id = $row['user_id'];
    
      //reset the style...
      $uot_style = '';
    
      if ( $uot_user_id != $prev_user )
      {
      $uot_username_plain = $uot_username = $row['username'];
    
      if ( $row['user_level'] == ADMIN )
      {
    	 $uot_style = 'style="color:#' . $theme['fontcolor3'] . ';"';
    	 $uot_username = '<b>' . $uot_username . '</b>';
      }
      else if ( $row['user_level'] == MOD )
      {
    	 $uot_style = 'style="color:#' . $theme['fontcolor2'] . ';"';
    	 $uot_username = '<b>' . $uot_username . '</b>';
      }
    
      if ( !$row['user_allow_viewonline'] )
      {
    	 $uot_hidden_count++;
    	 $view_online = ( $userdata['user_level'] == ADMIN ) ? true : false;
    	 $uot_username = $lang['UOT_hidden_start'] . $uot_username . $lang['UOT_hidden_end'];
      }
      else
      {
    	 $view_online = true;
      }
    
      }
    
      //annon does not have a profile...
      if($row['user_id']>0){
      $uot_username = sprintf('<a href="profile.php?mode=viewprofile&u=%d" title="%s was last here at: %s" %s>%s</a>',$uot_user_id,$uot_username_plain,create_date('g:ia', $row['user_session_time'], $board_config['board_timezone']),$uot_style,$uot_username);
      }
    
      //this will show just the user's name, with the time in the tool tip.
      if($view_online)
      {
      array_push($users_online_today,$uot_username);
      }
    
    }
    
    if(count($users_online_today)==0){
      array_push($users_online_today,$lang['UOT_none']);
    }
    
    if( $userdata['user_level'] == ADMIN && $uot_hidden_count>0){
      array_push($users_online_today,sprintf($lang['UOT_hidden'], $uot_hidden_count));
    }
    
    
    $template->assign_vars(array(
      'UOT_TITLE' => $lang['UOT_title'],
      'UOT_COUNT' => $uot_count,
      'UOT_LIST' => implode(", ",$users_online_today)
      )
    );
    //end of UOT
    
    
    #
    #-----[ OPEN ]------------------------------------------
    #
    templates/subSilver/index_body.tpl
    #
    #-----[ FIND ]------------------------------------------
    #
     <tr>
      <td class="row1" align="center" valign="middle" rowspan="2"><img src="templates/subSilver/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
    #
    #-----[ REPLACE WITH ]------------------------------------------
    #
     <tr>
      <td class="row1" align="center" valign="middle" rowspan="3"><img src="templates/subSilver/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
    
    #
    #-----[ FIND ]------------------------------------------
    #
      <td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE}   [ {L_WHOSONLINE_ADMIN} ]   [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}</span></td>
     </tr>
    #
    #-----[ AFTER, ADD ]------------------------------------------
    #
    
     <tr>
      <td class="row1" align="left"><span class="gensmall"><b>{UOT_COUNT}</b> {UOT_TITLE}: {UOT_LIST} </span></td>
     </tr>
    
    
    
    
    #-----[ OPEN ]------------------------------------------
    #
    language/lang_english/lang_main.php
    #
    #-----[ FIND ]------------------------------------------
    #
    ?>
    #
    #-----[ BEFORE, ADD ]------------------------------------------
    #
    
    $lang['UOT_title'] = 'Users online today';
    $lang['UOT_none'] = 'None';
    $lang['UOT_hidden_start'] = '';
    $lang['UOT_hidden_end'] = ' (hidden)';
    $lang['UOT_hidden'] = ' (%d hidden)';
    
    #
    #-----[ OPEN ]------------------------------------------
    #
    templates/subSilver/overall_footer.tpl
    #
    #-----[ FIND ]------------------------------------------
    #
    Powered by <a href="http://www.phpbb.com/" target="_phpbb" class="copyright">phpBB</a> {PHPBB_VERSION} © 2001, 2002 phpBB Group<br />{TRANSLATION_INFO}</span></div>
    #
    #-----[ REPLACE WITH ]------------------------------------------
    #
    Powered by <a href="http://www.phpbb.com/" target="_phpbb" class="copyright">phpBB</a> {PHPBB_VERSION} © 2001, 2002 phpBB Group<br />{TRANSLATION_INFO}<br /><a href="http://russ.isitaboat.co.uk/archive?cat=24"><img src="http://files.isitaboat.co.uk/russ/uot/status/3.gif" border="0" alt="UOT" /></a></span></div>
    
    #
    #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
    #
    # EoM 

    Kaip reikia padaryti, ką pakeisti, kad nick'ų spalvos būtų pagal Color Groups nustatymus?

    Sistema: phpBB

  7. Patarkite, kaip apsisaugoti nuo botų? Nes jie floodina labai forumą. Aš dabar padraiu, kad užsiregistruotu tik su e-mail patvirtinimu, bet vistiek vienas kitas įeina... O kiti nors ir neįeina palieka vartotojai "embroider84" ir pan... :)

×
×
  • Pasirinkite naujai kuriamo turinio tipą...