|
Joined: Apr 2002
Posts: 1,768
Addict
|
Addict
Joined: Apr 2002
Posts: 1,768 |
MOVED NAME: Check Last Post Data VERSION: 1.0.1 DESCRIPTION: Checks the last post data displayed on the main index page. WORKING UNDER: UBB.threads 6.2.2 PREREQUISITES: none AUTHORS: Dave Lerner (Dave_L) CREDITS: Dave Lozier (JustDave), Olle Johansson (Gardener) DEMO: none FILES ALTERED: admin/menu.php DATABASE ALTERED: yes (modifies some columns in Boards table) NEW FILES: admin/checklastpost.php HISTORY: 2003-02-15 Dave_L - 1.0.0 Original release 2003-02-21 Dave_L - 1.0.1 Added missing $dbh-> in call to mysql_fetch_row. ******** ABSTRACT ******** This addon script will allow you to check and update the last post data displayed on the main index page. It was based on Dave Lozier's Check Post Count addon script, updated by Olle Johansson. ----- Edit: Updated to version 1.0.1. This change is essentially cosmetic. MOVED
Last edited by Dave_L; 07/19/2003 6:13 PM.
|
|
|
|
Joined: Apr 2002
Posts: 1,768
Addict
|
Addict
Joined: Apr 2002
Posts: 1,768 |
I made an update to fix a minor issue. P.S. This hack doesn't seem very popular. Did the [:"red"] red[/] warning scare people away?  By the way, one thing this hack will do is fix the problem of forums not showing up on the main index page due to Bo_Posterid or Bo_LastNumber not being set properly, which can occur when importing from UBB.classic.
|
|
|
|
Joined: May 1999
Posts: 1,715
Addict
|
Addict
Joined: May 1999
Posts: 1,715 |
Give me a chance to read it first, why dontcha? =] I've just downloaded it and will give it a try. Update: Tried it on my test board and it showed the correct results. It's a very empty database though, so it's not much of an indication. I don't have any 6.2 test board with lots of data in it unfortunately.
Last edited by Gardener; 02/21/2003 8:31 AM.
|
|
|
|
Joined: May 1999
Posts: 1,715
Addict
|
Addict
Joined: May 1999
Posts: 1,715 |
I tried this on a board imported from vBulletin and it worked like a charm, very nice.
|
|
|
|
Joined: Apr 2002
Posts: 1,768
Addict
|
Addict
Joined: Apr 2002
Posts: 1,768 |
Thanks Do you think it's safe to remove the [:"red"] red[/] warning, and move this to Finished Mods?
|
|
|
|
Joined: May 1999
Posts: 1,715
Addict
|
Addict
Joined: May 1999
Posts: 1,715 |
I guess. But I still haven't tried it on a live board, but the forums that didn't show up magically appeared and could be viewed after running it.
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
Does this fix the missing forum issue?
|
|
|
|
Joined: Apr 2002
Posts: 1,768
Addict
|
Addict
Joined: Apr 2002
Posts: 1,768 |
If the forum is missing because the Boards.Bo_LastNumber or Boards.Bo_Posterid column has the wrong value, yes. That's partly why I wrote it. By the way, like JustDave's Check Post Count hack, you can use this without "installing" it. You can just run the script without adding a link to the Admin menu.
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
You da man! 
|
|
|
|
Joined: Jan 2001
Posts: 374
Enthusiast
|
Enthusiast
Joined: Jan 2001
Posts: 374 |
Thank you very much for this add on. I installed it and found lots of issues. (I hope that this fixed the problems we had on the boad with a correct display of "new" flags in certain boards.)
|
|
|
|
Joined: Aug 2000
Posts: 1,609
Addict
|
Addict
Joined: Aug 2000
Posts: 1,609 |
Installed and working great. Thanks Dave! It found quite a few errors. Some were a result of moving a thread to a different forum, others are a mystery to me. Great work!
|
|
|
|
Joined: Apr 2002
Posts: 1,768
Addict
|
Addict
Joined: Apr 2002
Posts: 1,768 |
JoshPet, caymuc and AKD96: Thanks for the feedback 
|
|
|
|
Joined: Mar 2003
Posts: 215
Junior Member
|
Junior Member
Joined: Mar 2003
Posts: 215 |
So we should get this if we have the missing forum issue.
Any other reasons I would want to use this?
What does "It found quite a few errors" mean?
|
|
|
|
Joined: Jan 2002
Posts: 674
Junior Member
|
Junior Member
Joined: Jan 2002
Posts: 674 |
Thanks this fixed a annoying problem and was very handy to update the articles mod to the correct user.
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
It fixes the missing forum issue. Also your counts may be off as some older version of threads were buggy when threads were deleted/moved etc.. So the counts may have been off for some time.
|
|
|
|
Joined: May 1999
Posts: 1,715
Addict
|
Addict
Joined: May 1999
Posts: 1,715 |
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|