I use to add the mint code to the template header for phpBB2. Now that phpBB3 came out a lot has changed. Does anyone know how to make mint track phpBB3?
Login to download the latest version of Mint and your favorite Pepper, purchase additional licenses, or post in the Forum. Don't have an account? Create one!
I use to add the mint code to the template header for phpBB2. Now that phpBB3 came out a lot has changed. Does anyone know how to make mint track phpBB3?
Replated to this post - AFAIK you just have to replace $userdata['username'] by $user->data['username'].
I was asking a completely different question. The post you are reffering to is how to make secret crush work with phpBB2. This topic is how to make phpBB3 work with mint. I.E. Where do I add the javascript code for mint stats?
ooooohh, I hope I was just too tired. I’m sorry.
I would add Mint’s code phpBB3’s overall_header template.
It’s ok. However, I tried what you had suggested and it didn’t work. Seems something has changed in the new version :-/ Does anyone else know?
I’ve figured it out! Add this line just before the first javascript code in the overall_header.html file for the theme your board uses.
< script src=”{ROOT_PATH}mint/?js” type=”text/javascript” >
P.S. Remove the spaces that come after or before the ”
I’ve had some fun getting Secret Crush tracking people around after they’re logged in on PHPBB - not too tricky, but I can’t remember the code right now…
countandkeep, i posted how to do it above your post but my post seems to have been cut off for some reason. I was trying to say remove the spaces after the < and before the >. I had to add those spaces to get the code to show on this forum.
I tried pretty much every combination included the one TehBin suggested. Nothing works, and I check my IP wasn’t included in Mint’s no-fly list so that’s not the problem.
When you check the source code for any page on PHPBB3, other javascripts are loaded which are inside the template directory of phpbb, but the Mint code doesn’t show up at all. I tried with the default path, an absolute one, nothing.
I’m puzzled, and a little frustrated (by phpbb, not Mint).
Styles->Templates->Edit->Template->overall_header.html
Insert script tag thats found under mint/?instructions.
For example: <script src="/mint/?js" type="text/javascript"></script>
Or: <script src="http://yourdomain.com/mint/?js" type="text/javascript"></script>
You must be logged in to reply. Login above or create an account