Please help with my first component.

Joey Champion Posted in Component Development 4 years ago

Hello friends. I used OSSN to create a tropical themed social network. ( http://www.OasisIsle.com ). I have used the Halloween component as a guide to try to create the "Tropical Birds" component. I am attaching to this post a link to my files. https://drive.google.com/file/d/1jLFUZgmoXBntRC52kWu09YVrh_WUO8Yh/view?usp=sharing (Within the zip file is my progress and an example of the Tropical Birds working in html).
Please, someone help me get this to work. You or anyone can take credit and upload to the components section of OSSN. I just want the thing to work. It works beautifully in HTML. I can't figure out what to do. I simply want the birds to be visible on the sign up and log in page. Ideally like the Snow component does when activated.
Please, someone take a look and help an old guy out. Thanks and have a blessed weekend.
Joey

Replies
us Joey Champion Replied 4 years ago

Wow! Thank you Arsalan Shah! You are my hero. It is beautiful. You can see it in action here...
( www.OasisIsle.com ). I am so grateful for your help. Have a blessed and wonderful day.

Indonesian Arsalan Shah Replied 4 years ago

You can get it here a fixed : https://files.softlab24.com/index.php/s/MpWC5GDEqCLJ2S6
Mistakes:
1. In your component ossn_com.php you written ossn_register_callback('ossn', 'init', 'vantajs_init'); but your init function is tropical_init not vantajs_init
2. In your ossn_com.xml you written ID Tropical but the component actual folder/directory is small case tropical
3. In your JS file you didn't added $(document).ready(function().... without this JS will never work as the document is not fully initialized.

Indonesian Arsalan Shah Replied 4 years ago

I will take a look for you tomorrow.

@Aaron https://www.opensource-socialnetwork.org/component/view/242/contact

us Aaron Hall Replied 4 years ago

How did you add the Contact Us page at the bottom?

us Joey Champion Replied 4 years ago

Here is another link. I placed the zip file on my server in case someone is having trouble accessing it from Google Drive.
https://www.oasisisle.com/files/help.zip
Inside the zip file are two folders.
One folder titled "tropical" which contains my efforts at creating the component.
The second titled "thisWORKSinHTML" which has a working example of what I am trying to accomplish.
Thanks for your patience... I am so new at this.
Sincerly,
Joey

us Joey Champion Replied 4 years ago

I am sorry. The link I first provided was to a zip file on Google Drive. Inside the zip file were two folder. One with my attempt at a component, the other with the working HTML code.
Here is a link to the entire folder on Google Drive.
https://drive.google.com/drive/folders/1maRrgFhltNfkAzYKxn7eN_SpwCI_39ef?usp=sharing

Indonesian Arsalan Shah Replied 4 years ago

Where is HTML code?