![]() |
Did you paste that in the right place? Your error message does not correlate with the query.
|
You need to make sure you have $DB_site listed with the globals at the top of the buildpostbit function.
|
Do this:
In functions.php - Find: PHP Code:
PHP Code:
|
Quote:
My intent for the count was to promote refers through a points/awards system. At 10 referal they can earn something, 25 points... and so on. I wanted to display it within the user stats to entice a competitive spirit :) Maybe there's a better way of doing this? Thanks again! Greg |
Make sure theres a ; on the end, ie:
PHP Code:
|
Quote:
Greg |
I tried this with the first bit of code Erwin posted as well.. didn't work. Although there are no errors and everything works fine... just no referrals #
Greg |
did you paste "Referrals : #$referals;"?
IF you did, you ARE supposed to take out the pound (#) symbol ;) |
That's irrelevant buddy ^ the # is just what will apeare in the postbit template so it will like this:
PHP Code:
|
All times are GMT. The time now is 01:42 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|