Clan Adverts

www.afgserv.com

www.clan-themes.co.uk :: View topic - Blindside Theme Show Right Blocks (RESOLVED)

 Welcome To Clan Themes 

As the board grows please remember the Search Option and we hope you find our community useful.

We also monitor Private Messages to stop members from abusing our sites system.
If you are asking for assistance please provide your site link and nuke version, Thanks.

Blindside Theme Show Right Blocks (RESOLVED)

9 Replies / 1852 Views


Post new topic   Reply to topic  

   www.clan-themes.co.uk Forum Index » PhpNuke Theme Questions

View previous topic :: View next topic


sfcmert
Reputation: 461.6
Local time: 9:43 PM
Location: sfcmert10@yahoo.com
usa.gif

Status: Offline
0.02 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: 471.1
Local time: 8:43 PM
Location: 30 miles from Carentan
blank.gif

Status: Offline
0.41 posts per day
Medals: 3 (View more...)
Site Supporter (Amount: 1)
Very Important Person
Very Important Person
Joined: Dec 09, 2006
Last Visit: 04 Apr 2008
Posts: 295
Points: 31063 

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

Ped
Reputation: 336.9
votes: 17
Local time: 9:43 PM
Location: Great British Empire
uk.gif

Status: Offline
2.35 posts per day
Medals: 2 (View more...)
Forums MoD (Amount: 1)
Clan Themes Theme Guru
Clan Themes Theme Guru
Joined: Nov 13, 2006
Last Visit: 02 Dec 2008
Posts: 1765
Points: 15755 

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

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-mailVisit poster's website Reply with quote




sfcmert
Reputation: 461.6
Local time: 9:43 PM
Location: sfcmert10@yahoo.com
usa.gif

Status: Offline
0.02 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: 471.1
Local time: 8:43 PM
Location: 30 miles from Carentan
blank.gif

Status: Offline
0.41 posts per day
Medals: 3 (View more...)
Dedicated User (Amount: 1)
Very Important Person
Very Important Person
Joined: Dec 09, 2006
Last Visit: 04 Apr 2008
Posts: 295
Points: 31063 

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: 336.9
votes: 17
Local time: 9:43 PM
Location: Great British Empire
uk.gif

Status: Offline
2.35 posts per day
Medals: 2 (View more...)
Forums MoD (Amount: 1)
Clan Themes Theme Guru
Clan Themes Theme Guru
Joined: Nov 13, 2006
Last Visit: 02 Dec 2008
Posts: 1765
Points: 15755 

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

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-mailVisit poster's website Reply with quote


Scorpion
Reputation: 471.1
Local time: 8:43 PM
Location: 30 miles from Carentan
blank.gif

Status: Offline
0.41 posts per day
Medals: 3 (View more...)
Site Supporter (Amount: 1)
Very Important Person
Very Important Person
Joined: Dec 09, 2006
Last Visit: 04 Apr 2008
Posts: 295
Points: 31063 

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

sfcmert
Reputation: 461.6
Local time: 9:43 PM
Location: sfcmert10@yahoo.com
usa.gif

Status: Offline
0.02 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
Local time: 9:43 PM
Location: sfcmert10@yahoo.com
usa.gif

Status: Offline
0.02 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: 336.9
votes: 17
Local time: 9:43 PM
Location: Great British Empire
uk.gif

Status: Offline
2.35 posts per day
Medals: 2 (View more...)
Dedicated User (Amount: 1)
Clan Themes Theme Guru
Clan Themes Theme Guru
Joined: Nov 13, 2006
Last Visit: 02 Dec 2008
Posts: 1765
Points: 15755 

View user's profileSend private messageSend e-mailVisit poster's website Reply with quote
Post new topic   Reply to topic  
   www.clan-themes.co.uk Forum Index » PhpNuke Theme Questions


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