![]() |
Nakkid,
Great job on this hack...Just one quick question before I install it....Will this give users the ability to quick delete their own posts? I would like to have the ability for users to delete their own from the threadview, and your hack seems to be the closest thing to it...I just wanted to clarify before I got to installing this tommorrow morning. Thanks for this and your other great hacks, I plan on using a bunch of them in my upcoming site! - John |
this hack will show only to users who have perms to delete posts.. not to the users himselfs... the user who posted, will have to go to edit/delete button, click on it and delete his(her) post. this hack was designed to ease the admin/mod's work. :)
|
thanks for the quick response!
I tried it out, it works great for the intended purpose. |
Hi, nice hack :)
No trouble with the installation and popup worked fine when I tested it, but I seem to have a very weird problem that nobody else has mentioned. The icon only appears every other post. Sometimes it'll appear on two posts in a row then not for the next 3 and then appear on the next but not the following. Anyone know why? |
what vb version you have? even if this hack was tested on 226 only, it should work fine in any version starting from 221.
check your code again... and remember that the hack was tested on a unhacked board. |
Has anyone got the default purple delete button? thanks ;)
|
this hack added a querie for each post in the thread, anyone else with this problem, nobody else metioned it.
hidjra |
just check you code. the hack doesnt add any query.
you edited wrong the code. remember the mistakes you had on forumhome? double check your steps always... |
nice i will install now
|
if post by unregistered pplz i can`t delete it ! Why ?
|
some people i cant delete their posts.. why...
|
Great Hack!
On vB 2.2.6 I got problems with it cause the "Delete" Button not appeared at every post. Now on vB 2.2.8 I installed it, checked every step twice and it works great... |
TECH - can you help me ?
>>if post by unregistered pplz i can`t delete it ! Why ? |
Quote:
|
Teck, there may be some Bug in your Hack causing a Query-Loop, please visit the following Thread: https://vborg.vbsupport.ru/showthrea...=&pagenumber=2
|
There is a proof this Hack has a Query-Loop adding +1 Querries / Post for Moderators and +2 Querries / Post for non-Moderators. Do not install this Hack until we Post a fixed Code here!
|
functions.php (code section related to my hack, check the file)
FIND: Code:
if (ismoderator($thread[forumid],"candeleteposts")) { Code:
if (in_array($bbuserinfo['usergroupid'], array(5, 6))) { |
TECH - can you help me? Read above
|
the hack deletes any posts. i have no idea why it doesnt for you.
|
Thanks for the fix, TECK!
|
I too cannot delete posts by unregistered users. The delete link does not appear. Any ideas?
|
One suggestion:
Is it somehow possible to return to the current page? When a moderator deltes a post, the forum will bring him back to page 1 of the thread. It would be extremly useful if he would be redirected to the page where he was before deleting the post. :) How can this be done? |
TECK the same problem with unregistered users!!! :ermm:
|
Thank you
|
Works great! Thank you kindly!!
The only small issue I had when installing was the "$templatesused =" part. There are 2 references to this inside showthread.php. I used the first one of course but you might want to add that in the instructions. Thanks!!!!!!! |
thnx, installed
|
Thanks for the hack
|
Quote:
|
this isn't deleting my posts. it deletes the pagetext tho, but that is no good.
Could it be realted to the store hack? |
don't know why, but the button (or text if used) appears. It's late so i'll take a crack at it again tomorrow.
|
sorry, but tell me, did u solve problem wuth guests posts? I need to delete them as well! :(
|
anyway to make this hack, so moderators can use also?
the admins can only use it I want to let the moderators use it also. |
Hi, I can't delete unregistered guests either, I am using newsgroup hack so I want to delete a load of crap posts, please anyone know how to sort this?
Thanks Stu |
Code:
if (in_array($bbuserinfo['usergroupid'], array(5, 6))) { Code:
if (in_array($bbuserinfo['usergroupid'], array(5,6))) { [EDIT: When trying to edit a post, I got an SQL error, so I removed the edit to the editpost.php file, and everything works smoothly now. Not sure what was being done on editpost.php, but the code obviously isn't required to delete posts... :rolleyes:] -y2k- |
Also, when I click on the "Delete Post" link(changed it from an image to a text link), I get the prompt, but then I am taken to a blank page. I go back to the thread, refresh, and the post/thread is still there. Any help is appreciated!
http://forums.bladestorm.net/showthr...=7587#post7587 (you can probably only see it if you're logged in and are a Mod or higher though...) -y2k- |
Anyone else have this problem and resolve it?
-y2k- |
Still looking for any help...
When I click on the "Delete Post" link(changed it from an image to a text link), I get the prompt, but then I am taken to a blank page. I go back to the thread, refresh, and the post/thread is still there. Any help is appreciated! -y2k- |
any chance of a VB3 version TECK ?
|
All times are GMT. The time now is 01:22 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:
|