Credits Shop
2 posters
Page 1 of 1
Credits Shop
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:
What I want to do is I want the submit button to send me through forum's private message the whole form.
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.
Re: Credits Shop
I haven't tried the code. But you want to send a PM through that form?
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Credits Shop
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.
Re: Credits Shop
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>
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Credits Shop
Sanket wrote:Use this code instead.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.
- 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>
Thanks but what is this error?
I changed the Admin part to my username.
Re: Credits Shop
You get that error in the code I provided?
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Credits Shop
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.
Re: Credits Shop
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?
Here it is on my test forum.
http://testing.4rumer.com/h10-shop
Url of the page where you added it?
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Credits Shop
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?
Re: Credits Shop
Add it & check.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Credits Shop
Sanket wrote:Add it & check.
I added it and the error is still there when submitting.
Re: Credits Shop
Can you PM me details of a test admin account to your forum?
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Credits Shop
Sanket wrote:Can you PM me details of a test admin account to your forum?
Sure, give me a sec.
Re: Credits Shop
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 didn't get any such error. Whats the username where you want the Pm to be sent?
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Credits Shop
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?
Re: Credits Shop
Yes, the admin needed to be changed to Tuti.
I changed it now & sent you a PM. See if you received it?
I changed it now & sent you a PM. See if you received it?
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Credits Shop
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.
Re: Credits Shop
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- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Credits Shop
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?
Re: Credits Shop
You can try it anywhere you like.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Credits Shop
Sanket wrote:You can try it anywhere you like.
Tried it on my test forum just now and got the same error.
Re: Credits Shop
Admin account for that test forum? I can remove widgets/codes from there?
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Credits Shop
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.
Re: Credits Shop
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
General>Forum>Security
Unauthorize unofficial forms to post messages and private messages on the forum : No.
Save.
That will do the trick
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Credits Shop
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
Wow, you're awesomeeee!!! Solved and thank you so much!!!!!
Re: Credits Shop
Topic Solved & Locked |
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum