Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved Variables not working
#1
Not Solved
How can I make some variables working to another place?

Like:
{$stats['numusers']}

This works in index. I want it to be working in header.

Any suggestion?
#2
Not Solved
You've to edit global.php file as well. Something similar: http://community.mybb.com/thread-97615-p...#pid713393
#3
Not Solved
Thanks, that is exactly what I wanted.
But I want it to be editing any template only, not php file. As I'm implementing it in a theme.
Is it possible to do it through headerinclude or somewhere?
#4
Not Solved
Unfortunately that wouldn't possible unless using a plugin, hooking it to global_start and then calling those variables in header template.
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)