Hesk and Wordpress

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
cregy
Posts: 4
Joined: Fri May 11, 2007 7:33 pm

Hesk and Wordpress

Post by cregy »

Script URL: http://cregy.co.uk/wp-content/hesk/
Version of script: 0.94
Hosting company: Me
URL of phpinfo.php: http://cregy.co.uk/wp-content/hesk/phpinfo.php
URL of session_test.php:
What terms did you try when SEARCHING for a solution: blank page, wordpress, admin blank

Write your message below:

Hesk was running fine. I added categories, posts, etc. Logged in no problems etc. and then I decided to follow these instructions:
http://www.samdevol.com/integrating-a-h ... s-or-less/
Now I get the blank admin page. I believe it has something to do with a comment found at the bottom of the page:
Inserting the header in admin.php does not work. Parsing stops at the first “
It seems the new functions are slight different. Parsing stops at the first html-tag. Where do I have to paste the code exactly?
And is there a way to include the footer of my template?
Any ideas how I might get this to work. For your information I posted the help desk to wordpress at this post:
http://wordpress.org/support/topic/117076?replies=2

Thanks

Rich
mentisvis
Posts: 9
Joined: Wed May 09, 2007 12:30 pm

Post by mentisvis »

Hi Rich,

I tried this as well and saw the same problems. Following Sam Devol's instructions, the parsing of admin.php fails. Just inserting the get_header() in the beginning works on first sight - but creates only blank pages after login.

Additionally I recognized that the output code contains two complete header declarations - one of the WP-Theme and one of modified hesk. So I think this is not the best possible solution at all.

I wonder if it would be possible to create a WP page template wich uses an iframe to insert hesk in the layout. Perhaps I'll give it a try.

Off topic: I liked your theme! How did you get this hover effect to the hesk panel?

Best regards
Alex
Klemen
Site Admin
Posts: 10136
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Just my 2 cents - now I never used Wordpress and don't know exactly how it works, but inserting this extra code will print headers before Hesk processes sessions and thus fail to work.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
cregy
Posts: 4
Joined: Fri May 11, 2007 7:33 pm

Post by cregy »

mentisvis wrote: I tried this as well and saw the same problems. Following Sam Devol's instructions, the parsing of admin.php fails. Just inserting the get_header() in the beginning works on first sight - but creates only blank pages after login.

Additionally I recognized that the output code contains two complete header declarations - one of the WP-Theme and one of modified hesk. So I think this is not the best possible solution at all.

I wonder if it would be possible to create a WP page template wich uses an iframe to insert hesk in the layout. Perhaps I'll give it a try.

Off topic: I liked your theme! How did you get this hover effect to the hesk panel?
Hi

Thanks for the heads up about the admin.php code. Maybe doing it this way is a lame duck. I think I'll have a go at simply styling the code of Hesk and forgetting the wp link.

I might have a go at a plugin using the Hesk code if that is possible.

The hover effect is all in the css. http://www.cregy.co.uk/wp-content/theme ... /style.css. The actual bit you are looking for is way down at the bottom. You are looking for the declarations that have the a:hover tag. If you need a hand pm me with your email address and I'll contact you direct.

Rich
cregy
Posts: 4
Joined: Fri May 11, 2007 7:33 pm

Post by cregy »

Klemen Stirn wrote:Just my 2 cents - now I never used Wordpress and don't know exactly how it works, but inserting this extra code will print headers before Hesk processes sessions and thus fail to work.
Hi Klemen

I don't suppose you would work it out for me please? Or even one step further do a plugin for Wordpress? I know it would attract the attention of the wordpress community and I would pay for either of the work to be done.

If you want to do some work can you contact me direct by email.

Thanks

Rich
mentisvis
Posts: 9
Joined: Wed May 09, 2007 12:30 pm

Post by mentisvis »

Hi there,

I tried to insert hesk into WP by using an iframe.

It works basically, but there are still some frame specific problems.

First, clicking the first link in the rootline leads to loading the homepage into the iframe, of course. This should be disabled then.

The bigger problems are the direct accessible pages like ticket.php and admin.php. Loading them isolated naturally leads to a lack of a frameset.

I tried to insert an automatic reload of the frameset via php. This did not work, perhaps caused by the dynamic rendering of a WP frontend from several theme files. That's disappointing.

Any ideas?

@Rich: Thanks for the hint about the css-hover. I did not realize it can be assigned to a table. Used JavaScript instead before. Something learned! ;)

Best regards
Alex
Klemen
Site Admin
Posts: 10136
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Rich,

I wouldn't have time to work on a wordpress plugin (not even for a payment) as I have my last exam this month and after that I'll start writing my diploma. This is my top priority right not, a plugin for wordpress would take quite some time to first study how the code works.

My suggestion for integrating Hesk into your (or any) website is to create a simple header and footer, at least 770 pixel width and aligned on center. This is very simple to both create, integrate (in header/footer.txt files) and if done properly looks very nice and professional.

I did a little search on Google, here's a few samples I found and think look nice (I hope their authors don't mind being posted here):
http://www.arcadetraffic.com/hesk/index.php?a=start
http://www.divinenotes.com/help/
http://support.scienceofecd.com/
http://www.altnsolutions.co.uk/support/index.php
http://www.decodeit.biz/support-center/ ... hp?a=start
http://www.filmpuzzles.com/helpdesk/index.php?a=start
http://www.1st-amendment.org/support/index.php?a=start

... and so on. A nice header/footer, some playing with the hesk_style.css file and it turns out pretty good, don't you think?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
mentisvis
Posts: 9
Joined: Wed May 09, 2007 12:30 pm

Post by mentisvis »

Yes, this a quite simple and very nice solution. I copied the source code of my WP output and inserted it in header.txt and footer.txt.

It works great so far, but you have to remember to change it by hand if the site structure is modified!

BTW: Good luck with your exam!

Best regards
Alex
cregy
Posts: 4
Joined: Fri May 11, 2007 7:33 pm

Post by cregy »

Klemen Stirn wrote: My suggestion for integrating Hesk into your (or any) website is to create a simple header and footer, at least 770 pixel width and aligned on center. This is very simple to both create, integrate (in header/footer.txt files) and if done properly looks very nice and professional.

... and so on. A nice header/footer, some playing with the hesk_style.css file and it turns out pretty good, don't you think?
Hi Klemen

I hope all goes well with you in the exams, etc. Your script is so well written you deserve to pass simply by handing this in!

In the meantime you are correct and I will do as you suggest.

Thanks for the links as well.

Rich
Klemen
Site Admin
Posts: 10136
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

cregy wrote:I hope all goes well with you in the exams, etc. Your script is so well written you deserve to pass simply by handing this in!
Ha, too bad my study has nothing to do with programming :lol:
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
twomasters
Posts: 1
Joined: Wed Jul 25, 2007 2:48 pm

Post by twomasters »

Klemen,

I have integrated Hesk into my wp-blog with the latest version according to Sam's instructions (as referred to above)

It is true that the admin.php would not allow integration, but all the user-interface modules work perfectly - therefor it works fine for me.

The only problem I experience is that the wordpress integration results in the security image not being displayed - so I had to switch that feature off.

Any idea on how I could fix that?
Klemen
Site Admin
Posts: 10136
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Like said before I never used or even tried WP myself so not sure how it even works and how to fix it, but the problem must be broken session (security number not passed to the image script because of invalid session).
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply