Tutorial Subforum Display Options • Tutoriale PHPBB3 • Forum CS Gothic - Tutoriale Counter Strike - Server CS
It is currently 24 May 2012, 10:20












Mobile Payments by Fortumo



 Page 1 of 8 [ 52 mesaje ]  Go to page 1, 2, 3, 4, 5 ... 8  Next
Your Ad Here
Author Message
 Post subject: Tutorial Subforum Display Options
PostPosted: 03 May 2011, 15:09 
Moderator Global
User avatar

Joined: 10 Jul 2010, 11:51
Posts: 2567
Location: Unde vreau
Multumiri date: 63
Multumiri primite: 319
Nume Steam: Faster @www.cs-gothic.ro
Arma Preferata: M4A1 + Ak47
Harta Preferata: gg_toycarpark_cs16_b
Puncte Reputatie: 20938
Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Your Ad Here
Pentru cei care vor sa aibe categoriile pe forum cum avem noi pe http://www.cs-gothic.ro si adica:

Image

NU aveti de facut decat sa urmariti tutorialul urmator:

Intro ducem in Sql
INSERT INTO phpbb_config (config_name, config_value) VALUES ('subforum_display', '0');


Deschidem
includes/constants.php

Cautam linia:
// Additional constants
Dupa linia de mai sus adaugati
// Subforum display options
define('SUBFORUM_DISPLAY_DEFAULT', 0);
define('SUBFORUM_DISPLAY_CLOUMN', 1);
define('SUBFORUM_DISPLAY_NEWROW', 2);


Deschidem
includes/functions_display.php

Cautam linia :
'S_SUBFORUMS'      => (sizeof($subforums_list)) ? true : false,


Dupa linia de mai sus adaugati
'S_SUBFORUM_DISPLAY'   => $config['subforum_display'],


Deschidem
includes/acp/acp_board.php

Cautam linia:
'override_user_style'   => array('lang' => 'OVERRIDE_STYLE',      'validate' => 'bool',   'type' => 'radio:yes_no', 'explain' => true),


Adaugam dupa ea :
'subforum_display'      => array('lang' => 'SUBFORUM_DISPLAY',      'validate' => 'int',   'type' => 'custom', 'method' => 'subforum_display_options', 'explain' => true),


Cautam:
<input type=\"text\" name=\"config[$key]\" id=\"$key\" value=\"$value\" maxlength=\"30\" />";
   }


Adaugam dupa ea:
/**
   * Subforum Display Options
   */
   function subforum_display_options($value, $key = '')
   {
      $radio_ary = array(SUBFORUM_DISPLAY_DEFAULT => 'DEFAULT', SUBFORUM_DISPLAY_CLOUMN => 'COLUMN', SUBFORUM_DISPLAY_NEWROW => 'NEWROW');

      return h_radio('config[subforum_display]', $radio_ary, $value, $key);
   }


Deschidem language/en/acp/board.php
Cautam
'WARNINGS_EXPIRE_EXPLAIN'      => 'Number of days that will elapse before the warning will automatically expire from a user’s record.',


Adaugam dupa :
// Subforum Display Options
   'SUBFORUM_DISPLAY'            => 'Display of subforums',
   'SUBFORUM_DISPLAY_EXPLAIN'      => 'Allows you to set up how subforums are displayed if there is more then one subforum for a forum<br />After changing this settings you may need to purge the cache.',
   'DEFAULT'                  => 'Default',
   'COLUMN'                  => '2 columns side by side',
   'NEWROW'                  => 'Each in new row',


Deschidem
language/de/acp/board.php

Cautam linia :
'WARNINGS_EXPIRE_EXPLAIN'      => 'Die Anzahl der Tage, nach denen eine Verwarnung automatisch aus dem Benutzer-Profil gelöscht wird.',


Dupa linia de mai sus adaugam
/ Subforum Display Options
   'SUBFORUM_DISPLAY'            => 'Darstellung der Subforen',
   'SUBFORUM_DISPLAY_EXPLAIN'      => 'Ermöglicht die Darstellung der Subforen einzustellen, wenn für ein Forum mehrere Subforen vorhanden sind<br />Nach dem änden dieser Einstellung sollte der Cache gelöscht werden.',
   'DEFAULT'                  => 'Standard',
   'COLUMN'                  => 'In 2 Spalten nebeneinander',
   'NEWROW'                  => 'Untereinander',


Deschidem :
styles/prosilver/template/forumlist_body.html

Cautam linia
<!-- IF forumrow.SUBFORUMS and forumrow.S_LIST_SUBFORUMS --><br /><strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}<!-- ENDIF -->


Repunem
<!-- IF forumrow.SUBFORUMS and forumrow.S_LIST_SUBFORUMS --><br /><strong>{forumrow.L_SUBFORUM_STR}</strong>
                  <!-- IF forumrow.S_SUBFORUM_DISPLAY === '1' -->
                     <!-- BEGIN subforum -->
                        <div class="<!-- IF forumrow.subforum.S_ROW_COUNT is odd -->column2<!-- ELSE -->column1<!-- ENDIF -->"><a href="{forumrow.subforum.U_SUBFORUM}" class="subforum <!-- IF forumrow.subforum.S_UNREAD is odd -->unread<!-- ELSE -->read<!-- ENDIF -->">{forumrow.subforum.SUBFORUM_NAME}</a></div>
                     <!-- END subforum -->
                  <!-- ELSEIF forumrow.S_SUBFORUM_DISPLAY === '2' --><br />
                     <!-- BEGIN subforum -->
                        <a href="{forumrow.subforum.U_SUBFORUM}" class="subforum <!-- IF forumrow.subforum.S_UNREAD is odd -->unread<!-- ELSE -->read<!-- ENDIF -->">{forumrow.subforum.SUBFORUM_NAME}</a><br />
                     <!-- END subforum -->
                  <!-- ELSE -->
                     {forumrow.SUBFORUMS}<!-- If it's neither 1 nor 2, let's go with default -->
                  <!-- ENDIF -->
               <!-- ENDIF -->


Cam atat sper ca ati inteles tutorialul @};-







Jocuri Online Image Raspuns.Net Image English Tutorials Image Forum Animale de Companie Image Portal Counter-Strike

Compilator AMXX Image Hosting Servere Image Test CS Image Download CS Gothic Image Parodie CS-Gothic

Director Web Image TopSites Image Evidenta Redirecte Image Yahoo! Scanner Image Frags Image Photoshop

Download Toolbar Gothic Image Creatii Gothic CS Image Reguli Forum Image Suport CS - Servere
Socializeaza cu Gothic CS Community : [respect-023.gif]
ImageImageImageImageImageImageImageImageYahoo! Mess

Pentru acest mesaj, autorul Faster-Guy a primit multumiri de la: d3v1l
Rating:2.6%
 
Offline
 Profile  
 
 Post subject: Re: Tutorial Subforum Display Options
PostPosted: 07 May 2011, 18:29 
Membru Incepator
User avatar

Joined: 12 Dec 2010, 12:23
Posts: 102
Multumiri date: 4
Multumiri primite: 4
Puncte Reputatie: 0
Your Ad Here
Intro ducem in Sql
Mai excat unde?


Offline
 Profile  
 
 Post subject: Re: Tutorial Subforum Display Options
PostPosted: 07 May 2011, 19:28 
Administrator
User avatar

Joined: 27 Jun 2010, 12:44
Posts: 12693
Location: www.cs-gothic.ro
Multumiri date: 1483
Multumiri primite: 1366
Arma Preferata: M4A1
Harta Preferata: de_tuscan
Puncte Reputatie: 35971
Your Ad Here
In baza de date a forumului.







Reteaua Gothic:
Jocuri Online Image Raspuns.Net Image English Tutorials Image Forum Animale de Companie Image Portal CS

Hosting Servere Image Test CS Image Download CS Gothic 2012 Image Parodie CS-GothicImageEvidenta Redirecte

PhotoshopImageDownload Toolbar Gothic Image Creatii Gothic CS Image Reguli Forum Image Suport CS - Servere
Socializeaza cu Gothic CS Community : [respect-023.gif]
ImageImageImageImageImageImageImageImageYahoo! Mess
Contact: id mess: csgothicro - NU dati add pentru a cere ajutor, acesta se ofera
doar la topicurile de suport de pe forum - nu pe mess, nu prin mesaje private !
Offline
 Profile  
 
 Post subject: Re: Tutorial Subforum Display Options
PostPosted: 29 May 2011, 23:13 
Membru Nou
User avatar

Joined: 22 May 2011, 16:59
Posts: 11
Multumiri date: 0
Multumiri primite: 0
Puncte Reputatie: 0
Your Ad Here
buna treaba...

eu am reusit ;)







Image
Offline
 Profile  
 
 Post subject: Re: Tutorial Subforum Display Options
PostPosted: 30 May 2011, 07:09 
Membru Fidel
User avatar

Joined: 18 May 2011, 15:25
Posts: 637
Multumiri date: 8
Multumiri primite: 38
Puncte Reputatie: 1682
Your Ad Here
Pune un print sa vedem.







Image
Dati-ne un vot va rog - click !
Follow Gothic CS Community:
ImageImageImageImageImageImageImageImageYahoo! Mess
Subdomeniile Gothic CS Community:
Director WEB si TOP 99 Siteuri - Inscrie-ti site-ul / forumul / blogul !
Vrei Redirecte Contorizate + Evidenta Online ? C L I C K !
Cauti raspunsuri la intrebarile tale? Intreaba AICI! - Click!
Topsites | Director Web | Evidenta Redirecte | Concurs premii STEAM
Portal CS | Upload Imagini | Photoshop | Invisible Detector | Video Gothic
Download Counter-Strike 2010 Gothic Edition v6.0
Download Toolbar Gothic CS Community v4.0
Creatiile Comunitatii Gothic CS | Joaca acum 700 joculete online!

Yahoo! MessYahoo! Messenger
Offline
 Profile  
 
 Post subject: Re: Tutorial Subforum Display Options
PostPosted: 09 Jun 2011, 17:03 
Membru Nou
User avatar

Joined: 29 Apr 2011, 17:49
Posts: 11
Location: Suceava
Multumiri date: 5
Multumiri primite: 0
Nume Steam: macelarul12
Arma Preferata: m4a1
Harta Preferata: de_dust2x2
Cunostinte_CS: Bune
Detinator Server: DA
Detinator Steam: DA
Sex: Masculin
Puncte Reputatie: 22
Your Ad Here
Nu gasesc sql unde mai exact e am cautat peste tot in ftp :(


Offline
 Profile  
 
 Post subject: Re: Tutorial Subforum Display Options
PostPosted: 09 Jun 2011, 17:30 
Moderator Global
User avatar

Joined: 10 Jul 2010, 11:51
Posts: 2567
Location: Unde vreau
Multumiri date: 63
Multumiri primite: 319
Nume Steam: Faster @www.cs-gothic.ro
Arma Preferata: M4A1 + Ak47
Harta Preferata: gg_toycarpark_cs16_b
Puncte Reputatie: 20938
Your Ad Here
macelarul wrote:
Nu gasesc sql unde mai exact e am cautat peste tot in ftp :(

Ia uitete 3 mesae mai sus vezi gasesti?mai exact raspunsul lui d3v1l







Jocuri Online Image Raspuns.Net Image English Tutorials Image Forum Animale de Companie Image Portal Counter-Strike

Compilator AMXX Image Hosting Servere Image Test CS Image Download CS Gothic Image Parodie CS-Gothic

Director Web Image TopSites Image Evidenta Redirecte Image Yahoo! Scanner Image Frags Image Photoshop

Download Toolbar Gothic Image Creatii Gothic CS Image Reguli Forum Image Suport CS - Servere
Socializeaza cu Gothic CS Community : [respect-023.gif]
ImageImageImageImageImageImageImageImageYahoo! Mess
Offline
 Profile  
 
Re: Tutorial Subforum Display Options Top
 
Display posts from previous:  Sort by  
 Page 1 of 8 [ 52 mesaje ]  Go to page 1, 2, 3, 4, 5 ... 8  Next


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: