| Author |
Message |
LadyCherry
Lieutenant


Joined: Aug 12, 2003
Posts: 190
|
Posted:
Tue Nov 22, 2005 9:41 am |
  |
Hello all I was wondering if I can get php to look like this?http://mmorpg.com
I would like news to be on the left then a column for events, calendar, and polls, and the far right to display banners. Is this possible anbd how might I go about doing it. Thanks |
|
|
   |
 |
citricguy
Nuke Soldier


Joined: Sep 03, 2003
Posts: 16
|
Posted:
Tue Nov 22, 2005 2:57 pm |
  |
Thats a pretty cool looking site! Im guessing it is just a theme modification. This post is more of a bump than anything i suppose.. |
|
|
   |
 |
LadyCherry
Lieutenant


Joined: Aug 12, 2003
Posts: 190
|
Posted:
Sat Nov 26, 2005 9:31 am |
  |
I'd like to move the left blocks near the right blocks and move the news....the middle block over to the left. Any suggestions on how I do this. Thanks in advance. |
|
|
   |
 |
Xyberian
Colonel


Joined: Mar 14, 2004
Posts: 1939
Location: Behind you
|
Posted:
Sat Nov 26, 2005 5:22 pm |
  |
|
    |
 |
LadyCherry
Lieutenant


Joined: Aug 12, 2003
Posts: 190
|
Posted:
Tue Nov 29, 2005 5:53 am |
  |
Hi Xyberian,
My theme.php is very different.
I wanted to know how you would do it with a clean theme.php file
Any help will be greatly appreciated.
-Lady Cherry |
|
|
   |
 |
LadyCherry
Lieutenant


Joined: Aug 12, 2003
Posts: 190
|
Posted:
Mon Dec 05, 2005 7:40 am |
  |
Anyone have any ideas on this? It would really help!
Thank you
-Lady Cherry |
|
|
   |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12482
|
Posted:
Mon Dec 05, 2005 2:37 pm |
  |
You would have to do some changes to the theme.php
Move the blocks(); functions around to match where you want to display
Depending on how your theme is coded, you may need to edit the appropriate header.html, footer.html, and other files |
_________________ Helping those that help themselves
Read FIRST or DIE!
"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding |
|
     |
 |
LadyCherry
Lieutenant


Joined: Aug 12, 2003
Posts: 190
|
Posted:
Sat Jan 21, 2006 11:29 am |
  |
on the default DeepBlue theme where would I move the blocks to have both the left and right block be on the right and the news and forums on the left?
Any help is much appreciated!
-Lady Cherry |
|
|
   |
 |
Prophet
Captain


Joined: Mar 14, 2004
Posts: 422
Location: Florida, USA, Earth, Space
|
Posted:
Sat Jan 21, 2006 12:33 pm |
  |
http://mmorpg.com is not a phpnuke website, but you can do something like that with your DeepBlue theme like this ....
In themes/DeepBlue/theme.php
Find and delete (in themeheader() function):
Find:
| Code: |
function themefooter() {
global $index;
echo "<br>";
if ($index == 1) {
echo "</td><td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td><td valign=\"top\" width=\"138\" bgcolor=\"d3e2ea\">\n";
blocks(right);
echo "<td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"6\" height=\"1\" border=\"0\" alt=\"\">";
}
else {
echo "</td><td colspan=\"2\"><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\">";
}
echo "<br><br></td></tr></table>\n"
."<br><center>";
footmsg();
echo "</center>";
} |
Replace with:
| Code: |
function themefooter() {
global $index;
echo "<br>";
echo "</td><td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td><td valign=\"top\" width=\"138\" bgcolor=\"d3e2ea\">\n";
echo "<td valign='top'>";
blocks(left);
echo "</td>";
if ($index == 1) {
echo "<td valign='top'>";
blocks(right);
echo "</td>";
}
echo "<td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"6\" height=\"1\" border=\"0\" alt=\"\">";
echo "<br><br></td></tr></table>\n"
."<br><center>";
footmsg();
echo "</center>";
} |
That will cause your theme to display the left and right blocks on the right-hand side of the center content. So, the center content will essentially become your left blocks.
Note:
 |
_________________ - Prophet
Get the Last Visit module (and others modules I designed) from my website! FREE! http://jasonlau.biz
http://DotCom.Name
Last edited by Prophet on Sat Jan 21, 2006 1:22 pm; edited 1 time in total |
|
     |
 |
Prophet
Captain


Joined: Mar 14, 2004
Posts: 422
Location: Florida, USA, Earth, Space
|
Posted:
Sat Jan 21, 2006 12:59 pm |
  |
You could also have the block columns randomly swap position to grab the user's attention. e.g., Let's say you have a tower-type banner ad in the far-right column and you want it to sometimes swap positions with the left column as to get more attention.
You can do this like this ...
| Code: |
function themefooter() {
global $index;
echo "<br>";
echo "</td><td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td><td valign=\"top\" width=\"138\" bgcolor=\"d3e2ea\">\n";
echo "<td valign='top'>";
$shuffle = rand(1,2);
switch($shuffle){
case "1":
blocks(left);
if ($index == 1) {
echo "</td>";
echo "<td valign='top'>";
blocks(right);
}
break;
case "2":
if ($index == 1) {
blocks(right);
echo "<img src=\"themes/DeepBlue/images/pixel.gif\" width=\"145\" height=\"1\" border=\"0\" alt=\"\"></td>";
echo "<td valign='top'>";
}
blocks(left);
break;
}
echo "</td>";
echo "<td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"6\" height=\"1\" border=\"0\" alt=\"\">";
echo "<br><br></td></tr></table>\n"
."<br><center>";
footmsg();
echo "</center>";
} |
It's a simple way to keep user focus.  |
_________________ - Prophet
Get the Last Visit module (and others modules I designed) from my website! FREE! http://jasonlau.biz
http://DotCom.Name |
|
     |
 |
LadyCherry
Lieutenant


Joined: Aug 12, 2003
Posts: 190
|
Posted:
Tue Jan 31, 2006 8:34 am |
  |
Thanks a bunch I think I got it. |
|
|
   |
 |
|
|