collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 385
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

If you're interested in helping other members with support requests, consider joining the Community Support Helpers group.

Author Topic: como añadir el boton "foro"  (Read 17259 times)

0 Members and 3 Guests are viewing this topic.

Offline shadow_dweller

  • Semi Newbie
  • *
  • Posts: 27
  • SMF Version: 1.1.11
  • SP Version: 2.3.2
Re: como añadir el boton "foro"
« Reply #20 on: February 07, 2010, 02:35:47 PM »
hola amigo aver dame un link a tu pagina para checar

Offline zero0097

  • Semi Newbie
  • *
  • Posts: 17
  • SMF Version: 1.1.10
  • SP Version: 2.3.1
Re: como añadir el boton "foro"
« Reply #21 on: February 07, 2010, 03:05:08 PM »
www.kofnodead.com/portal.php

horita esta asi porque el index que tengo es otra cosa, como aun no habro la web al publico ando haciendo esos arreglos primero, pero ya hoy la abrire, y al poner la url normal los llevara al portal.....

checa el boton Inicio y el boton Foro ps hacen lo mismo, yo quiero que el Inicio lleve a la URL principal  ;D

Offline shadow_dweller

  • Semi Newbie
  • *
  • Posts: 27
  • SMF Version: 1.1.11
  • SP Version: 2.3.2
Re: como añadir el boton "foro"
« Reply #22 on: February 08, 2010, 04:02:46 PM »
hola amigo descarge el tema y cheque las lineas segura que quitaste las modificaciones que te dio  130860

aqui el ejemplo de como deveria quedar

lee la linea del button forun el detalle del $txt

Code: [Select]
// Show the [home] button.
echo '<li><a' , $current_action=='home' ? ' class="current"' : '' , ' href="', $scripturl, '"><span>' , $txt[103] , '</span></a></li>';

// Show the [forum] button.
echo '<li><a' , $current_action=='forum' ? ' class="current"' : '' , ' href="', $scripturl, '?action=forum"><span>' , $txt[aqui el numero al cual le pusiste foro en el index.spanishlatin o cualquiera de tu idioma y listo] , '</span></a></li>';



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

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

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

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

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

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

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

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

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

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



Offline zero0097

  • Semi Newbie
  • *
  • Posts: 17
  • SMF Version: 1.1.10
  • SP Version: 2.3.1
Re: como añadir el boton "foro"
« Reply #23 on: February 08, 2010, 10:18:27 PM »
Pues asi lo tengo man, de hecho elegi el numero 120 ya que no lo usaba ningun otro bloque...

y si las modificaciones que hice con 130860 las quite y puse las tuyas, pero ps el boton HOME o mas bien el de INICIO va hacia el foro y yo quiero que de al portal o a la raiz de mi web que seria lo mismo...

y el de FORO si esta jalando bien, hice la modificacion en mi lenguaje y en el template y todo bien, si quedo como queria....

a decir verdad eso de INICIO ya desde antes de la modificacion daba al foro y no al portal, y ps yo quiero que valla al portal como alli como hacerle?

y para agregar un boton? que diga Galería?? me puedes ayudar, obvio ese boton ira a otra URL externa a SMF


gracias por tu ayuda shadowdwel  :D

Offline 130860

  • Super Handsome Language Coordinator
  • Board Moderators
  • *
  • Posts: 1769
  • Gender: Male
  • You and I are not the same class of pirate!
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: como añadir el boton "foro"
« Reply #24 on: February 09, 2010, 09:38:42 AM »
ok, que modo de simpleportal estas usando?   integracion? página frontal? independiente?  si estas usando cualquiera de los ultimos dos, entonces tendras que hacer un par de datalles mas a tu index.template.php para que funcione, vuelve a adjuntar tu archivo index.template.php de el theme que estes usando

veo que tienes tu portal en el root y tu foro en /foro, entonces debes de estar usando independiente, por eso cuando vas a el foro el boton inicio te lleva a el foro en ves de llevarte a el root, una manera mas sencilla de solucionarlo seria asi:


Code: [Select]
// Show the [home] button.
echo '<li><a' , $current_action=='home' ? ' class="current"' : '' , ' href="http://www.kofnodead.com/"><span>Inicio</span></a></li>';

// Show the [forum] button.
echo '<li><a' , $current_action=='forum' ? ' class="current"' : '' , ' href="http://www.kofnodead.com/foro"><span>Foro</span></a></li>';


               


Offline zero0097

  • Semi Newbie
  • *
  • Posts: 17
  • SMF Version: 1.1.10
  • SP Version: 2.3.1
Re: como añadir el boton "foro"
« Reply #25 on: February 09, 2010, 10:47:22 PM »
Gracias 130860, me sirvio tu metodoy y si tenia el portal en modo independiete :D

gracias por todo, ya quedo como queria.....

 ;D

por mi parte declaro resuelto mi caso, muchas gracias.....

Offline plf84

  • Semi Newbie
  • *
  • Posts: 11
  • SMF Version: 1.1.10
  • SP Version: 2.3.1
Re: como añadir el boton "foro"
« Reply #26 on: March 09, 2010, 03:49:02 PM »
130860, como va? aquí te dejo mi archivo index.template.php para que lo retoques.
Te hago otra consulta, tambien tiene un archivo  llamado BoardIndex.template.php, te lo dejo por las dudas ese tambien.

Un abrazo amigo, y agracias nuevamente por todo lo que haces!

Offline plf84

  • Semi Newbie
  • *
  • Posts: 11
  • SMF Version: 1.1.10
  • SP Version: 2.3.1
Re: como añadir el boton "foro"
« Reply #27 on: March 10, 2010, 01:12:16 AM »
 Disculpa! aquí te dejo otro!  :nervous-happy:




PD: Vamos SMF y Simple Portal!



Offline 130860

  • Super Handsome Language Coordinator
  • Board Moderators
  • *
  • Posts: 1769
  • Gender: Male
  • You and I are not the same class of pirate!
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: como añadir el boton "foro"
« Reply #28 on: March 13, 2010, 11:29:36 PM »
disculpa la demora, prueba estos dos archivos, el que dice (1)  es el primer archivo que adjuntaste, para la otra edicion,   necesito que adjuntes tu archivo  Display.template.php   de el o los themes que estes usando,  el archivo  BoardIndex.template.php   no se encesita editar

Offline plf84

  • Semi Newbie
  • *
  • Posts: 11
  • SMF Version: 1.1.10
  • SP Version: 2.3.1
Re: como añadir el boton "foro"
« Reply #29 on: March 14, 2010, 02:50:59 PM »
disculpa la demora, prueba estos dos archivos, el que dice (1)  es el primer archivo que adjuntaste, para la otra edicion,   necesito que adjuntes tu archivo  Display.template.php   de el o los themes que estes usando,  el archivo  BoardIndex.template.php   no se encesita editar

desde ya como siempre muchas gracias, y no te hagas dramas por la demora, siempre me haces el favor!

necesitas este archivo???


Offline 130860

  • Super Handsome Language Coordinator
  • Board Moderators
  • *
  • Posts: 1769
  • Gender: Male
  • You and I are not the same class of pirate!
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: como añadir el boton "foro"
« Reply #30 on: March 15, 2010, 12:27:01 PM »
prueba con este

Offline zero0097

  • Semi Newbie
  • *
  • Posts: 17
  • SMF Version: 1.1.10
  • SP Version: 2.3.1
Re: como añadir el boton "foro"
« Reply #31 on: May 14, 2010, 12:14:32 PM »
Hola :D como estan todos  8)

En estos dias los usuarios se han puesto roñosos conforme al theme que usamos y quieren que lo cambie y ya todos votamos por este que necesito..

Theme: DsV1 (Dziner)
SMF: 1.1.11
SP: 2.3.2

Necesito pues agregar lo que es el boton FORO ya que no está, y que el boton INICIO (que ya existe) valla al portal (la url de mi pagina) porque ahora va al foro ese boton...

De hecho es el mismo detalle que tenia con el Theme Darkz, o hago lo mismo para este theme??

de antemano muchas gracias!  :applause:

Offline 130860

  • Super Handsome Language Coordinator
  • Board Moderators
  • *
  • Posts: 1769
  • Gender: Male
  • You and I are not the same class of pirate!
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: como añadir el boton "foro"
« Reply #32 on: May 14, 2010, 01:17:13 PM »
ese theme es premium, si lo compraste de manera legal, adelante, si no, no puedo ayudarte.

Offline juan182

  • Newbie
  • Posts: 4
  • SMF Version: 1.1.12
  • SP Version: None
Re: como añadir el boton "foro"
« Reply #33 on: March 12, 2011, 12:52:58 PM »
hola me haces el favor de decirme donde modificar el php para poner el boton del foro?
o si me lo modificarias vos? aca te dejo mi index,

http://www.megaupload.com/?d=QMD5DT7G