Still Have This Bug In Album »  Show posts from    to     

Icy Phoenix


Old Support Topics - Still Have This Bug In Album



Nizzle [ Tue 29 Aug, 2006 00:07 ]
Post subject: Still Have This Bug In Album
Categories in personal galleries don't work with url rewrite enabled..


Mighty Gorgon [ Tue 29 Aug, 2006 00:15 ]
Post 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: [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.  


Nizzle [ Tue 29 Aug, 2006 00:16 ]
Post subject: Re: Still Have This Bug In Album
will do!

checking it

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


Mighty Gorgon [ Tue 29 Aug, 2006 00:53 ]
Post subject: Re: Still Have This Bug In Album
Check in page_header.php... you should have something similar... replace with this...


Nizzle [ Tue 29 Aug, 2006 00:54 ]
Post subject: Re: Still Have This Bug In Album
yeah.. where's the page_header.php though

I can't find it


Jaime Blanco [ Tue 29 Aug, 2006 12:10 ]
Post 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


Tom [ Tue 29 Aug, 2006 12:42 ]
Post 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
Nizzle, you should try to use the search function on your computer...!


Nizzle [ Tue 29 Aug, 2006 13:26 ]
Post 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
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


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


Mighty Gorgon [ Thu 31 Aug, 2006 00:12 ]
Post subject: Re: Still Have This Bug In Album
Nizzle wrote: [View Post]
it don''t work MG..

It should work!

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


Nizzle [ Thu 31 Aug, 2006 18:14 ]
Post subject: Re: Still Have This Bug In Album
no I like url rewrite

people just can't see my pics now


KugeLSichA [ Fri 01 Sep, 2006 13:50 ]
Post subject: Re: Still Have This Bug In Album
Nizzle wrote: [View Post]
no I like url rewrite

people just can't see my pics now

lol


Mighty Gorgon [ Sat 02 Sep, 2006 05:12 ]
Post subject: Re: Still Have This Bug In Album
Nizzle wrote: [View Post]
no I like url rewrite

people just can't see my pics now

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

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


KugeLSichA [ Sat 02 Sep, 2006 12:53 ]
Post subject: Re: Still Have This Bug In Album
Mighty Gorgon wrote: [View Post]
Nizzle wrote: [View Post]
no I like url rewrite

people just can't see my pics now

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

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


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


Mighty Gorgon [ Sat 02 Sep, 2006 13:56 ]
Post subject: Re: Still Have This Bug In Album
Why you can't just remove the URL Rewrite feature just for the album?

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


KugeLSichA [ Sat 02 Sep, 2006 22:50 ]
Post 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?

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


Mighty Gorgon [ Sat 02 Sep, 2006 23:01 ]
Post subject: Re: Still Have This Bug In Album
KugeL... use this and let me know...

Code: [Hide] [Select]
$url_in = array(
'/(?<!/)' . PORTAL_MG . '?topic_id=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)' . FORUM_MG . '?' . POST_CAT_URL . '=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)' . VIEWFORUM_MG . '?' . POST_FORUM_URL . '=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)./' . VIEWFORUM_MG . '?' . POST_FORUM_URL . '=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)' . VIEWTOPIC_MG . '?' . POST_POST_URL . '=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)' . VIEWTOPIC_MG . '?' . POST_TOPIC_URL . '=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)</a>/e',
/*
'/(?<!/)album_cat.php?cat_id=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)album_showpage.php?pic_id=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(<img .*?)</a>/e',
'/(?<!/)album_showpage.php?full=&pic_id=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(<img .*?)</a>/e',
'/(?<!/)album_showpage.php?pic_id=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)album_personal.php?user_id=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)</a>/e',
*/
'/(?<!/)dload.php?action=category&cat_id=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)dload.php?action=category&cat_id=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)dload.php?action=file&file_id=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)kb.php?mode=cat&amp;cat=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)kb.php?mode=article&amp;k=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)kb.php?mode=stats&amp;stats=mostpopular((&amp;)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)kb.php?mode=stats&amp;stats=toprated((&amp;)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)kb.php?mode=stats&amp;stats=latest((&amp;)|(&)){0,1}([^>]+>)(.*?)</a>/e',
);

$url_out = array(
"make_url_friendly('6') . '-na1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('6') . '-vc1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('6') . '-vf1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('6') . '-vf1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('6') . '-vp1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('6') . '-vt1.html' . if_query('2') . stripslashes('56') . '</a>'",
/*
"make_url_friendly('6') . '-ac1.html' . if_query('2') . stripslashes('56') . '</a>'",
"'show-pic-asp1.html' . if_query('2') . stripslashes('56') . '</a>'",
"'show-pic-full-asp1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('6') . '-asp1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('6') . '-aper1.html' . if_query('2') . stripslashes('56') . '</a>'",
*/
"make_url_friendly('6') . '-dc1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('6') . '-dc1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('6') . '-df1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('6') . '-kbc1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('6') . '-kba1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('5') . '-kbsmp.html' . if_query('1') . stripslashes('45') . '</a>'",
"make_url_friendly('5') . '-kbstr.html' . if_query('1') . stripslashes('45') . '</a>'",
"make_url_friendly('5') . '-kbsl.html' . if_query('1') . stripslashes('45') . '</a>'",
);


KugeLSichA [ Sat 02 Sep, 2006 23:15 ]
Post subject: Re: Still Have This Bug In Album
thx mighty for your help...

but ATM i have no time to test it, if i found the free time i test and let you know..

THX


Claire [ Tue 05 Sep, 2006 03:48 ]
Post subject: Re: Still Have This Bug In Album
Hi, my albums don't work either but I daren't start a new topic so thought I'd reply here.

I can upload images no problem but they can only be seen if either rate or comment is clicked on. Otherwise only the titles show.

Any ideas anyone please?


Mighty Gorgon [ Tue 12 Sep, 2006 10:56 ]
Post subject: Re: Still Have This Bug In Album
Claire wrote: [View Post]
Hi, my albums don't work either but I daren't start a new topic so thought I'd reply here.

I can upload images no problem but they can only be seen if either rate or comment is clicked on. Otherwise only the titles show.

Any ideas anyone please?

A link please...




Powered by Icy Phoenix