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)

WhSox21 03-05-2005 10:48 PM

Would it be possible for you to upgrade MySQL? If not I could probably get you a script that would work by tomorrow.

ChrisBaktis 03-05-2005 10:50 PM

Quote:

Originally Posted by WhSox21
Would it be possible for you to upgrade MySQL? If not I could probably get you a script that would work by tomorrow.

Unfortunatly I go through a hosting company so I would not be able to upgrade that.

WhSox21 03-05-2005 10:53 PM

Quote:

Originally Posted by ChrisBaktis
Unfortunatly I go through a hosting company so I would not be able to upgrade that.

That's alright, I really don't think that's the problem anyways. I'll look into it a bit more.

ChrisBaktis 03-05-2005 10:58 PM

great - hack look great and Im looking forward to using it.

Mechanical Mind 03-05-2005 11:04 PM

Quote:

Originally Posted by WhSox21
What version MySQL are you running?

That's a good question. I'll find out and then update this post.

WhSox21 03-05-2005 11:07 PM

Quote:

Originally Posted by Mechanical Mind
That's a good question. I'll find out and then update this post.

That wasn't directed at you. The post after it was! :lick:

Mechanical Mind 03-05-2005 11:16 PM

Quote:

Originally Posted by WhSox21
That wasn't directed at you. The post after you was! :lick:

Ooops. Thanks for responding. It's been a long day and my eyes are a little fuzzy. I can't wait to upgrade. This hack rocks! :smoke:

I already put in a ticket at my webhost to find out what version of mySQL I am running. Probably better that I know anyway.

rjordan 03-06-2005 12:40 AM

See attachment. Instead of entering 1,3,8 for the usergroups when adding departments, for instance, maybe change it to be like the attached screenshot...

WhSox21 03-06-2005 12:41 AM

That would require file edits and I'm trying to stay away from those. :nervous:

rjordan 03-06-2005 12:56 AM

Actually, this would be in HELPDESK.PHP is what I was thinking. I might take a wild stab at it to see if it is possible.

Great mod!

WhSox21 03-06-2005 01:26 AM

Actually that is possible, but don't expect it in this hack soon. By the way the only ones you should add to the admincp are the ones that have access to editing the department and usergroup settings. With the usergroup settings it uses the user's primary usergroup and not the ones they are members of.

tp214 03-06-2005 02:05 AM

already updated great job

LOTR 03-06-2005 03:56 AM

Nice hack :D

JUst to inquiry.. i installed it and work fine.

1. User open a ticket.
2. Admin reply to the ticket.
3. However when a user try to reply back the ticket it gives me non-permission error:

Quote:

Rooney, you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
I re-check the usergroup setting, it was fine. Any idea why WhSox21?

WhSox21 03-06-2005 04:03 AM

Are you saying you created the ticket fine. Then you used another user (an admin) and posted a reply? Then the regular user who originally posted the ticket got the error that said non-permission?

LOTR 03-06-2005 04:08 AM

Yes, thats right. Ive tried several times and the results are the same though.

WhSox21 03-06-2005 04:09 AM

Nevermind my last post, I checked out the code and it's a bug. I have fixed the code and upgraded the hack this also includes a few other small fixes. This is a MUST do upgrade. All you have to do is overwrite the helpdesk.php file.

tp214 03-06-2005 04:21 AM

ok well i did before i read, so i like reinstalled/re-upgraded, but the db error hasnt effected... so i should be ok

Slave 03-06-2005 04:21 AM

Hi WhSox21 .. :)

I've now updated to 1.51 .. upgrade went smoothly ..

A few comments/suggestions/bugs ..

When looking at the list of tickets .. in the "When Logged" column could you put the date/time instead of just "Today" ..

When looking at the list of tickets .. can you show who has claimed ownership .. or not as the case might be ..

When looking at a ticket .. can you add the date/time to each post .. instead of "Today by .."

One thing I've found .. once a user creates a ticket, it seems they can't add another post? Can you change that? [Fixed in 1.52]

Whenever a user name is shown can you make it a link to the users profile page ..

Within the department page .. I take it the user groups option is for telling the system who can admin that department .. can you add another option for the user groups who can pick that department when creating a ticket ..

Again, within the department page .. can you make the usergroup option a list of tick boxes instead of putting numbers .. this would certainly aid the usability of the page ..

On the "Usergroup Settings" page .. there seems to be a bug where the Usergroup Settings table is pushed down the page .. see image to see what I mean ..

https://vborg.vbsupport.ru/external/2005/03/2.jpg

WhSox21 03-06-2005 04:28 AM

Slave - I'll take into consideration everything you said. The dates shouldn't be a problem as they are using vbulletin's date function. Usernames linked, again not a problem.

As for the departments, I think I'll be fixing this so it's a little bit easier to use. This won't happen until half way through this week. I'm going to be busy on other customer's projects. I'll be fixing bugs and small minor changes I'll be updating.

Slave 03-06-2005 04:32 AM

Cheers WhSox21 .. :)

BTW .. is the system meant to send emails/pm to admin to let them know a new ticket is there? .. I don't seem to be getting them if it is ..?

Slave 03-06-2005 04:50 AM

Seems I've found a bug ..

When you try to delete a ticket it comes up with a mysql error ..

Database error in vBulletin 3.0.3:

Invalid SQL: INSERT INTO domain_com_-_forums.ticketdeleted SELECT * FROM domain_com_-_forums.ticket WHERE ticketid = 3
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '-_forums.ticketdeleted SELECT * FROM domain_com_-_forums.

mysql error number: 1064

Date: Sunday 06th of March 2005 06:42:38 AM
Script: http://www.domain.com/helpdesk.php?do=delete&tid=3
Referer: http://www.domain.com/helpdesk.php?do=ticket&tid=3
Username: Slave

computer1 03-06-2005 04:55 AM

Can you upload 1.5 igen is invalid link so I cant download the nev version please

computer1 03-06-2005 05:38 AM

I get this error when I try to go to helpdesk

Database error in vBulletin 3.0.7:

Invalid SQL: SELECT ticketid, title, postusername, dateline, lastposter, lastupdate, department FROM ticket AS ticket JOIN ticketdepartment AS ticketdepartment ON (ticketdepartment.departmentid = ticket.departmentid) WHERE open = 1 AND postuserid = 1
mysql error: You have an error in your SQL syntax near 'ON (ticketdepartment.departmentid = ticket.departmentid) WHERE open = 1 AND post' at line 1

mysql error number: 1064

where shuld I change this ??
2. Add a department. (www.yoursite.com/helpdesk.php?do=departments)
I cant find this

LOTR 03-06-2005 06:20 AM

Thanks WhSox21.. but seems the bugs is still there. I've rewrite the helpdesk.php file (1.52)

computer1 03-06-2005 06:30 AM

Shuld whe download the zip file nowe if you have put up the nw file there ??

Creed 03-06-2005 07:41 AM

BTW, to help with some speed, there are quite a few new templates that should be cached! To help out with query and server load, do this:

open helpdesk.php and find:
Code:

        'helpdesk_ticket',
Add below:
Code:

        'helpdesk_message',
        'helpdesk_usergroupradio',
        'helpdesk_usergroup',
        'helpdesk_usergrouplist',
        'helpdesk_usergroupsettings',
        'userfield_radio_option',
        'userfield_select_option',
        'helpdesk_departmentlist',
        'helpdesk_department',
        'helpdesk_newticket',
        'helpdesk_quickreply',
        'helpdesk_reply',


clearchannel 03-06-2005 01:05 PM

I am receiving the following database error.

vBulletin v3.07

This is a clean install of version 1.52 I did set the departments. For testing purposes, I have only granted access to admins, moderators, and supermoderators (ID's 5,6,7)

Code:

Database error in vBulletin 3.0.7:

Invalid SQL: SELECT ticketid, title, postusername, dateline, lastposter, lastupdate, department FROM ticket AS ticket JOIN ticketdepartment AS ticketdepartment ON (ticketdepartment.departmentid = ticket.departmentid) WHERE open = 1 AND ownerid = 6170 AND ticketdepartment.departmentid IN (1)
mysql error: You have an error in your SQL syntax near 'ON (ticketdepartment.departmentid = ticket.departmentid) WHERE open = 1 AND owne' at line 1

mysql error number: 1064

Date: Sunday 06th of March 2005 10:09:06 AM
Script: http://www.mydomain.com/forums/helpdesk.php?do=mytickets
Referer: http://www.mydomain.com/forums/helpdesk.php?do=departments
Username: me
IP Address: xx.xx.xxx.xxx


ChrisBaktis 03-06-2005 01:14 PM

Same database error as everyone else

MissKalunji 03-06-2005 01:28 PM

funny everything works fine 4 me.... :surprised:

Challenge 03-06-2005 01:28 PM

Hi again.
A bug here: Now, after installing the hack, every time i recheave a PM i get the popup. Even though i have set PM Popup to off. (3.0.7)

Challenge.

Challenge 03-06-2005 04:28 PM

Quote:

Originally Posted by Challenge
Hi again.
A bug here: Now, after installing the hack, every time i recheave a PM i get the popup. Even though i have set PM Popup to off. (3.0.7)

Challenge.

Hmm... Dosent do it anymore...Wierd :S

WhSox21 03-06-2005 04:48 PM

Quote:

Originally Posted by Challenge
Hmm... Dosent do it anymore...Wierd :S

I have the query in the database to do the pop-up. I'll fix that so it is based on people's prefrences. Now I'm going to go through and try to fix these bugs everyone is having. It seems that the lower versions of MySQL is having the problems. I'll attach a file to a post below and anyone who wants to help out can.

WhSox21 03-06-2005 04:52 PM

Anyone having trouble with the database errors (not the delete error, that's next) try just uploading this helpdesk.php file and let me know if it works.

WhSox21 03-06-2005 04:55 PM

Quote:

Originally Posted by Slave
Seems I've found a bug ..

When you try to delete a ticket it comes up with a mysql error ..

Database error in vBulletin 3.0.3:

Invalid SQL: INSERT INTO domain_com_-_forums.ticketdeleted SELECT * FROM domain_com_-_forums.ticket WHERE ticketid = 3
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '-_forums.ticketdeleted SELECT * FROM domain_com_-_forums.

mysql error number: 1064

Date: Sunday 06th of March 2005 06:42:38 AM
Script: http://www.domain.com/helpdesk.php?do=delete&tid=3
Referer: http://www.domain.com/helpdesk.php?do=ticket&tid=3
Username: Slave

Try this file to fix your delete problem. I tested it and it worked for me so let me know if it works for you.

WhSox21 03-06-2005 04:56 PM

Quote:

Originally Posted by Slave
Cheers WhSox21 .. :)

BTW .. is the system meant to send emails/pm to admin to let them know a new ticket is there? .. I don't seem to be getting them if it is ..?

Not it's not supposed to yet. Only an auto-reply when you create tickets.

MissKalunji 03-06-2005 04:57 PM

Quote:

Originally Posted by WhSox21
Anyone having trouble with the database errors (not the delete error, that's next) try just uploading this helpdesk.php file and let me know if it works.


where do they go to get that error ? i wanna see if i got the problem to...

WhSox21 03-06-2005 05:00 PM

Just about any administer link will give you the error. I believe it's a problem with the syntax I used, it doesn't support the older versions of MySQL. I've changed it to do exactly how vBulletin does so it should work.

WhSox21 03-06-2005 05:02 PM

Quote:

Originally Posted by LOTR
Thanks WhSox21.. but seems the bugs is still there. I've rewrite the helpdesk.php file (1.52)

This will be fixed in the next version once I sort out all the other bugs.

WhSox21 03-06-2005 05:04 PM

Quote:

Originally Posted by computer1
Can you upload 1.5 igen is invalid link so I cant download the nev version please

Why do you want the older version? There is a newer version out download that as it fixes bugs.

Bolas 03-06-2005 05:17 PM

I got the same database error with a CLEAN installation of 1.52 while running helpdesk.php.
my vb version is 3.06

Code:

Invalid SQL: INSERT INTO domain_com_-_forums.ticketdeleted SELECT * FROM domain_com_-_forums.ticket WHERE ticketid = 3
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '-_forums.ticketdeleted SELECT * FROM domain_com_-_forums.

mysql error number: 1064

MySQL 3.23.58


All times are GMT. The time now is 05:50 PM.

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.01600 seconds
  • Memory Usage 1,835KB
  • 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
  • (4)bbcode_code_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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