The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
A link to "Add User" in Subscription Manager
Greetings Everyone,
I use a credit card processor that is not supported by VB, and thus I need to manually setup new subscribers using the VB Subscription Manager. I've already modified the admincp/subscriptions.php file so that "Add User" is the default selection under the controls, which means now all I need to do is select the "Go" button to proceed directly to "Add User" screen, this saving one step, no small issue when you have to setup about 500 subscriptions a month. However... What I'd like to have is a link on my admin menu (/admincp/index.php) to go directly to the "Add User" screen. However, in reviewing the admincp/subscriptions.php I find that with my limited php skills I am unable to determine how to correctly format the link. In part, it looks like this: http://www.[my site name].com/forum/admincp/subscriptions.php?do=adjust&subscriptionid=1&s=... . I already know how to add the menu command on my admin menu (/admincp/index.php), I just can't figure out how to write the full link. As always, any assistance would be greatly appreciated, as using this link would save me time every day. Thanks, Newtonhead1 |
#2
|
||||
|
||||
I had 5 minutes while I was waiting for someone, so here you go.
|
#3
|
|||
|
|||
Analogpoint,
Very cool, and very much appreciated, although I am still in vb 3.0 and was not able to use the xml file. Nevertheless, I was able to discern from your code that the correct format for the link was... "subscriptions.php?do=adjust&subscriptionid=1& s=" Which was exactly as I had deduced myself, except that I was stuck on the text after the "&s=". Given my poor php skills, I didn't know that you could have a link with an open argument, and thus I had incorrectly assumed that there was more to the link. The bottom line is that I modified my code, and the link I needed in my ACP now works perfectly. Thanks! Newtonhead1 |
#4
|
||||
|
||||
Glad you got it sorted. You can also specify what subscription is selected by default (if you have more than one), by specifying the subscription ID in the link.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|