*

Recent

Author Topic: admin panel  (Read 4196 times)

Dillon

  • Developer
  • Sr. Member
  • ******
  • Posts: 340
  • Force: +3/-0
    • Arcade Freak
admin panel
« on: October 27, 2011, 03:14:52 PM »
I noticed that in the admin panel a lot of the link to images in a template dont have the variable $template but rather just use the default. Which is bad if they dont have a template called default.

kurt

  • Developer
  • Hero Member
  • ******
  • Posts: 634
  • Force: +16/-1
Re: admin panel
« Reply #1 on: October 27, 2011, 09:50:21 PM »
Not sure what you are saying....

Dillon

  • Developer
  • Sr. Member
  • ******
  • Posts: 340
  • Force: +3/-0
    • Arcade Freak
Re: admin panel
« Reply #2 on: October 27, 2011, 10:02:48 PM »
Its

Code: [Select]

"'.$domain.'/templates/default/images/blah.png"


Instead of

Code: [Select]

"'.$domain.'/templates/'.$template.'/images/blah.png"


get it?

kurt

  • Developer
  • Hero Member
  • ******
  • Posts: 634
  • Force: +16/-1
Re: admin panel
« Reply #3 on: October 27, 2011, 10:44:40 PM »
Ah, I see. Yes, you are right and I did go through trying to correct that problem. I take it I missed a few. Let me know of which files you find it in so I can correct them as well?

Thanks!

Dillon

  • Developer
  • Sr. Member
  • ******
  • Posts: 340
  • Force: +3/-0
    • Arcade Freak
Re: admin panel
« Reply #4 on: October 27, 2011, 10:50:47 PM »
I already fixed them all but i believe it was

Manage Page Categories,
Approve Comments,
Manage Links,
Manage Blog Categories,
Approve Blog Comments,
Manage Categories and
Manage Games

kurt

  • Developer
  • Hero Member
  • ******
  • Posts: 634
  • Force: +16/-1
Re: admin panel
« Reply #5 on: October 27, 2011, 10:53:45 PM »
Thanks!

Dillon

  • Developer
  • Sr. Member
  • ******
  • Posts: 340
  • Force: +3/-0
    • Arcade Freak
Re: admin panel
« Reply #6 on: October 27, 2011, 10:55:51 PM »
Also you see my new intense mod? Im about to post another as well.

Frank

  • Sr. Member
  • ****
  • Posts: 257
  • Force: +4/-0
Re: admin panel
« Reply #7 on: October 28, 2011, 07:27:31 AM »
Just thought I'd mention that there are a lot of functions without global db strings - You'll no doubt have to qualify $template when you find templates that don't work. :(

kurt

  • Developer
  • Hero Member
  • ******
  • Posts: 634
  • Force: +16/-1
Re: admin panel
« Reply #8 on: October 30, 2011, 01:59:35 PM »
OK, updated them, including the global variables. Going to see what else needs fixing before I upload a new zip package. Thanks!