vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Previous/Next PM (https://vborg.vbsupport.ru/showthread.php?t=94028)

Andreas 08-09-2005 10:00 PM

Previous/Next PM
 
<font size="3">Previous/Next PM</font>
Description
This Hack adds Previous-/Next PM Links when a PM is being showed, so you can browse through your Messages just like Threads in Forums.
It adds 1 Query when the Link is being clicked.

Details
1 Product XML with 1 Plugin and 4 Phrases
1 Template Edit

History
1.0.0 Initial Version
1.0.1 Fixed a Problem with sorting

Please only click Install if you actually have installed/are using this Hack, and click Uninstall whan you don't use it any longer!

yupfish 08-10-2005 07:49 PM

/me installs

nix 08-10-2005 08:13 PM

missing a file?

Andreas 08-10-2005 08:17 PM

Whoos :)
Sorry. It's there now.

FleaBag 08-10-2005 11:13 PM

Sweet! Thanks. :)

Biker_GA 08-10-2005 11:22 PM

My staff and users love you. LOL

turksengel 08-11-2005 04:53 AM

thanx
clicked install ;)

Zachariah 08-12-2005 11:19 PM

Thank you. I will try it out.

Brinnie 08-13-2005 01:08 PM

Instaled.

worked perfectly

Oblivion Knight 08-13-2005 08:55 PM

Another excellent tool for us [s]busy admins[/s] lazy people.! :)

OmaniMan 08-14-2005 11:33 AM

Thanks ...
Installed

RoryF 08-14-2005 04:13 PM

Installs, thankyou KirbyDE :)

poolking 08-14-2005 05:21 PM

/me installed

Sleepyk 08-17-2005 01:33 AM

perfect i been looking for something like this sense vb 2 lol

Brinnie 08-21-2005 05:09 PM

I've noticed that using the 'previous pm' and 'next pm' buttons under the actual pm don't work. When you hit the "next pm" it takes you to the very last pm in your inbox rather than the "next" pm.

Anyone else notice this?

Andreas 08-21-2005 06:25 PM

It takes you to the next/previous PM in the same Folder, at least that is what it should do.

Brinnie 08-22-2005 07:13 AM

« Previous PM works.
Next PM » takes me to the most recent PM.

Andreas 08-22-2005 03:01 PM

Doh! Should be fixed now.

Boofo 08-22-2005 03:07 PM

I would re-check the readme file in there. It looks like a converstion between you and someone else. ;)

Andreas 08-22-2005 03:09 PM

WTF ... that was a post from vB.com
Wonder how this made it into the readme

Boofo 08-22-2005 03:13 PM

Quote:

Originally Posted by KirbyDE
WTF ... that was a post from vB.com
Wonder how this made it into the readme

With you, Kirby, I have learned to expect the unexpected. ;)

Andreas 08-22-2005 03:16 PM

LOL ;)
Anyway, the correct File should be in the ZIP now again.

Boofo 08-22-2005 03:18 PM

It is. ;)

The readme hasn't changed any of its content, right? Just the product (1 byte difference). ;)

Andreas 08-22-2005 03:19 PM

Exactly. It was just a DESC where it should have been ASC :)

Boofo 08-22-2005 03:20 PM

All that grief for one byte. Seems almost a waste to upgrade it, huh? LOL

Andreas 08-22-2005 03:21 PM

Well, you could also just edit the Plugin and change the 2nd DESC to ASC :)

Boofo 08-22-2005 03:21 PM

Well, I rather enjoyed the first readme you sent with it. I look forward to your upgrades now. ;)

Andreas 08-22-2005 03:24 PM

I'm gonna try to stick some private eMails into the next one ;)

Boofo 08-22-2005 03:28 PM

I will definately be looking forward to that. ;)

FleaBag 08-22-2005 08:34 PM

Just installed on my Beta 2, loving it! Thanks Kirb. :)

Cyricx 09-26-2005 12:01 PM

Love this Kirby! Thanks :)

I wonder if it would be possible to do something similar to what Amy did for thread titles in this hack -

https://vborg.vbsupport.ru/showthread.php?t=92407

Into your hack so that it displayed the PM's title instead of the previous/next text :)

[high]* Cyricx clicks install[/high]

akanevsky 10-05-2005 10:58 PM

Thanks, this is a nice hack.

Oblivion Knight 10-18-2005 11:53 AM

Just a friendly reminder to update the product for RC3 onwards.. ;)

The plugin currently isn't attached to the product.

Andreas 10-18-2005 12:31 PM

Quote:

Originally Posted by Oblivion Knight
Just a friendly reminder to update the product for RC3 onwards.. ;)

The plugin currently isn't attached to the product.

Hmm, there is just 1 Plugin, which is in the Product XML and therefore surely attached to the product?

Sooner95 10-18-2005 12:39 PM

2ez, installed.. thx bud

Oblivion Knight 10-18-2005 12:57 PM

Quote:

Originally Posted by KirbyDE
Hmm, there is just 1 Plugin, which is in the Product XML and therefore surely attached to the product?

I was under the impression that for every plugin, cpnav or phrase we should put product="<productid>"?

It's what I've been doing anyway.! Perhaps I'm mistaken.. :nervous:

Andreas 10-18-2005 01:14 PM

In product XMLs there won't be a product parameter, as those plugins automatically belong to the product :)

cbr929rrerion 10-26-2005 10:16 PM

I also added it to the top so you dont have to scroll to the bottom. They have the choice to hit next/previous at the top of the message or bottom..

just find..

// -->
</script>
</if>

and paste:

<div class="smallfont" align="center">
<strong>&laquo;</strong>
<a href="private.php?$session[sessionurl]do=showpm&amp;pmid=$pm[pmid]&amp;goto=nextoldest">$vbphrase[previous_pm]</a>
|
<a href="private.php?$session[sessionurl]do=showpm&amp;pmid=$pm[pmid]&amp;goto=nextnewest">$vbphrase[next_pm]</a>
<strong>&raquo;</strong>
</div><br />

Works awesome

FleaBag 08-13-2006 10:34 AM

Works (as expected) with 3.6 also. Another gem hidden away in the obscurity of ancient threads. Please add this to the main vB code if you can Andreas. :)

crazycajun 02-24-2007 06:52 PM

Thank for the mod, it works great!


All times are GMT. The time now is 04:49 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.01324 seconds
  • Memory Usage 1,780KB
  • 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_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
  • (40)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