nush cum

Pentru întrebări legate de facilităţile forumului phpBB 2.0.x, acest loc este cel mai potrivit.
Avatar utilizator
GrafsS
Fost coleg
Mesaje: 454
Membru din: 11-Aug-2007, 14:35:29
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Contact:

nush cum

Mesaj de GrafsS »

deci
cum fac ca autunci cand fac un post sa nu m-ai apara aia cu "Revine la forum sau la topic"
am vazut asta pe forumul de la freakz
cum as putea sa fac asa ceva?
Avatar utilizator
Aliniuz
Fost coleg
Mesaje: 3629
Membru din: 19-Mai-2006, 08:06:42
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Galati
Contact:

Mesaj de Aliniuz »

Avatar utilizator
GrafsS
Fost coleg
Mesaje: 454
Membru din: 11-Aug-2007, 14:35:29
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Contact:

Mesaj de GrafsS »

asta e ptr phpbb2 ?
ca acolo zice c e phpbb3
NetraKID
Utilizator înregistrat
Mesaje: 128
Membru din: 08-Sep-2006, 10:52:08

:)

Mesaj de NetraKID »

Avatar utilizator
GrafsS
Fost coleg
Mesaje: 454
Membru din: 11-Aug-2007, 14:35:29
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Contact:

Mesaj de GrafsS »

ms
:)
Avatar utilizator
GrafsS
Fost coleg
Mesaje: 454
Membru din: 11-Aug-2007, 14:35:29
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Contact:

Mesaj de GrafsS »

srry de double post
dar mi-e nu imi reuseste
va rog imi face careva klumea
ma chinui dar nimic
va rog
axn
Utilizator înregistrat
Mesaje: 295
Membru din: 01-Mar-2006, 23:39:47

Mesaj de axn »

Pai ce nu merge ? Primesti vre-o eroare ? Daca da, ce eroare ?
GrafsS scrie:va rog imi face careva klumea
Nu, nu cred ca va face nimeni in locul tau.
What I'm s'pose to write here ?
Avatar utilizator
GrafsS
Fost coleg
Mesaje: 454
Membru din: 11-Aug-2007, 14:35:29
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Contact:

Mesaj de GrafsS »

poi nu da nici o eroare dar...nu pot sa selectez alea ca sunt aranjate nashpa rau de tot

Cod: Selectaţi tot

##############################################################
## MOD Title: Attachement IE Fix for Instant Post Redirect
## MOD Author: eviL3 <evil> (Igor Wiedler) http://phpbbmodders.net
## MOD Description: It's an addon
## MOD Version: 1.0.1
##
## Installation Level: Easy
## Installation Time: 1 Minute
## Files To Edit: posting.php,
##                viewtopic.php
##
## Included Files: n/a
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
## This problem was found by Marshalrusty, and he was kind enough
## to share it. This is a fix for IE not redirecting correctly when
## having the attachement MOD installed.
##
## Only install this MOD if you have the attachment MOD installed.
##
##############################################################
## MOD History:
##
##   2006-11-15 - Version 1.0.0
##      - Initial version
##
##   2006-11-15 - Version 1.0.1
##      - Small stuff :P
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ OPEN ]------------------------------------------
#
posting.php
#
#-----[ FIND ]------------------------------------------
#
			redirect(append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=$post_id", true) . '#' . $post_id);
#
#-----[ REPLACE WITH ]------------------------------------------
#
			$redirect		= "viewtopic.$phpEx?" . POST_POST_URL . '=' . $post_id;
			$post_append	= ( strpos($HTTP_SERVER_VARS['HTTP_USER_AGENT'], 'MSIE') !== false ) ? '&ie' : "#$post_id";
			redirect( append_sid( $redirect, true ) . $post_append );
#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
	message_die(GENERAL_MESSAGE, 'Topic_post_not_exist');
}
#
#-----[ AFTER, ADD ]------------------------------------------
#
if ( isset( $HTTP_GET_VARS['ie'] ) )
{ 
	redirect(append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=$post_id", true) . '#' . $post_id);
}
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
sh ca aci s vad bine :)
Avatar utilizator
GrafsS
Fost coleg
Mesaje: 454
Membru din: 11-Aug-2007, 14:35:29
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Contact:

Mesaj de GrafsS »

da eroarea

Cod: Selectaţi tot

Parse error: syntax error, unexpected T_STRING in /home/grafss/public_html/forum/viewtopic.php on line 172
axn
Utilizator înregistrat
Mesaje: 295
Membru din: 01-Mar-2006, 23:39:47

Mesaj de axn »

Inseamna ca in viewtopic.php la linia 172 ai un punct si virgula (;) in plus, etc.
Sau cred ca mai degraba se refera la apostrof ('), poate e in conflict cu altul. De exemplu la un echo 'Marry's book'; da eroare. Trebuie pus echo 'Marry\'s book'; , pentru a anula conflictul.

Uita-te sa vezi ce ai acolo.
Închis

Înapoi la “2.0.x Cum pot să...?”

Cine este conectat

Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 1 vizitator