We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Displaying the bell - OF Counter | Forum

Alex
Alex May 4 '18
How can I display a bell only on one particular page of the site?
The eternal presence of the bell on all pages of the site I consider stupid. Editing a subscription is enough to display on one page and preferably on the notification page.
The Forum post is edited by Alex May 4 '18
Attachments:
  2018-05-04_181325.png (7Kb)
Sean
Sean May 4 '18
The bell can only be displayed on every page or disabled.


If you only want to allow people to subscribe and unsubscribe from a certain page then a component is supplied which you can add to a new page.


Simply use:


Method 1 in the controller/component php file:
$this->addComponent('subscribeButton', new OFCOUTNER_CMP_SubscribeButton);
Method 2 in the SMARTY template file
{component class='OFCOUNTER_CMP_SubscribeButton'}


This will display a checkbox which people can use to subscribe and unsubscribe.

The Forum post is edited by Sean May 4 '18
Sean
Sean May 4 '18
I will add a menu item to the screen you posted in the next update.
Alex
Alex May 5 '18
Can you specify the full path to these files?
Quote from Sean 


Simply use:


Method 1 in the controller/component php file:
$this->addComponent('subscribeButton', new OFCOUTNER_CMP_SubscribeButton);
Method 2 in the SMARTY template file
{component class='OFCOUNTER_CMP_SubscribeButton'}



Alex
Alex May 5 '18
When do you plan to upgrade? I disabled the plugin because in this state it is not convenient for users. many complaints
Sean
Sean May 6 '18
I will try and get an update out in the week.


The files are in the /components folder and /views/components folder.


You do not need to modify them though, you just need to add the component to a page that you wish to display the checkbox on by either method that i posted above.

The Forum post is edited by Sean May 6 '18
Alex
Alex May 17 '18
Tell the update to expect or is not worth it anymore? 
we have the plug-in disabled on the site, we expect the promised update
The Forum post is edited by Alex May 17 '18
Sean
Sean May 17 '18
There is no need to be so rude. I will release an update when it is ready. This is not a bug, it is a customisation you want. The other 186 people who purchased this have used it just fine. So you will have to wait until I find the time to do it, or do it yourself like I explained above by adding one line of code into the page you want the checkbox displayed on. That's why I made those components, so users can put them where they wish and wherever makes the most sense on their site. 


Now, I will try and get it done tomorrow or over the weekend, but if other things come up then it will have to wait. 

The Forum post is edited by Sean May 17 '18
Sean
Sean May 21 '18
The menu item has now been added.
Alex
Alex May 21 '18
Thanks for the update.

How do I translate the text of a pop-up window? see Attachment


Attachments:
  2018-05-21_170847.png (5Kb)
Sean
Sean May 21 '18
Update to the latest version - version 20, and then change the language keys that start with prompt
Sean
Sean May 21 '18
Closing this now as the original issue as been resolved. 
This topic is locked
You do not have permission to reply this topic