PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
thoth
Hangin' Around


Joined: Oct 15, 2006
Posts: 28

PostPosted: Wed Jul 01, 2009 4:09 am Reply with quote Back to top

Please help me guys. I was that desperate I offered cash to Montego for this, forgetting what a busy guy he is.

I've installed and got working the new phpbb3 module from nukekorea.net which is awesome.

The links are obviously different from those in the phpbb2 module, and my site has tapped links for those. What I'm wanting to do is tap the new links so that they're the same as the old links. For search engine reasons, and to make sure all the links posted in threads still point to the right posts.

I've had limited success, given that the new links include an f parameter for the forum the post will be going in. My problem seems to be that some of the taps are giving odd results, and I don't know why.

The first four entries I've got are

Code:
'"(?<!/)modules.php\?name=phpBB3&amp;file=viewforum&amp;f=([0-9]*)&amp;start=([0-9]*)"',

'"(?<!/)modules.php\?name=phpBB3&amp;file=viewforum&amp;f=([0-9]*)"',

'"(?<!/)modules.php\?name=phpBB3&amp;file=viewtopic&amp;f=([0-9]*)&amp;t=([0-9]*)"',

'"(?<!/)modules.php\?name=phpBB3&amp;file=viewtopic&amp;f=([0-9]*)&amp;t=([0-9]*)&amp;p=([0-9]*)"',




With the urlout entries as follows..

Code:
'forum-\\1-days0-\\3.html',

'forum-\\1.html',

'ftopict-\\2.html',

'ftopicp-\\2.html#\\2',


The first three links match and work fine the fourth gives a link like this..

ftopicp-154856.html#154856#p15486

I'm having problems with other links too, can anyone help me with these. I can do so much myself, but this regex stuff fries my brain. I've tried putting the big links at the top where they're similar to other links, but nothing seems to work.
View user's profile Send private message Visit poster's website
thoth
Hangin' Around


Joined: Oct 15, 2006
Posts: 28

PostPosted: Wed Jul 01, 2009 4:18 am Reply with quote Back to top

Forgot to add the links I'm tapping

a) modules.php?name=phpBB3&file=viewforum&f=1 - View Forum
b) modules.php?name=phpBB3&file=viewforum&f=10&start=35 - View Particular forum second page of topics

(start=70 shows second page etc)

1) modules.php?name=phpBB3&file=viewtopic&f=1&t=20928 - view topic
2) modules.php?name=phpBB3&file=viewtopic&f=1&t=20928&p=233831#p233831 - view last post
3) modules.php?name=phpBB3&file=memberlist&mode=viewprofile&u=4658 - view member profile

4) modules.php?name=phpBB3&file=posting&mode=post&f=10 - New Topic for forum 10 (f=10)

5) modules.php?name=phpBB3&file=viewtopic&f=10&t=19444&start=0 - First page of thread
modules.php?name=phpBB3&file=viewtopic&f=10&t=19444&start=30 - Second Page

I have them working except for 5) and 2) I've actually tapped more than is in this list, but these are the ones I'm stuck on.
View user's profile Send private message Visit poster's website
montego
Former Admin in Good Standing


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

PostPosted: Tue Jul 07, 2009 5:27 pm Reply with quote Back to top

thoth, I think that you have made progress already on these right?
View user's profile Send private message Visit poster's website
thoth
Hangin' Around


Joined: Oct 15, 2006
Posts: 28

PostPosted: Fri Jul 10, 2009 11:59 am Reply with quote Back to top

I sure have, sorry for the delay in posting. Once I've tested them I'll be posting my shortlinks entry for anyone else wanting it.

Thanks for your help in understanding them Montego Smile
View user's profile Send private message Visit poster's website
montego
Former Admin in Good Standing


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

PostPosted: Sat Jul 11, 2009 4:15 pm Reply with quote Back to top

No problem. Any time. If you need any other assistance, do not hesitate to ask.

Also, if you would not mind, I'd love for you to post the taps in my
Only registered users can see links on this board!
Get registered or login to the forums!
forum along with all the other great submissions from community members?

Thanks and regards,
montego
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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

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

zerosum