Favourite Authors Q...
 
Notifications
Clear all

Favourite Authors Question.

8 Posts
4 Users
0 Reactions
1,587 Views
(@mistressmalfoy)
Posts: 44
Eminent Member
Topic starter
 

I'm running version 3.1 and I was curious as to if there was a way to find out the numbers of favourites throughout the site not just in the top ten. Like which author has how many etc?


 
Posted : 17/12/2007 8:53 am
 Elle
(@jenny)
Posts: 594
Honorable Member
 

You could try through phpMyadmin? πŸ˜›


archive: dramione.org
site: accio.nu

Available for skin/mod commission! πŸ™‚

 
Posted : 17/12/2007 9:19 am
(@mistressmalfoy)
Posts: 44
Eminent Member
Topic starter
 

You know I've only ever looked at that thing once and it scared me to death so I closed it lol


 
Posted : 17/12/2007 9:51 am
(@mistressmalfoy)
Posts: 44
Eminent Member
Topic starter
 

You could try through phpMyadmin? πŸ˜›

ok so I'm having a look now πŸ˜€ in 'favourites' on phpmyadmin but I've really no idea what I'm looking for lol


 
Posted : 17/12/2007 9:54 am
(@itanshi)
Posts: 381
Reputable Member
 

The concept is to use php to pull data garnered from the mysql gotten through phpmyadmin and display it in a human understandable format. Wish I was able to. Well the favorites area in the mysql has the data you are looking for, make sure you are in browse and not structure. Otherwise there is somecode for this {favof} works after the module is installed, but only in some places. I wish it could be made available next to story entries single or the listings.


I am rebuilding efiction! Join us on irc! #efiction at www.mibbit.com Instructions for irc πŸ˜€ Alpha released!

 
Posted : 17/12/2007 9:56 am
 Elle
(@jenny)
Posts: 594
Honorable Member
 

In phpMyAdmin -- click SQL, put in this:

SELECT count( fav.item ) AS count, author.uid as uid, author.penname as penname FROM fanfiction_favorites AS fav, fanfiction_authors as author WHERE fav.item = author.uid AND fav.type = 'AU' GROUP BY fav.item ORDER BY count DESC

If you have prefix, then add it before the fanfiction_favorites/authors. If you're using it for Enchant, it will put up ~ 6500 members -- if they've all been favourited! If you want to limit it to like thirty or something, just add "LIMIT 30" after "count DESC". :p


archive: dramione.org
site: accio.nu

Available for skin/mod commission! πŸ™‚

 
Posted : 17/12/2007 10:21 am
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

There's an easier way to view favorites through member profiles. You can view mine here:

http://www.potionsandsnitches.net/fanfiction/viewuser.php?action=stats&uid=3

I have a Statistics panel. To add one. go to the admin panels and click on the Panels link.

Add a new one:

Name: stats
Title: Statistics
URL to Panel:
Level: 0
Hidden:
Type: P

I think that's all there is to it. I don't remember since i added it so long ago, and I'm sure I got it from someone else, so I'll just give all credit to Tammy for such a cool feature. πŸ™‚


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/12/2007 4:59 pm
(@mistressmalfoy)
Posts: 44
Eminent Member
Topic starter
 

ohh thanks to everyone for helping (I never did manage to find it lol) and a big thanks to Jan for that nifty panel which is now in use on all of our sites!! πŸ˜€


 
Posted : 04/01/2008 5:54 am
Share: