Woopra Forums » Plugins and Add-ons

phpBB3 solution

(17 posts)
  • Started 4 months ago by benzon
  • Latest reply from pmk
  • This topic is not a support question
  • benzon
    Member

    Okay a new guide makes it more secure, it requres a little bit of modification

    Includes >> functions.php

    Find:

    'S_USERNAME' => $user->data['username'],

    Add After:

    'S_USER_EMAIL' => $user->data['user_email'],

    Styles >> Style Name >> Template >> overall_footer.html

    Find

    </body>

    Add before:

    <script type="text/javascript">
    var woopra_id = 'Your_Woopra_ID';
    <!-- IF S_USER_LOGGED_IN -->
    var woopra_array = new Array();
    woopra_array['name'] = '{S_USERNAME}';
    woopra_array['Email'] = '{S_USER_EMAIL}';
    <!-- ENDIF -->
    </script>
    <script src="http://static.woopra.com/js/woopra.js"></script>

    -------------

    Remember to change your Woopra id!

    Posted 4 months ago #
  • benzon
    Member

    add it in overall_footer.html

    Posted 4 months ago #
  • pmk
    Member

    wow I really hope this would work for phpbb2.

    Been looking in ages

    Posted 4 months ago #
  • benzon
    Member

    i dont got a phpbb2 bord currently :|

    But think its almost the same its not fare from

    Posted 4 months ago #
  • benzon
    Member

    but okay you cant use php in bb2 templates then you have to make a change in ehm common.php i think to define some{vars}

    Posted 4 months ago #
  • pmk
    Member

    If I just knew how $user->data['username'] worked, I think I would be able to know what to put in $user and "data" which is my two doubts right now - regarding phpbb2

    Posted 4 months ago #
  • pmk
    Member

    Oh so I cant just put } and { around it :(

    crap,

    Posted 4 months ago #
  • benzon
    Member

    Okay a new guide makes it more secure, it requres a little bit of modification

    Includes >> functions.php

    Find:

    'S_USERNAME' => $user->data['username'],

    Add After:

    'S_USER_EMAIL' => $user->data['user_email'],

    Styles >> Style Name >> Template >> overall_footer.html

    Find

    </body>

    Add before:

    <script type="text/javascript">
    var woopra_id = 'Your_Woopra_ID';
    <!-- IF S_USER_LOGGED_IN -->
    var woopra_array = new Array();
    woopra_array['name'] = '{S_USERNAME}';
    woopra_array['Email'] = '{S_USER_EMAIL}';
    <!-- ENDIF -->
    </script>
    <script src="http://static.woopra.com/js/woopra.js"></script>

    -------------

    Remember to change your Woopra id!

    Posted 4 months ago #
  • benzon
    Member

    pmk if i remember right its almost the same in phpbb2

    If you try it out make a safty backup of your files if it work let me know

    Posted 4 months ago #
  • benzon
    Member

    And now its in the official MODX format that phpBB3 uses

    http://www.santrinus.eu/woopra_stats_information.zip

    Posted 4 months ago #
  • pmk
    Member

    You are amazing benzon!

    It actually works! Just some important changes, ill make a new threat for phpbb2 users, thanks again

    Posted 4 months ago #
  • benzon
    Member

    pmk danes for life right PMK ;)

    Posted 4 months ago #
  • pmk
    Member

    You damn right, dude! :)

    Great work!

    Posted 4 months ago #
  • benzon
    Member

    thx :D and ill be happy when you show the fixes for phpbb2 :D

    Posted 4 months ago #
  • pmk
    Member

    I've posted the fixes for phpbb2 (and plus version) in here and on phpbb.com .

    I think Woopra is pretty much covered for all most known CMS/Boards/

    Posted 4 months ago #
  • Link dead :( please re up

    Posted 2 months ago #
  • pmk
    Member

    what do you need ahriman ?

    both phpbb3 and phpbb2 solutions are to be found here: http://www.woopra.com/forums/topic/phpbb3-038-phpbb2-by-benzon-and-pmk

    Posted 2 months ago #

RSS feed for this topic

Reply

You must log in to post.