vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Quick Delete Post (https://vborg.vbsupport.ru/showthread.php?t=40523)

SpeedStreet 08-14-2002 01:47 AM

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

TECK 08-14-2002 01:51 AM

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. :)

SpeedStreet 08-14-2002 01:03 PM

thanks for the quick response!

I tried it out, it works great for the intended purpose.

PhoenixBB 08-26-2002 03:54 PM

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?

TECK 08-26-2002 04:52 PM

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.

N9ne 09-01-2002 11:34 PM

Has anyone got the default purple delete button? thanks ;)

hidjra 09-12-2002 09:39 AM

this hack added a querie for each post in the thread, anyone else with this problem, nobody else metioned it.

hidjra

TECK 09-12-2002 07:28 PM

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...

ZiRu$ 09-14-2002 01:19 AM

nice i will install now

JohnWoo 09-22-2002 09:53 AM

if post by unregistered pplz i can`t delete it ! Why ?

BladesM3 09-29-2002 05:26 PM

some people i cant delete their posts.. why...

Gnu5124 10-02-2002 05:03 PM

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...

JohnWoo 10-23-2002 08:45 PM

TECH - can you help me ?

>>if post by unregistered pplz i can`t delete it ! Why ?

TheSaint-AeD 10-24-2002 08:33 AM

Quote:

Originally posted by Tha Rock
Has anyone got the default purple delete button? thanks ;)
Here you are :)

TheSaint-AeD 10-24-2002 09:07 AM

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

TheSaint-AeD 10-24-2002 09:47 AM

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!

TECK 10-24-2002 10:55 AM

functions.php (code section related to my hack, check the file)
FIND:
Code:

if (ismoderator($thread[forumid],"candeleteposts")) {
REPLACE WITH:
Code:

if (in_array($bbuserinfo['usergroupid'], array(5, 6))) {
this change will make not to load any query at all. i updated the file.

JohnWoo 10-24-2002 12:48 PM

TECH - can you help me? Read above

TECK 10-24-2002 01:25 PM

the hack deletes any posts. i have no idea why it doesnt for you.

X-Fan 11-03-2002 12:57 PM

Thanks for the fix, TECK!

cessna140 12-06-2002 03:12 AM

I too cannot delete posts by unregistered users. The delete link does not appear. Any ideas?

Odysseus 12-08-2002 08:03 AM

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?

M.C. 12-24-2002 06:15 PM

TECK the same problem with unregistered users!!! :ermm:

HiSquad 12-30-2002 09:41 AM

Thank you

alkatraz 01-05-2003 05:51 PM

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!!!!!!!

Dribbles 01-06-2003 01:49 AM

thnx, installed

Yuber 02-20-2003 03:20 PM

Thanks for the hack

BrAinZ 03-02-2003 09:56 PM

Quote:

Originally posted by TheSaint-AeD
Here you are :)
Don't suppose that anyone has a nice ORANGE delete button kicking around ... PLEASE ??

ImportPassion 03-17-2003 01:38 PM

this isn't deleting my posts. it deletes the pagetext tho, but that is no good.
Could it be realted to the store hack?

leitel 04-19-2003 03:59 AM

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.

M.C. 05-10-2003 10:14 PM

sorry, but tell me, did u solve problem wuth guests posts? I need to delete them as well! :(

futuredood 08-08-2003 05:07 PM

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.

floridaideal 08-21-2003 08:35 AM

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

y2krazy 12-23-2003 10:38 PM

Code:

if (in_array($bbuserinfo['usergroupid'], array(5, 6))) {
Installed the hack on 2.3.0, but had a little problem with the line above. You should remove the space between the "5," and the "6" so that it will work correctly. That was the only problem I had. Should read as the following:

Code:

if (in_array($bbuserinfo['usergroupid'], array(5,6))) {
Thanks for a great new feature, TECK! :D

[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-

y2krazy 01-13-2004 01:06 AM

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-

y2krazy 01-15-2004 03:06 AM

Anyone else have this problem and resolve it?

-y2k-

y2krazy 02-01-2004 07:58 PM

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-

Dataforce 02-26-2004 04:03 PM

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
  • Page Generation 0.01139 seconds
  • Memory Usage 1,782KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (38)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete