View Single Post
  #2 (permalink)  
Old 01-31-2007, 04:08 AM
savant's Avatar
savant savant is offline
Constant Pligger
 
Join Date: Apr 2006
Location: UK
Posts: 1,218
Thanks: 64
Thanked 207 Times in 148 Posts
1. you can open /lib/db.php and set $debug_all = true

2. Pligg is slow the first time as it needs to compile the .tpl files into php files. After that the script is a bit quicker. Applications like Pligg is very data intensive so you do need a nice server and database. pliggers have brought new ideas like using gzip to compress the js and css files.

3. The karma value is part of the User Data. /libs/user.php so you can create a new user object and use the method read(). and display $user->karma.
This is OOP method and will get all the information about the user from just the database. Select * from table where username= "Something" will take longer than select karma from table where username="something". So you will need to find out whether OOP or Procedural is better for you.

4. As far as i know there isn't much on karma atm. Best let KB or Ash answer this.

5. We are open to suggestions. If you can find better methods please do post.
__________________
Anatomy of the Pligg template Help needed
Reply With Quote