October 15, 2024, 04:39:38 pm
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to Revolution X, where Coding meets Graphics.
 
  Home Help Search Arcade Affiliates Staff List Calendar Members Login Register  

[code]PROJECT Shop v2.0 Beta 6.8

Pages: [1] 2 3   Go Down
  Print  
Author Topic: [code]PROJECT Shop v2.0 Beta 6.8  (Read 2947 times)
xboi209
Exclusive
Exclusive
Offline Offline

Gender: Male
Posts: 235


View Profile WWW
Badges: (View All)
« on: June 02, 2009, 08:40:43 pm »

http://x.smfforfree.com/pages/x/shop2.php
Please note that this is a beta version and the final version will be released soon.

Quote
<!-- start shop code -->
<table style="height: 88px; text-align: center;" border="3" width="641">
<caption><span style="text-decoration: underline;"><strong><span style="font-size: medium;">Shop</span></strong></span></caption>
<tbody>
<tr>
<th><strong>Item</strong></th><th><strong>Description</strong></th><th><strong>Price</strong></th>
</tr>
<tr>
<td style="text-align: center;">ITEM</td>
<td style="text-align: center;">DESCRIPTION</td>
<td style="text-align: center;">PRICE</td>
</tr>
<tr>
<td style="text-align: center;">ITEM</td>
<td style="text-align: center;">DESCRIPTION</td>
<td style="text-align: center;">PRICE</td>
</tr>
<tr>
<td style="text-align: center;">ITEM</td>
<td style="text-align: center;">DESCRIPTION</td>
<td style="text-align: center;">PRICE</td>
</tr>
</tbody>
</table>
<!-- end shop code -->
<!--- Bank system -->
<p style="text-align: center;"><strong><span style="text-decoration: underline;"><span style="font-size: medium;">Bank</span></span></strong></p>
<table style="text-align: center;" border="3">
<tbody>
<tr>
<th><strong>Member</strong></th>
<th><strong>Money in hand</strong></th>
<th><strong>Money in bank</strong></th>
<th><strong>Withdrawed this week</strong></th>
<th><strong>Deposited this week</strong></th>
<th><strong>TOTAL</strong></th>
</tr>
<tr>
<td>MEMBER</td>
<td style="text-align: center;">MONEY IN HAND</td>
<td style="text-align: center;">MONEY IN BANK</td>
<td style="text-align: center;">WITHDRAWED THIS WEEK</td>
<td style="text-align: center;">DEPOSITED THIS WEEK</td>
<td style="text-align: center;">TOTAL</td>
</tr>
<tr>
<td style="text-align: center;">MEMBER</td>
<td style="text-align: center;">MONEY IN HAND</td>
<td style="text-align: center;">MONEY IN BANK</td>
<td style="text-align: center;">WITHDRAWED THIS WEEK</td>
<td style="text-align: center;">DEPOSITED THIS WEEK</td>
<td style="text-align: center;">TOTAL</td>
</tr>
<tr>
<td style="text-align: center;">MEMBER</td>
<td style="text-align: center;">MONEY IN HAND</td>
<td style="text-align: center;">MONEY IN BANK</td>
<td style="text-align: center;">WITHDRAWED THIS WEEK</td>
<td style="text-align: center;">DEPOSITED THIS WEEK</td>
<td style="text-align: center;">TOTAL</td>
</tr>
</tbody>
</table>
<!-- End of bank system -->
<!-- Start pm system -->
<p style="text-align: center;">
<script type="text/javascript"><!--
var send2user = "USERNAME";
var SUBjecT = "Insert Item Price and Name";

document.write('<iframe id="FRAMEME" name="FRAMEME" src="' + smf_scripturl + '?action=pm;sa=send" mce_src="' + smf_scripturl + '?action=pm;sa=send" frameborder="0" height="0" width="0"></iframe><div id="REFRESH"> </div><table class="bordercolor" width="80" cellspacing="1" cellpadding="3" border="0" style="text-align: center;" mce_style="text-align: center;" id="THEPM"><tbody><tr><td class="windowbg"><table width="10" cellpadding="3" border="0"><tbody><tr><td align="right"><b>Subject:</b></td><td><input type="hidden" value="' + send2user + '" size="40" id="SENDEM" /><input type="text" value="' + SUBjecT + '" size="40" id="IWEFVI" /><br /></td></tr><tr><td valign="top" align="right"><br /></td><td><textarea id="THAHMESSAGE" rows="3" cols="50" onkeyup="storeCaret(this);" onclick="storeCaret(this);" class="editor"></text' + 'area></td></tr><tr><td align="right" colspan="2"><input type="submit" value="Buy" onclick="BuyThis();" /></td></tr></tbody></table></td></tr></tbody></table>');
function BuyThis(){
var sendTo = document.getElementById("SENDEM").value;
var theMessage = document.getElementById("THAHMESSAGE").value;
var ASDFE = document.getElementById("IWEFVI").value;
document.getElementById("FRAMEME").src = "/?action=pm;sa=send";
if(confirm("Are you sure you want to buy this item?") == true){
window.frames["FRAMEME"].document.forms.postmodify.message.value = theMessage;
window.frames["FRAMEME"].document.forms.postmodify.to.value = sendTo;
window.frames["FRAMEME"].document.forms.postmodify.subject.value = ASDFE;
Update5();
}else{
return false;
};
};
function Update5(){
var Change = window.frames["FRAMEME"].document.getElementsByTagName("input");
for(w=0;w<Change.length;w++){
if(Change[w].value == "Send message"){
Change[w].click();
document.getElementById("THEPM").style.display = "none";
document.getElementById("REFRESH").innerHTML = "<center><font size='8px'>Loading...</font><br /><img src='http://i307.photobucket.com/albums/nn293/ino_nicole/loading.gif' mce_src='http://i307.photobucket.com/albums/nn293/ino_nicole/loading.gif' /></center>";
setTimeout("window.location.reload()",500);
};};
};
// --></script>
</p>
<!-- end of pm system -->
<!-- Credits -->
<table style="height: 82px; text-align: center;" border="0" width="636">
<tbody>
<tr>
<th><span style="text-decoration: underline;"><strong>Credits</strong></span></th>
</tr>
<tr>
<td>xboi209 <a href="http://x.smfforfree.com/index.php">Nintendo Community</a></td>
</tr>
<tr>
<td>Agent Moose <a href="http://revolutionx.smfforfree3.com">RevolutionX</a></td>
</tr>
<tr>
<td>Isaiah Grandma <a href="http://ourhangout.org">OurHangOut</a></td>
</tr>
</tbody>
</table>
<p style="text-align: center;"><!-- Comment Box --></p>
<p style="text-align: center;"><!--begin htmlcommentbox.com --></p>
<div id="HCB_comment_box" style="text-align: center;">Comment Box is loading comments...</div>
<p style="text-align: center;">
<script type="text/javascript"><!--
 (function(){s=document.createElement("script");s.setAttribute("type","text/javascript");s.setAttribute("src", "http://www.htmlcommentbox.com/jread?page="+window.location+"&mod=%241%24wq1rdBcg%24fqdKQgdm9pxUOEFNK3LPw0"+"&opts=7");if (typeof s!="undefined") document.getElementsByTagName("head")[0].appendChild(s);})();
// --></script>
</p>
<!-- end htmlcommentbox.com -->
<!--   Please DO NOT edit the credits of this shop code!!! -->
<p style="background-color: #ffffff; text-align: center;"><strong><span style="font-size: xx-small; color: #000000;"><span style="text-decoration: underline;"><span>Copyright Nintendo Community 2008 - 2009 http://x.smfforfree.com/index.php</span></span></span></strong></p>

Now theres something new, theres a part where it says USERNAME.
Edit that to your username so all pms come to you.
All tell ALL of your members before you use the shop, they MUST have the subject AND body of the message the same or it won't work.
You may ONLY edit anything in red.
If you have any questions please post here, thank you!
« Last Edit: June 02, 2009, 10:16:23 pm by Agent Moose » Report Spam   Logged

Share on Facebook Share on Twitter

Andrew
Exclusive
Exclusive
Offline Offline

Gender: Male
Posts: 539



View Profile WWW
Badges: (View All)
« Reply #1 on: June 02, 2009, 09:48:12 pm »

Hey nice job with this Smiley

Is it suppose to work in the webpage editor? Or no?
Report Spam   Logged

Agent Moose
Administrator
Adminitrator
Offline Offline

Gender: Male
Posts: 1,470



View Profile WWW
Badges: (View All)
« Reply #2 on: June 02, 2009, 10:17:06 pm »

yep, this should work in the webpage editor Smiley  Last time I checked it did Wink

Good work xboi Smiley
Report Spam   Logged


Andrew
Exclusive
Exclusive
Offline Offline

Gender: Male
Posts: 539



View Profile WWW
Badges: (View All)
« Reply #3 on: June 02, 2009, 10:31:21 pm »

huh...weird, I used it in the webpage editor and it didnt work...strange
Report Spam   Logged

xboi209
Exclusive
Exclusive
Offline Offline

Gender: Male
Posts: 235


View Profile WWW
Badges: (View All)
« Reply #4 on: June 03, 2009, 03:31:08 pm »

Did you put it in the html button?Thats where your suppose to do it.Agent Moose, couldn't do it without you.Thanks.
Report Spam   Logged
xboi209
Exclusive
Exclusive
Offline Offline

Gender: Male
Posts: 235


View Profile WWW
Badges: (View All)
« Reply #5 on: June 03, 2009, 03:32:50 pm »

Also i fixed up some things so its not all white unlike the other version.Sorry i skipped so much beta for 2.0 lol.
2.0 final version is probably comming in about 2 or 3 weeks.Not sure but just keep checking.Also can someone post this at support?
Report Spam   Logged
Andrew
Exclusive
Exclusive
Offline Offline

Gender: Male
Posts: 539



View Profile WWW
Badges: (View All)
« Reply #6 on: June 03, 2009, 04:31:38 pm »

Did you put it in the html button?Thats where your suppose to do it.Agent Moose, couldn't do it without you.Thanks.

Yes I put it in using the HTML button, all it shows is the code itself.
Report Spam   Logged

xboi209
Exclusive
Exclusive
Offline Offline

Gender: Male
Posts: 235


View Profile WWW
Badges: (View All)
« Reply #7 on: June 03, 2009, 05:42:22 pm »

Thats strange, it loads the code itself???
Which webpage editor are you using?
Try putting the html tags in, see if that works =)
Report Spam   Logged
Andrew
Exclusive
Exclusive
Offline Offline

Gender: Male
Posts: 539



View Profile WWW
Badges: (View All)
« Reply #8 on: June 03, 2009, 05:48:27 pm »

Heres the page for it, I havent edited it yet:

http://pic.smfforfree4.com/pages/pic/projectshop.php
Report Spam   Logged

xboi209
Exclusive
Exclusive
Offline Offline

Gender: Male
Posts: 235


View Profile WWW
Badges: (View All)
« Reply #9 on: June 03, 2009, 06:10:02 pm »

That is odd!
Try putting html tags as said.See if that works.
Report Spam   Logged
Andrew
Exclusive
Exclusive
Offline Offline

Gender: Male
Posts: 539



View Profile WWW
Badges: (View All)
« Reply #10 on: June 03, 2009, 06:12:31 pm »

Tried it, still didnt work Tongue
Report Spam   Logged

xboi209
Exclusive
Exclusive
Offline Offline

Gender: Male
Posts: 235


View Profile WWW
Badges: (View All)
« Reply #11 on: June 03, 2009, 06:19:16 pm »

I am not sure why this is happening.I know it works for me, let me take about 2 more minutes to look.
Report Spam   Logged
xboi209
Exclusive
Exclusive
Offline Offline

Gender: Male
Posts: 235


View Profile WWW
Badges: (View All)
« Reply #12 on: June 03, 2009, 06:21:57 pm »

andrew, does any other of your webpages work?
I'm 80% sure that this isn't the code's fault.ITs probably your webpage editor?
Can you try it on a test site?
Report Spam   Logged
Andrew
Exclusive
Exclusive
Offline Offline

Gender: Male
Posts: 539



View Profile WWW
Badges: (View All)
« Reply #13 on: June 03, 2009, 06:33:35 pm »

All my other webpages work, affiliate page, awards page, all work fine, its juse this one that shoes the code like this.
Report Spam   Logged

xboi209
Exclusive
Exclusive
Offline Offline

Gender: Male
Posts: 235


View Profile WWW
Badges: (View All)
« Reply #14 on: June 03, 2009, 06:39:00 pm »

Try it on a test site, see if that works.if it does work on the test site, probably a code is probably making this not work on your site.
Report Spam   Logged
Pages: [1] 2 3   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy