O
ozzi4648
Guest
First find my demo link and see how this will look. After your finished with this hack you will see the following results.
Click on this link: http://demo:[email protected]:2082/
then click on CGI-Scripts and scroll to the bottom of the page.
Go into WHM and find the ADDON SCRIPTS section under the CPANEL 5 heading. Make sure that what up want to add is checked and saved. So if your only going to offer Oscommerce then check the box and save.
Ssh to your box.
Execute the following commands from the command line. Just copy and paste these commands and press &enter&
mkdir /usr/local/cpanel/base/frontend/Xskin/addoncgi
cd /usr/local/cpanel/base/frontend/default/addoncgi
cp *.* /usr/local/cpanel/base/frontend/Xskin/addoncgi
cd /usr/local/cpanel/base/frontend/Xskin/cgi
Edit the index.html to include the link on the cgi scripts page.
Make a backup of index.html
cp index.html index.html.orig
pico index.html
Find this line of code at the very end of the index.html file.
Search for this line of code:
This feature allows you to create rotating banner ads for your site. &/td&
Change it to:
This feature allows you to create rotating banner ads for your site.&br&&br& &/td&
Directly after this code:
&/tr&
&tr&
&td width=&22& valign=&top& height=&2&&&img src=&../images/arrow-t.gif&&&/td&
&td width=&628& height=&2&&&a href=&begin.html&&Entropy Banner &/a&&br&
This feature allows you to create rotating banner ads for your site.&br&&br& &/td&
&/tr&
Add the following:
&tr&
&td width=&22& valign=&top&&&img src=&../images/arrow-t.gif&&&/td&
&td width=&628&&&a href=&../addoncgi/index.html&&CGI Addon Scripts&/a& (&font color=&#FF0000&&New&/font&
&br&
Install OsCommerce, PhpNuke or Invisions Board here.&br&&br&&/td&
&/tr&
Change the text above to say what you are actually running. So if your not running phpnuke modify it to say so.
Save, exit out and test!
Depending on what you enabled in WHM, thats what is going to show when the link is clicked. I only have OSCOMMERCE enabled so that what you will see in my demo.
NOTE: At first i wanted to place the shopping cart under carts.html with all the other carts, and this was impossible since the cPanel guys have created this, &cpanel Addons=&listaddons()&& which lists all the cgi addons enabled. YUK! That would mean that if you placed &cpanel Addons=&listaddons()&& on the carts page and you also enabled phpnuke and Invisions they would all be listed on the carts page. Maybe we should ask them to change this. Anyway this was the best place to put it for now. Let me know how it works for you.
-Enjoy
Click on this link: http://demo:[email protected]:2082/
then click on CGI-Scripts and scroll to the bottom of the page.
Go into WHM and find the ADDON SCRIPTS section under the CPANEL 5 heading. Make sure that what up want to add is checked and saved. So if your only going to offer Oscommerce then check the box and save.
Ssh to your box.
Execute the following commands from the command line. Just copy and paste these commands and press &enter&
mkdir /usr/local/cpanel/base/frontend/Xskin/addoncgi
cd /usr/local/cpanel/base/frontend/default/addoncgi
cp *.* /usr/local/cpanel/base/frontend/Xskin/addoncgi
cd /usr/local/cpanel/base/frontend/Xskin/cgi
Edit the index.html to include the link on the cgi scripts page.
Make a backup of index.html
cp index.html index.html.orig
pico index.html
Find this line of code at the very end of the index.html file.
Search for this line of code:
This feature allows you to create rotating banner ads for your site. &/td&
Change it to:
This feature allows you to create rotating banner ads for your site.&br&&br& &/td&
Directly after this code:
&/tr&
&tr&
&td width=&22& valign=&top& height=&2&&&img src=&../images/arrow-t.gif&&&/td&
&td width=&628& height=&2&&&a href=&begin.html&&Entropy Banner &/a&&br&
This feature allows you to create rotating banner ads for your site.&br&&br& &/td&
&/tr&
Add the following:
&tr&
&td width=&22& valign=&top&&&img src=&../images/arrow-t.gif&&&/td&
&td width=&628&&&a href=&../addoncgi/index.html&&CGI Addon Scripts&/a& (&font color=&#FF0000&&New&/font&
Install OsCommerce, PhpNuke or Invisions Board here.&br&&br&&/td&
&/tr&
Change the text above to say what you are actually running. So if your not running phpnuke modify it to say so.
Save, exit out and test!
Depending on what you enabled in WHM, thats what is going to show when the link is clicked. I only have OSCOMMERCE enabled so that what you will see in my demo.
NOTE: At first i wanted to place the shopping cart under carts.html with all the other carts, and this was impossible since the cPanel guys have created this, &cpanel Addons=&listaddons()&& which lists all the cgi addons enabled. YUK! That would mean that if you placed &cpanel Addons=&listaddons()&& on the carts page and you also enabled phpnuke and Invisions they would all be listed on the carts page. Maybe we should ask them to change this. Anyway this was the best place to put it for now. Let me know how it works for you.
-Enjoy