Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Blank Pages.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions
View previous topic :: View next topic  
Author Message
Trance Lover
Grandmaster Cheater Supreme
Reputation: 0

Joined: 14 Feb 2008
Posts: 1249
Location: Broa :)

PostPosted: Wed Sep 24, 2008 1:53 pm    Post subject: Blank Pages. Reply with quote

In CEF why do we have blank pages? For instance If There is a topic which there is needed 2-3 more posts then the 2nd page will create, It always creates the page prematurely and it gets annoying because It says there is no posts in this topic, Then you have to go back and choose 1 less page. Isn't there a way to fix that?
Back to top
View user's profile Send private message
Drkgodz
Flash moderator
Reputation: 2

Joined: 17 Jul 2006
Posts: 2997
Location: Houston

PostPosted: Wed Sep 24, 2008 2:03 pm    Post subject: Reply with quote

The reason is when there are 2 pages, and a mod deletes posts, when there is only 1 page of posts left, it still thinks there are 2 pages.

The fix(I don't know about php) would be to:
Code:

pages = Math.floor(postCount/postsPerPage);

_________________


Last edited by Drkgodz on Wed Sep 24, 2008 2:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
Localhost
I post too much
Reputation: 0

Joined: 28 Apr 2007
Posts: 3402

PostPosted: Wed Sep 24, 2008 2:03 pm    Post subject: Reply with quote

This happens when invisible people post.

or maybe what drkgodz said? or both!

_________________
Back to top
View user's profile Send private message MSN Messenger
Lorrenzo
Moderator
Reputation: 4

Joined: 02 Jun 2006
Posts: 3744

PostPosted: Wed Sep 24, 2008 2:11 pm    Post subject: Reply with quote

localhost wrote:
This happens when invisible people post.

or maybe what drkgodz said? or both!


This is correct.

_________________
LAWLrrenzolicious
Back to top
View user's profile Send private message
Drkgodz
Flash moderator
Reputation: 2

Joined: 17 Jul 2006
Posts: 2997
Location: Houston

PostPosted: Wed Sep 24, 2008 2:13 pm    Post subject: Reply with quote

Code:
postCount = totalPosts-(!isModerator)?invisiblePosts:0
pages = Math.floor((postCount)/postsPerPage);

_________________
Back to top
View user's profile Send private message
Trance Lover
Grandmaster Cheater Supreme
Reputation: 0

Joined: 14 Feb 2008
Posts: 1249
Location: Broa :)

PostPosted: Wed Sep 24, 2008 4:43 pm    Post subject: Reply with quote

Ahh, Well DB should fix it, It gets annoying =X
Back to top
View user's profile Send private message
Dark Blade
Grandmaster Cheater
Reputation: 0

Joined: 25 Aug 2008
Posts: 767
Location: Florida,jacksonville

PostPosted: Wed Sep 24, 2008 5:45 pm    Post subject: Reply with quote

cal17 wrote:
Ahh, Well DB should fix it, It gets annoying =X


xD no DB shouldnt take time to fix something so stupid just go back and press the page before that

_________________
~NJ wrote:
I'm an asshole.


Back to top
View user's profile Send private message
Weirder Al
Grandmaster Cheater Supreme
Reputation: 3

Joined: 11 Apr 2008
Posts: 1046

PostPosted: Thu Sep 25, 2008 7:28 pm    Post subject: Reply with quote

The real problem is when you click the link in your email and it sends you there.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites