Jump to content
MakeWebGames

Modified Libary for V2


~Spooky~
 Share

Recommended Posts

I added the IQ stats and made this for donors only. This was done by another CE Member.

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Not taking Credit for this was good idea I just did little changes on it.

 

library stats:

<?php

include "globals.php";

print "<h3>Libary Stats</h2>";

print "Books Read: {$ir['booksread']}

IQ Gained: {$ir['iqbooks']}

";

?>

 

Go To viewuser.php and add this code

Code: [select]

Books Read: {$r['booksread']}

Also put this code anywhere you want to add it

Code: [select]

Books Read: {$ir['booksread']}

 

Run these SQL's

Code: [select]

ALTER TABLE users ADD iqbooks INT(11) DEFAULT 0;

Code: [select]

ALTER TABLE users ADD booksread INT(11) DEFAULT 0;

 

That should be rest of it.

Link to comment
Share on other sites

Re: Modified Libary for V2

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

should be

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

also this is not all stuff needed.....SQL??

you also got it wrong in a way aswell watch

you got

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

It should be

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Link to comment
Share on other sites

Re: Modified Libary for V2

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

That would mean anyone could use it, as everyone's donator days are either 0 or greater.

It should be

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

or you could use the

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

:)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...