Still Have This Bug In Album


Subject: Still Have This Bug In Album
Categories in personal galleries don't work with url rewrite enabled.. :(

Subject: Re: Still Have This Bug In Album
Nizzle wrote: [View Post]
Categories in personal galleries don't work with url rewrite enabled.. :(

Use this in your page_header.php instead of the vars you have:

Code: [Download] [Hide]
  1. $url_in = array(  
  2. '/(?<!/)' . PORTAL_MG . '?topic_id=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)</a>/e',  
  3. '/(?<!/)' . FORUM_MG . '?' . POST_CAT_URL . '=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)</a>/e',  
  4. '/(?<!/)' . VIEWFORUM_MG . '?' . POST_FORUM_URL . '=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)</a>/e',  
  5. '/(?<!/)./' . VIEWFORUM_MG . '?' . POST_FORUM_URL . '=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)</a>/e',  
  6. '/(?<!/)' . VIEWTOPIC_MG . '?' . POST_POST_URL . '=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)</a>/e',  
  7. '/(?<!/)' . VIEWTOPIC_MG . '?' . POST_TOPIC_URL . '=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)</a>/e',  
  8. '/(?<!/)dload.php?action=category&cat_id=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)</a>/e',  
  9. '/(?<!/)dload.php?action=category&cat_id=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)</a>/e',  
  10. '/(?<!/)dload.php?action=file&file_id=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)</a>/e',  
  11. '/(?<!/)kb.php?mode=cat&amp;cat=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)</a>/e',  
  12. '/(?<!/)kb.php?mode=article&amp;k=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)</a>/e',  
  13. '/(?<!/)kb.php?mode=stats&amp;stats=mostpopular((&amp;)|(&)){0,1}([^>]+>)(.*?)</a>/e',  
  14. '/(?<!/)kb.php?mode=stats&amp;stats=toprated((&amp;)|(&)){0,1}([^>]+>)(.*?)</a>/e',  
  15. '/(?<!/)kb.php?mode=stats&amp;stats=latest((&amp;)|(&)){0,1}([^>]+>)(.*?)</a>/e',  
  16. );  
  17.  
  18. $url_out = array(  
  19. "make_url_friendly('6') . '-na1.html' . if_query('2') . stripslashes('56') . '</a>'",  
  20. "make_url_friendly('6') . '-vc1.html' . if_query('2') . stripslashes('56') . '</a>'",  
  21. "make_url_friendly('6') . '-vf1.html' . if_query('2') . stripslashes('56') . '</a>'",  
  22. "make_url_friendly('6') . '-vf1.html' . if_query('2') . stripslashes('56') . '</a>'",  
  23. "make_url_friendly('6') . '-vp1.html' . if_query('2') . stripslashes('56') . '</a>'",  
  24. "make_url_friendly('6') . '-vt1.html' . if_query('2') . stripslashes('56') . '</a>'",  
  25. "make_url_friendly('6') . '-dc1.html' . if_query('2') . stripslashes('56') . '</a>'",  
  26. "make_url_friendly('6') . '-dc1.html' . if_query('2') . stripslashes('56') . '</a>'",  
  27. "make_url_friendly('6') . '-df1.html' . if_query('2') . stripslashes('56') . '</a>'",  
  28. "make_url_friendly('6') . '-kbc1.html' . if_query('2') . stripslashes('56') . '</a>'",  
  29. "make_url_friendly('6') . '-kba1.html' . if_query('2') . stripslashes('56') . '</a>'",  
  30. "make_url_friendly('5') . '-kbsmp.html' . if_query('1') . stripslashes('45') . '</a>'",  
  31. "make_url_friendly('5') . '-kbstr.html' . if_query('1') . stripslashes('45') . '</a>'",  
  32. "make_url_friendly('5') . '-kbsl.html' . if_query('1') . stripslashes('45') . '</a>'",  
  33. );  
  34.  

Subject: Re: Still Have This Bug In Album
will do!

checking it :mrg:

**EDIT**
where the hell do I find that? :oops:

Subject: Re: Still Have This Bug In Album
Check in page_header.php... you should have something similar... replace with this...

Subject: Re: Still Have This Bug In Album
yeah.. where's the page_header.php though :(

I can't find it :(

Subject: Re: Still Have This Bug In Album
Nizzle wrote: [View Post]
yeah.. where's the page_header.php though :(

I can't find it :(


It's inside includes directory :wink:

Profile PM  
Subject: Re: Still Have This Bug In Album
Jaime Blanco wrote: [View Post]
Nizzle wrote: [View Post]
yeah.. where's the page_header.php though :(

I can't find it :(


It's inside includes directory :wink:
Nizzle, you should try to use the search function on your computer...!

Subject: Re: Still Have This Bug In Album
Tom wrote: [View Post]
Jaime Blanco wrote: [View Post]
Nizzle wrote: [View Post]
yeah.. where's the page_header.php though :(

I can't find it :(


It's inside includes directory :wink:
Nizzle, you should try to use the search function on your computer...!


I don''t have XS on my computer ;)
and the FTP doesn''t seem to have a search function.. I''ve tried that :mrg:


**EDIT**
it don''t work MG..

Subject: Re: Still Have This Bug In Album
Nizzle wrote: [View Post]
it don''t work MG..

:shock: It should work! :shock:

When I'll release a new patch this should be solved... wait until then... and disable URL REWRITE in the meantime! :wink:

Subject: Re: Still Have This Bug In Album
no I like url rewrite :mrg:

people just can't see my pics now :mrg:

Subject: Re: Still Have This Bug In Album
Nizzle wrote: [View Post]
no I like url rewrite :mrg:

people just can't see my pics now :mrg:

LOL :mryellow:

Subject: Re: Still Have This Bug In Album
Nizzle wrote: [View Post]
no I like url rewrite :mrg:

people just can't see my pics now :mrg:

I don't like URL Rewrite... in my opinion is quite useless... :roll:

Anyway... world is beautiful because it's various! :LOL:

Subject: Re: Still Have This Bug In Album
Mighty Gorgon wrote: [View Post]
Nizzle wrote: [View Post]
no I like url rewrite :mrg:

people just can't see my pics now :mrg:

I don't like URL Rewrite... in my opinion is quite useless... :roll:

Anyway... world is beautiful because it's various! :LOL:


i like URL rewrite, but i cant use it at my forum, because it causes errors in Album, if you use the XS cellclick, like i did.

And the cellclick is more important than the URL rewrite for me ;-)

Subject: Re: Still Have This Bug In Album
Why you can't just remove the URL Rewrite feature just for the album? :shock:

Modify your page_header.php (I'm sure you know what must be modified) and let me know!

Subject: Re: Still Have This Bug In Album
Mighty Gorgon wrote: [View Post]
Why you can't just remove the URL Rewrite feature just for the album? :shock:

Modify your page_header.php (I'm sure you know what must be modified) and let me know!


the problem is, that if i have URL rewrite on, and with my changes to the album templates, the cellclick/onclick function, it shows up an blank page, if i click the cell, but if i click the link it works.

maybe if i have the time, i check this. but its not important for me ATM ;-)

cya


Page 1 of 2


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.9067s (PHP: 2% SQL: 98%)
SQL queries: 15 - Debug Off - GZIP Enabled