Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> BB2Nuke
Author Message
gizmo2
Hangin' Around



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

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

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: 272
Location: Missouri

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

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! ]

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
gizmo2







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

Thanks a lot. It workes great.
I have not noticed that this are the left blocks. Otherwise i would have known where to search.
 
horrorcode







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

I wasnt sure if thats exactly what you meant, Glad you got it working Smile
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> BB2Nuke

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©