View Full Version : Photopost subscriptions

December 16th, 2008, 08:05 PM
I've added subscriptions via the admin panel.
However, when I click on "Add/Edit Subscriptions", the subscriptions I've added don't appear.
Nor do Subscription options appear to a logged-in regular user.

Chuck S
December 16th, 2008, 09:06 PM

December 17th, 2008, 12:16 AM
It now lists the subscriptions, by name, but they are not hyperlinked as I would have expected -- to permit modification. The last two lines are subscriptions I added, followed by blank brackets. At "Add/Edit subscriptions I see the following:

[] []
[] []
[] []
[] []
Silver [] []
Gold [] []

Chuck S
December 17th, 2008, 08:48 AM
In adm-inc.php in the subli function make sure the $edit and delete lines the language strings and edit and delete not editthis deletethis.

$delete = "<a href=\"{$Globals['maindir']}/adm-misc.php?admact=admsubscribe&amp;ppaction=delsub&subid=$mainid\">{$Globals['pp_lang']['delete']}</a>";
$edit = "<a href=\"{$Globals['maindir']}/adm-misc.php?admact=admsubscribe&amp;ppaction=editsub&subid=$mainid\">{$Globals['pp_lang']['edit']}</a>";

December 17th, 2008, 02:07 PM
Thanks -- that appears to have taken care of it.

Chuck S
December 17th, 2008, 04:33 PM
have a great day let us know if we can be of further assistance.

December 17th, 2008, 04:56 PM
Another issue:
While the subscription descriptions appear in the user profile page,
there is no link appearing in the column titled "order" (blank field).

Chuck S
December 17th, 2008, 05:04 PM
In the member.php file in this line change the language string from listsubs to order like so

<br /><b><a href="http://www.photopost.com/forum/general-discussion/{$Globals['maindir']}/subscriptions.php">{$Globals['pp_lang']['order']}</a></b><br /><br />

December 17th, 2008, 05:44 PM
I can't find that line in member.php
I did a search for "listsubs" and it didn't appear.
I also searched for "subscriptions.php" in the file and it didn't appear, either.

Chuck S
December 17th, 2008, 06:30 PM
sorry I meant profile template ;)

December 17th, 2008, 09:16 PM
I changed the profile template.
However, it appears there is still no way for a member to click on a link to subscribe.
I've attached a screen print from member's profile page which lists subscriptions.
Under the "order" column, I would expect to see a hyperlink of some sort but there's nothing there.

Chuck S
December 17th, 2008, 09:54 PM
Are you sure you updated your language file then?

This is right in there

$Globals['pp_lang']['order'] = "Order";

December 17th, 2008, 10:10 PM
Yes, I've uploaded languages/english.php (as well as the others)
That line exists in the file.
"Order" appears as an option in the left menu of "profile" screen, but when you click on it, the various subscription options do not include a hyperlink to click on to subscribe.

Chuck S
December 17th, 2008, 11:06 PM
Not sure what you mean there dont see an issue with that your free to include a url and test login?

December 18th, 2008, 12:07 PM
username: test
password: test

Go to "profile"
Click on "order"
It shows subscriptions but no way for a registered user to choose one.

How does a user subscribe?
(There are no links to click on to subscribe)
Since admin panel includes a field for PayPal login, I had presumed there was some sort of routine to handle subscriptions.
(I.e., click on "subscribe", be routed to PayPaly to pay, then return)

Chuck S
December 18th, 2008, 12:11 PM
Place a clean template back in place for profile template in the download

Edit subscriptions template this line and change select to order

<span class="{$Style['small']}"><a href="http://www.photopost.com/forum/general-discussion/{$Globals['maindir']}/subscriptions.php?do=order&amp;subid={$subid[$x]}">{$Globals['pp_lang']['order']}</a></span>

I gave you the wrong template

December 18th, 2008, 12:28 PM
That appears to have fixed it.

Chuck S
December 18th, 2008, 12:46 PM
yep knew what the issue was looking at your pic but had the wrong template in my head. ;)