Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Previous-Next PM 1.0 Details »»
Previous-Next PM 1.0
Version: 1.00, by ForumsMods ForumsMods is offline
Developer Last Online: Sep 2022 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.7.3 Rating:
Released: 09-19-2008 Last Update: Never Installs: 13
Uses Plugins Template Edits Auto-Templates
Code Changes Translations  
No support by the author.

Previous-Next PM 1.0

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.

Installation:
1)Import the product.2)At the end of template pm_showpm add:
PHP Code:
$prevnext 

Where to set option:
vBulletin Options-> Private Messaging Options

Languages:

- English

History:
1.0 20-09-08
- First Release

This hack is created for your use free of charge. No payment is requested. However, if you would like to donate money for the work I put in to this hack, a donation would show your appreciation.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 09-20-2008, 05:21 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1 View Post
vbulletin.org staff should look at this then.
they wil i reported it already
Reply With Quote
  #13  
Old 09-21-2008, 05:19 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Gasper, it is obvious this is a copy of Andreas' modification, with a few minor changes. Do you have his permission to re-release his modification?

Dismounted

PS. You cannot argue that is is not a copy, here is the difference report.
Code:
================================================================================
Lines modified at 3
================================================================================
- <product productid="prevnextpm" title="Previous/Next PM" description="This Hack provides Previous/Next PM links so you can browse through your Messages just like you can browse Threads in Forums." version="1.0.1" active="1">
+ <product productid="prev_next_pm" active="1">
================================================================================
Lines added at 4
================================================================================
+ 	<title>Previous-Next PM</title>
+ 	<description>This Hack provides Previous/Next PM links so you can browse through your Messages just like you can browse Threads in Forums.</description>
+ 	<version>1.0</version>
+ 	<url />
+ 	<versioncheckurl />
+ 	<dependencies>
+ 	</dependencies>
================================================================================
Lines added at 7
================================================================================
+ 		<template name="Previous-Next PM" templatetype="template" date="1209682112" username="Gasper" version="1.0"><![CDATA[<if condition="$vboptions['prev_next_pm_active']">
+ <br />
+ 
+    <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>
+ </if>]]></template>
================================================================================
Lines modified at 9
================================================================================
- 		<plugin active="1">
+ 		<plugin active="1" executionorder="5">
- 			<title>Previous/Next PM</title>
+ 			<title>Previous-Next PM</title>
================================================================================
Lines added at 11
================================================================================
+ 			<hookname>private_complete</hookname>
+ 			<phpcode><![CDATA[eval('$prevnext = "' . fetch_template('Previous-Next PM') . '";');]]></phpcode>
+ 		</plugin>
+ 		<plugin active="1" executionorder="5">
+ 			<title>Previous-Next PM</title>
================================================================================
Lines added at 60
================================================================================
+ 		<phrasetype name="vBulletin Settings" fieldname="vbsettings">
+ 			<phrase name="setting_prev_next_pm_active_desc" date="1221880667" username="Adrian" version="1.0"><![CDATA[Show  ?  Previous PM  | Next PM  ?]]></phrase>
+ 			<phrase name="setting_prev_next_pm_active_title" date="1221880667" username="Adrian" version="1.0"><![CDATA[Show Previous-Next PM Link?]]></phrase>
+ 		</phrasetype>
================================================================================
Lines modified at 61
================================================================================
- 			<phrase name="next_pm"><![CDATA[Next PM]]></phrase>
+ 			<phrase name="next_pm" date="1221880375" username="Adrian" version="1.0"><![CDATA[Next PM]]></phrase>
- 			<phrase name="previous_pm"><![CDATA[Previous PM]]></phrase>
+ 			<phrase name="nonextnewestpm" date="1221880425" username="Adrian" version="1.0"><![CDATA[There are no Private Messages newer than the previous one.]]></phrase>
- 		</phrasetype>
+ 			<phrase name="nonextoldestpm" date="1221880443" username="Adrian" version="1.0"><![CDATA[There are no Private Messages older than the previous one.]]></phrase>
- 		<phrasetype name="Error Messages" fieldname="error">
+ 			<phrase name="previous_pm" date="1221880394" username="Adrian" version="1.0"><![CDATA[Previous PM]]></phrase>
================================================================================
Lines deleted at 65
================================================================================
- 			<phrase name="nonextnewestpm"><![CDATA[There are no Private Messages newer than the previous one. Click the back button in your browser to return to it.]]></phrase>
- 			<phrase name="nonextoldestpm"><![CDATA[There are no Private Messages older than the previous one. Click the back button in your browser to return to it.]]></phrase>
================================================================================
Lines added at 70
================================================================================
+ 		<settinggroup name="pm" displayorder="440">
+ 			<setting varname="prev_next_pm_active" displayorder="150">
+ 				<datatype>free</datatype>
+ 				<optioncode>yesno</optioncode>
+ 				<defaultvalue>1</defaultvalue>
+ 			</setting>
+ 		</settinggroup>
================================================================================
Lines added at 71
================================================================================
+ 	<helptopics>
+ 	</helptopics>
+ 	<cronentries>
+ 	</cronentries>
+ 	<faqentries>
+ 	</faqentries>
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:46 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.06339 seconds
  • Memory Usage 2,232KB
  • Queries Executed 17 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (2)postbit
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete