![]() |
Quote:
|
I dont know what happened, but all my posts start with []
(Brackets in fromt of all the post that goes to the usenet) It shows fine on my forum (Without the brackets) Which line specifies the heading? Only think I modified was the signature, and remove the > >> >>> stuff. Thanks Otherwise its working great :) Help me out with this issue, since replies are generated in new threads.... Otherwise it would not matter. This is my signature edit: function sendnews($newthread, $isreply=false){ global $settings, $group, $prefix, $news, $DB_site, $msgid_date; // get user's signature if ($newthread[userid]){ $get_userinfo=$DB_site->query("SELECT signature,usertitle,customtitle FROM user WHERE userid=$newthread[userid] LIMIT 1"); $userinfo=$DB_site->fetch_array($get_userinfo); // $signature = "\n--\n"; // $signature .= $newthread[username]; // if ($userinfo[customtitle]){ $signature .= " - $userinfo[usertitle]"; } // if ($userinfo[signature]){ $signature .= "\n"; // $signature .= format_text($userinfo[signature]); // } $signature .= "\n http://www.test.com \n"; // $signature .= "$newthread[username]'s Profile: $settings[profileurl]$newthread[userid]\n"; $signature .= "View this thread: $settings[threadurl]$newthread[threadid]\n"; } else { $userinfo = false; // $signature = "\n--\n".$newthread[username]." - Unregistered User"; $signature .= "\n------------------------------------------------------------------------\n"; $signature .= "View this thread: $settings[threadurl]$newthread[threadid]\n"; } and this is to remove the >>> stuff :) //$message[text] = preg_replace("/((\n[ ]*>[^\n]*)+)/","$1",$message[text]); $message[text] = preg_replace("/((\n[ ]*>[^\n]*)+)/","",$message[text]); //$message[text] = preg_replace("/((\n[ ]*>[ ]*>[^\n]*)+)/","$1",$message[text]); //$message[text] = preg_replace("/((\n[ ]*>[ ]*>[ ]*>[^\n]*)+)/","$1",$message[text]); $message[text] = preg_replace("/((\n[ ]*>[ ]*>[^\n]*)+)/","",$message[text]); $message[text] = preg_replace("/((\n[ ]*>[ ]*>[ ]*>[^\n]*)+)/","",$message[text]); Those are only changes I made, and now all my posts start with:[] Any idea why? |
Are the brackets in the body or the subject?
|
subject
|
Quote:
This SQL will do the trick: Code:
UPDATE nntp_groups SET prefix = NULL |
Ok so I think I did everything right, but then again I am not sure... Gilby can I get you to check out my server for me and check and see if you can tell what the problem is? I am sketchy at best with this sql stuff...
|
Quote:
|
Also I just remembered, I changed the time to show correct time... ie not time when cron (ie when downloaded)
and I see that some of the posts which are replied... ie Re: something will show in different posts. What is the cause of this? time issue? Thanks (Gilby You are doing a great job) this is the mod for time.... // if ($group[lastmsg] == 0){ $date = strtotime($message[date]); //} else { //$date = time(); //} |
well, I installed it and set for alt.comp.programming 31 0 (usenet url) NULL NULL 1 under nntp-groups, then I run gateway.php, it downloads a file that sayes
1 group(s) gatewayed. Logging in to (usenet).com, group alt.comp.programming but when I check forum 31 (http://www.coderforums.net/forumdisp...?s=&forumid=31) nothing appears there... |
Quote:
|
All times are GMT. The time now is 07:41 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|