Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
7 registered (Ruben, Dunny, Bjab, Gizmo, Bert, Mike L, Yarpâ„¢), 21 Guests and 16 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/05/06
Posts: 14904
Top Posters (30 Days)
Ruben 65
SD 57
Gizmo 48
gliderdad 33
Dunny 21
driv 18
dbremer 16
Iann128 16
Stan 15
Mark S 13
Latest Photos
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Gizzo Marx
Page 1 of 3 1 2 3 >
Topic Options
#169895 - 12/07/06 03:58 PM Threads not being listed
Jake Offline
member
Registered: 11/17/06
Posts: 140
Loc: Virginia
Upgraded from UBB.classic 6.7.1 to UBB.threads 7.0.1 then 7.0.2.

We thought we lost one of the threads we were using as an informative sticky at the beginning of one of the forums. Clicking through each page of that forum and searching for that author did not reveal it (nor did a "Show User's Posts" - at least we didn't find it). But it wasn't important enough to worry about so we forgot about it.

Then I was reading the first post in that forum and clicked on "Next Topic". Lo and behold that thread was displayed. It was still a sticky but just not being listed in that forum. I unstickied it to see if that would get it listed in that forum. Nothing. So I restickied it and left it (and I can now find it by clicking "Next Topic" while in the first post of that forum).

Ideas?
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#169935 - 12/08/06 01:48 AM Re: Threads not being listed [Re: Jake]
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
Loc: NJ

I had a problem importing stickied threads a couple months ago... sorry to hear that it still might be an issue. What I did was un-sticky the threads, then start over. It was okay after that.. :/
_________________________
GangsterBB.NET (Ver. 7.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
#169950 - 12/08/06 10:49 AM Re: Threads not being listed [Re: jgeoff]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
You can do a database query to unsticky them all and they'll show up. Unfortunately you'd need to find them and resticky them afterwards. If you want to go this route you can run the following sql command:

update ubbt_TOPICS set TOPIC_IS_STICKY='0'
Top
#169953 - 12/08/06 11:22 AM Re: Threads not being listed [Re: Rick]
Jake Offline
member
Registered: 11/17/06
Posts: 140
Loc: Virginia
update ubbt_TOPICS set TOPIC_IS_STICKY='0' worked to unstick all of the sticky threads. When I viewed a listing of each forum the stickys were gone.

BUT, when I went back to re-sticky each of the topics I got this error message for each and every thread that was unstickyed with the SQL command:

Script: ../forums/scripts/stickpost.inc.php
Line#: 123
SQL Error: Duplicate entry '426-1' for key 1
SQL Error #: 1062
Query: INSERT INTO ubbt_ANNOUNCEMENTS VALUES ( 426 , 1 )

Please use your back button to return to the previous page.


[I shortened the directory. Also the '426-1' was different for each but I think all of them were the same SQL error 1062.]
Top
#169954 - 12/08/06 11:27 AM Re: Threads not being listed [Re: Jake]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
ok, you'll need to clear out the announcements table as well by running this query:

DELETE FROM ubbt_ANOUNCEMENTS
Top
#169969 - 12/08/06 01:32 PM Re: Threads not being listed [Re: Rick]
ntdoc Offline
Registered: 11/09/06
Posts: 3382
Quote:
DELETE FROM


Such an ugly term. - \:D
Top
#169971 - 12/08/06 01:43 PM Re: Threads not being listed [Re: Rick]
Jake Offline
member
Registered: 11/17/06
Posts: 140
Loc: Virginia
Well, it appears to be working properly. Are there really duplicate entries in ubbt_ANNOUNCEMENTS VALUES or did it attempt to make duplicate entries and complain because it could not make the duplicate entry?

What happens if I don't do a DELETE FROM ubbt_ANOUNCEMENTS?

Also, doesn't a SQL command need to specifically delete something specific. That command has me worried!
Top
#169972 - 12/08/06 01:52 PM Re: Threads not being listed [Re: Jake]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Basically the announcements table keeps track of which topics are sticky. With the first command I gave you that set all topics to unsticky in the topics table, but didn't account for those in the announcements table. Those 2 commands go hand in hand. What's happening is those that you are trying to make sticky again are already in the announcements table and you're getting the error.
Top
#169977 - 12/08/06 02:40 PM Re: Threads not being listed [Re: Rick]
Jake Offline
member
Registered: 11/17/06
Posts: 140
Loc: Virginia
Thanks for the response. I realized as much.

What happens if I don't do a DELETE FROM ubbt_ANOUNCEMENTS?

Can I just leave it alone at this point or do I need to repeat the two commands?
Top
#169978 - 12/08/06 03:23 PM Re: Threads not being listed [Re: Jake]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
If you have all of your stickies working as intended, then don't worry about running that command.
Top
#169985 - 12/08/06 04:27 PM Re: Threads not being listed [Re: Rick]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14904
Loc: Portland, OR; USA
Jake, keep in mind that where the command does delete data, it wont' delete your announcements (which is what I think you're worried about, it simply removes the topic id from the table of what threads are stickied), it simply makes the announcements that are sticked no longer stickied.
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#176478 - 02/01/07 03:14 AM Re: Threads not being listed [Re: Gizmo]
Zarzal Offline
old hand
Registered: 06/05/06
Posts: 1142
Loc: Berlin, Germany
So if I encounter any kind of problem with sticky posting (vanishing) after importing from classic I run the first sql to unstick all and then the command to clear the announcement table. Then I should see all postings and be able to restick them, correct?

I ask back because I never do this and now I thry to support somewhone with a huge board who have this problem.
_________________________
my board: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen
Top
#176492 - 02/01/07 03:29 AM Re: Threads not being listed [Re: Zarzal]
Ian Offline
Registered: 06/05/06
Posts: 4337
Loc: Essex, UK
This issue is caused by a previous hack.

The easy way to unstick the sticky posts is to sticky them again (yes despite them being already stickied, threads will allow you to action this request)

This will then error as mentioned above (as the post is already stickied in the database)

However you can now un-sticky and the post will return to normal.
Top
#176494 - 02/01/07 03:32 AM Re: Threads not being listed [Re: Ian]
ntdoc Offline
Registered: 11/09/06
Posts: 3382
Well my site had no hacks (unless it was put into the release code) and I had a couple issue with this as well.

None now or since though.
Top
#176497 - 02/01/07 03:34 AM Re: Threads not being listed [Re: ntdoc]
Ian Offline
Registered: 06/05/06
Posts: 4337
Loc: Essex, UK
Oh okay - fair enough - anyway the above method will get rid of them....

It saves database diving and wiping out any stickies form other forums that you wish to keep.
Top
#176603 - 02/01/07 04:41 PM Re: Threads not being listed [Re: Ian]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14904
Loc: Portland, OR; USA
Classic didn't always have sticky posts; it was a mod for a LONG period, then it was pushed out as an *official* feature in the code; so it could just be an issue of the compatability between the mod -> official
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#176606 - 02/01/07 04:45 PM Re: Threads not being listed [Re: Gizmo]
Ian Offline
Registered: 06/05/06
Posts: 4337
Loc: Essex, UK
ok - was several years since I 'abandoned' ubb for threads LOL
Top
#176608 - 02/01/07 04:46 PM Re: Threads not being listed [Re: Ian]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14904
Loc: Portland, OR; USA
:cough:traider:cough:
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#176611 - 02/01/07 04:47 PM Re: Threads not being listed [Re: Gizmo]
Ian Offline
Registered: 06/05/06
Posts: 4337
Loc: Essex, UK
LOL - I went to threads, whilst it was still wwwthreads - it has taken you several years to see the light and catch up ;\)
Top
#176616 - 02/01/07 04:54 PM Re: Threads not being listed [Re: Ian]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14904
Loc: Portland, OR; USA
nah, infopoop bought Rick out, then hired him, so I'm still on the path :nod:
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#176619 - 02/01/07 04:56 PM Re: Threads not being listed [Re: Gizmo]
Ian Offline
Registered: 06/05/06
Posts: 4337
Loc: Essex, UK
poor excuse ;\) xxx
Top
#176621 - 02/01/07 04:58 PM Re: Threads not being listed [Re: Ian]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14904
Loc: Portland, OR; USA
It's a great one ;)..
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
Page 1 of 3 1 2 3 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Edit Post
by Bert
Today at 01:19 PM
A positive note
by SteveS
Yesterday at 09:36 PM
How to locate links to particular site if they are only used in images?
by Conrad
02/10/12 09:41 PM
Pictures not displaying
by Marker23
02/09/12 10:04 PM
Issue with logging out constantly
by Flanuva
02/09/12 07:05 PM
Forum Stats
10213 Members
36 Forums
33667 Topics
180917 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image