Google+

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
o mica nelamurire cu postbit
#1
nu stiu daca e exact din postbit dar vreau sa nu mai apara in topicuri , la fiecare reply in genu " Re: numele topicului "


si cand dau edit , doresc sa imi apara jos in coltul din stanga cine la editat
#2
Scuze pentru offtopic. , cum se numeste thema ta ?
#3
Scuze de intarziere, deci, urmezi pasii de mai jos:

1. Deschizi datahandlers/post.php si cauti:

Code:
$subject = "RE: ".$thread['subject'];


il inlocuiesti cu:

Code:
$subject = $thread['subject'];


Repeti acest pas de 2 ori pentru ca sunt 2 linii de cod la fel care contin acel RE:.

2. Deschizi newreply.php si cauti:

Code:
$subject = preg_replace('#RE:\s?#i', '', $quoted_post['subject']);
$subject = "RE: ".$subject;


il inlocuiesti cu:

Code:
$subject = preg_replace('#\s?#i', '', $quoted_post['subject']);
$subject = $subject;


Aici mai cauti:

Code:
$subject = "RE: " . $thread['subject'];


il inlocuiesti cu:

Code:
$subject = $thread['subject'];


3. Te duci in admin panel la forumul tau in templates/show thread templates/showthread_quickreply si cauti:

Code:
<input type="hidden" name="subject" value="RE: {$thread['subject']}" />


si il inlocuiesti cu:

Code:
<input type="hidden" name="subject" value="{$thread['subject']}" />



In legatura cu edit-ul, te duci in admin panel configuration/posting si bifezi la Show 'edited by' Messages - Yes.

Asta este tot, bafta !

#4
voiam sa nu mai apare nimic Big Grin se poate ?

doar ce srie in reply fara numele topicului
#5
Atunci în loc de

PHP Code:
$subject = "RE: ".$thread['subject'];

pui

PHP Code:
$subject = "";

Numai bine, Mihu.

Users : collective term for those who use computers. Users are divided into three types : novice, intermediate and expert.
Novice users : people who are afraid that simply pressing a key might break their computer.
Intermediate users : people who don`t know how to fix their computer after they`ve just pressed a key that broke it.
Expert users : people who break other people`s computers.
#6
nu sa schimbat nimic ......
#7
(12-29-2010, 06:57 PM)Zeusake Wrote: nu sa schimbat nimic ......
Inseamna ca nu ai modificat in toate locurile. Te rog sa-mi spui exact zonele unde ai modificat?
Users : collective term for those who use computers. Users are divided into three types : novice, intermediate and expert.
Novice users : people who are afraid that simply pressing a key might break their computer.
Intermediate users : people who don`t know how to fix their computer after they`ve just pressed a key that broke it.
Expert users : people who break other people`s computers.
#8
datahandlers/post.php


Code:
$subject = $thread['subject'];

am in locuit cu

Code:
$subject = "";

am repetat de 2x acest lucru

apoi in newreply.php

Code:
$subject = "RE: " . $thread['subject'];


Code:
$subject = ""; 


si cam atat

#9
Modifica si in newreply.php

Code:
$subject = preg_replace('#\s?#i', '', $quoted_post['subject']);
$subject = $subject;


cu

Code:
$subject = preg_replace('#\s?#i');
$subject = "";


si

Code:
$subject = $thread['subject'];


cu

Code:
$subject = "";


templates/show thread templates/showthread_quickreply

Code:
<input type="hidden" name="subject" value="{$thread['subject']}" />


cu

Code:
<input type="hidden" name="subject" value="" />


Bafta !

#10
cand dau post reply nu imi mai arata , dar cand dau cu quick reply apare.....


Forum Jump:


Users browsing this thread: 1 Guest(s)