Notifications
Clear all

[SOLVED] Next Page links on challenges

8 Posts
3 Users
0 Reactions
2,307 Views
(@jacci)
Posts: 503
Honorable Member
Topic starter
 

Dont really know if this is a skinning thing or a bug in 3.2 or just a general problem. Never noticed it before.

3.2, no brigde
mods: challenges, word print, beta search

http://www.pretendercentre.com/missingpieces/modules/challenges/challenges.php?chalid=11

this seems to be the same on all skins.

this challenge has 31 responses, my display settings are set to display 25 (i am leaving it that for now so that you can see the problem).

No next, previous or page number links are coming up. I have them set to 'both' in settings, and this does not seem to be a problem on any other area, just challenges.

thanks
jacci


why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/     
php: 5.2.5  msql: 5.0.45-community
efic version: 3.4.3           latest patches: yes
bridges: none              mods: challenges, displayword, beta-search

 
Posted : 11/03/2007 10:07 am
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

Mine are showing up fine, and I have it set to show both as well.

http://www.potionsandsnitches.net/fanfiction/browse.php?type=challenges&offset=8


Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 18/03/2007 9:45 pm
(@jacci)
Posts: 503
Honorable Member
Topic starter
 

Mine are showing up now too that 3.2.1 is in.

This is a different issue i think (just had a look at yours Jan_AQ and none of them have enough responses to force a next page issue).

If you go into a challenge listings, the pagination is fine. It is if you go into a challenge with more than 25 response, (in the responses themselves, not the challenge listings)
You can only see the problem in one of my challeges which has the more than 25 repsonses.

But, if you click page 2 or next, instead of taking you to the next page of challenge responses, it takes you back to the challenge listing itslef.

Sorry if i wasnt clearer about that in last post


why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/     
php: 5.2.5  msql: 5.0.45-community
efic version: 3.4.3           latest patches: yes
bridges: none              mods: challenges, displayword, beta-search

 
Posted : 18/03/2007 10:24 pm
(@tammy)
Posts: 2577
Member Moderator
 

Change line 309 of challenges.php to read:


$tpl->assign( "pagelinks", build_pagelinks("challenges.php?chalid=$chalid&", $scount + $scount2, $offset));

You're adding & after $chalid.


 
Posted : 19/03/2007 1:23 am
(@jacci)
Posts: 503
Honorable Member
Topic starter
 

Thanks Tammy!!!!

πŸ˜€

That did the trick


why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/     
php: 5.2.5  msql: 5.0.45-community
efic version: 3.4.3           latest patches: yes
bridges: none              mods: challenges, displayword, beta-search

 
Posted : 19/03/2007 1:28 am
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

jacci, this probably shouldn't be marked solved until the eFiction update has the fix and you can verify it. Otherwise, it's possible that it might not be added, and then it wouldn't be solved... πŸ™‚


Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 19/03/2007 2:10 am
(@jacci)
Posts: 503
Honorable Member
Topic starter
 

Okies then, have taken the solved off the subject and will wait until the update and then close it then.


why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/     
php: 5.2.5  msql: 5.0.45-community
efic version: 3.4.3           latest patches: yes
bridges: none              mods: challenges, displayword, beta-search

 
Posted : 19/03/2007 7:41 am
(@jacci)
Posts: 503
Honorable Member
Topic starter
 

3.3 fixed this, thanks Tammy, marking as solved


why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/     
php: 5.2.5  msql: 5.0.45-community
efic version: 3.4.3           latest patches: yes
bridges: none              mods: challenges, displayword, beta-search

 
Posted : 16/06/2007 9:05 pm
Share: