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)
-   -   Last PM on Forumhome (https://vborg.vbsupport.ru/showthread.php?t=47900)

Boofo 01-21-2003 03:45 PM

Excellent! Thank you. Great hack! ;)

Sebastian 01-21-2003 05:11 PM

Quote:

Originally posted by Kratheous
Hmmm... Indeed. Sorry about that.

Other than that, it should've worked. My friend's running it (that's where I got the screenie from.. haven't reinstalled it on my own boards, yet. @_@)

but it doesn't work, if you haven't install it then do so, then tell me if it works. 1 person out of 10 got it to work in this thread, doesn't that tell you something? :ermm:

Boofo 01-21-2003 05:15 PM

Do you have any hacks installed that might be messing with it? I have alot of hacks installed and it works great here.

Kratheous 01-21-2003 05:30 PM

I just installed it on a 2.2.9 and it does work. No hitches, except the one "array" thing, which has been fixed in the posts above. I can't think of a reason where it shouldn't.

Boofo 01-21-2003 06:14 PM

Kratheous, don't forget to update the first post with the Array fix. :) I am running a heavily hacked v2.2.9 and it works fine here, too. Also, I adapted it to work on my vbHome lite page as well.

By the way, the code you gave me for the link to the Latest Private Message was missing a sessionhash. :)

This:

Quote:

<a href="./private.php?s=$session&action=show&privatemessagei d=$lastpmstuff[privatemessageid]">$lastpmstuff[title]</a>
Should be this:

Quote:

<a href="./private.php?s=$session[sessionhash]&action=show&privatemessageid=$lastpmstuff[privatemessageid]">$lastpmstuff[title]</a>

Slynderdale 01-22-2003 07:43 PM

Ok heres a fix i made to the hack, it uses just 1 query instead of 2, i also added support for firefly's private attachment hack, it also gets the folder name the pm is in, it links the user who sent you the pm to there profile and it also links the message to the pm itself, i fixed up the code and templates, ill post a screenshot below and in the next post the fix. enjoy.

Slynderdale 01-22-2003 07:43 PM

You can find the updated fixed file that shows the correct folder name here:
https://vborg.vbsupport.ru/showthrea...000#post345000

MetroSports82 01-22-2003 10:45 PM

um.. not working. I'm getting this message, with new pm's?

Quote:

You have no PMs in your inbox!

Slynderdale 01-22-2003 11:00 PM

Quote:

Originally posted by MetroSports82
um.. not working. I'm getting this message, with new pm's?


Hmm, im using it right now and it works, the new pm must be from some one else, not the same user that your checking the pm from, so if you tested by messaging yourself it wont show up as a new pm.

Kratheous 01-22-2003 11:03 PM

Yes, at the time I made this hack, I hadn't discovered joins... it's actually a few months old... *shrugs* And I must be out of it this week, excuse my lack of full variables. @_@


All times are GMT. The time now is 01:47 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.01135 seconds
  • Memory Usage 1,734KB
  • 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
  • (5)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