Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] Ticketsystem v1.1.2
#51
(2016-04-08, 07:37 PM)Pete T Wrote: no settings shown when added this in 1.8.7

after
$plugins->add_hook("global_start", "tickets_lang");

add:
$plugins->add_hook('admin_config_settings_begin', 'tickets_lang');


and remove:

function tickets_lang()
{
    global $lang;
    $lang->load("tickets");
}


If You added one, because You just duplicated it probably (this was existing in my file from github, i was just missing only $plugins->add_hook), check Your file for that.
Reply
#52
(2015-06-20, 09:15 AM)Jones H Wrote: Go to "inc/plugins/tickets.php" and add to the bottom:

$plugins->add_hook('admin_config_settings_begin', 'tickets_lang');

function tickets_lang()
{
    global $lang;
    $lang->load('tickets');
}

i test it, and that your solution, but not work, the settings was added but names not load.
i change my panel language to en to show en language but have no setting again( with uninstall, delete and install again)
i test on mybb 1.8.7 and 1.8.4
Reply
#53
(2016-05-07, 07:37 AM)firstboy000 Wrote:
(2015-06-20, 09:15 AM)Jones H Wrote: Go to "inc/plugins/tickets.php" and add to the bottom:

$plugins->add_hook('admin_config_settings_begin', 'tickets_lang');

function tickets_lang()
{
    global $lang;
    $lang->load('tickets');
}

i test it, and that your solution, but not work, the settings was added but names not load.
i change my panel language to en to show en language but have no setting again( with uninstall, delete and install again)
i test on mybb 1.8.7 and 1.8.4

Read post i posted before Yours.
Reply
#54
(2016-05-07, 07:49 AM)Eska Wrote: Read post i posted before Yours.

yes i do that and say it:
Quote:and that your solution
, but i have problem:
Quote:the settings was added but names not load
(names means: language variables that cause create a link for click on that and use that plugin settings.)

my english is bad sorry, please check problem and help us, tnQ
Reply
#55
Yeah, the solution for this issue is adding
$plugins->add_hook('admin_config_settings_begin', 'tickets_lang');
in a new line after
$plugins->add_hook("global_start", "tickets_lang"); 
Apparently I forgot that hook, don't know why I haven't noticed it. I'll try to bring a patch release on the way sometime this week.
Support PMs will be ignored!
Reply
#56
Hi there I have downloaded this plugin but have no idea exactly where to upload it to. could anyone point me to a guide, sorry just have very little experience.
Many thanks
Reply
#57
anyone know that the settings are not popular named?

when you install this on the latest version, it will not have a title or anything of that for the fields. you have to go modify settings > edit the 2 that you see with nothing filled out. enter something.

for title of the option group i put: tickets

for the field that you change i put: usergroups.
Reply
#58
Where i can go read that ticket ?
[Image: 60UxyD6.gif]
DO YOU NEED FREE FORUM DESIGNS? CLICK HERE!
Reply
#59
where can I see the new tickets in the admin cp?
Reply
#60
It would be nice that the author update this great plugin.
🍦  🎀  𝐼 𝐿❤𝒱𝐸 𝑀𝒴𝐵𝐵  🎀  🍦
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)