Simple Machines Community Forum

Simple Machines => News and Updates => Topic started by: JayBachatero on August 28, 2006, 12:16:58 AM

Title: New Mod Site Changes
Post by: JayBachatero on August 28, 2006, 12:16:58 AM
Ok this is a list of the new planned changes to the mod site.  It's here so that I wont forget what is being discussed. :P


Things that need to be integrated
Taskfreak - http://mods.simplemachines.org/todo/index.php?sProject=6&show=today&sort=deadlineDate&dir=1
Title: Re: New Mod Site Changes
Post by: vbgamer45 on August 29, 2006, 11:13:30 PM
I just was thinking maybe a page with the top rated mod or the mods that are the most downloaded.
Title: Re: New Mod Site Changes
Post by: JayBachatero on August 29, 2006, 11:23:03 PM
Well Most Popular is based on downloads and rating.
Title: Re: New Mod Site Changes
Post by: vbgamer45 on August 29, 2006, 11:54:13 PM
Ah, so thats how that works I always thought it was random then would explain it then.
Title: Re: New Mod Site Changes
Post by: JayBachatero on August 30, 2006, 12:01:41 AM
Yup

Code: [Select]
$request = my_db_query("
SELECT ms.ID_MOD, ms.modName, ms.modifiedTime, ms.short_desc, COUNT(lm.ID_MOD) AS recentDownloads, ms.submitTime,
(COUNT(lm.ID_MOD)/$popDays) + ms.rating AS score
FROM {$mod_prefix}mods AS ms
        LEFT JOIN {$mod_prefix}log_mods AS lm ON (lm.ID_MOD = ms.ID_MOD)
WHERE ms.approved = 1
AND ms.downloads > 0
GROUP BY ID_MOD
ORDER BY score DESC
LIMIT 5", __FILE__, __LINE__);
Title: Re: New Mod Site Changes
Post by: jerm on August 30, 2006, 01:32:00 AM
the only problem with most popular is that it always seems to be the same ones :/ that female avatar hasn't budged from first place, and neither has the ad mod for months..
Title: Re: New Mod Site Changes
Post by: JayBachatero on August 30, 2006, 01:47:42 AM
Umm I'll see what I can do then.  But how would you show these mods?  Maybe have a stats page for most downloaded, highest rating and so on like stats page?  Also mod developer with most mods.
Title: Re: New Mod Site Changes
Post by: Thantos on August 30, 2006, 02:13:15 AM
the only problem with most popular is that it always seems to be the same ones :/ that female avatar hasn't budged from first place, and neither has the ad mod for months..
If they are constantly being downloaded or have a high positive feedback doesn't that make them the most popular?
Title: Re: New Mod Site Changes
Post by: jerm on August 30, 2006, 02:41:44 AM
the only problem with most popular is that it always seems to be the same ones :/ that female avatar hasn't budged from first place, and neither has the ad mod for months..
If they are constantly being downloaded or have a high positive feedback doesn't that make them the most popular?
*shurgs* you are right.

I just find it boring.. i hardly look at the top5 anymore cause it doesn't change
Title: Re: New Mod Site Changes
Post by: Amacythe on August 30, 2006, 03:39:45 AM
Maybe we should have another listing for the last few mods downloaded?
Title: Re: New Mod Site Changes
Post by: bloc on August 30, 2006, 09:42:15 AM
I would say 5 latest and 5 top is the way to go. Although you might have to juggle the page a bit for both to go in. I suggest moving "Getting started" under below and put  5 top and 5 latest boxes on the right.

This could really be good for Themes site as well. If you implement it, i would love to see the same there.
Title: Re: New Mod Site Changes
Post by: JayBachatero on August 30, 2006, 10:50:39 AM
Umm about about latest 5 mods and put it right next to the featured mod and move the "Mod developers" down.
Title: Re: New Mod Site Changes
Post by: JayBachatero on August 30, 2006, 11:23:35 AM
What do you guys think of adding something like this.

Não seria interessante links com os mods separados por versões?

MODIFICAÇÕES PARA:
1.0.x | 1.1 RC1 | 1.1 RC2 | 1.1 RC3

*
*
*

Would not be interesting links with mods separate for versions?

MODIFICATIONS FOR:
1.0.x | 1.1 RC1 | 1.1 RC2 | 1.1 RC3

(english provided by google... kkkkk sorry!)

It's easy to do too.
SMF 1.1 RC3 (http://mods.simplemachines.org/index.php?action=search;smf_versions=21) | SMF 1.1 RC2 (http://mods.simplemachines.org/index.php?action=search;smf_versions=17) | SMF 1.0.8 (http://mods.simplemachines.org/index.php?action=search;smf_versions=22)
Title: Re: New Mod Site Changes
Post by: bloc on August 30, 2006, 02:22:53 PM
Umm about about latest 5 mods and put it right next to the featured mod and move the "Mod developers" down.
That can work too. Might be better as then the importance of top 5 seems greater.
Title: Re: New Mod Site Changes
Post by: bloc on August 30, 2006, 02:23:32 PM
Version quick-links looks great.
Title: Re: New Mod Site Changes
Post by: JayBachatero on August 30, 2006, 02:32:21 PM
Um where would be the best place to add the Version quick-links?
Title: Re: New Mod Site Changes
Post by: Thantos on August 30, 2006, 02:36:27 PM
Well on the details page for sure ;)
Title: Re: New Mod Site Changes
Post by: JayBachatero on August 30, 2006, 02:56:52 PM
Details page?  If they in the mod they can see the version there :P.  I was thinking somewhere in the list page (main page).
Title: Re: New Mod Site Changes
Post by: JayBachatero on August 30, 2006, 03:33:32 PM
Ok added the "Latest Mods" section.  I stored it to cache also.

Also I added a cache time setting.  I set that to a day 86400 secs.

Code: [Select]
// Get the latest 5 mods but only if the cache is older than 24 hours
if (isset($modSettings['latest_mods_cache']) && (time() - $modSettings['latest_mods_cache_time'] < $mod_site['cache_time']))
{
$context['latest_mods'] = @unserialize($modSettings['latest_mods_cache']);
}
else
{
$context['latest_mods'] = array();

// Select the info from the db
$latestModsSelect = db_query("
SELECT ID_MOD, modName, short_desc, downloads
FROM {$db_prefix}mods
WHERE approved = 1
ORDER BY ID_MOD DESC
LIMIT 5", __FILE__, __LINE__);

while ($row = mysql_fetch_assoc($latestModsSelect))
{
$context['latest_mods'][$row['ID_MOD']] = array(
'id' => $row['ID_MOD'],
'name' => $row['modName'],
'short_name' => $func['strlen']($row['modName']) <= 20 ? $row['modName'] : $func['substr']($row['modName'], 0, 20) . '...',
'short_desc' => $row['short_desc'],
'href' => $context['script'] . '?mod=' . $row['ID_MOD'],
);
}
mysql_free_result($latestModsSelect);

// Store in the cache
updateSettings(
array(
'latest_mods_cache_time' => time(),
'latest_mods_cache' => addslashes(serialize($context['latest_mods'])),
)
);
}

EDIT:  Forgot link
http://mods.simplemachines.org/area51/jaybachatero/index.php

Bloc I can update the theme site files and hand them over to Mike.
Title: Re: New Mod Site Changes
Post by: jerm on August 30, 2006, 04:57:53 PM
Looks good.
Lots of white space if you don't full screen lol, but its all good
Title: Re: New Mod Site Changes
Post by: JayBachatero on August 30, 2006, 05:33:45 PM
Can you show a screenshot?

Also I was thinking of maybe changing the PM on new Review and make it show you the actual review instead of a link to the review.  This is the current PM

RBH has left a review for Global Announcements mod.  Click here (http://mods.simplemachines.org/index.php?action=review;mod=419) to see the review.
Title: Re: New Mod Site Changes
Post by: bloc on August 30, 2006, 05:44:18 PM
Looks great. If you could do the same for themes site, please do. :)
Title: Re: New Mod Site Changes
Post by: codenaught on August 30, 2006, 05:46:46 PM
Can you show a screenshot?

Also I was thinking of maybe changing the PM on new Review and make it show you the actual review instead of a link to the review.  This is the current PM

RBH has left a review for Global Announcements mod.  Click here (http://mods.simplemachines.org/index.php?action=review;mod=419) to see the review.
Sure, why not? Maybe show the review and link to it aswell. I would suggest even doing a preview of the review, except reviews aren't normally very long!
Title: Re: New Mod Site Changes
Post by: jerm on August 30, 2006, 06:12:29 PM
its always been like that though
im just ranting
Title: Re: New Mod Site Changes
Post by: JayBachatero on August 30, 2006, 06:19:03 PM
/me shakes fist at Jerm.

It's cause the boxes have a set width.
Title: Re: New Mod Site Changes
Post by: JayBachatero on August 31, 2006, 01:37:21 AM
Ok I added the quick links but they need to be moved to another location.  Any ideas?

http://mods.simplemachines.org/area51/jaybachatero/index.php
Title: Re: New Mod Site Changes
Post by: Thantos on August 31, 2006, 01:39:07 AM
*cough* Compatible With: 1.0.7, 1.0.8, 1.1 RC3 *cough
Title: Re: New Mod Site Changes
Post by: Dannii on August 31, 2006, 01:40:33 AM
Why are there now two links to http://www.simplemachines.org/community/index.php?topic=20319.0?
Title: Re: New Mod Site Changes
Post by: JayBachatero on August 31, 2006, 01:55:53 AM
There added 1.0.7

Meh I really dont know eldacar.  That's been there for ages.

Still no response as to where to put it.
Title: Re: New Mod Site Changes
Post by: Dannii on August 31, 2006, 02:02:16 AM
Oh there it has always been there.. :S

Prehaps remove one of them?
Title: Re: New Mod Site Changes
Post by: JayBachatero on August 31, 2006, 02:13:17 AM
Which one?
Title: Re: New Mod Site Changes
Post by: Thantos on August 31, 2006, 02:16:23 AM
*sigh*, Jay I'm saying make the versions the same format on http://mods.simplemachines.org/area51/jaybachatero/index.php?mod=259
Title: Re: New Mod Site Changes
Post by: JayBachatero on August 31, 2006, 02:24:39 AM
Done.  Didnt notice the commas.
Title: Re: New Mod Site Changes
Post by: JayBachatero on December 17, 2006, 02:29:48 AM
Ok I am done with the stats page integration.
http://themes.simplemachines.org/area51/jaybachatero/index.php?action=stats
http://mods.simplemachines.org/area51/jaybachatero/index.php?action=stats
Title: Re: New Mod Site Changes
Post by: Goosemoose on December 18, 2006, 12:07:34 AM
Looks great jay.
Am I missing something, or is there no way to rate a mod in the area51 version?
Title: Re: New Mod Site Changes
Post by: JayBachatero on December 18, 2006, 12:44:49 AM
There should be a way to rate a mod.   I'm taking that out though.
Title: Re: New Mod Site Changes
Post by: jerm on January 03, 2007, 07:44:12 PM
can you add the author name back in the search pages?
Title: Re: New Mod Site Changes
Post by: JayBachatero on January 03, 2007, 08:55:52 PM
Aja.  That's what's missing.  I was like this looks weird.  Ill put it in a bit.