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
gator
Hangin' Around


Joined: Jul 24, 2003
Posts: 36
Location: Canada

PostPosted: Mon Mar 19, 2007 4:32 am Reply with quote

After voting on the survey from the index.php page (using the block) the user is brought to the following page/URL: Only registered users can see links on this board! Get registered or login!

This page does not list the results of the poll but rather shows all past surveys.

However, when you vote from this url: Only registered users can see links on this board! Get registered or login! which I think is the module everything works correctly. Any thoughts?

_________________
.::.
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
montego
Site Admin


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

PostPosted: Tue Mar 20, 2007 7:11 am Reply with quote

I have run out of time today... I'll have to look at this in the next day or so. I have it on my "list". Smile

_________________
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
montego
PostPosted: Wed Mar 21, 2007 6:53 am Reply with quote

Ok, found the issue and the solution (Embarassed).

=== OPEN ===

ShortLinks/GTB-block-Survey.php

=== REPLACE WITH ===

Code:


$urlin = array(
'"(?<!/)modules.php\?name=Surveys&amp;op=results&amp;pollID=([0-9]*)&amp;mode=([a-z]*)&amp;order=([0-9]*)&amp;thold=([0-9\-]*)"',
'"(?<!/)modules.php\?name=Surveys&amp;op=results&amp;pollID=([0-9]*)"',
'"(?<!/)modules.php\?name=Surveys"'
);

$urlout = array(
'survey-results-\\1-\\2-\\3-\\4.html',
'survey-results-\\1.html',
'surveys.html'
);


Sorry about that!
 
gator
PostPosted: Wed Mar 21, 2007 7:39 am Reply with quote

Thanks for the fix...
 
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 ©