Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2013-03-13 14:26:24

fitboy
Member
Registered: 2013-01-14
Posts: 123

[FIXED IN 1.0.7] Pagination error for photo module

Hi,

when you use the search form for photos and you type in a keyword and there are more than one page of results, you can only
use the first page of photo results.

Check here for example:
http://www.porngag.me/search/photo/hot/2/

As soon as you click on page #2 for example, the script takes you to:
http://www.porngag.me/photo/2/

The correct output would have to be:
http://www.porngag.me/search/photo/hot/2/

I think this is a simple bug that can be fixed easily ;-)

Offline

#2 2013-03-13 16:30:17

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: [FIXED IN 1.0.7] Pagination error for photo module

Edit templates/your-template/photo_search.tpl.php and replace:

<div class="pagination"><ul><?php echo p('pagination', $this->pagination, build_url($this->order, $this->timeline, '', true)); ?></ul></div>

with:

<div class="pagination"><ul><?php echo p('pagination', $this->pagination, RELATIVE_URL.'/search/photo/'.$this->query.'/#PAGE#/'); ?></ul></div>

Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2013-03-13 16:30:27

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: [FIXED IN 1.0.7] Pagination error for photo module

Will also include this fix in 1.0.7.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#4 2013-07-08 13:03:24

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: [FIXED IN 1.0.7] Pagination error for photo module

Fixed in 1.0.7.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB