Woopra Forums » Plugins and Add-ons

Woltlab Wbb3 & Woopra

(3 posts)
  • Started 5 months ago by lazy
  • Latest reply from pmk
  • This topic is not a support question
  • Lazy
    Member

    I dont know if it is the right category because it isnt a plugin but a way to use woopra with the wbb3 bulletin board software from woltlab (woltlab.com).

    Put this Code lines into you Footer Template (Admin Area Wbb3 - Layout) before </body>

    <script type="text/javascript">
    var woopra_id = 'woopraidnummer';
    {if $this->user->userID != 0}
    var woopra_array = new Array();
    woopra_array['name'] = '{@$this->user->username}';
    woopra_array['Email'] = '{@$this->user->email}';
    {/if}
    </script>
    <script src="http://static.woopra.com/js/woopra.js"></script>

    How to use the avatar array correct.. will be added soon..

    Posted 5 months ago #
  • Lazy
    Member

    For the wbb2 (Woltlab) Bulletin Board it should be something like:

    <script type="text/javascript">
    var woopra_id = 'WoopraUserId';
    <if($wbbuserdata['userid']>0)>
    <then>
    var woopra_array = new Array();
    woopra_array['name'] = '{$wbbuserdata['username']}';
    woopra_array['Email'] = '{$wbbuserdata['email']}';
    </then>
    </if>
    </script>
    <script src="http://static.woopra.com/js/woopra.js"></script>

    Posted 5 months ago #
  • pmk
    Member

    This is amazing, I bet its almost same for phpbb2 board, do you know how to write the code for phpbb2?

    Posted 4 months ago #

RSS feed for this topic

Reply

You must log in to post.