You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 395 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Missing Left and right block content in a few themes [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
MetalHellsAngel
Nuke Cadet
Nuke Cadet


Joined: Jun 11, 2004
Posts: 9


PostPosted: Wed Mar 01, 2006 12:25 am Reply with quoteBack to top

I installed some themes and in most of the ones that look as if they were ported from xoops are all missing the actual content in the blocks, not just right blocks but left as well here's a pic.

Image

this happens when I install the following themes

fiappleblue6.5
fiapplegreen6.5
fiapplepink6.5
fiblue3D6.5
fiblack3d6.5
Avocodo6.5

I'm running phpnuke 7.8 patched 3.2. Any Ideas?

Thanks,
Angel


Last edited by MetalHellsAngel on Sat Mar 04, 2006 4:58 pm; edited 1 time in total
Find all posts by MetalHellsAngelView user's profileSend private message
dezina
Support Mod
Support Mod


Joined: Jun 09, 2003
Posts: 1713

Location: England

PostPosted: Thu Mar 02, 2006 5:22 am Reply with quoteBack to top

Did you read instructions re themes in Chatserv's patch Wink

_________________
Image
Backup files BEFORE altering
Use PHPNuke 7.6 with patches!!
No private messages please, POST in forums.
Find all posts by dezinaView user's profileSend private messageVisit poster's website
MetalHellsAngel
Nuke Cadet
Nuke Cadet


Joined: Jun 11, 2004
Posts: 9


PostPosted: Sat Mar 04, 2006 4:54 pm Reply with quoteBack to top

Actully yes I did and nothing fixed it until I did this

In theme.php I had to change this

Code:
function themesidebox($title, $content) {
              if (@file_exists($content)) {
                $fp = fopen ($content, "r");
                $content = fread($fp, filesize($content));
                fclose ($fp);
                $content = "?>$content<?";
                $content = eval($content);
        } else if (eregi("^http", $content)) {
                $fp = fopen ($content, "r");
                $content = fread($fp, 65535);
                fclose ($fp);
        }
    $tmpl_file = "themes/fiapple211/blocks.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
}


to this

Code:
function themesidebox($title, $content) {
    $tmpl_file = "themes/fiapple211/blocks.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
}


That was this only way I could make these themes work.
Find all posts by MetalHellsAngelView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.042 Seconds - 230 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::