nush cum
- 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
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?
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?
- 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:
Instant Post Redirect: http://www.phpbb.com/community/viewtopi ... 9&t=584852
:)
<a href="http://www.phpbbhacks.com/download/6860">Asta</a> e pentru phpbb 2

- GrafsS
- Fost coleg
- Mesaje: 454
- Membru din: 11-Aug-2007, 14:35:29
- Ext: Nu
- Server: Windows
- Nivel phpBB: Mediu
- Nivel php: Mediu
- Contact:
poi nu da nici o eroare dar...nu pot sa selectez alea ca sunt aranjate nashpa rau de tot
sh ca aci s vad bine
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

- GrafsS
- Fost coleg
- Mesaje: 454
- Membru din: 11-Aug-2007, 14:35:29
- Ext: Nu
- Server: Windows
- Nivel phpBB: Mediu
- Nivel php: Mediu
- Contact:
da eroarea
Cod: Selectaţi tot
Parse error: syntax error, unexpected T_STRING in /home/grafss/public_html/forum/viewtopic.php on line 172
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.
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.
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 5 vizitatori