The Joomla! Forum ™






Post new topic Reply to topic  [ 29 posts ] 
Author Message
PostPosted: Sun Dec 16, 2007 7:29 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 10, 2007 2:23 pm
Posts: 26
Hi again, I'm Valya, I'm from Russia, I making a module for Joomla!

http://code.google.com/p/google-highly- ... ail?id=137

Quote:
  One line summary

Create a Joomla! v 1.5 Module to display del.icio.us JSON Feeds
Describe the task.

del.icio.us is a social bookmarking site

Create a Joomla! module to:

    * Define del.icio.us username
    * Select JSON Feed (Posts, Tags, URL, Network, Fans)
    * Configure properties for JSON Feed
    * Display del.icio.us tags
    * Include CSS from CSS Styling Example page

Resources:

    * del.icio.us

  # JSON Feed http://del.icio.us/help/json/
  # CSS styling http://del.icio.us/doc/feeds/js/styling

    * To install Joomla! on an XAMPP localhost:

  # XAMPP - http://www.apachefriends.org
  # Download Joomla! - http://help.joomla.org/content/view/1942/302/
  # Install Joomla! on a localhost -
http://help.joomla.org/content/view/1947/306/

    * Coding resources:

  # The core code! :-)
  # Plugins - http://forum.joomla.org/index.php?topic=233628
  # Model View Controller -
http://dev.joomla.org/component/option, ... orld_mvc1/
  # Modules and Components - http://www.jlleblanc.com/blogcategory/0/
  # Internationalization -
http://forum.joomla.org/index.php/topic ... msg1102267

    * IRC #joomlaGHOP on freenode

Skills needed

    * Knowledge of PHP
    * Knowledge of Joomla! v 1.5 Extension Development
    * Creativity and problem solving skills

Difficulty

Basic
Work Product

    * Installable Joomla! v 1.5 extension(s) with internationalization
support.

Licensing

All code must be created using the GNU General Public License version 2.
http://www.gnu.org/licenses/old-license ... .html#SEC4

Documentation written for this task must be made available under the
Joomla! Electronic Documentation License.
Extra Credit (Optional)

1. Register your project at Joomlacode
2. When you are ready to release, submit your extension to the Joomla!
Extensions Directory.

Time Limit

2 weeks.



Claimed Dec 16...

_________________
RTFM :)


Last edited by AmyStephen on Tue Jan 01, 2008 8:30 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: Mon Dec 17, 2007 5:26 am 
Joomla! Champion
Joomla! Champion

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 7056
Location: Nebraska
Welcome back, my del.icio.us expert friend.  8)

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


Top
 Profile  
 
PostPosted: Mon Dec 17, 2007 5:14 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 10, 2007 2:23 pm
Posts: 26
Hi Amy :)

I wrote this module as extended module #136 ( linkroll ) ... here it is

There is many JavaScripts, instead of PHP :)


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

_________________
RTFM :)


Top
 Profile  
 
PostPosted: Tue Dec 18, 2007 3:19 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 10, 2007 2:23 pm
Posts: 26
up...

_________________
RTFM :)


Top
 Profile  
 
PostPosted: Tue Dec 18, 2007 3:44 pm 
Joomla! Champion
Joomla! Champion

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 7056
Location: Nebraska
Going as fast as I can!  :P You guys are too fast for me - hope you are using this extra time to check and test! Be back soon!

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


Top
 Profile  
 
PostPosted: Tue Dec 18, 2007 3:46 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 10, 2007 2:23 pm
Posts: 26
Ok, thanks :)

_________________
RTFM :)


Top
 Profile  
 
PostPosted: Thu Dec 20, 2007 11:56 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 10, 2007 2:23 pm
Posts: 26
up? :)

_________________
RTFM :)


Top
 Profile  
 
PostPosted: Sat Dec 22, 2007 11:13 am 
User avatar
Joomla! Exemplar
Joomla! Exemplar

Joined: Thu Aug 18, 2005 8:43 pm
Posts: 7986
Location: New York
Hi,

Please don't bump. It's against forum rules. We are trying to get to the posts in the order that they have been posted, so actually you only move to the back of the queue when you bump.

In the meantime, though, community, please jump in and give feedback!

Elin

_________________
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: Sun Dec 23, 2007 3:15 am 
User avatar
Joomla! Exemplar
Joomla! Exemplar

Joined: Thu Aug 18, 2005 8:43 pm
Posts: 7986
Location: New York
Hi,

This works really well for me, except for the tags ... they tried to go to my local site instead of to the del.icio.us site.

_________________
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: Sun Dec 23, 2007 3:23 am 
Joomla! Champion
Joomla! Champion

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 7056
Location: Nebraska
OK. We took a look at your module. One one of my test environments (my local host), this worked great!

On the other one of my test environments (accessible to the Internet), this plugin did not work, at all, in fact, I get this error message, and a blank screen:

Code:
Parse error: syntax error, unexpected $end in D:\VirtualWebsites\JoomlaPlace\JoomlaGHOP\modules\mod_delicious_feeds\tmpl\default.php on line 23


If you want to access the site, let me know and I'll activate it, again. Or, if you have some ideas and want me to try, again, let me know.

Thanks!
Amy :)

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


Top
 Profile  
 
PostPosted: Sun Dec 23, 2007 8:57 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 10, 2007 2:23 pm
Posts: 26
Thanks, mcsmom, stupid bug :)

AmyStephen, was module uploaded correctly? "Parse error: syntax error" - this can be either everywhere or nowhere...

Valya :)


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

_________________
RTFM :)


Top
 Profile  
 
PostPosted: Sun Dec 23, 2007 9:13 am 
User avatar
Joomla! Exemplar
Joomla! Exemplar

Joined: Thu Aug 18, 2005 8:43 pm
Posts: 7986
Location: New York
When I uninstalled and then tried to reinstall I got an error message saying that the directory was already being used.

Turned out the module files were still there and the module also was still in the module manager despite having been uninstalled.  So you need to check the uninstall.


Also, make sure to remove the language file.

Tags work great now. :)

_________________
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: Sun Dec 23, 2007 9:29 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 10, 2007 2:23 pm
Posts: 26
I can't repeat your situation :( I'm working on it now...

Thanks, Valya

_________________
RTFM :)


Top
 Profile  
 
PostPosted: Sun Dec 23, 2007 8:50 pm 
Joomla! Champion
Joomla! Champion

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 7056
Location: Nebraska
valen0k wrote:
AmyStephen, was module uploaded correctly? "Parse error: syntax error" - this can be either everywhere or nowhere...


Scroll clear to the end of this error code to find the specific location of the error.
Code:
Parse error: syntax error, unexpected $end in D:\VirtualWebsites\JoomlaPlace\JoomlaGHOP\modules\mod_delicious_feeds\tmpl\default.php on line 23


Let me know what you'd like me to try.

Thanks!
Amy :)

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


Top
 Profile  
 
PostPosted: Sun Dec 23, 2007 8:53 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 10, 2007 2:23 pm
Posts: 26
Code:
<?php // no direct access
defined( '_JEXEC' ) or die( 'Restricted access' ); ?>
<?php if(@$username) {
?>

<? if ( $postenabled ) { ?> <h4>My posts</h4> <div id='diu_post'></div> <? } ?>

<? if ( $tagsenabled ) { ?> <h4>My tags</h4> <div id='diu_tags'></div> <? } ?>

<? if ( $networkenabled ) { ?> <h4>My network</h4> <div id='diu_network'></div> <? } ?>

<? if ( $fansenabled ) { ?> <h4>Fans</h4> <div id='diu_fans'></div> <? } ?>
 
 
<?
if ($showUsername) { ?>
<a href="http://del.icio.us/"><img src="http://images.del.icio.us/static/img/delicious.med.gif" alt="del.icio.us"></a> I am <a href="http://del.icio.us/<?=urlencode($username)?>"><?=$username?></a> on <a href="http://del.icio.us/">del.icio.us</a><br>
<? }
if ($showAddMe) { ?>
<a href="http://del.icio.us/network?add=<?=urlencode($username)?>"><img src="http://images.del.icio.us/static/img/add.gif" alt="add <?=$username?> to your del.icio.us network!"></a> <a href="http://del.icio.us/network?add=<?=urlencode($username)?>">Add me to your network</a>
<? }
} ?><br>
<? if ( $urlenabled ) { ?> <div id='diu_url'></div> <? } ?> // <- this is line 23... error? :(

_________________
RTFM :)


Top
 Profile  
 
PostPosted: Sun Dec 23, 2007 8:56 pm 
Joomla! Champion
Joomla! Champion

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 7056
Location: Nebraska
Not certain why you pasted that code. I do believe that is the line referenced, if that is what you are asking.

Amy :)

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


Top
 Profile  
 
PostPosted: Sun Dec 23, 2007 8:59 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 10, 2007 2:23 pm
Posts: 26
Amy, is php_short_tags enabled on your server? :)

_________________
RTFM :)


Top
 Profile  
 
PostPosted: Sun Dec 23, 2007 9:17 pm 
Joomla! Champion
Joomla! Champion

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 7056
Location: Nebraska
Do you mean this directive?

Quote:
; Allow the tags are recognized.
; NOTE: Using short tags should be avoided when developing applications or
; libraries that are meant for redistribution, or deployment on PHP
; servers which are not under your control, because short tags may not
; be supported on the target server. For portable, redistributable code,
; be sure not to use short tags.
short_open_tag = Off


Amy :)

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


Last edited by AmyStephen on Sun Dec 23, 2007 9:19 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Sun Dec 23, 2007 9:21 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 10, 2007 2:23 pm
Posts: 26
I forget about this directive :( Thanks, Amy! :)


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

_________________
RTFM :)


Top
 Profile  
 
PostPosted: Sun Dec 23, 2007 10:25 pm 
Joomla! Champion
Joomla! Champion

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 7056
Location: Nebraska
Excellent work! You figured out the problem and fixed it! And, you are one step closer to running on all of the various versions of PHP that Joomla! supports, beginning with php v. 4.3.10. I gain more and more respect for the abilities of the Joomla! developers the more I work with various extensions. It's not easy finding that narrow path of allowable code. Again, good job.

++++

The parameters appear to be working correctly, as are the links.

It would be nice to enable the favicons that print to the left of the post links - or leave them off.

Be careful to not start sections  (ex.
and
) if that section is not to be included in the output.

I was unable to get the enable URL info working. I entered http://joomla.org and just joomla.org and did not receive any output.

It's looking very good. I'll look for your post.

Amy

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


Top
 Profile  
 
PostPosted: Mon Dec 24, 2007 4:47 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 10, 2007 2:23 pm
Posts: 26
Thanks Amy for your comments :)


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

_________________
RTFM :)


Top
 Profile  
 
PostPosted: Mon Dec 24, 2007 6:25 pm 
Joomla! Champion
Joomla! Champion

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 7056
Location: Nebraska
Might want to add a heading for the URL info section and include it after fans.

The URL info links are to the local site, not to del.icio.us.

Quote:

My posts


My tags


My network


Fans

 


del.icio.us I am AmyStephen on del.icio.us

add AmyStephen to your del.icio.us network! Add me to your network




Almost there,
Amy :)

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


Top
 Profile  
 
PostPosted: Mon Dec 24, 2007 6:29 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 10, 2007 2:23 pm
Posts: 26
Thanks Amy :)


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

_________________
RTFM :)


Top
 Profile  
 
PostPosted: Tue Dec 25, 2007 2:26 am 
Joomla! Champion
Joomla! Champion

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 7056
Location: Nebraska
Looks great! I approve - I think this gives people just about anything they could want out of Del.icio.us and it works great!

Get it posted at Google - we'll try to get a second Judge's opinion. Elin might already approve.

Thanks, very much, for your efforts and patience and hard work on both of these extensions.

Amy :)

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


Top
 Profile  
 
PostPosted: Tue Dec 25, 2007 1:28 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 10, 2007 2:23 pm
Posts: 26
Released at Google :)

_________________
RTFM :)


Top
 Profile  
 
PostPosted: Sun Dec 30, 2007 6:44 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 10, 2007 2:23 pm
Posts: 26
Will you accept my release?

_________________
RTFM :)


Top
 Profile  
 
PostPosted: Tue Jan 01, 2008 8:29 am 
Joomla! Champion
Joomla! Champion

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 7056
Location: Nebraska
I am very sorry about not seeing that earlier!  :P

Thanks, again, for this amazing work.

I hope you have it listed at the JED!

Amy :)

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


Top
 Profile  
 
PostPosted: Tue Jan 01, 2008 4:12 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 10, 2007 2:23 pm
Posts: 26
Thanks, Happy New Year!

_________________
RTFM :)


Top
 Profile  
 
PostPosted: Tue Jan 01, 2008 8:27 pm 
Joomla! Champion
Joomla! Champion

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 7056
Location: Nebraska
Happy New Year to you, as well!  8)

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


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



Who is online

Users browsing this forum: No registered users and 4 guests


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