UBBCentral

Setting Up Subscriptions

Posted By: Istech Web Desig

Setting Up Subscriptions - 03/12/17 04:10 PM

Hi,

We are trying to setup subscriptions and we have setup one called Gas Chat - however when we try and access it via the following URL...

https://forum.hapai.ie/forums/ubbthreads.php?ubb=subscriptions&id=6

we just get returned to the main forums listing i.e. https://forum.hapai.ie/forums/ubbthreads.php

Any ideas?

Thanks

Eoin
Posted By: Gizmo

Re: Setting Up Subscriptions - 03/12/17 09:55 PM

I tried to access your site, but I'm getting a database error message.

I found a bug trying to replicate this, under "My Stuff" there is a "Subscriptions" link which will show your users what subscriptions are available and which they belong to, the bug appears to be with a missing form method within the subscriptions.tpl file, find:
Code
<form action="{ubb url="ubb=subscription&id=`$subs[sub].group`"}">


Replace with:
Code
<form method="post" action="{ubb url="ubb=subscription&id=`$subs[sub].group`"}">


The bug should affect anyone with subscriptions since the HTML5 header was added in 7.5.8; HTML5 doesn't seem to want to allow a missing method to work, and since there is no method I guess it just doesn't send data.

The URL of the information to a specific subscription would be either (example ID is 6):
SE Friendly: ubbthreads.php/ubb/subscription/id/6
Non-Friendly: ubbthreads.php?ubb=subscription&id=6

The subscriptions file is the subscription list, the subscription file is for each "about" page, your link has subscriptions with an ID, where did you get this URL?
Posted By: Istech Web Desig

Re: Setting Up Subscriptions - 03/12/17 10:40 PM

Thanks Gizmo,

We've replaced the line as you suggested and it's working now.

Sorry - I hand typed that link - my bad - correct link is of course https://forum.hapai.ie/forums/ubbthreads.php?ubb=subscription&id=6

Site is back up now.

Regards,

Eoin
© 2017 UBB.threads PHP Forum Software Community