| View previous topic :: View next topic |
| Author |
Message |
susann Site Admin


Joined: Jan 01, 2007 Posts: 45 Location: Germany
|
Posted: Mon Jan 28, 2008 5:45 am Post subject: Shortlinks in block Downloads and Weblinks |
|
|
| Is there any reason why Url rewriting doesnīt work for both blocks ? |
|
| Back to top |
|
 |
montego Site Admin


Joined: Dec 16, 2006 Posts: 16
|
Posted: Wed Jan 30, 2008 7:23 am Post subject: |
|
|
Susann, I see that the one Download is not working, but it is not a ShortLinks issue. I am getting the NukeSentinel block for some reason... But, ALL the other links I have tried are working just fine. Can you point me to some specific examples within Web Links that is not working?
Thanks. |
|
| Back to top |
|
 |
susann Site Admin


Joined: Jan 01, 2007 Posts: 45 Location: Germany
|
|
| Back to top |
|
 |
raven Site Admin


Joined: Dec 07, 2006 Posts: 50
|
Posted: Wed Jan 30, 2008 10:48 am Post subject: |
|
|
Could this be because in ShortLinks/GT-Top.php there is no entry for Weblinks?
| Code: | $urlin = array(
'"(?<!/)modules.php\?name=News&file=article&sid=([0-9]*)"',
'"(?<!/)modules.php\?name=News&file=categories&op=newindex&catid=([0-9]*)"',
'"(?<!/)modules.php\?name=Sections&op=viewarticle&artid=([0-9]*)"',
'"(?<!/)modules.php\?name=Your_Account&op=userinfo&username=([a-zA-Z0-9_-]*)"',
'"(?<!/)modules.php\?name=Surveys&pollID=([0-9]*)"',
'"(?<!/)modules.php\?name=Search&query=([a-zA-Z0-9_-]*)&author=([a-zA-Z0-9_-]*)"',
'"(?<!/)modules.php\?name=Reviews&rop=showcontent&id=([0-9]*)"',
'"(?<!/)modules.php\?name=Downloads&d_op=viewdownloaddetails&lid=([0-9]*)&ttitle=([/:\-\'{}()._&a-zA-Z0-9+= ]*)"',
'"(?<!/)modules.php\?name=Content&pa=showpage&pid=([0-9]*)"',
'"(?<!/)modules.php\?name=Top&zx=([a-zA-Z0-9+]*)"',
'"(?<!/)modules.php\?name=Top"'
); |
_________________ They that hear not the music think the dancers mad |
|
| Back to top |
|
 |
susann Site Admin


Joined: Jan 01, 2007 Posts: 45 Location: Germany
|
Posted: Thu Jan 31, 2008 8:40 pm Post subject: |
|
|
I donīt think so because in my older version there is also no entry.
However short urls within the block Web Links looks normally like this:
http://my.site.com/viewlinkdetails-2.html
and not
/modules.php?name=Web_Links&l_op=viewlinkdetails&lid=2
[ShortLinks_Function] = Present In Block
[ShortLinks_FilePath] = GTB
Logged in as admin its different after i refreshed the site it shows shortlinks.
Logged out and its like before. Its a bit strange behavior. Or ? |
|
| Back to top |
|
 |
montego Site Admin


Joined: Dec 16, 2006 Posts: 16
|
Posted: Mon Feb 04, 2008 7:47 am Post subject: |
|
|
Sorry folks that I keep forgetting about this thread. I am so used to all support coming from RavenPHPScripts, that I'm not very good with over here... I'll try to change my process.
The issue is definitely mine and its in GTB-block-Top10_Links.php. I forgot about this block when Gremmie made the change to the web links code to remove the title. I'll fix this in SVN shortly.
Susann, this specific example was critical in me understanding where the issue is. Are there any others that you saw? THANK YOU! |
|
| Back to top |
|
 |
montego Site Admin


Joined: Dec 16, 2006 Posts: 16
|
Posted: Mon Feb 04, 2008 8:01 am Post subject: |
|
|
Susann, this was an excellent catch on your part. Thanks a million!!! I found the issue in three places related to our removal of the ttitle from the downloads and web links links.
I have not only committed these changes, but I have also published those changes here so that you can see them working in action.
P.S. I have also submitted a new issue to address the removal of the ttitle from the Top module as that one was missed. |
|
| Back to top |
|
 |
susann Site Admin


Joined: Jan 01, 2007 Posts: 45 Location: Germany
|
Posted: Mon Feb 04, 2008 9:35 am Post subject: |
|
|
The behavior of the urls within the blocks is okay.
Glad I`ve helped to fix this before the new release is out. |
|
| Back to top |
|
 |
|
|