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)

Sinecure 07-02-2002 12:01 AM

This hack installed perfectly, just as I wanted. The instructions were as clear as day, I'm not exactly sure where you went wrong Bofo, his instructions seemed more then clear to me?

Regardless, great hack Nakkid :)

Boofo 07-02-2002 12:12 AM

This is not the code you said to put in the text link in the file I downloaded. There was no java script in the text link itself at all. That's where I got confused. Now it makes more sense when you show it to me. :)

Quote:

Originally posted by Nakkid
boofo, the link should look like that:
Code:

<a href="javascript:confirmdelete()">Delete Message</a>
grrrr.. firefly's hacks snooping arround... :)
remove the space between [high]java[/high] and [high]script[/high]



TECK 07-02-2002 12:16 AM

np boofo. :)
is all clear now? let me know if there is something else you are not sure and i will tell you how to do it.
all the best,
floren.

Boofo 07-02-2002 12:19 AM

Nakkid,

Here is the code you had in the original file that you said I need to put in if it was a text link.

Code:

<smallfont><a href="editpost.php?s=$session[sessionhash]&action=deletethispost&postid=$post[postid]">Delete Post</a></smallfont>
That doesn't look any where near what you have in it now for this replacement. You changed it.

Code:

<a href="java script:confirmdelete()">Delete Message</a>
That is what was confusing me. Your instructions were wrong.
So, I guess I DID read ther instructions right the first time, huh?

Quote:

This hack installed perfectly, just as I wanted. The instructions were as clear as day, I'm not exactly sure where you went wrong Bofo, his instructions seemed more then clear to me?
Sinecure,

You must have gotten the updated file then. :)

TECK 07-02-2002 12:21 AM

i understand now where was the prob. everytime you download again a file at vB.org, you must clear before the chache, orelse it will download the same old file.

Boofo 07-02-2002 12:32 AM

The file I downloaded the first time was also called 1.1. You had added the javascript code but not changed the text link in it yet. The new file with the text link changed is the same version number. My cache was cleared the first time for the file becasue I had not downloaded it before. So, I don't need anything else explained. All I needed was the right file in the first place, which is there now. You changed that text link after my message that it didn't work, huh? :)

Quote:

Originally posted by Nakkid
i understand now where was the prob. everytime you download again a file at vB.org, you must clear before the chache, orelse it will download the same old file.

TECK 07-02-2002 12:35 AM

nope. i did not change it. why would i do this?
boofo, i always check my hacks properly and test them before i release them. also i always read the info properly just to make sure people get it right.

rest assured that if i would do this, forget to update a little piece of info, i will mention it here. so people know.
i use the auto-change function in my editor.. so it changes automatically everything in the command i enter. so when i highlighted the link, it replace it twice. and i never used in both files <smallfont>.

i send you a pm telling you to delete the irelevant posts you made here, to cleanup the thread. is up to you if you want to do this. acusing people that they do stuff like the one you posted above, wont get you far... at least not with me. thanks for the "cool" post.

let me know if you have any other problems with the hack.
regards,
floren.

Admin 07-02-2002 07:43 AM

Quote:

Originally posted by Nakkid
grrrr.. firefly's hacks snooping arround... :)
What?! Please delete that post, you are implying I created a hack that caused this confusiong when it's really vBulletin that separates java and script..

Sinecure 07-02-2002 07:49 AM

Ummm, regardless, great hack nakkid.
I think I'm going to apply the modification so that only I can see this, or only administrators for that matter. I just don't want mods accidently deleting threads.

Boofo 07-02-2002 10:59 AM

Nakkid,

The smallfont part was the part I added to your original code when I put it in the postbit _deletepost. You didn't have the smallfont tags in your original code. When I quoted it, I quoted it from the template file since I already had it open replacing the code with the NEW code in your UPDATED hack file. When I get to the day I find myself not being able to read and understand a hack so small and simple, then I'll hang up the old board and call it quits. I've installed too many hacks by now to make that kind of mistake every time. Give me a little more credit than that.

It really doesn't matter anyway, Floren. I installed that hack, got the right code for it now and it works great. What bothers me is your defence stance over something that a hundred other hack writers have done a thousand times before and never had a problem dealing with. I'm glad to see that we have at least one perfect hack writer here. I was starting to get worried. ;)


All times are GMT. The time now is 05:59 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.01076 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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