Clan Adverts

Sponsors

CT on Facebook

Latest Product

User Box

Anonymous
38.107.179.217
Nickname:

Password:

Security Code
Security Code
Type Security Code


PND Downloads Feed

Phpnuke Downloads
How to Delete or Reset yo...
How to Delete or Reset your PHPNuke Admin Account
Lost your admin password ?  Cant login to your admin account ?This sh...
Back Online & Stuff
Back Online & Stuff
Look at us with our nifty website back up and running… Seriousl...
How to edit the admins in...
How to edit the admins in the forums
Here is a way to make someone admin in your forums on your Evo site. I...
Demo Splash Screen
Demo Splash Screen
Ped @ Clan Themes has released a simple splash screen entrance hack. ...
Free Phpnuke Business The...
Free Phpnuke Business Theme 6
This is the 6th Business theme for Phpnuke that Clan Themes has releas...
Tricked Out Slider
Tricked Out Slider
We have seen some great new things come out of Tricked Out News and th...

Custom Work

PHP Nuke Custom Work

www.clanthemes.com :: View topic - Custom made module won't show right hand blocks
Custom made module won't show right hand blocks

7 Replies / 685 Views


Post new topic   Reply to topic  

   www.clanthemes.com Forum Index » Modules

View previous topic :: View next topic


TimBitz
Reputation: 29.8 Add RepSubtract Rep
Local time: 3:39 AM

canada.gif

Spawn Killer
Spawn Killer

0.03 posts per day
Medals: 0

Joined: Mar 02, 2008
Last Visit: 03 May 2011
Posts: 38
Points: 2543 

Post Custom made module won't show right hand blocks Posted: Wed Oct 21, 2009 2:59 am

Hey all, i used this little snippet of code from somewhere to start making my own modules but for some strange reason it doesn't show right hand blocks. I will post all of the code for one of my pages and see if somebody can give me any ideas. The content displays properly, but the entire right block column doesn't appear. This is the same for any other page I have created with the same php code template.

Code:
<?php

#### Generated by Module Creator - By Disipal site (www.disipal.net) ####

if (!eregi("modules.php", $PHP_SELF)) {

   die ("You can't access this file directly...");



}

require_once("mainfile.php");

$module_name = basename(dirname(__FILE__));

get_lang($module_name);

include("header.php");

$index = 1;

OpenTable();

echo"<!--//////////THIS SECTION IS FOR THE MAIN BODY CONTENT//////////-->"

  . "   <div id=\"content\">"

  . "   <!--/////HEADER IMAGE/////-->"

  . "      <center><br><br><br><br>"

  . "   <img src=\"/images/pagelogos/vidpage.png\" width=\"60%\"><br>"

  . "   <font face=\"arial\"><font size=\"4\" color=\"darkred\"><b>Featuring some of our favorite videos</b>"

  . "   <br><br><br></center>"

  . "   <!--/////END HEADER IMAGE/////-->"

  . "   <!--/////DIVX PLAYER/////-->"

  . "      <center>"

  . "   <br><br><br><br>"

  . "   <object id=\"ie_plugin\" classid=\"clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616\""

  . "                 width=\"600\" height=\"320\""

  . "                 codebase=\"http://go.divx.com/plugin/DivXBrowserPlugin.cab\">"

  . "                  <embed id=\"np_plugin\" type=\"video/divx\""

  . "                     width=\"600\" height=\"320\""

  . "                     pluginspage=\"http://go.divx.com/plugin/download/\">"

  . "                 </embed>"

  . "         </object>"

  . "          <script type=\"text/javascript\">"

  . "          //"

  . "         // This code detects which browser we are"

  . "         // running into (IE or others) and assigns"

  . "         // the correct element (object or embed) to"

  . "         // the \"plugin\" variable, that we will use."

  . "         //"

  . "          var plugin;"

  . "          if(navigator.userAgent.indexOf('MSIE') != -1)"

  . "         {"

  . "             plugin = document.getElementById('ie_plugin');"

  . "         }"

  . "         else"

  . "         {"

  . "             plugin = document.getElementById('np_plugin');"

  . "         }"

  . "          //"

  . "         // This is a local JS function used by our form"

  . "         // element to call the plugin functions using"

  . "         // the \"plugin\" variable that we defined above"

  . "         //"

  . "          function openNewMovie()"

  . "         {"

  . "             var url = document.forms['videoSelector'].movie.value;"

  . "              if(url != '')"

  . "             {"

  . "                 plugin.Open(url);"

  . "             }"

  . "       }"

  . "          </script>"

  . "      <br><br>"

  . "   <font face=\"arial\"><font size=\"3\" color=\"darkred\"><b><i>Please note:</b></i>  Due to Stage6 closing down on Feb. 28th, 2008, not all of the videos are hosted at this time.  We, as well as half of the world, are looking for a new divx host, and are unable to present these videos to you at this time.  We apologize for the inconvenience."

  . "   <br>"

  . "          <form name=\"videoSelector\"><BR>"

  . "         <font face=\"arial\"><font size=\"3\" color=\"darkred\"><b><i>Please select a video from the list:</b></i>"

  . "          <select name=\"movie\" onChange=\"javascript:openNewMovie();\">"

  . "         <option value=\"\" selected>"

  . "         <optgroup label=\"ShadowSquad Videos\">"

  . "         <option value=\"http://shadowsquadhq.info/divx/vent_setup.divx\"> --> Ventrilo Setup Video"

  . "         <option value=\"http://shadowsquadhq.info/divx/ss_bodies.divx\"> --> Shadow Squad ft. Drowning Pool"

  . "         <option value=\"http://shadowsquadhq.info/divx/ss_blooper.divx\"> --> Shadow Squad Blooper Reel"

  . "   </optgroup>"

  . "   <optgroup label=\"Game Trailers\">"

  . "   <option value=\"http://shadowsquadhq.info/divx/rvs.avi\"> --> Raven Shield"

  . "   <option value=\"http://shadowsquadhq.info/divx/rsv2.avi\"> --> Vegas 2"

  . "     "

  . "   </optgroup>"

  . "      <optgroup label=\"Movie Trailers\">"

  . "   <option value=\"\"> --> Not available at this time"

  . "     "

  . "   </optgroup>"

  . "   <optgroup label=\"Funny Videos\">"

  . "   <option value=\"http://shadowsquadhq.info/divx/stephen_lynch_caught_me.avi\"> --> Stephen Lynch - Caught Me"

  . "   </optgroup>"

  . "   </select>"

  . "   </form>"

  . "      <br><br><br>"

  . "   </center>"

  . "   <!--/////END DIVX PLAYER/////-->"

  . "   </div>";

CloseTable();

include("footer.php");



?>
 

 
View user's profileSend private messageVisit poster's website Reply with quote

floppy
Reputation: 2087.2 Add RepSubtract Rep
votes: 22
Local time: 4:39 AM
Location: Jackson Mississippi
usa.gif

Site Admin
Site Admin

1.73 posts per day
Medals: 2 (View more...)
Super Dedicated User (Amount: 1)
Scripts/Coder
Scripts/Coder
Joined: Nov 14, 2006
Last Visit: 27 Jan 2012
Posts: 3313
Points: 132023 

Post Re: Custom made module won't show right hand blocks Posted: Wed Oct 21, 2009 3:07 am

Shop Purchases:
Clan Roster 2.0 · Multi Gaming (Warrior) Evo Theme · COD6 ModernWarfare 2 Teaser Splash Screen · Left for Dead Evo Extreme Version

Try changing

Code:
$index = 1;


To

Code:
define('INDEX_FILE', true);


Try changing around true to false if it doesn't work.
 

Phpnuke Downloads | VMaxxRx Male Enhancement  
View user's profileSend private messageVisit poster's website Reply with quote

TimBitz
Reputation: 29.8 Add RepSubtract Rep
Local time: 3:39 AM

canada.gif

Spawn Killer
Spawn Killer

0.03 posts per day
Medals: 0

Joined: Mar 02, 2008
Last Visit: 03 May 2011
Posts: 38
Points: 2543 

Post Custom made module won't show right hand blocks Posted: Wed Oct 21, 2009 3:20 am

Didn't appear to have any change
 

 
View user's profileSend private messageVisit poster's website Reply with quote


floppy
Reputation: 2087.2 Add RepSubtract Rep
votes: 22
Local time: 4:39 AM
Location: Jackson Mississippi
usa.gif

Site Admin
Site Admin

1.73 posts per day
Medals: 2 (View more...)
Dedication (Amount: 1)
Scripts/Coder
Scripts/Coder
Joined: Nov 14, 2006
Last Visit: 27 Jan 2012
Posts: 3313
Points: 132023 

Post Re: Custom made module won't show right hand blocks Posted: Wed Oct 21, 2009 3:34 am

Shop Purchases:
Clan Roster 2.0 · Multi Gaming (Warrior) Evo Theme · COD6 ModernWarfare 2 Teaser Splash Screen · Left for Dead Evo Extreme Version

Odd did you try both true and false? What distribution is this and can we get a link?
 

 
View user's profileSend private messageVisit poster's website Reply with quote

DreAdeDcoRpSE
Reputation: 2221.6 Add RepSubtract Rep
votes: 28
Local time: 4:39 AM
Location: Back of your Mind
usa.gif

Forums Moderator
Forums Moderator

1.53 posts per day
Medals: 3 (View more...)
Site Supporter (Amount: 1)
Site Admin
Site Admin
Joined: Sep 22, 2007
Last Visit: 10 Feb 2012
Posts: 2459
Points: 128885 

Post Re: Custom made module won't show right hand blocks Posted: Wed Oct 21, 2009 3:44 am

Shop Purchases:
Enemy Territory Theme (Aviator) for PHP Nuke · Clan Roster 2.0 ·  · Modern Warfare 3 Xtreme Theme

What CMS are you using, because I know with Evo, when you add the module, you can click on the edit button to say, show both, left blocks or right blocks.
 

 
View user's profileSend private messageVisit poster's website Reply with quote

TimBitz
Reputation: 29.8 Add RepSubtract Rep
Local time: 3:39 AM

canada.gif

Spawn Killer
Spawn Killer

0.03 posts per day
Medals: 0

Joined: Mar 02, 2008
Last Visit: 03 May 2011
Posts: 38
Points: 2543 

Post Custom made module won't show right hand blocks Posted: Wed Oct 21, 2009 3:58 am

.:: click ::.

I believe i used PHP Nuke ver 8.1
 

 
View user's profileSend private messageVisit poster's website Reply with quote


floppy
Reputation: 2087.2 Add RepSubtract Rep
votes: 22
Local time: 4:39 AM
Location: Jackson Mississippi
usa.gif

Site Admin
Site Admin

1.73 posts per day
Medals: 2 (View more...)
Dedication (Amount: 1)
Scripts/Coder
Scripts/Coder
Joined: Nov 14, 2006
Last Visit: 27 Jan 2012
Posts: 3313
Points: 132023 

Post Re: Custom made module won't show right hand blocks Posted: Wed Oct 21, 2009 4:19 am

Shop Purchases:
Clan Roster 2.0 · Multi Gaming (Warrior) Evo Theme · COD6 ModernWarfare 2 Teaser Splash Screen · Left for Dead Evo Extreme Version

I have never ever used 8.1 so I honestly don't know. What a horrible phpnuke version to use.

Find a module that uses right blocks and find the difference.
 

 
View user's profileSend private messageVisit poster's website Reply with quote

TimBitz
Reputation: 29.8 Add RepSubtract Rep
Local time: 3:39 AM

canada.gif

Spawn Killer
Spawn Killer

0.03 posts per day
Medals: 0

Joined: Mar 02, 2008
Last Visit: 03 May 2011
Posts: 38
Points: 2543 

Post Custom made module won't show right hand blocks Posted: Wed Oct 21, 2009 8:15 pm

Thanks for all the ideas you guys, I used a working module and stripped code and changed stuff until I was left with a good working template that had more updated code in it. All is well in my world now...well for my modules anyhow lol
 

 
View user's profileSend private messageVisit poster's website Reply with quote
Post new topic   Reply to topic  
   www.clanthemes.com Forum Index » Modules


 
7 Replies / 685 Views
Page 1 of 1
All times are GMT
Display posts from previous:   
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum