Liquid Web Hosting - Dedicated, VPS and Shared Hosting with top-notch support

HTML Newsletter for PHP-Nuke
  Login or Register
 • Home • Downloads • Your Account • Forums • 
Supported Projects!

Stop Spam Email Harvestors - Join Project HoneyPot!

Support GoPHP5.org

 
Please Link to Me!


 
Site Menu
icon_home.gif Home
· Montego's Blog
icon_community.gif Community
tree-T.gif Advertising
tree-T.gif Newsletters
tree-T.gif Downloads
tree-T.gif Web Links
tree-T.gif Content
tree-L.gif Surveys
nuke.gif Projects
tree-T.gif HTML Newsletter
tree-T.gif ShortLinks
tree-T.gif DynamicTitles
tree-L.gif Mailer
som_downloads.gif Support
tree-T.gif Forums
tree-T.gif Documentation
tree-L.gif Sitemap
icon_members.gif Members Only
Access restricted to our members Private Messages
Access restricted to our members Members List
tree-L.gif Your Account
favoritos.gif News
icon_poll.gif Misc
 
Site Info
Your IP: 38.103.63.17

Welcome, Anonymous
Nickname
Password
Security Code
Security Code
Type Security Code


· Register
· Lost Password
Server Date/Time
7 August 2008 20:27:20 EDT (GMT -4)
 
RSS/XML Feed Previews
1. News Feeds
1. Most Recent 10 Articles

2. Forum Feeds
1. Most Recent 10 Forum Posts

3. Download Feeds
1. Most Recent 10 Downloads
2. Most Popular 10 Downloads
 
Misc Info

Powered by  MyPagerank.Net

Join the HoneyPot Project and help stop spam!

RavenNuke(tm) - Most secure and fast PHP-Nuke on the web!

Get TegoNuke(tm) ShortLinks from this site and more...

This site is valid CSS!

 
Inspiration
And he saith unto me, Write, Blessed are they which are called unto the marriage supper of the Lamb. And he saith unto me, These are the true sayings of God.
Revelation 19:9/KJV
Verseoftheday.com
 
Montego Scripts: Forums


View next topic
View previous topic
Post new topic   Reply to topic
Author Message
Slackervaara
Newbie
Newbie



Joined: Nov 03, 2007
Posts: 57

PostPosted: Sun Dec 16, 2007 10:25 pm Reply with quote Back to top

I have PHP-Nuke 7.6 with patch 3.3 and the PH2 theme with Shortlinks 1.20. When members tries to edit a Private Message in the Outbox it fails and one is transferred to the Inbox.

This is the link to Edit in a Message with Shortlinks on:
http://localhost/nuke/messages.html&file=index&mode=edit&p=16531&sid=7c2d0342e1cb51c0d1270a1623e65f8c

This is the link to Edit in a Message with Shortlinks off:
http://localhost/nuke/modules.php?name=Private_Messages&file=index&mode=edit&p=16531&sid=48fccb7ed88ad45f570216e3264d22e1
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 867

PostPosted: Mon Dec 17, 2007 8:27 am Reply with quote Back to top

Interesting. I don't think the original creators of this (nor myself since) ever even considered something editing their posts after it was sent. Wink

Try this:

=== OPEN FILE ===

ShortLinks/GT-Private_Messages.php

=== FIND LINE ===

Code:

'"(?<!/)modules.php\?name=Private_Messages&amp;file=index&amp;mode=(reply|quote)&amp;p=([0-9]*)((\")|(&amp;sid=[a-zA-Z0-9]*))"',


=== REPLACE WITH ===

Code:

'"(?<!/)modules.php\?name=Private_Messages&amp;file=index&amp;mode=(reply|quote|edit)&amp;p=([0-9]*)((\")|(&amp;sid=[a-zA-Z0-9]*))"',


=== OPEN FILE ===

.htaccess

=== FIND LINE ===

Code:

RewriteRule ^messages-(reply|quote)-([0-9]*).html modules.php?name=Private_Messages&file=index&mode=$1&p=$2 [L]


=== REPLACE WITH ===

Code:
RewriteRule ^messages-(reply|quote|edit)-([0-9]*).html modules.php?name=Private_Messages&file=index&mode=$1&p=$2 [L]


=== DONE ===
View user's profile Send private message Visit poster's website
Slackervaara
Newbie
Newbie



Joined: Nov 03, 2007
Posts: 57

PostPosted: Mon Dec 17, 2007 10:21 am Reply with quote Back to top

Many thanks for the rapid response! It fixed the problem I had.
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 867

PostPosted: Mon Dec 17, 2007 10:36 am Reply with quote Back to top

Excellent. Thanks for letting me know. I have made this a Sticky and this will be fixed in an upcoming 1.2.1 release after the New Year.

_________________
“To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001-2008 phpBB Group
:: Theme & Graphics by Daz :: Ported for PHP-Nuke by nukemods.com ::
All times are GMT - 4 Hours
Forums ©
 

[ Legal | Privacy Policy | Terms of Use | Contact Us ]


[Valid RSS] Valid robots.txt


All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2005 - 2008 by Montego Scripts.
Distributed by Raven PHP Scripts
PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.22 Seconds

:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional & XHTML 1.0 Transitional Compliance by RavenNuke™ TEAM ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation :: W3C XHTML 1.0 Transitional Compliance Validation ::

Forum - Join the conversation on the Thoughts.com forums
Search Engine Ranking - Improve your SEO services. Premium Web content, intelligent links, quality optimization & competitive search engine placement. You deserve Better Rankings!
PhpNuke Themes
Lobo Links Web Directorylinear-bunchlinear-bunch