The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
THIS THREAD IS CLOSED!
Posts in here will NOT be answered This hack has undergone many major changes since this thread was started. Consequently, most of the posts have become dated and of little use. To coincide with the latest major release (20010712), a new one has been started. See this thread for the latest version and discussion Show Your Support
|
Comments |
#152
|
|||
|
|||
Looks like I forgot the addslashes() to that. That will have to be a manual edit to the code I'm afraid. I'll have to update the instructions. I don't know why I missed that. It's in my setup but not in the instructions.
There is one occurance in admin/functions.php that you'll need to change. It's on or around line 869 and reads: Code:
$DB_site->query("UPDATE forum SET lastactivethread = LEFT('".$threadinfo[title]."',$lastactivethread_length) WHERE forumid = ".$threadinfo[forumid]); Code:
$DB_site->query("UPDATE forum SET lastactivethread = LEFT('".addslashes(htmlspecialchars($threadinfo[title]))."',$lastactivethread_length) WHERE forumid = ".$threadinfo[forumid]); |
#153
|
|||
|
|||
If you're updating the docs. there's a minor change that may need to be added. In regards to removing the "Registered: " from postbit, I think the Location needs removing as well? It appeared in duplicates after I installed the latest 2.3 usenet hack. Just FYI.
I can't stop saying how great this hack is! |
#154
|
|||
|
|||
Several errors in the documentation have been corrected.
There was on instance where the 'OLD CODE' was, in fact, the 'NEW CODE'. Another ommission led to the word 'location:' being displayed twice for registered users. And finally a serious error in admin/functions.php that caused posts to fail if the thread title contained a quote. |
#155
|
|||
|
|||
Any idea on how long the install script will take? If it will more then a week I will just install it manually.
Thanks for any info..... Michael |
#156
|
|||
|
|||
Quote:
I'd install it by hand if I were you. It's quite straight forward. It's just replacement of code in about 3 or 4 files. Maybe Jelsoft will let me put ready hacked files in the members area. That would make it easier. Trouble is, if they do it for one they'll have to do it for everybody. |
#157
|
|||
|
|||
Quote:
|
#158
|
|||
|
|||
The NEW CODE part was still OK. So if you managed to find the correct bit to replace you'll be fine. It was actually the same section as the missing addslashes() problem.
|
#159
|
|||
|
|||
I am having the problem where some replies are not being inserted into the threads that they correspond to and they just stay in the usenet_article table. While a few of them do not have the parent post to be inserted into, the majority do have the thread started and post that it's a reply to is in there, but it fails to insert them into it. These messages end up being about 10% of the total posts from the rec.sport.unicycling newsgroup.
I also tried it with some other newgroups on a server that was not a usenet server and had the same problems with those ones too. Here is the test newsgroup that I tried on that server: news://news.webdiscuss.com/webdiscuss.test |
#160
|
|||
|
|||
It's not just the thread starter that prevents an article being inserted. Each usenet article has references to every post that was posted before it. An article will only be placed in to the forum when the post immediately before it is available. If it didn't work like this you would get posts appearing as replies to a message that doesn't exist. Very confusing! When you first start pulling news this occurs a lot due to the fact that many of the articles will have expired but replies are still there. As time goes on the surplus will expire from the usenet_article table and the number will reduce. Provided your news provider gets all posts, you will get them too. I am confident this part of the script is working as it is the part I spent longest on to ensure all articles were collected and inserted when appropriate. An example is my dbforums site. It has been running long enough for the orphan messages to fall through the system and I now have about 800 articles in the usenet_article table. This is from 70 usenet groups. So that is the number you can expect after about a week of running (provided your expire is set to 5-7 days) in the control panel.
Let me know if this would explain the numbers you are seeing. And you are you using the latest version right? |
#161
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|