Advertisement:

Author Topic: Pomoc  (Read 8634 times)

Offline king13

  • Semi-Newbie
  • *
  • Posts: 95
  • Gender: Male
  • Balkan Extazy :)
    • Los Santos Force
Pomoc
« on: January 04, 2010, 05:24:23 AM »
OPET NEZZ KAKO DA NAPRAVIM TIPKU FORUM

JA NAPRAVIM BUTON FORUM I PORTAL KAD STISNEM NA PORTAL IMA PORTAL KAD STISNEM NA FORUM IMA I FORUM ALI NISAM LOGOVANN MOZELI MI KO RECI ILI URADIT.....NEZZ STA JE TOOOO

Offline Zoric995

  • Full Member
  • ***
  • Posts: 515
  • Gender: Male
  • SRS Seselj do Srbije :)
    • NisForum
Re: Pomoc
« Reply #1 on: January 04, 2010, 08:55:55 PM »
OPET NEZZ KAKO DA NAPRAVIM TIPKU FORUM

JA NAPRAVIM BUTON FORUM I PORTAL KAD STISNEM NA PORTAL IMA PORTAL KAD STISNEM NA FORUM IMA I FORUM ALI NISAM LOGOVANN MOZELI MI KO RECI ILI URADIT.....NEZZ STA JE TOOOO

hahahaha neznam sta oces da kazes ali evo ti moje dugme pa vidi

Code: [Select]
// Show the [Forum] button.
   echo   '<li><a href="http://www.nisforum.byethost32.com/index.php?action=forum" class="kwick opt3"><span>Forum</span></a></li>';

Pa se snadji u index-u

trazi deo koda

Code: [Select]
   // Show the [home] button.
   echo   '<li><a href="', $scripturl, '">' , $txt[103] , '</a></li>';
   
   // Show the [help] button.
   echo   '<li><a href="', $scripturl, '?action=help">' , $txt[119] , '</a></li>';

   // How about the [search] button?
   if ($context['allow_search'])
      echo '<li><a href="', $scripturl, '?action=search">' , $txt[182] , '</a></li>';

   // Is the user allowed to administrate at all? ([admin])
   if ($context['allow_admin'])
      echo   '<li><a href="', $scripturl, '?action=admin">' , $txt[2] , '</a></li>';

   // Edit Profile... [profile]
   if ($context['allow_edit_profile'])
      echo '<li><a href="', $scripturl, '?action=profile">' , $txt[79] , '</a></li>';

   // Go to PM center... [pm]
   if ($context['user']['is_logged'] && $context['allow_pm'])
      echo '<li><a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</a></li>';


   // The [calendar]!
   if ($context['allow_calendar'])
      echo '<li><a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a></li>';

   // the [member] list button
   if ($context['allow_memberlist'])
      echo '<li><a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a></li>';


   // If the user is a guest, show [login] button.
   if ($context['user']['is_guest'])
      echo '<li><a href="', $scripturl, '?action=login">' , $txt[34] , '</a></li>';


   // If the user is a guest, also show [register] button.
   if ($context['user']['is_guest'])
      echo '<li><a href="', $scripturl, '?action=register">' , $txt[97] , '</a></li>';


   // Otherwise, they might want to [logout]...
   if ($context['user']['is_logged'])
      echo '<li><a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">' , $txt[108] , '</a></li>';

   echo '</ul>';

}


pogledaj i pazljivo gledaj provalices kako da ubacis dugme !!!

Evo stavicu ti i uradjeni

Code: [Select]
   // Show the [home] button.
   echo   '<li><a href="', $scripturl, '">' , $txt[103] , '</a></li>';
   
   // Show the [Forum] button.
   echo   '<li><a href="http://www.nisforum.byethost32.com/index.php?action=forum" class="kwick opt3"><span>Forum</span></a></li>';

   // Show the [help] button.
   echo   '<li><a href="', $scripturl, '?action=help">' , $txt[119] , '</a></li>';

   // How about the [search] button?
   if ($context['allow_search'])
      echo '<li><a href="', $scripturl, '?action=search">' , $txt[182] , '</a></li>';

   // Is the user allowed to administrate at all? ([admin])
   if ($context['allow_admin'])
      echo   '<li><a href="', $scripturl, '?action=admin">' , $txt[2] , '</a></li>';

   // Edit Profile... [profile]
   if ($context['allow_edit_profile'])
      echo '<li><a href="', $scripturl, '?action=profile">' , $txt[79] , '</a></li>';

   // Go to PM center... [pm]
   if ($context['user']['is_logged'] && $context['allow_pm'])
      echo '<li><a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</a></li>';


   // The [calendar]!
   if ($context['allow_calendar'])
      echo '<li><a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a></li>';

   // the [member] list button
   if ($context['allow_memberlist'])
      echo '<li><a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a></li>';


   // If the user is a guest, show [login] button.
   if ($context['user']['is_guest'])
      echo '<li><a href="', $scripturl, '?action=login">' , $txt[34] , '</a></li>';


   // If the user is a guest, also show [register] button.
   if ($context['user']['is_guest'])
      echo '<li><a href="', $scripturl, '?action=register">' , $txt[97] , '</a></li>';


   // Otherwise, they might want to [logout]...
   if ($context['user']['is_logged'])
      echo '<li><a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">' , $txt[108] , '</a></li>';

   echo '</ul>';

}

E sada mozes ovo gledati 1 sat ali sigurno mozes nauciti kako da namestis dugme !!!

Ovo sam izvadio deo koda iz mog foruma !!!
http://www.simplemachines.org/community/index.php?topic=357820.0

Kako napraviti dugme na meniju !!!!

Moj je rodjendan sada !!! :D
ShoOnline NEW HOUSE
<center></center>

Offline king13

  • Semi-Newbie
  • *
  • Posts: 95
  • Gender: Male
  • Balkan Extazy :)
    • Los Santos Force
Re: Pomoc
« Reply #2 on: January 05, 2010, 04:38:58 AM »
ma ok je znam ja samo sam se malo bio zeznuo :D :D :D

Offline Zoric995

  • Full Member
  • ***
  • Posts: 515
  • Gender: Male
  • SRS Seselj do Srbije :)
    • NisForum
Re: Pomoc
« Reply #3 on: January 05, 2010, 01:15:42 PM »
ma ok je znam ja samo sam se malo bio zeznuo :D :D :D

Ok np ali evo ti vise da ne otvaras teme !!! Imao si tamo kad je bila tema trazena ja sam ti namestio dugme pa mogao si da procitas kodove!!!
http://www.simplemachines.org/community/index.php?topic=357820.0

Kako napraviti dugme na meniju !!!!

Moj je rodjendan sada !!! :D
ShoOnline NEW HOUSE
<center></center>

Offline Madzgo

  • Sophist Member
  • *****
  • Posts: 1,070
    • Urban Themes
Re: Pomoc
« Reply #4 on: November 07, 2010, 04:29:35 PM »
Dje je ovo u 2.0 RC4? Dark Mark tema..?

Offline Masterd

  • SMF Hero
  • ******
  • Posts: 3,887
  • Gender: Male
  • Sapienti satis.
Re: Pomoc
« Reply #5 on: November 08, 2010, 07:52:06 AM »
U SMF- u 2.0 gumbi se mijenjaju u Surces/Subs.php i takav pristup nije ovisan o temi.
My Mods

Sugested that too. Hey ho. I'd link you to the original discussion but it's not visible to most people (seekrit team board stuff that is more dangerous than wikileaks).


Don't PM me for support! Use the appropriate support board!

Offline LazarBeliNikolic

  • Newbie
  • *
  • Posts: 1
Re: Pomoc
« Reply #6 on: January 22, 2011, 09:17:45 PM »
 E pozz narode  8)

Vidim da ste eksperti sto se foruma tice pa mi treba pomoc. Skoro sam napravio neki forumcic
Code: [Select]
http://lazarbeli.do-forum.com ali ne znam kako da gore rasporedim dugmice za meni....Da mi recimo prvo bude "Home" pa "Forum" pa td..... Ako znate kako to da resim i td. posaljite mi poruku na e-mail: laza.91@hotmail.com 
Nadam se brzom odgovoru unapred HVALA !  :)

Offline Dzonny

  • Local Moderator
  • SMF Super Hero
  • *
  • Posts: 11,603
  • Gender: Male
  • No sleep...
    • dzontra.nikola on Facebook
    • Dzonny on GitHub
    • dzontranikola on LinkedIn
    • @opusteniforum on Twitter
    • Samo opusteno
Re: Pomoc
« Reply #7 on: January 23, 2011, 05:25:46 AM »
LazarBeliNikolic, ovo je podrška za smf, a ti koristiš phpbb, tako da se obrati na njihovom forumu za pomoć.