[For 1.8] I request help with the Hovercard code
#1
Hello to anyone who can read here and give me an answer. I need help from someone who can at least take a look and take the time to respond.
I would like to put a user hovercard, only in code, clean if possible, to avoid too much loading of the mod, and so on I was testing with version 1.8.36 of mybb and the hovercard mod gives me a syntax error and since I don't have that ease to fix that, I don't want to include myself in that. I would just like if someone had a code to put in a user card, that would be ideal. It doesn't matter if it doesn't have css, or anything like that, I can work...



This is the syntax error it gives me, let's see if someone can solve this, since if I ask the owner, he will have time to fix it, but if possible the code would be very useful to me.

Parse error: syntax error, unexpected '[' in C:\xampp\xampplite\htdocs\forum\inc\plugins\hovercards.php on line 37

Oh, maybe if there is a tutorial on how to make one here on this site, it would also help me a lot. In advance, thank you for taking the time to read.

I mean that it looks like this, in this image that I took from the user posbit, it looks like it was a statistic in the index. from the forum, as shown in the 2nd photo.


           
Reply
#2
Which PHP version does your Xampp have?
You can find it out by using this link: http://localhost/xampp/phpinfo.php
I think PHP versions lower than 3.4 doesn't accept square brackets for array

I could be wrong, but it's worth a check
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)