https://www.icyphoenix.com/viewtopic.php?f=35&t=208
-----------------------------------
Nizzle
Tue 29 Aug, 2006 00:07

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

Re: Still Have This Bug In Album
-----------------------------------
[quote user="Nizzle" post="1683"]Categories in personal galleries don't work with url rewrite enabled.. :([/quote]
Use this in your [b]page_header.php[/b] instead of the vars you have:

[code]	$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',
		'/(?<!/)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') . '-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>'",
	);
[/code]


-----------------------------------
Nizzle
Tue 29 Aug, 2006 00:16

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

checking it :mrg:

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


-----------------------------------
Mighty Gorgon
Tue 29 Aug, 2006 00:53

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

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

Re: Still Have This Bug In Album
-----------------------------------
[quote user="Nizzle" post="1719"]yeah.. where's the page_header.php though :(

I can't find it :([/quote]

It's inside [b]includes [/b]directory :wink:


-----------------------------------
Tom
Tue 29 Aug, 2006 12:42

Re: Still Have This Bug In Album
-----------------------------------
[quote user="Jaime Blanco" post="1748"][quote user="Nizzle" post="1719"]yeah.. where's the page_header.php though :(

I can't find it :([/quote]

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


-----------------------------------
Nizzle
Tue 29 Aug, 2006 13:26

Re: Still Have This Bug In Album
-----------------------------------
[quote user="Tom" post="1749"][quote user="Jaime Blanco" post="1748"][quote user="Nizzle" post="1719"]yeah.. where's the page_header.php though :(

I can't find it :([/quote]

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

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..


-----------------------------------
Mighty Gorgon
Thu 31 Aug, 2006 00:12

Re: Still Have This Bug In Album
-----------------------------------
[quote user="Nizzle" post="1752"]it don''t work MG..[/quote]
: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:


-----------------------------------
Nizzle
Thu 31 Aug, 2006 18:14

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

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


-----------------------------------
KugeLSichA
Fri 01 Sep, 2006 13:50

Re: Still Have This Bug In Album
-----------------------------------
[quote user="Nizzle" post="1931"]no I like url rewrite :mrg:

people just can't see my pics now :mrg:[/quote]
lol  :mryellow:


-----------------------------------
Mighty Gorgon
Sat 02 Sep, 2006 05:12

Re: Still Have This Bug In Album
-----------------------------------
[quote user="Nizzle" post="1931"]no I like url rewrite :mrg:

people just can't see my pics now :mrg:[/quote]
I don't like URL Rewrite... in my opinion is quite useless... :roll:

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


-----------------------------------
KugeLSichA
Sat 02 Sep, 2006 12:53

Re: Still Have This Bug In Album
-----------------------------------
[quote user="Mighty Gorgon" post="2085"][quote user="Nizzle" post="1931"]no I like url rewrite :mrg:

people just can't see my pics now :mrg:[/quote]
I don't like URL Rewrite... in my opinion is quite useless... :roll:

Anyway... world is beautiful because it's various! :lol:[/quote]

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

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!


-----------------------------------
KugeLSichA
Sat 02 Sep, 2006 22:50

Re: Still Have This Bug In Album
-----------------------------------
[quote user="Mighty Gorgon" post="2155"]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![/quote]

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

Re: Still Have This Bug In Album
-----------------------------------
KugeL... use this and let me know... :wink:

[codeblock]	$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>'",
	);[/codeblock]


-----------------------------------
KugeLSichA
Sat 02 Sep, 2006 23:15

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

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

Re: Still Have This Bug In Album
-----------------------------------
[quote user="Claire" post="2420"]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?[/quote]
A link please... :roll:


