PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
gizmo2
Hangin' Around


Joined: Sep 15, 2007
Posts: 34
Location: Germany

PostPosted: Sat Jun 20, 2009 10:33 am Reply with quote Back to top

Is it possible to use the nuke-forums just like a standalone one?

I need to have the forums included by an iframe at several places on my side. Therefor i dont want to have the hole side included, just the forums.
This side for example is what i need. Its the nuke forums i think and it looks like a standalone one.

I hope you understand what i mean.
View user's profile Send private message
horrorcode
Involved
Involved


Joined: Jan 17, 2009
Posts: 268
Location: Missouri

PostPosted: Sat Jun 20, 2009 1:12 pm Reply with quote Back to top

I think you want to disable left blocks in the Forums only.

Quoted from here, depends on your theme:
Only registered users can see links on this board!
Get registered or login to the forums!


Raven wrote:

To hide the left block for a specific module, you need to edit theme.php and do 2 things. First of all, in the themeheader() function, add the variable $name to the global statement. Then, find this code
Code:
blocks(left);
and change it to
Code:
    if ($name=="MODULE_NAME") {}
    else blocks(left);
where MODULE_NAME is the name of the module to hide the blocks. For example, to hide the left blocks when viewing the Member List, you would code
Code:
    if ($name=="Members_List") {}
    else blocks(left);


Note that you will have to do this for every theme that you use


So in the above you would change MODULE_NAME to Forums.

Then you just place the iframe code using the src as the forum/topic/post id, however you plan to do that. Maybe someone can go into more detail on iframes in nuke or a module for that?
View user's profile Send private message Visit poster's website MSN Messenger
gizmo2
Hangin' Around


Joined: Sep 15, 2007
Posts: 34
Location: Germany

PostPosted: Sat Jun 20, 2009 1:57 pm Reply with quote Back to top

Thanks a lot. It workes great.
I have not noticed that this are the left blocks. Otherwise i would have known where to search.
View user's profile Send private message
horrorcode
Involved
Involved


Joined: Jan 17, 2009
Posts: 268
Location: Missouri

PostPosted: Mon Jun 22, 2009 12:50 pm Reply with quote Back to top

I wasnt sure if thats exactly what you meant, Glad you got it working Smile
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous 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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum