vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   HelpDesk v1.63 (https://vborg.vbsupport.ru/showthread.php?t=77155)

paulfletcher 03-26-2006 03:52 PM

Awesome! Yes, the installer now works. By frontend, do you mean the helpdesk.php file? Because I get an error when I go to that.

Quote:

print_standard_error(...)
is now redundant. Instead, use
standard_error(fetch_error(...))
Any thoughts?

Thanks,
Paul

gcphost 03-26-2006 08:50 PM

Yes I messed with the helpdesk php file, got past that error, replaced all the querys with either query_read or query_write but there is yet still more that would need to be done, I got helpdesk to load but never to display the correct stuff, tho I only spent 10 mins trying to hack it up for this new vb version..

I might give it another shot, we use Cerberus for support system and heh, to me its easier to use something like this then a whole seperate bloated pos system :(

gcphost 03-26-2006 08:55 PM

Actually for some odd reason I just reloaded it (didnt chagne anything from yesterday) and guess what?

SOMETHING WORKS!

Help Desk

Help Desk Options

Departments

Usergroup Settings

User Controls

Unresolved Tickets

Resolved Tickets


Add Department


WOO! dunno what all works yet but this is a good start :)

gcphost 03-26-2006 09:34 PM

Ok guys have at it, works with the latest v of VB!

I had to remove department access thing, only those marked as admin for the system can edit departments, i didnt want to hassle with fixing that code cause its worthless to me.

Other then that Ive yet to see any real issues (some language variables dont transfer), looks good so far, hopefully well get something offical soon instead of my crappy hack.

http://forums.gamecp.com/helpdesk.zip

** I forgot that it doesnt seem to return lines or edit the text and I removed the check for wyswig or text, its wyswig default and its not working properly, yet.

gcphost 03-27-2006 12:43 AM

Ok all now its working better, i removed the check for wysiwyg that would convert to bb code or just post the text, no matter what you use it will convert to the bb code, and it works.

It seemed not to return new lines with convert_wysiwyg_html_to_bbcode so I forced it to nl2br and make new lies, it looks GREAT!

Seems to be doing ok, cant wait to start using it.


New code simply does:
Code:

                require_once('./includes/functions_wysiwyg.php');
                $message = convert_wysiwyg_html_to_bbcode(nl2br($_POST[message]), $vboptions['allowhtml']);

Old code:
Code:

        globalize($_POST, array('WYSIWYG_HTML', 'message' => STR));
        if (isset($WYSIWYG_HTML))
        {
                require_once('./includes/functions_wysiwyg.php');
                $message = convert_wysiwyg_html_to_bbcode($WYSIWYG_HTML, $vboptions['allowhtml']);
        }
        else
        {
                $message = trim($message);
        }


paulfletcher 03-27-2006 04:16 AM

I keep getting an error when trying to install your updated version of Help Desk... Any thoughts (see screenshot)

Here is the error I'm getting (as seen in screenshot)

Code:

Database error in vBulletin 3.5.4:

Invalid SQL:
INSERT INTO settinggroup (grouptitle, displayorder, volatile) VALUES ('helpdesk', '2000', '0');

MySQL Error  : Duplicate entry 'helpdesk' for key 1
Error Number : 1062
Date        : Monday, March 27th 2006 @ 01:11:33 AM
Script      : http://xyztraining.com/admincontrol/helpdesk_install.php?do=install&step=3
Referrer    : http://xyztraining.com/admincontrol/helpdesk_install.php?do=install&step=2
IP Address  : ***.**.**.***
Username    : Paul Fletcher
Classname    : vb_database

Any thoughts? Happens during Step 3.

Thanks,
Paul

gcphost 03-27-2006 04:20 AM

Ya I got that too but ignored it, seemed to cause no foul (check out what the query is).

I belive it only occurs if you click the next button to goto step 3, go back to the installer index and click step 3 and it will do the real stuff.

E-mail based ticket support integration here we come.. maybe after we debug this hacked update :)

** Your duplicate key error is from running it twice, I got these too -- you can use the uninstaller and click each install step link if you want but you should be fine nevertheless.. make sure you do the only template mod to add it in the navi.

Derekclarke 03-27-2006 03:58 PM

Does this support 3.5.4?

Thanks
Derek

paulfletcher 03-27-2006 04:45 PM

Not officially, but people like gcphost are trying to make it work... It's a start, I'm trying what you suggested now, about the installing thing.

Thanks,
Paul.

paulfletcher 03-27-2006 04:55 PM

It works! What are the departments for? So those aren't working? Anyways, if I want our tutorial instructors to be able to respond and help other people out... Do I just add there user-group ID in vB Options > Help Desk section?

Thanks,
Paul


All times are GMT. The time now is 11: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
  • Page Generation 0.02060 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete