Page 1 of 1
Forum / phpBB - can't delete threads
Posted: Tue Feb 12, 2008 12:01 pm
by ewehdemeyer
Hi,
on my blog there is a more smallish forum, but some friends wrote - so I don't want to delete it altogether. Additionally some spammers dropped their mess. It's not that often, so I am simply trying to delete it, when that happens. But I am just able to delete the answer, not the thread - that's remaining.
There are buttons :"new thread", "new forum" "delete answer" - but no "delete thread". I am blinking a fact?
thanks
Eva
Re: Forum / phpBB - can't delete threads
Posted: Tue Feb 12, 2008 12:16 pm
by garvinhicking
Hi!
Which version of that plugin are you using?
Regards,
Garvin
Posted: Tue Feb 12, 2008 12:36 pm
by ewehdemeyer
Hi Garvin
it's version 0.24
Posted: Tue Feb 12, 2008 12:43 pm
by ewehdemeyer
Garvin,
feeling cheap. may be updating is the way. I'll try that immediate after lunch.
Eva
Posted: Tue Feb 12, 2008 1:35 pm
by ewehdemeyer
Hi,
now it's version: 0.31. Didn't help.
Eva
Posted: Tue Feb 12, 2008 2:09 pm
by garvinhicking
Hi!
Inside the language files there are definintely strings on where to delete a complate thread, in the same line where you can move a thread.
You must be logged in as superuser/admin to see those in the forum frontend...?
Regards,
Garvin
Posted: Tue Feb 12, 2008 3:41 pm
by ewehdemeyer
Hi,
Yes, I'm logged in as superuser/admin. hm.
screenshot:
Eva
Posted: Tue Feb 12, 2008 3:45 pm
by garvinhicking
Hi!
Hm, this looks more like a screenshot of when you are not logged in?!
Have you check the admin backend, there's a "Forum" menu as well?
(I'm not using this forum plugin and have never really used it, so I'm fishing in the dark here as I have no example installation I could look into easily)
Regards,
Garvin
Posted: Tue Feb 12, 2008 4:13 pm
by ewehdemeyer
Hi,
When I delete the answers, there are more buttons, but when its done - only "new thread".

after deleting the answers
...

click on the thread
...
the backend allows to change the order of the forums.
maybe I have to change some settings in the plugin? Everyone using this plugin without this phenomenon?
maybe someone knows whats wrong.
Eva
Posted: Tue Feb 12, 2008 4:43 pm
by judebert
I don't use the plugin myself, either; but I've got the code, so I've got some idea of what's going on.
If you're logged in as a user with userlevel 255 (an admin), then you should see three buttons: close or open thread, move thread, and delete thread. These are saved as the Smarty variable "THREADBUTTONS", so it's possible your template just isn't drawing that variable.
However, it's in the templates/postlist.tpl code. When you enter a thread and look at its posts, and you're logged in as admin, the thread buttons should appear at the bottom of the page in a center-aligned div. They're images wrapped in anchors. Use "View Source" to check if they're in the HTML.
Posted: Tue Feb 12, 2008 5:13 pm
by ewehdemeyer
Hi judebert,
thats right - and it works! I am able to delete threads - as long, as there are answers. By answer-deleting I produced answerless threads. The answerless threads are without these buttons.
But through move ... and .. delete I got rid now of the needless threads.
Thanks a lot
Eva
Posted: Tue Feb 12, 2008 10:29 pm
by judebert
So the problem was that you couldn't delete an empty thread? I suppose that would be because you can't enter the thread, and so you the buttons can't be displayed.
Your screenshots actually make that abundantly clear. I don't know why I didn't see it before.
I found the problem in the source and fixed it. I added that "PLUGIN_FORUM_NO_POSTS" to the English language file, too.
Since I'm not using the plugin, could you give it a test for me? It'll be available from SPARTACUS after the next nightly build.
Posted: Tue Feb 12, 2008 11:46 pm
by ewehdemeyer
Hi judebert,
I'll look for that Thursday. ok?
Eva
Posted: Wed Apr 09, 2008 9:38 am
by ewehdemeyer
Hi judebert,
Completely forgotten. sorry.
but it works fine now.
yes we can: deleting empty threads
Eva