The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Credits Shop

View previous topic View next topic Go down

Solved Credits Shop

Post by JAN2XONLINE on January 26th 2013, 5:43 am

So I found this thread while searching -> http://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.
avatar
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 on January 26th 2013, 6:18 am

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

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

http://webartzforum.com

Back to top Go down

Solved Re: Credits Shop

Post by JAN2XONLINE on January 26th 2013, 6:29 am

@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.
avatar
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 on January 26th 2013, 6:44 am

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.
avatar
Sanket
ForumGuru

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

http://webartzforum.com

Back to top Go down

Solved Re: Credits Shop

Post by JAN2XONLINE on January 26th 2013, 7:41 am

@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?



I changed the Admin part to my username.
avatar
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 on January 26th 2013, 7:45 am

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

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

http://webartzforum.com

Back to top Go down

Solved Re: Credits Shop

Post by JAN2XONLINE on January 26th 2013, 7:53 am

@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.
avatar
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 on January 26th 2013, 8:00 am

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?
avatar
Sanket
ForumGuru

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

http://webartzforum.com

Back to top Go down

Solved Re: Credits Shop

Post by JAN2XONLINE on January 26th 2013, 8:04 am

@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?
avatar
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 on January 26th 2013, 8:06 am

Add it & check.
avatar
Sanket
ForumGuru

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

http://webartzforum.com

Back to top Go down

Solved Re: Credits Shop

Post by JAN2XONLINE on January 26th 2013, 8:09 am

@Sanket wrote:Add it & check.

I added it and the error is still there when submitting.
avatar
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 on January 26th 2013, 8:18 am

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

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

http://webartzforum.com

Back to top Go down

Solved Re: Credits Shop

Post by JAN2XONLINE on January 26th 2013, 8:20 am

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

Sure, give me a sec.
avatar
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 on January 26th 2013, 8:28 am

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

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

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

http://webartzforum.com

Back to top Go down

Solved Re: Credits Shop

Post by JAN2XONLINE on January 26th 2013, 8:36 am

@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?
avatar
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 on January 26th 2013, 9:00 am

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

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

http://webartzforum.com

Back to top Go down

Solved Re: Credits Shop

Post by JAN2XONLINE on January 26th 2013, 9:06 am

@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.
avatar
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 on January 26th 2013, 9:09 am

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

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

http://webartzforum.com

Back to top Go down

Solved Re: Credits Shop

Post by JAN2XONLINE on January 26th 2013, 9:11 am

@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?
avatar
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 on January 26th 2013, 9:12 am

You can try it anywhere you like.
avatar
Sanket
ForumGuru

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

http://webartzforum.com

Back to top Go down

Solved Re: Credits Shop

Post by JAN2XONLINE on January 26th 2013, 9:21 am

@Sanket wrote:You can try it anywhere you like.

Tried it on my test forum just now and got the same error. Confused
avatar
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 on January 26th 2013, 9:24 am

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

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

http://webartzforum.com

Back to top Go down

Solved Re: Credits Shop

Post by JAN2XONLINE on January 26th 2013, 9:27 am

@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.
avatar
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 on January 26th 2013, 9:36 am

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
avatar
Sanket
ForumGuru

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

http://webartzforum.com

Back to top Go down

Solved Re: Credits Shop

Post by JAN2XONLINE on January 26th 2013, 9:39 am

@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!!!!!
avatar
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 on January 26th 2013, 9:47 am

Topic Solved & Locked
avatar
Sanket
ForumGuru

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

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


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