Thread: Mini Mods - Previous-Next PM 1.0
View Single Post
  #13  
Old 09-21-2008, 04: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
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01676 seconds
  • Memory Usage 1,798KB
  • 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
  • (1)bbcode_code
  • (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