The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Credits Shop

2 posters

Go down

Solved Credits Shop

Post by JAN2XONLINE January 26th 2013, 11:43 am

So I found this thread while searching -> https://help.forumotion.com/t112510-make-a-points-shop

and tried the code in there.

I changed the color and stuff from the original code so here is the code I'm using now:
Code:
<h1>Credits Store<h1>
<html>
<head>
<style type="text/css">
table, td, th
{
border:1px solid orange;
}
th
{
background-color:orange;
color:black;
}
</style>
</head>

<body>
<table>
<tr>
<th>Item</th>
<th>Price</th>
</tr>
<tr>
<td>Warning Reduction</td>
<td>50</td>
</tr>
<tr>
<td>Moderate your own forum</td>
<td>100</td>
</tr>
<tr>
<td>Name Change</td>
<td>100</td>
</tr>
<tr>
<td>Custom Sig/Avatar</td>
<td>150</td>
</tr>
<tr>
<td>Custom Rank</td>
<td>200</td>
</tr>
<tr>
<td>Bold Name</td>
<td>275</td>
</tr>
<tr>
<td>Custom Group</td>
<td>300</td>
<tr>
<td>Color in Rank</td>
<td>400</td>
<tr>
<td>Custom Rank Font</td>
<td>500</td>
<tr>
<td>Scrolling Rank</td>
<td>650</td>
</tr>
<tr>
<td>Image in rank</td>
<td>710</td>
<tr>
<td>Image in front of name</td>
<td>800</td>
</tr>
<tr>
<td>Custom Rank Image</td>
<td>850</td>
</tr>
<tr>
<td>4 Gold stars in rank</td>
<td>915</td>
<tr>
<td>Special Permissions</td>
<td>1,543</td>
</tr>
<tr>
<td>Ban person you dont like</td>
<td>5,654</td>
</tr>
</tr>
</tr>
</tr>
</tr>
</tr>

</table>
</body>
</html>
<br>
 <form>
Item: <input type="text" name="item"><br>
Price: <input type="text" name="price"><br>
Item: <input type="text" name="item"><br>
Price: <input type="text" name="price"><br>
Item: <input type="text" name="item"><br>
Price: <input type="text" name="price"><br>
</form>

<form name="input" action="html_form_action.asp" method="get">
Username: <input type="text" name="user" />
<input type="submit" value="Submit" />
</form>

What I want to do is I want the submit button to send me through forum's private message the whole form.
JAN2XONLINE
JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: Credits Shop

Post by Sanket January 26th 2013, 12:18 pm

I haven't tried the code. But you want to send a PM through that form?
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Solved Re: Credits Shop

Post by JAN2XONLINE January 26th 2013, 12:29 pm

Sanket wrote:I haven't tried the code. But you want to send a PM through that form?

Yes, when they clicked the submit button, it will send into my inbox.
JAN2XONLINE
JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: Credits Shop

Post by Sanket January 26th 2013, 12:44 pm

Use this code instead.
Code:
<h1>Credits Store<h1>
    <html>
    <head>
    <style type="text/css">
    table, td, th
    {
    border:1px solid orange;
    }
    th
    {
    background-color:orange;
    color:black;
    }
    </style>
    </head>

    <body>
    <table>
    <tr>
    <th>Item</th>
    <th>Price</th>
    </tr>
    <tr>
    <td>Warning Reduction</td>
    <td>50</td>
    </tr>
    <tr>
    <td>Moderate your own forum</td>
    <td>100</td>
    </tr>
    <tr>
    <td>Name Change</td>
    <td>100</td>
    </tr>
    <tr>
    <td>Custom Sig/Avatar</td>
    <td>150</td>
    </tr>
    <tr>
    <td>Custom Rank</td>
    <td>200</td>
    </tr>
    <tr>
    <td>Bold Name</td>
    <td>275</td>
    </tr>
    <tr>
    <td>Custom Group</td>
    <td>300</td>
    <tr>
    <td>Color in Rank</td>
    <td>400</td>
    <tr>
    <td>Custom Rank Font</td>
    <td>500</td>
    <tr>
    <td>Scrolling Rank</td>
    <td>650</td>
    </tr>
    <tr>
    <td>Image in rank</td>
    <td>710</td>
    <tr>
    <td>Image in front of name</td>
    <td>800</td>
    </tr>
    <tr>
    <td>Custom Rank Image</td>
    <td>850</td>
    </tr>
    <tr>
    <td>4 Gold stars in rank</td>
    <td>915</td>
    <tr>
    <td>Special Permissions</td>
    <td>1,543</td>
    </tr>
    <tr>
    <td>Ban person you dont like</td>
    <td>5,654</td>
    </tr>
    </tr>
    </tr>
    </tr>
    </tr>
    </tr>

    </table>
    </body>
    </html>
    <br>
        <form enctype="multipart/form-data" name="post" method="post" action="/privmsg">
    Username: <input id="username" class="post" type="text" tabindex="1" size="25" value="Admin" name="username[]"><br>
    Subject: <input id="acpro_inp10" class="post" type="text" onkeypress="if (event.keyCode==13){return false}" title="" tabindex="2" maxlength="64" size="45" value="Shop" name="subject" style="width:450px"><br />
    Message:<br />
    <textarea id="text_editor_textarea" class="post" wrap="virtual" tabindex="3" cols="35" rows="15" name="message" style="width:100%;height:250px"></textarea>
    <input type="hidden" value="" name="lt">
    <input type="hidden" value="inbox" name="folder">
    <input type="hidden" value="post" name="mode">
    <input class="mainoption" type="submit" accesskey="s" tabindex="6" value="Send" name="post">
    </form>
I have changed the form. Here they will have to mention what they want to buy in the posting area. You can instruct them in the html page itself.
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Solved Re: Credits Shop

Post by JAN2XONLINE January 26th 2013, 1:41 pm

Sanket wrote:Use this code instead.
Code:
<h1>Credits Store<h1>
    <html>
    <head>
    <style type="text/css">
    table, td, th
    {
    border:1px solid orange;
    }
    th
    {
    background-color:orange;
    color:black;
    }
    </style>
    </head>

    <body>
    <table>
    <tr>
    <th>Item</th>
    <th>Price</th>
    </tr>
    <tr>
    <td>Warning Reduction</td>
    <td>50</td>
    </tr>
    <tr>
    <td>Moderate your own forum</td>
    <td>100</td>
    </tr>
    <tr>
    <td>Name Change</td>
    <td>100</td>
    </tr>
    <tr>
    <td>Custom Sig/Avatar</td>
    <td>150</td>
    </tr>
    <tr>
    <td>Custom Rank</td>
    <td>200</td>
    </tr>
    <tr>
    <td>Bold Name</td>
    <td>275</td>
    </tr>
    <tr>
    <td>Custom Group</td>
    <td>300</td>
    <tr>
    <td>Color in Rank</td>
    <td>400</td>
    <tr>
    <td>Custom Rank Font</td>
    <td>500</td>
    <tr>
    <td>Scrolling Rank</td>
    <td>650</td>
    </tr>
    <tr>
    <td>Image in rank</td>
    <td>710</td>
    <tr>
    <td>Image in front of name</td>
    <td>800</td>
    </tr>
    <tr>
    <td>Custom Rank Image</td>
    <td>850</td>
    </tr>
    <tr>
    <td>4 Gold stars in rank</td>
    <td>915</td>
    <tr>
    <td>Special Permissions</td>
    <td>1,543</td>
    </tr>
    <tr>
    <td>Ban person you dont like</td>
    <td>5,654</td>
    </tr>
    </tr>
    </tr>
    </tr>
    </tr>
    </tr>

    </table>
    </body>
    </html>
    <br>
        <form enctype="multipart/form-data" name="post" method="post" action="/privmsg">
    Username: <input id="username" class="post" type="text" tabindex="1" size="25" value="Admin" name="username[]"><br>
    Subject: <input id="acpro_inp10" class="post" type="text" onkeypress="if (event.keyCode==13){return false}" title="" tabindex="2" maxlength="64" size="45" value="Shop" name="subject" style="width:450px"><br />
    Message:<br />
    <textarea id="text_editor_textarea" class="post" wrap="virtual" tabindex="3" cols="35" rows="15" name="message" style="width:100%;height:250px"></textarea>
    <input type="hidden" value="" name="lt">
    <input type="hidden" value="inbox" name="folder">
    <input type="hidden" value="post" name="mode">
    <input class="mainoption" type="submit" accesskey="s" tabindex="6" value="Send" name="post">
    </form>
I have changed the form. Here they will have to mention what they want to buy in the posting area. You can instruct them in the html page itself.

Thanks but what is this error?

Credits Shop Error10

I changed the Admin part to my username.
JAN2XONLINE
JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: Credits Shop

Post by Sanket January 26th 2013, 1:45 pm

You get that error in the code I provided?
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Solved Re: Credits Shop

Post by JAN2XONLINE January 26th 2013, 1:53 pm

Sanket wrote:You get that error in the code I provided?

Yes I did. When I tried to submit something to test, it brought me to 'Send a new private message' page on my forum with that error on top.
JAN2XONLINE
JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: Credits Shop

Post by Sanket January 26th 2013, 2:00 pm

Did you add the header & Footer while creating the page?

Here it is on my test forum.
http://testing.4rumer.com/h10-shop

Url of the page where you added it?
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Solved Re: Credits Shop

Post by JAN2XONLINE January 26th 2013, 2:04 pm

Sanket wrote:Did you add the header & Footer while creating the page?

Here it is on my test forum.
http://testing.4rumer.com/h10-shop

Url of the page where you added it?

No sir, I didn't. I need to add it?
JAN2XONLINE
JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: Credits Shop

Post by Sanket January 26th 2013, 2:06 pm

Add it & check.
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Solved Re: Credits Shop

Post by JAN2XONLINE January 26th 2013, 2:09 pm

Sanket wrote:Add it & check.

I added it and the error is still there when submitting.
JAN2XONLINE
JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: Credits Shop

Post by Sanket January 26th 2013, 2:18 pm

Can you PM me details of a test admin account to your forum?
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Solved Re: Credits Shop

Post by JAN2XONLINE January 26th 2013, 2:20 pm

Sanket wrote:Can you PM me details of a test admin account to your forum?

Sure, give me a sec.
JAN2XONLINE
JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: Credits Shop

Post by Sanket January 26th 2013, 2:28 pm

http://wattpinoy.4rumer.com/h8-shopsanket

I didn't get any such error. Whats the username where you want the Pm to be sent?
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Solved Re: Credits Shop

Post by JAN2XONLINE January 26th 2013, 2:36 pm

Sanket wrote:http://wattpinoy.4rumer.com/h8-shopsanket

I didn't get any such error. Whats the username where you want the Pm to be sent?

I tried my username which is Tuti and guest123. In that page, do I need to change the "Admin" part to my username or just leave it like that and just change it inside the "Send a new private message" page?
JAN2XONLINE
JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: Credits Shop

Post by Sanket January 26th 2013, 3:00 pm

Yes, the admin needed to be changed to Tuti.
I changed it now & sent you a PM. See if you received it?
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Solved Re: Credits Shop

Post by JAN2XONLINE January 26th 2013, 3:06 pm

Sanket wrote:Yes, the admin needed to be changed to Tuti.
I changed it now & sent you a PM. See if you received it?

No sir, I haven't receive any PM from you.
JAN2XONLINE
JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: Credits Shop

Post by Sanket January 26th 2013, 3:09 pm

I am getting the error too & having something blocking on my browser. Can you remove the chatbox code & the forum widgets & then try it?
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Solved Re: Credits Shop

Post by JAN2XONLINE January 26th 2013, 3:11 pm

Sanket wrote:I am getting the error too & having something blocking on my browser. Can you remove the chatbox code & the forum widgets & then try it?

Can we do this on my test forum sir?
JAN2XONLINE
JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: Credits Shop

Post by Sanket January 26th 2013, 3:12 pm

You can try it anywhere you like.
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Solved Re: Credits Shop

Post by JAN2XONLINE January 26th 2013, 3:21 pm

Sanket wrote:You can try it anywhere you like.

Tried it on my test forum just now and got the same error. Confused
JAN2XONLINE
JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: Credits Shop

Post by Sanket January 26th 2013, 3:24 pm

Admin account for that test forum? I can remove widgets/codes from there?
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Solved Re: Credits Shop

Post by JAN2XONLINE January 26th 2013, 3:27 pm

Sanket wrote:Admin account for that test forum? I can remove widgets/codes from there?

http://jan2x.freegametalk.com/

Yes sir, you can do whatever you want in that forum and the admin account is the same.
JAN2XONLINE
JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: Credits Shop

Post by Sanket January 26th 2013, 3:36 pm

Oh we forgot this setting.
General>Forum>Security
Unauthorize unofficial forms to post messages and private messages on the forum : No.
Save.
That will do the trick Smile
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Solved Re: Credits Shop

Post by JAN2XONLINE January 26th 2013, 3:39 pm

Sanket wrote:Oh we forgot this setting.
General>Forum>Security
Unauthorize unofficial forms to post messages and private messages on the forum : No.
Save.
That will do the trick Smile

Wow, you're awesomeeee!!! Solved and thank you so much!!!!!
JAN2XONLINE
JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: Credits Shop

Post by Sanket January 26th 2013, 3:47 pm

Topic Solved & Locked
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum