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: 392
  • 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]

Blocks speak! Do you have an interest in getting more blocks - or even making your own? The Blocks Board is for you!

Author Topic: Problema numero 1.[Boton Foro]  (Read 7400 times)

0 Members and 1 Guest are viewing this topic.

Offline kAmIkAzE

  • Semi Newbie
  • *
  • Posts: 22
    • La Fabrica de Pandos
  • SMF Version: 1.1.11
  • SP Version: 2.3.1
Problema numero 1.[Boton Foro]
« on: January 27, 2010, 05:43:47 PM »
Saludos , me he decidido a cambiar tiny portal por simple portal pero aqui llegan los primeros problemas:

Desaparicion del boton Foro .

Instalados :

30.     SMF 1.0.19 / 1.1.11 Update      1.0       [ Desinstalar ]  [ Listar archivos ][ Borrar ]
31.    SimplePortal    2.3.1                           [ Desinstalar ] [ Listar archivos ] [ Borrar ]
32.    SimplePortal - Spanish_es    2.3.1    [ Desinstalar ] [ Listar archivos ] [ Borrar ]
33.    SimplePortal - Spanish_latin    2.3.1    [ Desinstalar ] [ Listar archivos ] [ Borrar ]

Como podeis ver la version de smf es la 1.1.11 y los pack de idiomas de simple portal he instalado los 2 para comprobar si el problema venia de ahi.

Gracias por vuestra ayuda

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: Problema numero 1.[Boton Foro]
« Reply #1 on: January 27, 2010, 09:30:16 PM »
adjunta el archivo index.template.php de el theme que estés usando apra hacerle los cambios de manera manual.

Offline kAmIkAzE

  • Semi Newbie
  • *
  • Posts: 22
    • La Fabrica de Pandos
  • SMF Version: 1.1.11
  • SP Version: 2.3.1
Re: Problema numero 1.[Boton Foro]
« Reply #2 on: January 28, 2010, 01:22:11 AM »
Ok Gracias 130860  :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: Problema numero 1.[Boton Foro]
« Reply #3 on: January 28, 2010, 10:10:23 AM »
estas seguro de que estas usando simple portal?    porque tu archivo ya tiene un boton de foro y tiene codigo de tinyportal en el y por ultimo, parece ser que el theme esta diseñado especificamente para tiny portal,  busca una version de ese theme que no sea compatible con tiny portal.

Offline kAmIkAzE

  • Semi Newbie
  • *
  • Posts: 22
    • La Fabrica de Pandos
  • SMF Version: 1.1.11
  • SP Version: 2.3.1
Re: Problema numero 1.[Boton Foro]
« Reply #4 on: January 28, 2010, 01:48:09 PM »
Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
SimplePortal 2.3.1 © 2008-2009, SimplePortal
Movies07 design by Bloc

:¿? 

 Support for TinyPortal 0.9.8 mod? (full panel support, extra button suppport) esta desactivado

Tienes razon...al cambiar de the aparece el boton de "Foro", dariamos el tema por zanjado o se podria modificar el theme usado para añadirle el boton foro?

Abajo del todo me aparece el siguiente mensaje al poner el theme Helios por ejemplo

     
Helios /
Fatal error: Call to undefined function tportal_version() in /homepages/24/d217686728/htdocs/SMF/Sources/Load.php(1772) : eval()'d code on line 441.

Se puede eliminar la entrada de boton del tp y añadir una de simple portal?
« Last Edit: January 28, 2010, 01:53:42 PM by kAmIkAzE »

Offline kAmIkAzE

  • Semi Newbie
  • *
  • Posts: 22
    • La Fabrica de Pandos
  • SMF Version: 1.1.11
  • SP Version: 2.3.1
Re: Problema numero 1.[Boton Foro]
« Reply #5 on: January 28, 2010, 02:45:54 PM »
Sin ningun problema si el theme es el que viene por defecto con smf, pero si por ejemplo pongo :

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
SimplePortal 2.3.1 © 2008-2009, SimplePortal    |  2nd Theme by TosTos    |   Original images from Azenis 2 by yingjunjiu    |    valid XHTML and CSS code

Vuelve a desaparecer el boton

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: Problema numero 1.[Boton Foro]
« Reply #6 on: January 28, 2010, 09:29:30 PM »
el problema es que el theme que estas usando es exclusivo para tinyportal, debes de buscar uno que no sea hecho especificamente para tinyportal, la mayoria de los themes hechos para tiny  tienen una version "simple"  es decir, una version que se comporta como un theme normal, instala esa version o dime que theme usas y de donde lo bajaste para ver si ese theme tiene una version simple

Offline kAmIkAzE

  • Semi Newbie
  • *
  • Posts: 22
    • La Fabrica de Pandos
  • SMF Version: 1.1.11
  • SP Version: 2.3.1
Re: Problema numero 1.[Boton Foro]
« Reply #7 on: January 29, 2010, 01:22:12 AM »
http://www.blocweb.net/ , el theme que estaba usando es el movies07

Offline kAmIkAzE

  • Semi Newbie
  • *
  • Posts: 22
    • La Fabrica de Pandos
  • SMF Version: 1.1.11
  • SP Version: 2.3.1
Re: Problema numero 1.[Boton Foro]
« Reply #8 on: February 01, 2010, 04:40:09 PM »
alguna novedad?  :P

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: Problema numero 1.[Boton Foro]
« Reply #9 on: February 01, 2010, 06:37:48 PM »
pense que estbas usando el  2nd Theme by TosTos ???

para el movies07 este es el enlace,   aja esa version e instalala luego adjunta aqui su index.template

http://www.blocweb.net/index.php?action=bwgallery;free=smf1;start=12

Offline kAmIkAzE

  • Semi Newbie
  • *
  • Posts: 22
    • La Fabrica de Pandos
  • SMF Version: 1.1.11
  • SP Version: 2.3.1
Re: Problema numero 1.[Boton Foro]
« Reply #10 on: February 02, 2010, 03:39:21 PM »
Creo que es el mismo que tengo instalado :¿? te adjunto el index.template


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: Problema numero 1.[Boton Foro]
« Reply #11 on: February 03, 2010, 08:49:17 AM »
el problema es que estás usando un theme que solo sirve para tiny portal, tendrás que buscar un theme que solo sea para smf y no hecho especificamente para tinyportal

Offline kAmIkAzE

  • Semi Newbie
  • *
  • Posts: 22
    • La Fabrica de Pandos
  • SMF Version: 1.1.11
  • SP Version: 2.3.1
Re: Problema numero 1.[Boton Foro]
« Reply #12 on: February 04, 2010, 02:34:04 PM »
Ok te paso el siguiente indextemplate, seria para el nuevo theme .

Gracias.

PD. Si esto del boton foro el arreglo es general te iria mejor poner un parse de añadir boton  para no tener que modificar los index de todos los users que lo solicitan ;)

Offline shadow_dweller

  • Semi Newbie
  • *
  • Posts: 27
  • SMF Version: 1.1.11
  • SP Version: 2.3.2
Re: Problema numero 1.[Boton Foro]
« Reply #13 on: February 04, 2010, 02:57:11 PM »
no puedo estar haciendo multiples cambios en multiples temas por falta de tiempo, para tu theme en tu archivo index.template.php busca esto:


Code: [Select]
// Show the [home] button.

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


y agrega despues esto



Code: [Select]
// Show the [forum] button.
if (empty($context['disable_sp']) && in_array($modSettings['sp_portal_mode'], array(1, 3)))
echo '<li><a' , $current_action=='home' ? ' class="current"' : '' , ' href="', $scripturl . ($modSettings['sp_portal_mode'] == 1 ? '?action=forum' : ''), '"><span>', empty($txt['sp-forum']) ? 'Forum' : $txt['sp-forum'], '</span></a></li>';


si quieres saber que archivos debes de modificar, usa mi parser ahi te dira que archivos modificar y en donde solo es cuestion de ver como estan tus botones en cada theme que vayas a usar y adaptar el boton del foro asi como lo hice yo en el ejemplo de arriba

o esto otro en el cual solo tienes que editar solo una vez el index.tuidioma y hacer llamado al texto que dise foro

hola amigo mira abre tu index.template y busca esto

Code: [Select]
// Show the [help] button.


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

y añade antes esto

Code: [Select]
// Show the [foro] button.


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

lo que ise fue lo siguiente copie la linea del help completa
y modifique esto

$current_action=='help'
por esto
$current_action=='forum'

y tambien esto

$scripturl, '?action=help">
por esto
$scripturl, '?action=forum">
y esto otro
$txt[119]
solo el numero interno por ejemplo en mi caso le coloque
$txt[2005]
y luego abro el index.spanish_latin-utf8 depende de tu idioma

y busca
$txt[119]
y despues  colocas
$txt[2005]

Offline kAmIkAzE

  • Semi Newbie
  • *
  • Posts: 22
    • La Fabrica de Pandos
  • SMF Version: 1.1.11
  • SP Version: 2.3.1
Re: Problema numero 1.[Boton Foro]
« Reply #14 on: February 04, 2010, 03:37:06 PM »
mas o menos captado, pero que es eso del numero interno?? de donde lo saco??

Mesalen 2 botos de Ayuda :¿?

Offline shadow_dweller

  • Semi Newbie
  • *
  • Posts: 27
  • SMF Version: 1.1.11
  • SP Version: 2.3.2
Re: Problema numero 1.[Boton Foro]
« Reply #15 on: February 04, 2010, 08:34:58 PM »
hola lo del numero interno me refiero a esto si tienes por ejemplo el index.spanish_latin-utf8.php
en unas lineas encontraras esto

Code: [Select]
$txt[92] = 'Ver perfil de';

$txt[94] = 'Total';

$txt[95] = 'Mensajes';

$txt[96] = 'Web';

$txt[97] = 'Registrarse';



$txt[101] = '&Iacute;ndice de Mensajes';

$txt[102] = 'Noticias';

$txt[103] = 'Inicio';


donde el numero interno 103 hace referencia a la palabra inicio tu lo inico que tienes que hacer es inventar un numero que no este en el rango de los que ya fueron puesto enmi caso yo inventare 2005

y lo colocare asi

Code: [Select]
$txt[92] = 'Ver perfil de';
$txt[94] = 'Total';
$txt[95] = 'Mensajes';
$txt[96] = 'Web';
$txt[97] = 'Registrarse';
$txt[101] = '&Iacute;ndice de Mensajes';
$txt[102] = 'Noticias';
$txt[103] = 'Inicio';
$txt[2005] = 'Foro';

y si quieres mas botones asi
nos e si te as dado cuenta que al pasar el puntero del maus o al entrar alguna parte inferior del navegador (ver captura adjunta) te sale esto lo utiliso para fijarme que poner en lo que esta en rojo y para lo que esta en verde al texto del index.spanish_latin-utf8.php

$txt[2005] = 'Foro';

// Show the [foro] button.

echo '<li><a' , $current_action=='forum' ? ' class="current"' : '' , ' href="', $scripturl, '?action=forum"><span>' , $txt[2005] , '</span></a></li>';


« Last Edit: February 04, 2010, 08:57:00 PM by shadowdwel »

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: Problema numero 1.[Boton Foro]
« Reply #16 on: February 05, 2010, 09:12:59 AM »
simpleportal ya trae su propio string de texto para el "Foro"  por lo que no hay necesidad de editar tus archivos de idioma, usa este:

$txt['sp-forum']

que ya viene en la traducción de SimplePortal, quedaria asi:


echo '<li><a' $current_action=='forum' ' class="current"' '' ' href="'$scripturl'?action=forum"><span>' $txt['sp-forum'] , '</span></a></li>';


tambien hay que hacerle otra modificacion si es que vas a usar el portal en otr modo, simpleportal tiene 3 modos para verse y dependiendo de el modo que uses el boton se vera o no se vera, pero eso es solo si usas otro modo distinto a el normal (página frontal)

Offline kAmIkAzE

  • Semi Newbie
  • *
  • Posts: 22
    • La Fabrica de Pandos
  • SMF Version: 1.1.11
  • SP Version: 2.3.1
Re: Problema numero 1.[Boton Foro]
« Reply #17 on: February 26, 2010, 03:20:22 PM »
Vuelvo al ataque, adjunto el index.template del theme que quiero usar a ver si se puede añadir el boton foro

Gracias

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: Problema numero 1.[Boton Foro]
« Reply #18 on: March 02, 2010, 12:33:20 PM »
prueba con este

Offline kAmIkAzE

  • Semi Newbie
  • *
  • Posts: 22
    • La Fabrica de Pandos
  • SMF Version: 1.1.11
  • SP Version: 2.3.1
Re: Problema numero 1.[Boton Foro]
« Reply #19 on: March 02, 2010, 05:56:11 PM »
Genial 130860 eres el puto amo compi, muchisimas gracias