Jump to content
  • 0

Stargames CP Background


7en

Question


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  60
  • Reputation:   2
  • Joined:  07/24/12
  • Last Seen:  

how do you change it? is it in themes.php?

// Theme templates

$THEME = "images/bgtest1.jpg"; // Background <==== did this didnt work

$THEME[logo_img_url] = "images/logo.jpg"; // Logo's CP

$THEME[logo_img_align] = "left"; // Logo's align

$THEME[logo_background] = "bgcolor=\"#FFFFFF\""; // Background Logo's CP

$THEME[title_bar_img_url] = "images/title_bar.png";

$THEME[title_bar2_img_url] = "images/title_bar2.png";

?>

Edited by canditw
Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   6
  • Joined:  07/23/12
  • Last Seen:  

Add me on YM : [email protected]

I can help you.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  60
  • Reputation:   2
  • Joined:  07/24/12
  • Last Seen:  

what do i type at the background? $THEME =

Edited by canditw
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  60
  • Reputation:   2
  • Joined:  07/24/12
  • Last Seen:  

anyone else?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  60
  • Reputation:   2
  • Joined:  07/24/12
  • Last Seen:  

umm anyone?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  96
  • Topics Per Day:  0.02
  • Content Count:  554
  • Reputation:   14
  • Joined:  09/24/12
  • Last Seen:  

i also working on this sir... 

When i got the solution i will tell to you.. btw try to right click and open source the website that have custom cp background and try to learn how that thing build... ^^

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

If you want SGCP a bit updated, I've hosted a repo for it so that it can work with Third Classes: https://github.com/Mysteries/StarGamesControlPanel and a demo here: http://sgcp.hostei.com/

 

 
// Theme templates
$THEME[background] = "bgcolor=\"#F9F1CA\"";                        // Background
$THEME[logo_img_url] = "images/logo.jpg";                        // Logo's CP
$THEME[logo_img_align] = "center";                                // Logo's align
$THEME[logo_background] = "bgcolor=\"#F9F1CA\"";                // Background Logo's CP
$THEME[title_bar_img_url] = "images/title_bar.png";
$THEME[title_bar2_img_url] = "images/title_bar2.png";

Theme currently only works with a coloured background and not an image. I'll probably work around it to allow images to be used :>

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  96
  • Topics Per Day:  0.02
  • Content Count:  554
  • Reputation:   14
  • Joined:  09/24/12
  • Last Seen:  

Yes... You can upload your image into you images directory(file) but it its cannot be edited...
I wish someone will help us in here....

Link to comment
Share on other sites

×
×
  • Create New...