View Single Post
  #127  
Old 08-14-2005, 02:10 AM
mfarmerhi mfarmerhi is offline
 
Join Date: Apr 2003
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Angel (and others). Thought I'd write because I found some important info:
Quote:
Originally Posted by angelicGrace
on that note I went back and checked all my edits. they are just as required. beats me. ah well i don't mind it so much and my users know what is up with it and they don't realy care so i am not worried.
Okay... since on one was willing to do all the work to get my lazy ass an answer and save me the work (lol), I went back and looked at this all again.

Turns out (er... as is most often the situation) that I was the problem. I thought I was too smart

To answer my own question:

Yes, this hack works great -- ALL OF THE HACK, INCLUDING THE DELETE -- with 3.0.7.

The delete works, both deleting messages and not sending blank messages. The reply works, sending a message, etc. The "Request Confirmation Recipt" works....

With 3.0.7 (dunno about any other version of vB, but it all works perfectly with 3.0.7)

The problem I was having, and I assume the problems others are having, come from not following the instructions VERBATIUM

See... I thought I was smarter. When Erwin posted the last instruction:
Quote:
2. Edit the template 'pm_showpm' -


AT THE BOTTOM OF THE TEMPLATE, ADD:


HTML:
$quickpmreply
I thought... he can't possibly mean the BOTTOM.

See... there's a table on that template. A table and a form. You've gotta put the $quickpmreply IN the table, don't you!? You've got to put the $quickpmreply IN the form, don't you!?

And so, I struggled with placing $quickpmreply in different places in the existing template... in the table... making new tables... in the form...

It never worked.

When I put it once place it wouldn't delete the message. In another, it would sent blank PMs when I attempted to delete the message. But -- WHEN PLACED IN THE EXISTING FORM OR TABLE -- it would NOT work correctly.

So I finally did what Erwin's instructions said:
Quote:
2. Edit the template 'pm_showpm' -


AT THE BOTTOM OF THE TEMPLATE, ADD:


HTML:
$quickpmreply
...knowing full well that it wouldn't work (cause of all my "smart" thinking detailed above.

Er... guess what?

It worked perfectly.

So... when Erwin says
Quote:
2. Edit the template 'pm_showpm' -


AT THE BOTTOM OF THE TEMPLATE, ADD:


HTML:
$quickpmreply
He MEANS AT THE BOTTOM OF THE TEMPLATE. AFTER the </tr>. AFTER the </form>. After EVERYTHING... at the BOTTOM of the template.

Works great.

Um... thanks Erwin
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01841 seconds
  • Memory Usage 1,777KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete