Jump to content
Sign in to follow this  
mlumbreras

WHMCS Widget: Overall Monthly Incomes

Recommended Posts

It's not working for me either, I get the following error:

Parse error: syntax error, unexpected '[' in /home/******/public_html/members/modules/widgets/overall_monthly_incomes.php on line 9

Share this post


Link to post
Share on other sites

I unzipped and uploaded it to the widgets directory but it doesnt show up in Admin roles... Am I missing something?

Share this post


Link to post
Share on other sites
maybe the zip file corrupted????

 

Yeah I think so, when I open it in DW it's like:

 

pXþ†gñRÃòèÁcúŸÅKË*èf,?.€?¡™üT°üºpXþ†gñRÃòèÁcúŸÅKË*èf,?.€?¡™üT°üºpXþ†gñRÃòèÁcúŸÅKË*èf,?.€?¡™üT°üºpXþ†gñRÃòèÁcúŸÅKË*èf,?.€?¡™üT°üºpXþ†gñRÃòèÁcúŸÅKË*èf,?.€?¡™üT°üºpXþ†gñRÃòèÁcúŸÅKË*èf,?.€?¡™üT°üºpXþ†gñRÃòèÁcúŸÅKË*èf,?.€?¡™üT°üºpXþ†gñRÃòèÁcúŸÅKË*èf,?.€?¡™üT°üºpXþ†gñRÃòèÁcúŸÅKË*èf,?.€?¡™üT°üºpXþ†gñRÃòèÁcúŸÅKË*èf,?.€>äÉYÕ)N”*f©LRy)ðS:S‘f%èn$,w=)Ú—ÂìðLÃ,

 

Shame because it's just what I need!

Share this post


Link to post
Share on other sites

Very nice of you, tks.

But unfortunately it's not working for me. It keeps loading forever and doesn't let the other widgets load as well.

Any clues?

Edited by Patty

Share this post


Link to post
Share on other sites

Fixed it!

In the last line, change

add_hook("AdminHomeWidgets",1,"overall_monthly_incomes");

to

add_hook("AdminHomeWidgets",1,"widget_overall_monthly_incomes");

 

It was missing the widget_ ;)

Working fine now.

Nice job,mlumbreras! Tks a lot!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated