Advertisement:

Author Topic: GUM-Theme: Reveal Button for Phone  (Read 531 times)

Buggyboy

  • Jr. Member
  • **
  • Posts: 61
GUM-Theme: Reveal Button for Phone
« on: October 05, 2018, 06:23:54 pm »
Hello.
If an article clicks on the button for the telephone number, this number is also displayed as an unregistered user.

What do I have to do, the number is only displayed when the user is logged in?

Thank you...
Peter

Buggyboy

  • Jr. Member
  • **
  • Posts: 61
Re: GUM-Theme: Reveal Button for Phone
« Reply #1 on: October 21, 2018, 05:09:48 pm »
Hello!
How can I insert a code here so that only registered users can see the phone number?
For all others, a reference to the registration should come.
Code: [Select]
<?php if(osc_user_phone()!='') : ?>
                                    <i class="fa fa-phone-square"></i> <span class="phone phone_hide"><?php echo osc_user_phone(); ?></span>

                                    <span class="pull-right"><a class="btn btn-default btn-arrow-left" onclick="reveal_phone($(this));" href="#"><?php _e('Reveal''gum'); ?></a></span>
                                <?php endif; ?>
ThanksPeter

Buggyboy

  • Jr. Member
  • **
  • Posts: 61
Re: GUM-Theme: Reveal Button for Phone
« Reply #2 on: February 20, 2019, 12:44:39 pm »
Hi!

Leider konnte mir wegen dem Code noch niemand helfen.

Eine andere Frage:
Sobald man auf Reveal klickt wird bei den Anzeigen ein Klick gezählt.
Ich möchte aber, das wenn man die Anzeige anklickt jeweils ein Klick gezählt wird.
Wo müßte ich da was ändern?

Mir ist es ziemlich egal wieoft meine Telefonnummer angeklickt wird.
Ich möchte wissen wieoft die Anzeige angeklickt wird.

Vielen Dank
Peter

-----------------------------------------------------------------------------
Unfortunately nobody could help me because of the code.

Another question:
As soon as you click on Reveal, one click is counted in the ads.
I would, however, that if you click on the ad one click is counted.
Where would I have to change something?

I do not care how often my phone number is clicked.
I want to know how often the ad is clicked.

Many Thanks
Peter