The Joomla! Forum ™






Post new topic Reply to topic  [ 27 posts ] 
Author Message
PostPosted: Sat Dec 01, 2007 4:17 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sat Dec 01, 2007 3:49 pm
Posts: 3
i written the code. ;)

must I write a code extremely different of the original  ???

Google Task

[me=AmyStephen]Changed subject slightly for sorting all threads to match against Google resource  :)[/me]

+++

Socioguy is claimant Claimed Nov 28 Due Dec 26


Last edited by AmyStephen on Thu Jan 03, 2008 8:58 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: Sat Dec 01, 2007 4:28 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Thu Mar 02, 2006 8:38 pm
Posts: 200
Location: Baltimore, MD
Great. Is the code available? If you post it here we can review it and offer comments.


Top
 Profile  
 
PostPosted: Sat Dec 01, 2007 4:57 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sat Dec 01, 2007 3:49 pm
Posts: 3
1 week and it's finish (school works and friends  :-* are priority)
i'm just a "beginner" and i discover function in the code which i dont imagine before.

ps: excuse me my english plz, i'm french and i'm only 14 years


Last edited by proairgun on Sat Dec 01, 2007 5:02 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Sat Dec 01, 2007 5:14 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sat Dec 01, 2007 3:49 pm
Posts: 3
must i have extra function (like date etc...) or just what they ask me ???


Top
 Profile  
 
PostPosted: Sat Dec 01, 2007 5:47 pm 
User avatar
Joomla! Exemplar
Joomla! Exemplar

Joined: Thu Aug 18, 2005 8:43 pm
Posts: 7986
Location: New York
If you add extra options that make it easier for the user to do what she wants, of course that is preferable. :)

_________________
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.


Top
 Profile  
 
PostPosted: Sat Dec 01, 2007 6:51 pm 
Joomla! Champion
Joomla! Champion

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 7056
Location: Nebraska
proairgun wrote:
must I write a code extremely different of the original  ???


No. You can adapt something that you find useful in the core code. That's the beauty of open source and the GPL in particular.

Good luck with your project and thanks for your contributions to the Joomla! community,
Amy :)

_________________
http://Twitter.com/AmyStephen
http://www.alltogetherasawhole.org/


Top
 Profile  
 
PostPosted: Sun Dec 02, 2007 3:25 am 
Joomla! Champion
Joomla! Champion

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 7056
Location: Nebraska
GHOP Contestants Please Read: Task Process Start to Finish for important updates on the contest.

_________________
http://Twitter.com/AmyStephen
http://www.alltogetherasawhole.org/


Top
 Profile  
 
PostPosted: Sun Dec 02, 2007 7:50 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Dec 02, 2007 5:21 pm
Posts: 9
(Thanks Amy!)

Here is a zip file that can be installed on Joomla. I would appreciate feedback from the Joomla community on ways to improve it before submitting it to GHOP. Some ideas: adding more options (like what?), less hard coding?, more specific? Please let me know - Thanks. :D


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
PostPosted: Sun Dec 02, 2007 8:20 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Thu Mar 02, 2006 8:38 pm
Posts: 200
Location: Baltimore, MD
Uh, oh. socioguy this was done as a 1.0.x module. I think the rules are to do a 1.5 module. Amy (or any of the judges) can you confirm that?


Top
 Profile  
 
PostPosted: Sun Dec 02, 2007 10:22 pm 
Joomla! Champion
Joomla! Champion

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 7056
Location: Nebraska
Yes, Kevin, you are correct. This must be done for Joomla! v 1.5. 

Socioguy, also make certain to read the Process link I provided above to understand how we need to proceed with each of the GHOP tasks.

Thanks!
Amy :)

_________________
http://Twitter.com/AmyStephen
http://www.alltogetherasawhole.org/


Top
 Profile  
 
PostPosted: Sun Dec 02, 2007 11:54 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Dec 02, 2007 5:21 pm
Posts: 9
Oh...Hmm...that's going to be a problem isn't it? Dreamhost preinstalled 1.0.x on my server and didn't even bother to check the version number. Oh well, I'm going to look at it and see if the code is drastically different between versions or if I can do a quick fix.

Thanks for pointing that out.


Top
 Profile  
 
PostPosted: Mon Dec 03, 2007 12:00 am 
Joomla! Champion
Joomla! Champion

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 7056
Location: Nebraska
Check out the Google Wiki for instructions of how to create a local host and install Joomla!.

Make certain to read your project description closely, and feel free to ask questions if you have confusion. Also, read the link I provided above. In it, is a recommendation to read the stickys in the forum area. That information can help you understand the task, as well. Again, ask questions all you want - we are here to help you be successful!

Thanks,
Amy :)

_________________
http://Twitter.com/AmyStephen
http://www.alltogetherasawhole.org/


Top
 Profile  
 
PostPosted: Mon Dec 03, 2007 12:09 am 
Joomla! Champion
Joomla! Champion

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 7056
Location: Nebraska
I think we have a problem here.

Are both of you - proairgun and socioguy working on Task 13 - Create a module listing the names of authors and number of articles written.?

A task can only be assigned to one contestant.

winged_g...@sbcglobal.net was recognized as the task claimant in Comment 13 by one of the Joomla! Judges.

Who is that? proairgun or socioguy? Or, are one of you posting in the wrong thread?

Thanks for your prompt response since we need to get this sorted out,
Amy :)

_________________
http://Twitter.com/AmyStephen
http://www.alltogetherasawhole.org/


Top
 Profile  
 
PostPosted: Mon Dec 03, 2007 4:36 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Dec 02, 2007 5:21 pm
Posts: 9
winged_g is my google account (just to clear things up). I will be working on that module and I will ask the board if I have any questions. Thanks for all of your help.


Top
 Profile  
 
PostPosted: Mon Dec 03, 2007 8:11 pm 
Joomla! Champion
Joomla! Champion

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 7056
Location: Nebraska
socioguy wrote:
winged_g is my google account (just to clear things up). I will be working on that module and I will ask the board if I have any questions. Thanks for all of your help.


Thank you socioguy.

proairgun - this is not your task. Please select an open task if you hope to participate in this contest.

Amy :)

_________________
http://Twitter.com/AmyStephen
http://www.alltogetherasawhole.org/


Top
 Profile  
 
PostPosted: Thu Dec 06, 2007 2:17 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Dec 02, 2007 5:21 pm
Posts: 9
Okay, I think I've run into a problem:

I'm trying to install the module by uploading a zip file containing: the index files, mod_topusers.php, mod_topusers.xml, helper.php, and tmpl/default.php - but after uploading the zip, the mod_topusers directory only contains the mod_topusers.php and xml files. The helper.php, tmpl/default.php and indexes aren't there! What am I doing wrong?

Aaron.


Top
 Profile  
 
PostPosted: Thu Dec 06, 2007 4:33 am 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Thu Mar 02, 2006 8:38 pm
Posts: 200
Location: Baltimore, MD
Are you including all of those files in your XML?

   
        mod_topusers.php
        index.html
        helper.php
        tmpl/default.php
        tmpl/index.html
   


Top
 Profile  
 
PostPosted: Sat Dec 08, 2007 4:20 am 
Joomla! Champion
Joomla! Champion

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 7056
Location: Nebraska
Hi Aaron -

Is there something we can do to help? A quick status update would be great. Also, we added a number of cool coding tasks if you want another one when this one is complete.

Thanks!
Amy :)

_________________
http://Twitter.com/AmyStephen
http://www.alltogetherasawhole.org/


Top
 Profile  
 
PostPosted: Sat Dec 08, 2007 2:25 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Dec 02, 2007 5:21 pm
Posts: 9
Hey Amy and folks,

Sorry about not being more active on the forum (I've been busy with schoolwork, other programming, etc.) but I got around to finishing up the new Top Contributors module for 1.5! There's just one thing I don't know how to change: after the module is installed, it's default title is "TopContributors" but I want it to be "Top Contributors". Feel free to suggest any other changes that could make it better. The install zip is attached.

-Aaron :)

P.S. kdevine: The xml filename declaration thing worked. Thanks!


You do not have the required permissions to view the files attached to this post.


Last edited by socioguy on Sat Dec 08, 2007 2:34 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Sun Dec 09, 2007 5:43 am 
Joomla! Champion
Joomla! Champion

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 7056
Location: Nebraska
Thanks, Aaron for the quick response.

I don't think there is anything you can do on the default title not having spaces right now. That' s a little bug.

Helper -

1. Why not get the name in the query, instead of a second trip to the db (actually another trip for each person)?

I'd add in the author name, joining to the user table.

Format the query on additional lines for readability (look at core queries.)

2. Add a 2nd order by so that you are sorting by a) count of published articles DESC,  and then, b) author name ASC.

3. Remove commented out code before your final. (Sure you planned that already).

4. Can you somehow change (1 posts) to (1 post)? (picky, huh?  ;))

IF you want to take this further, I'd recommend consider these comment I provided someone else:

1. Consider adding an option buttons for each user group, to include or exclude from the Top User list:

Include Super Administrator Articles? Yes No
Include Administrator Articles? Yes No
Include Publisher Articles? Yes No
Include Editor Articles? Yes No
Include Author Articles? Yes No

2. Consider adding a section and category text box for inclusion. (ex. see mos_latestnews )

3. Internationalization is not difficult, if you want to give it a try. Important, too.

This is another good social networking module that will be used.

You are doing good. Thanks for your contributions to the Joomla! community,

Amy  :)

_________________
http://Twitter.com/AmyStephen
http://www.alltogetherasawhole.org/


Top
 Profile  
 
PostPosted: Mon Dec 10, 2007 4:22 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Dec 02, 2007 5:21 pm
Posts: 9
Cool, thanks for the tips.

I made all the modifications to the helper file and will post a new version shortly after I implement the other recommendations (my internet connection has been going on and off so I may not get it up right away).

If anyone else has suggestions, please let me know. :)

-Aaron


Top
 Profile  
 
PostPosted: Tue Dec 18, 2007 4:26 am 
Joomla! Champion
Joomla! Champion

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 7056
Location: Nebraska
Aaron -

How you doing? Have you had a chance to submit a new version?

Hope to hear from you soon. You have a great start and this will be a great extension!

Take care,
Amy :)

_________________
http://Twitter.com/AmyStephen
http://www.alltogetherasawhole.org/


Top
 Profile  
 
PostPosted: Tue Dec 18, 2007 7:42 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Dec 02, 2007 5:21 pm
Posts: 9
Hi everyone,

I 'm sorry again for not getting back to you sooner. I had to leave the country unexpectedly for a funeral and things have been very busy. I have postponed work on it until I get back (around 12/21) and will try to finish it before the deadline.

Thanks.  8)


Top
 Profile  
 
PostPosted: Tue Dec 18, 2007 2:29 pm 
Joomla! Champion
Joomla! Champion

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 7056
Location: Nebraska
Aaron -

No problem. I am sorry to hear about the funeral. Thank you for letting us know. We will talk, again, when you are able.

Amy :)

_________________
http://Twitter.com/AmyStephen
http://www.alltogetherasawhole.org/


Top
 Profile  
 
PostPosted: Tue Dec 25, 2007 7:17 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Dec 02, 2007 5:21 pm
Posts: 9
Ok, I have a new version.

This one has all of the features you recommended (except for internationalization). I threw it together kind of hastily so be on the look out for any errors I left behind. If there is a more efficient way of doing the user group thing (or anything else), please let me know. I think it's almost ready to submit!

-Aaron.


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
PostPosted: Fri Dec 28, 2007 7:18 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Dec 02, 2007 5:21 pm
Posts: 9
Hi, it's been a few days now and I was wondering if I should submit my module. Please let me know as soon as possible b/c I think it's due in soon.


Top
 Profile  
 
PostPosted: Sat Dec 29, 2007 5:51 pm 
Joomla! Champion
Joomla! Champion

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 7056
Location: Nebraska
Aaron -

It looks and works well.

The code looks good to me - it could use some "cleaning up" with nicer tabbing, etc., but not a big problem. It's more of a "pride" thing when other developers look at your code - kind of like straightening up your house for visitors. ;)

More important would be the Internationalization - which is not terribly difficult, nor would it take very long. Check out this post and see what you think.

I accept this, as is. I would encourage the Internationalization, but that's an "extra credit", not required item. If you post this on Google, I'll mark it complete, either way.

Great work - it is a good Social Networking app and will get some action.

Thanks for participating with Joomla! in the GHOP! In the next few days, we do hope to have more coding tasks added, if you are interested.

Amy :)

_________________
http://Twitter.com/AmyStephen
http://www.alltogetherasawhole.org/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 27 posts ] 



Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group