4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: I_Want_Mods_2 on March 04, 2009, 06:59:20 PM
-
When users choose picture from site.com/search.php or site.com/search.php?search_user=UsernamE_blA_blA_89 then opens a page with &mode=search in the url. How to remove "&mode=search"?
I want site.com/details.php?image_id=22
site.com/details.php?image_id=22&mode=search is stupid.
-
It's not stupid, if you remove that part, then you wont be able use prev/next pictures from the search on details page, prev/next will be from the category.
-
You're right. I'm stupid.
-
You're right. I'm stupid.
No, you are not stupid!
1. I don't want people to go to site.com/details.php?image_id=22&mode=search and link to this page. I want people to link to site.com/details.php?image_id=22
2. If the user is viewing site.com/details.php?image_id=22&mode=search then prev/next pictures will be only 2, 3, 4..., the user will view them all and close my site. But if the page is site.com/details.php?image_id=22 prev/next pictures will be 100, 200... and the user won't close the site.
-
in search.php find:
show_image($image_row, "search");
Replace it with:
show_image($image_row);
After this change no complains about "next/prev images don't work right" are not accepted :P ;)