Pagina 1 din 1

Cum Pot Sa Adaug Un Top 10 Membri in SideBar

Scris: 10-Feb-2012, 20:47:57
de GalikShine
Cum Pot Sa Adaug Un Top 10 Membri in SideBar ? uitati forumul http://www.dragonball.hi2.ro/forum as vrea sa fie deasupra chatului ca un fel de top five da doar topul si sa fie in side bar sami spuneti daca se poate va rog mult!

Re: Cum Pot Sa Adaug Un Top 10 Membri in SideBar

Scris: 10-Feb-2012, 21:27:22
de x6IT32
Deschizi styles/YourStyle/template/overall_header.html si adaugi la sfarsit:

Cod: Selectaţi tot

<table width="100%" cellspacing="0">
   <tr>
    <td style="padding:0;" align="left" valign="top">
Apoi deschizi styles/YourStyle/template/overall_footer.html si cauti linia:

Cod: Selectaţi tot

<!-- IF not S_IS_BOT --> {RUN_CRON_TASK} <!-- ENDIF -->
Adaugi dupa:

Cod: Selectaţi tot

</td>
  <td style="width:180px;padding:0 0 0 10px;" align="right" valign="top">
  <!-- INCLUDE sidebar.html -->
   </td>
  </tr>
</table>
Creeaza un fisier sidebar.html care sa contina:

Cod: Selectaţi tot

{$CA_BLOCK_START}
   {$CA_CAP2_START}TITLU{$CA_CAP2_END}
Continutul de la TOP 10 membri aici
sidebar.html trebuie uploadat in /styles/YourStyle/template.

Re: Cum Pot Sa Adaug Un Top 10 Membri in SideBar

Scris: 10-Feb-2012, 22:43:25
de GalikShine
NU merge nu inteleg eu vreau sa fie exact ca in top five modu ala da decat primi cinci membri

Re: Cum Pot Sa Adaug Un Top 10 Membri in SideBar

Scris: 10-Feb-2012, 23:01:21
de x6IT32
GalikShine scrie:NU merge nu inteleg eu vreau sa fie exact ca in top five modu ala da decat primi cinci membri
Si nu trebuie sa faci un siderbar unde adaugi modul TOP 5 membri?

Re: Cum Pot Sa Adaug Un Top 10 Membri in SideBar

Scris: 10-Feb-2012, 23:18:41
de GalikShine
Am reusit Multumesc a trebuit sa adaug

Cod: Selectaţi tot

<!-- INCLUDE top_five_body.html -->
		<span style="float: {S_CONTENT_FLOW_END};"><a href="{U_SEARCH_UNREAD}">{L_SEARCH_UNREAD}</a> | <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></span>
		<!-- ENDIF -->
		<span><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a> | <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></span>
	</p>
	<!-- ENDIF -->
	<br clear="all" />
Inca ceva imi poti spune cum sa mut userii in mijloc pentru ca sunt in partea stanga si as vrea in mijloc se poate ?

Re: Cum Pot Sa Adaug Un Top 10 Membri in SideBar

Scris: 10-Feb-2012, 23:32:12
de x6IT32
Folosesti <center> la inceput si </center> la sfarsit.

Cod: Selectaţi tot

<center><!-- INCLUDE top_five_body.html -->
      <span style="float: {S_CONTENT_FLOW_END};"><a href="{U_SEARCH_UNREAD}">{L_SEARCH_UNREAD}</a> | <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></span>
      <!-- ENDIF -->
      <span><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a> | <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></span>
   </p>
   <!-- ENDIF -->
   <br clear="all" /></center>

Re: Cum Pot Sa Adaug Un Top 10 Membri in SideBar

Scris: 11-Feb-2012, 19:51:23
de GalikShine
Avem eroare pe linia 22 asa ca noul cod este

Cod: Selectaţi tot

<!-- INCLUDE top_five_body.html -->
Am adaugat :

Cod: Selectaţi tot

<center><!-- INCLUDE top_five_body.html --><center>
Si e la fel
SCZ DAR SUNT NOOB IN PHPBB3