Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> ShortLinks/TegoNuke
Author Message
spasticdonkey
RavenNuke(tm) Development Team


Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Tue Mar 20, 2007 4:44 pm Reply with quote

just a minor error i was getting, when i try to use "send quick pm" via the Site Info v2.2.2 © block (using shortlinks too) it just takes me to my inbox instead of a pm to selected member. The url used looks like so:

Code:
http://www.mysite.com/messages.html?mode=post&u=9
 
View user's profile Send private message Visit poster's website
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9453
Location: Arizona

PostPosted: Wed Mar 21, 2007 5:55 am Reply with quote

You are absolutely correct and my appologies! Not sure how I missed those. Here is the fix:

=== OPEN ===

ShortLinks/GTB-block-User-Info.php

=== REPLACE WITH ===

Code:
$urlin = array(

'"(?<!/)modules.php\?name=Your_Account&amp;op=userinfo&amp;username=([a-zA-Z0-9_-]*)"',
'"(?<!/)modules.php\?name=Forums&amp;file=profile&amp;mode=viewprofile&amp;u=([0-9]*)"',
'"(?<!/)modules.php\?name=Private_Messages&amp;mode=post&amp;u=([0-9]*)"',
'"(?<!/)modules.php\?name=Private_Messages"',
'"(?<!/)modules.php\?name=Your_Account&amp;op=([a-z_]*)"',
'"(?<!/)\?gfx=gfx&amp;random_num=([0-9]*)"'
);

$urlout = array(
'userinfo-\\1.html',
'forum-userprofile-\\1.html',
'messages-post-\\1.html',
'messages.html',
'account-\\1.html',
'account-gfx-\\1.html'
);

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
spasticdonkey
PostPosted: Wed Mar 21, 2007 12:23 pm Reply with quote

thanks! worked like a charm Smile
love tegonuke shortlinks btw, cant wait for my next search engine crawl Razz
 
montego
PostPosted: Thu Mar 22, 2007 6:05 am Reply with quote

You are most welcome and I thank you for the kind words. I cannot take credit for the concept and much of the code, but I have tweaked it a bit and have other ideas for improvement...
 
rudolfpietersma
New Member
New Member


Joined: Mar 02, 2007
Posts: 3
Location: Emmen, Netherlands

PostPosted: Tue Apr 03, 2007 11:39 pm Reply with quote

Where can I download Site Info v2.2.2?
Cheers,
Rudolf.
 
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
montego
PostPosted: Wed Apr 04, 2007 7:09 am Reply with quote

rudolfpietersma, I do not believe that it was ever released as a separate distribution. It is in the RavenNuke(tm) latest 2.10.00 release found in the downloads here.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> ShortLinks/TegoNuke

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©