RE:
Dude.. OMG. I owe you one man. Really appricate it. Am still going to continue to learn how it's done though for future knowledge.
THanks man :)
Actually, the store module is one of the easiest of all to clone. You'll need three things installed on your computer:
1. Agent Ransask
2. Notepad ++
3. An unzipped copy of Dolphin 7.0.9
First, make a working directory for your cloned module. Let's say you want to call the store module, 'RingTones'. Create a folder called RingToneModule, or whatever you choose to call it. Then browse to the D7.0.9 folder/modules/boonex. Right click on the 'store' folder and select 'copy'. Then browse to, and open your RingToneModule folder. Hit CTRL-V to copy all the store module files into the folder.
Once you have Agent Ransack and Notepad++ installed on your computer, from Windows Explorer, right click on the RingToneModule folder, and select 'Agent Ransack'. This will open Agent Ransack with the RingToneModule folder specified as the search folder. Enter 'store' as the text to search for. Agent Ransack will then show a list of files that contain occurrences of the string 'store'. A basic search is not case sensitive, and will find every occurrence of 'store', 'Store', and 'STORE'.
Select every file name that Agent Ransack found, then right click on the group of selected files. Choose 'edit with Notepad ++. This will open all the files in Notepad ++ at the same time. From Notepad's Search menu, select 'Replace'. A search window will pop up.
In the Find what field, enter store
in the Replace with field, enter ringtones
Make sure 'Match whole word only' is UNCHECKED
Check MATCH CASE, WRAP AROUND, and select search mode normal
Click on 'Replace All in All Opened Documents'
NEXT STEP:
In the Find what field, enter Store
in the Replace with field, enter Ringtones
Make sure 'Match whole word only' is UNCHECKED
Check MATCH CASE, WRAP AROUND, and select search mode normal
Click on 'Replace All in All Opened Documents'
NEXT STEP:
In the Find what field, enter STORE
in the Replace with field, enter RINGTONES
Make sure 'Match whole word only' is UNCHECKED
Check MATCH CASE, WRAP AROUND, and select search mode normal
Click on 'Replace All in All Opened Documents'
Done with searching & replacing. Close the search window, and from Notepad's File menu, select Save All, then select Close all. You're done with Notepad and Agent Ransack.
Next you have to go to your RingToneModule folder, and rename files. Take a look at how I renamed the store files to games, and do the same thing for ringtones. There's about a dozen or so php files, and some images. After you've done all this, the new module is complete.
You'll have to add this to the .htaccess file in your sites root:
RewriteRule ^forum/ringtones/(.*)$ modules/boonex/forum/$1?orca_integration=ringtones[QSA,L]
Upload the RingToneModule folder to modules/boonex. rename it to ringtones.
The last thing you'll need to do is clone the modules/boonex/forum/integrations/store folder. You can do this with Agent Ransack in the same manner as we just cloned the store module. Just replace all occurrences of the string 'store' with 'ringtones' and PAY ATTENTION to case. Rename the modules/boonex/forum/integrations/store folder to modules/boonex/forum/integrations/ringtones, then upload it to the server.
If you done everything correctly, the new module should install properly. One thing you might want to do, is rename occurrences of the word 'products' to 'ringtones' NOT in the language key strings.... just the text that replaces the language key. You may want to do this before you install the module. Notepad's search & replace is pretty useful for this.... just be careful not to replace any of the text in the keys themselve!
My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.