Clone of User Upgrade page

JPeizer

New member
Good evening ladies and gents,

I have an interested issue I am attempting to resolve and thus far the more I try the further back I set myself.

Goal:
I would like to create a page (using xenporta and Nodes as tabs) to make a donate page. This page would then have the same layout and functionality as the user upgrades. This is for a minecraft server. So the goal is when a user donates, they are placed into a secondary group. Then the game server will automatically query the user and promote them in game. When the promo expires, again all actions happen automatically.

Issue:
I would like to remove the link in the user pop-up windows for account upgrades.
I would like to make a new 'page' that is a clone of the user upgrade main view.
So far I haven't been able to do either.
 
It's not necessary to duplicate the page. You can use the existing upgrade page.

You can use this addon to extend the upgrade system to query your minecraft database when a user purchases an upgrade:

http://xenforo.com/community/resources/run-query-on-user-upgrade-code-example.396/

Using the Nodes As Tabs addon you can create a link-forum tab that goes to the upgrade page. It won't support tab selection because it's a link-forum, but I am working on an update for the Nodes As Tabs addon which will enable tab selection for link-forums. I should have it ready soon.
 
This would work if not for a few issues.

The entire point of attempting to copy the main content of the page is to leave behind the rest of the content. In other words, I do not want to have the "Your Account", "Conversations", and "Settings" window along side of the upgrade window. Additionally, I would like the breadcrumbs to not display that you are in your account settings. In other words. I do not want this to be linked 'visibly' in any way to say you are in your settings screen for your account. Think of it like a product page online, much like you would see at newegg.com. When you go to buy something, you are not taken to your account settings page, you are taken to it's out product page and checkout process. I am trying to get the same sort of feeling just with account upgrades, later to be labeled 'donations'.

-Cheers
 
This would work if not for a few issues.

The entire point of attempting to copy the main content of the page is to leave behind the rest of the content. In other words, I do not want to have the "Your Account", "Conversations", and "Settings" window along side of the upgrade window. Additionally, I would like the breadcrumbs to not display that you are in your account settings. In other words. I do not want this to be linked 'visibly' in any way to say you are in your settings screen for your account. Think of it like a product page online, much like you would see at newegg.com. When you go to buy something, you are not taken to your account settings page, you are taken to it's out product page and checkout process. I am trying to get the same sort of feeling just with account upgrades, later to be labeled 'donations'.

-Cheers
I'm interested in learning the same thing as well. I hope we can "style" a page with the product info and can move the Account upgrade block there (only visible for logged in members, otherwise it will show Log in to pay).
This can be used as payment pay for other online purchase, not necessarily related to account upgrade.
 
There's an add-on called advanced styling rules.

You could:

1) Duplicate your existing style as a child of your default style
2) Ensure the child style is not selectable
3) Edit the child style to remove the elements you don't want visible
4) Set up a rule so that visitors to http://www.yoursite.com/account/upgrades?minecraft will load the child style

Anyone accessing the default link of http://www.yoursite.com/account/upgrades will see the normal style
 
There's an add-on called advanced styling rules.

You could:

1) Duplicate your existing style as a child of your default style
2) Ensure the child style is not selectable
3) Edit the child style to remove the elements you don't want visible
4) Set up a rule so that visitors to http://www.yoursite.com/account/upgrades?minecraft will load the child style

Anyone accessing the default link of http://www.yoursite.com/account/upgrades will see the normal style
That will work at the cost of adding extra style(s) and it will take longer everytime you make change to addons.
I feel there should be a simpler way to accomplish this.
 
There's an add-on called advanced styling rules.

You could:

1) Duplicate your existing style as a child of your default style
2) Ensure the child style is not selectable
3) Edit the child style to remove the elements you don't want visible
4) Set up a rule so that visitors to http://www.yoursite.com/account/upgrades?minecraft will load the child style

Anyone accessing the default link of http://www.yoursite.com/account/upgrades will see the normal style


Please correct me if I'm wrong, but this will only copy the overall layout of the page to the child page, not things like session IDs, or display arguments to show if the user has already purchased the upgraded account.

If it can do all that I will use this method until a better one appears.
 
My Advanced User Upgrades addon adds a standalone page exactly as you describe. It also allows you to change the terminology, so instead of "User Upgrades" it could be called "Donations" (you can already do this by modifying the translation phrases manually, my addon simply facilitates the process).

As an example you can check my products page.

You would of course still have to develop the part where it communicates with your Minecraft server.
 
Top Bottom