Clan Adverts

Sponsors

CT on Facebook

Latest Product

User Box

Anonymous
38.107.179.218
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 s...
Back Online & Stuff
Back Online & Stuff
Look at us with our nifty website back up and running… Seriously...
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 - Blindside Theme Show Right Blocks (RESOLVED)
Blindside Theme Show Right Blocks (RESOLVED)

9 Replies / 3660 Views


Post new topic   Reply to topic  

   www.clanthemes.com Forum Index » PhpNuke Theme Questions

View previous topic :: View next topic


sfcmert
Reputation: 461.6 Add RepSubtract Rep
Local time: 1:08 PM
Location: sfcmert10@yahoo.com
usa.gif

Noob
Noob

0.01 posts per day
Medals: 0

Joined: Dec 25, 2006
Last Visit: 07 Nov 2007
Posts: 14
Points: 2094 

Post Blindside Theme Show Right Blocks (RESOLVED) Posted: Thu Apr 26, 2007 10:13 pm

I have a site www.cyberassassins.org that is using the theme Blindside. I have read the tutorial and the show right blocks fix on this site and have tried both and neither worked. Does anyone have any other suggestions?

The site is using RavenNuke 7.6.
 

 
View user's profileSend private messageAIM AddressYahoo MessengerMSN Messenger Reply with quote

Scorpion
Reputation: 470.7 Add RepSubtract Rep
Local time: 12:08 PM
Location: 30 miles from Carentan
blank.gif



0.13 posts per day
Medals: 3 (View more...)
Super Dedicated User (Amount: 1)
VIP
VIP
Joined: Dec 09, 2006
Last Visit: 11 Apr 2010
Posts: 264
Points: 11084 

Post Posted: Thu Apr 26, 2007 10:29 pm

I've had a look thro the theme.php and can't find anything to do with right blocks..... better off getting a different theme m8y Wink
 

 
View user's profileSend private messageSend e-mailVisit poster's websiteMSN Messenger Reply with quote

Ped
Reputation: 94 Add RepSubtract Rep
votes: 37
Local time: 1:08 PM
Location: Great British Empire
uk.gif

Site Founder
Site Founder

1.82 posts per day
Medals: 2 (View more...)
Forums MoD (Amount: 1)
Theme Guru
Theme Guru
Joined: Nov 13, 2006
Last Visit: 26 May 2012
Posts: 3675
Points: 191995 

Post Re: Posted: Fri Apr 27, 2007 12:41 am

Shop Purchases:
Clan Roster 2.0 · Bad Company 2 Vietnam Xtreme Theme

That looks like a buggy theme, i can see a few things wrong with her...

If you wanted me to fix it up for you.... then you scratch our back by signing up to the club http://clan-themes.co.uk/club.html and ill put it straight for you Smiley
 

 
View user's profileSend private messageSend e-mail Reply with quote


sfcmert
Reputation: 461.6 Add RepSubtract Rep
Local time: 1:08 PM
Location: sfcmert10@yahoo.com
usa.gif

Noob
Noob

0.01 posts per day
Medals: 0

Joined: Dec 25, 2006
Last Visit: 07 Nov 2007
Posts: 14
Points: 2094 

Post Posted: Fri Apr 27, 2007 5:46 pm

I will sign-up for the club this weekend, I wanted to download some of the stuff in there. If you could look at that theme and improve it and show right blocks, that would be greatly appreciated. I have talked with Floppy before and I am going to place an ad, button or something on both of my sites for you guys.
 

 
View user's profileSend private messageAIM AddressYahoo MessengerMSN Messenger Reply with quote

Scorpion
Reputation: 470.7 Add RepSubtract Rep
Local time: 12:08 PM
Location: 30 miles from Carentan
blank.gif



0.13 posts per day
Medals: 3 (View more...)
Super Dedicated User (Amount: 1)
VIP
VIP
Joined: Dec 09, 2006
Last Visit: 11 Apr 2010
Posts: 264
Points: 11084 

Post Posted: Fri Apr 27, 2007 6:37 pm

Ok, I've had another look at your theme Blindside and I think i've worked it out ...

Open - themes/Blindside/theme.php

Look for -
Code:
if ($name=='DisError' ||
        $name=='Forums' ||
        $name=='Members' ||
        $name=='Members_List' ||
        $name=='Private_Messages') {
   }
   else {
    blocks(left);
   }
    echo "</td>\n"
       ."<td><img src=\"themes/BlindSide/images/pixel.gif\" width=\"5\" height=\"0\" border=\"0\" alt=\"\"></td>\n"
       ."<td width=\"100%\"><br>";


}


After this add -
Code:
if ($name=='First module you want to show right blocks' ||
        $name=='Second module you want to show right blocks' ||
        $name=='Third module you want to show right blocks' ||
        $name=='Forth module you want to show right blocks' ||
        $name=='Fifth module you want to show right blocks' ) {
   }
   else {
    blocks(right);
   }
    echo "</td>\n"
       ."<td><img src=\"themes/BlindSide/images/pixel.gif\" width=\"5\" height=\"0\" border=\"0\" alt=\"\"></td>\n"
       ."<td width=\"100%\"><br>";


}


Please make a backup first as I'm not a theme script writer but if you look abit further down the page, you'll see -

Code:
/************************************************************/
/* Function themefooter()                                   */
/*                                                          */
/* Control the footer for your site. You don't need to      */
/* close BODY and HTML tags at the end. In some part call   */
/* the function for right blocks with: blocks(right);       */
/* Also, $index variable need to be global and is used to   */
/* determine if the page your're viewing is the Homepage or */
/* and internal one.                                        */
/************************************************************/


So you may have to add it to the Footer section?

This gave me the clue to your problem and I hope it works Wink
 

 
View user's profileSend private messageSend e-mailVisit poster's websiteMSN Messenger Reply with quote

Ped
Reputation: 94 Add RepSubtract Rep
votes: 37
Local time: 1:08 PM
Location: Great British Empire
uk.gif

Site Founder
Site Founder

1.82 posts per day
Medals: 2 (View more...)
Forums MoD (Amount: 1)
Theme Guru
Theme Guru
Joined: Nov 13, 2006
Last Visit: 26 May 2012
Posts: 3675
Points: 191995 

Post Posted: Fri Apr 27, 2007 7:10 pm

Shop Purchases:
Clan Roster 2.0 · Bad Company 2 Vietnam Xtreme Theme

Dont Know its alot easier than that boys

ignore what scorps said

open themes/BlindSide/theme.php

on line 284 change

if (defined('INDEX_FILE')) {

to read

if (defined('INDEX_FILE') || ($index == 1)) {

then comment out line 282 so it looks like this

// $ads = ads(0);

the above $ads if for the banners module "Advertisement" which i do belive is in ravens newer v2.10 distro as standard ... If you have the newer "Advertisement" module then ignore the comment out // $ads = ads(0);

That got my theme both left/right blocks and the footer working
 

 
View user's profileSend private messageSend e-mail Reply with quote


Scorpion
Reputation: 470.7 Add RepSubtract Rep
Local time: 12:08 PM
Location: 30 miles from Carentan
blank.gif



0.13 posts per day
Medals: 3 (View more...)
Site Supporter (Amount: 1)
VIP
VIP
Joined: Dec 09, 2006
Last Visit: 11 Apr 2010
Posts: 264
Points: 11084 

Post Posted: Fri Apr 27, 2007 7:24 pm

Oh well, I did say I wasn't a theme script writer Confused
 

 
View user's profileSend private messageSend e-mailVisit poster's websiteMSN Messenger Reply with quote

sfcmert
Reputation: 461.6 Add RepSubtract Rep
Local time: 1:08 PM
Location: sfcmert10@yahoo.com
usa.gif

Noob
Noob

0.01 posts per day
Medals: 0

Joined: Dec 25, 2006
Last Visit: 07 Nov 2007
Posts: 14
Points: 2094 

Post Posted: Sun Apr 29, 2007 5:38 pm

I made the changes to the theme.php and right side blocks are still not showinmg. This is what I have:

if (defined('INDEX_FILE') || ($index == 1)) {
//$ads = ads(0);

any other suggestions?
 

 
View user's profileSend private messageAIM AddressYahoo MessengerMSN Messenger Reply with quote

sfcmert
Reputation: 461.6 Add RepSubtract Rep
Local time: 1:08 PM
Location: sfcmert10@yahoo.com
usa.gif

Noob
Noob

0.01 posts per day
Medals: 0

Joined: Dec 25, 2006
Last Visit: 07 Nov 2007
Posts: 14
Points: 2094 

Post Posted: Thu May 03, 2007 1:36 pm

I got this figured out now, so if you want to mark as fixed, thanks guys.

Since this is an older theme, I just took out the || ($index == 1)) and it worked!
 

 
View user's profileSend private messageAIM AddressYahoo MessengerMSN Messenger Reply with quote


Ped
Reputation: 94 Add RepSubtract Rep
votes: 37
Local time: 1:08 PM
Location: Great British Empire
uk.gif

Site Founder
Site Founder

1.82 posts per day
Medals: 2 (View more...)
Super Dedicated User (Amount: 1)
Theme Guru
Theme Guru
Joined: Nov 13, 2006
Last Visit: 26 May 2012
Posts: 3675
Points: 191995 

Post Re: Posted: Thu May 03, 2007 3:18 pm

Shop Purchases:
Clan Roster 2.0 · Bad Company 2 Vietnam Xtreme Theme

all you had to do was this


if (defined('INDEX_FILE')) {

to read

if (defined('INDEX_FILE') || ($index == 1)) {
 

 
View user's profileSend private messageSend e-mail Reply with quote
Post new topic   Reply to topic  
   www.clanthemes.com Forum Index » PhpNuke Theme Questions


 
9 Replies / 3660 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