Porting to Drupal 6.x

ssm2017 Binder - December 14, 2008 - 08:29
Project:Second Life framework
Version:6.x-1.x-dev
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

hello
thank you for this framework
is it possible to make a drupal 6 version ?
im new to drupal so im not able to adapt it yet

#1

kbahey - December 14, 2008 - 17:17
Title:adapt to use with drupal 6» Porting to Drupal 6.x

This is a frequently asked question.

Having said that, it is not that hard to port this module, because it does not interact with Drupal's API in a big way, so it is fairly easy to follow the instructions in the handbook and get it done, or use the deadwood module.

#2

ssm2017 Binder - December 14, 2008 - 18:34

yes, here is the one i have done and tested with the command line php test script

AttachmentSize
secondlife.tar_.gz 9.78 KB

#3

kbahey - December 14, 2008 - 18:39
Status:active» needs work

Please submit it as a patch against the DRUPAL-5 tag or the 5.x-1.x-dev tarball, so it is reviewable.

#4

ssm2017 Binder - December 14, 2008 - 20:06

here is the patch file done using :
http://ftp.drupal.org/files/projects/secondlife-5.x-1.0.tar.gz

AttachmentSize
secondlife-dp6.diff 3.56 KB

#5

kbahey - December 14, 2008 - 20:26
Status:needs work» fixed

Thank you for the patch.

There will be a 6.x-1.x-dev tarball in about 5 hours here http://drupal.org/node/346964.

If you test it and find it stable, then let me know and I will create 6.x-1.0. Otherwise, submit issues for what you find, preferably with patches.

#6

ssm2017 Binder - December 15, 2008 - 03:49

here is a new version based on : http://ftp.drupal.org/files/projects/secondlife-6.x-1.x-dev.tar.gz
i have changed :
- dependencies are an array in the .info files so it needs [] at the end
- added some comments
- added an output type to be able to choose if we want to see the full output string or just the message ( full by default )
- added a function to Limit IP address range ( the default list can be changed in admin settings and Linden servers are set by default )
- added an admin setting to choose the arguments separator ( if we would like to use something else than : like ; or | ....
- added a lsl demo script to test from inworld

AttachmentSize
6.x-1.x-dev.diff 8.49 KB
testscript.lsl_.txt 1.8 KB

#7

kbahey - December 15, 2008 - 04:51
Version:5.x-1.x-dev» 6.x-1.x-dev

Committed. Should take some 10 hours or so to be in the -dev tarball.

#8

ssm2017 Binder - December 15, 2008 - 05:38

thank you for attention
here is a new version still compared to the first http://ftp.drupal.org/files/projects/secondlife-6.x-1.x-dev.tar.gz
changes :
- removed the constants in the admin form
- added ability to set the app,cmd and arg var names in the admin panel

AttachmentSize
6.x-1.x-dev.diff 10.59 KB

#9

kbahey - December 15, 2008 - 16:26

Please don't post any new features in this issue again. It is marked as fixed.

What you should do is open a new issue for the new feature and attach the patch to it describing in detail what it does.

The patches should be against the most recent -dev version.

#10

ssm2017 Binder - December 15, 2008 - 16:55

i just made an installation file to remove the vars when uninstalling

AttachmentSize
secondlife.install.txt 345 bytes

#11

ssm2017 Binder - December 15, 2008 - 16:56

ok, seen, sorry

#12

System Message - December 29, 2008 - 17:02
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.