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 PM Reply Box (https://vborg.vbsupport.ru/showthread.php?t=38178)

yzztik 09-09-2002 10:19 PM

Ok fair enough, I'll sift through it and see if I can find the error ... but if i had accidently deleted that part of the code, wouldnt it not work at all even when using the regular PM reply instead of the quick PM box? Cuz it works then ... thats whats so odd.

Erwin 09-09-2002 11:02 PM

Is this happening to anyone else using this hack? Or is this an isolated problem? Because this problem doesn't occur with my forums.

yzztik 09-09-2002 11:22 PM

Well, I know that it happens for sure in one other board that I frequent and I did not install that one though we have similar hacks *shrug*

I am curious to know if anyone else is having the problem ...

JoergZ 09-22-2002 12:40 AM

Great Hack Erwin ! :)

But I must say, I have the same error, that after a reply with the Quick-Box the icon of the original PM is not changed.

(vB Vers. 2.2.6)


J?rg



P.S. I found the error why the icon was not correct (the field "messageread" was not updated correct.

In the template modification of your hack the wrong line is:

Code:

<input type="hidden" name="privatemessageid" value="$privatemessageid">
It must be

Code:

<input type="hidden" name="prevmessageid" value="$privatemessageid">
After that change it works correct.


J?rg

Erwin 09-22-2002 06:49 AM

Ahhh... thanks Jorg. I have both lines in my forums - the line that I put in the hack is the line for the private message preview hack. That's why I never had this problem.

When I wrote the installation file, I deleted the standard line and kept the wrong line for this hack. :) I meant to delete that one, not the one that is standard.

I've fixed the installation text file, and sent an update to all who installed this so they know to fix it.

TheEDIGuy 09-25-2002 11:49 AM

Erwin, I just installed this hack, because my users have been requesting it. I think it'll be nice, and the install was problem-free.

However, when I check the box to delete the original PM, I always get this message:

Quote:

No privatemessage specified. If you followed a valid link, please notify the webmaster
I haven't made any modifications to private.php or the privmsg template before this. I'm running vb 2.2.7. Any further info needed, please let me know.

Thanks!

John
http://www.fansofrealitytv.com
When your reality sucks, there's Reality TV!

Mike11212 09-25-2002 12:07 PM

great hack :)

Erwin 09-25-2002 11:23 PM

Okay, a minor bug fix.

It seems that you need BOTH lines in the template.

Make sure that you have BOTH of these lines in the template code that you add to "privmsg" - the first one is needed for the delete box to work, the second one for the icon to change to SENT when a message is replied to.

Code:

<input type="hidden" name="privatemessageid" value="$privatemessageid">
<input type="hidden" name="prevmessageid" value="$privatemessageid">

Sorry about this. :) I knew that the first line was there for a reason! :)

Erwin 09-25-2002 11:23 PM

Yeah, and I've updated the installation text file to version 2.2 to reflect this.

Areku 10-06-2002 05:07 PM

Once more, thanks for this great hack!

Works like a charm on vb 2.2.0!

Thanks!


All times are GMT. The time now is 02:48 AM.

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.01158 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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