Tags: php, acp save tag group What are tags?

fa:import FAimport is used when trying to import another template file.
Coauthors and revisions I've changed the way co-authors work, and I've also added in thread revisions. So, geoffrey, when you read this, go into this thread, on the top right (in the main menu), you should see 'edit'...
Tag threads You can now tag threads... Yippee! Assumming you're registered and have permission to tag a thread, beside the edit buttons / rating buttons in the single thread view, you should see a 'tag'...
Added new/fresh caching I made it so that the new/fresh switcher on the main page caches its results.. so it only really does a maximum of 2 ajax requests.
Popular and fresh So, I just made it (offline, and on svn) that you could AJAX switch between popular and fresh threads on the main page. Some things I should add to it are caching withing certain time intervals, saving...
Just finished the basic perms acp section I just finished the basic permissions section on the admin panel. It is a lot less complicated then it sounds. All it does right now is manage permission objects and their permissions.. but none of this...
Aha, found the problem So, only a few minutes ago, several of the links didn't work. This is because of a simple difference between PHP4 and PHP5 which caused me a bit of annoying. The __CLASS__ method of PHP4 returns a...
Remote XML classes Yesterday I finished work on the remote XML extension. This extension deals with creating a cURL session or opening a socket to a server to get/send data. It is meant to work with REST and RPC applications,...

OneLobby
QueryQuery TimeAffected Rows
SELECT ts.* FROM k4_tags ts WHERE ts.tag_name IN('acp','php') GROUP BY ts.tag_id

 0.2004 

 2 

SELECT DISTINCT t.thread_id, t.*, ts.tag_name, GROUP_CONCAT(ts.tag_name SEPARATOR ',') AS tags, u.name AS user_name, uu.name AS edit_user_name FROM k4_thread_tags tt, k4_tags ts, k4_threads t, k4_users u, k4_users uu, k4_thread_tags tt2  WHERE t.deleted=0 AND tt.thread_id = tt2.thread_id AND tt2.tag_id IN(2,12) AND t.thread_id=tt.thread_id AND ts.tag_id=tt.tag_id AND t.user_id=u.user_id AND t.edit_user_id=uu.user_id GROUP BY t.thread_id, tt2.tag_id ORDER BY t.created DESC

 0.2075 

 8 

SELECT ts.*, COUNT(tt2.tag_id) AS tag_count FROM k4_tags ts, k4_thread_tags tt1 JOIN k4_thread_tags tt2 USING ( thread_id )   WHERE tt1.tag_id IN(2,12) AND tt1.tag_id <> tt2.tag_id AND ts.tag_id = tt2.tag_id GROUP BY ts.tag_id, tt2.tag_id LIMIT 250

 0.2094 

 25 

SELECT DISTINCT u.user_id, u.name, COUNT(tt2.tag_id) AS tag_count FROM k4_thread_users tu, k4_users u, k4_thread_tags tt1 JOIN k4_thread_tags tt2 USING (thread_id) WHERE u.user_id = tu.user_id AND tt1.tag_id IN(2,12) AND tt1.tag_id <> tt2.tag_id AND tu.thread_id = tt2.thread_id GROUP BY tt2.tag_id ORDER BY u.name ASC

 0.2132 

 3 

SELECT o.object_name,o.object_perms,p.perm_grant,p.perm_deny FROM k4_objects o, k4_perms p, k4_roles r, k4_user_roles u WHERE u.user_id=1  AND u.role_id=r.role_id  AND p.role_id=r.role_id  AND o.object_id=p.object_id ORDER BY r.perm_level ASC

 0.2261 

 3