Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] Top stats
#31
(2020-06-26, 03:18 PM).m. Wrote: ^ obviously hooks related code needs to be changed in the main plugin file "topStats.php"

Is this true or false?

$plugins->add_hook("global_intermediates", "topStats");
Reply
#32
you can replace all occurrences of :
$plugins->hooks["index_start"]
with :
$plugins->hooks["global_start"]
or
$plugins->hooks["global_intermediate"]

note: take care of BoM while saving php files.
Reply
#33
(2020-06-27, 03:25 AM).m. Wrote: you can replace all occurrences of :
$plugins->hooks["index_start"]
with :
$plugins->hooks["global_start"]
or
$plugins->hooks["global_intermediate"]

note: take care of BoM while  saving php files.

I tried but it doesn't show at stats.php 
Sad Any Ideas?
Reply
#34
hi, i copy all files inside the file manager.
after i install the plugin from acp.
but now...
where is index template ???
thank.
Reply
#35
(2020-08-15, 10:00 AM)un_ottico1965 Wrote: hi, i copy all files inside the file manager.
after i install the plugin from acp.
but now...
where is index template ???
thank.

Read this first - https://docs.mybb.com/1.8/development/themes/templates/

cheers...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)