Support Forum

Membership subscribe

24 Answers

New Answer

TI Till
Till
Member

This means that I’ll have to wait for you guys to come up with an update before my silver subscription expires I guess…

YS Yellow Swordfish
Yellow Swordfish
Member

Updates continue after you membership expires. They do not stop being delivered.

Can you not even replace a file or even the whole SP folder? Seems rather strange not to have access.

TI Till
Till
Member

OK, I edited the suggested file and reordered those two lines of code, but still no checkbox shows up! I enclose the screenshot of the problem again:

no-checkbox.png
YS Yellow Swordfish
Yellow Swordfish
Member

Oh gosh! Now I feel stupid. Looks like I asked you to fix the wrong thing and for that I apologise. So let’s do it properly this time….

The file you need is actually in the SP plugins folder so – by default – look for the folder

/wp-content/sp-resources/forum-plugins/membership-subscribe/admin/..

and the file: sp-membership-subscribe-admin-options.php

Change this bit:

<td class="sflabel"><label for="sfmembership_subscribe"><?php echo spa_text('Auto subscribe selected user group to this forum when adding permission'); ?></label>
<input type="checkbox" id="sfmembership_subscribe" name="membership_subscribe" />
</td>

to:

<td class="sflabel">
<input type="checkbox" id="sfmembership_subscribe" name="membership_subscribe" />
<label for="sfmembership_subscribe"><?php echo spa_text('Auto subscribe selected user group to this forum when adding permission'); ?></label>
<input type="checkbox" id="sfmembership_subscribe" name="membership_subscribe" />
</td>

which just re-arranges those two lines for checkbox and label.

Again – my apologies

TI Till
Till
Member

And do you think I should change the other file back to its original state?

TI Till
Till
Member

Oh, and: in the final file and in your example above lines 2 and 4 are exactly the same. Is that correct?

YS Yellow Swordfish
Yellow Swordfish
Member

No keep it as you changed it as that is correct.

We should be issuing an update in the next week (or so) which will include both of these fixes.

YS Yellow Swordfish
Yellow Swordfish
Member

Yes – 

Till said
Oh, and: in the final file and in your example above lines 2 and 4 are exactly the same. Is that correct?

it is just the middle section that has to change

TI Till
Till
Member

So I put this exactly as you wrote earlier? With the TWO lines beginning with “<input type=”checkbox”

<td class="sflabel">
<input type="checkbox" id="sfmembership_subscribe" name="membership_subscribe" />
<label for="sfmembership_subscribe"><?php echo spa_text('Auto subscribe selected user group to this forum when adding permission'); ?></label>
<input type="checkbox" id="sfmembership_subscribe" name="membership_subscribe" />
</td>
YS Yellow Swordfish
Yellow Swordfish
Member

Oh dear. I’m really not doing to well here am I…

You are quite right, The second ‘checkbox’ line was a paste error. I was trying so hard to get it right as well!