Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks
Author Message
Minister
New Member
New Member


Joined: Feb 24, 2006
Posts: 3

PostPosted: Sun Mar 12, 2006 10:49 am Reply with quote

Ok before I start my question. I am a noob to php. I am looking for a scrolling block that displays banners of recommended sites like the one on your home page(recommended sites) I have the nuke scripts supporters block but unsure how to recode the block to display the content like you did. Could someone possibly help??

Also I have no clue how to make blocks. I wish to create a block for registered members only to view site information that is not included in my nuke data base. example: html documents displaying members custom profiles bios etc . Could someone guide me in the right direction. I would like to learn as much as possible.

I am using Nuke ultra 7.6 and it is patched current. I looked first at nuke code but unable to find what i was looking to do..


Thanks in advance
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Sun Mar 12, 2006 1:27 pm Reply with quote

hi,

i nice start would be too look at this page first. Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
Minister
PostPosted: Sun Mar 12, 2006 2:06 pm Reply with quote

Thank you for your guidance. However reading this is like greek to me.. But I appreciate the link.. What I wish to know is how to remove the link that says be a supporter. I wish to use this block as a display for my favorite sites bands etc. I cannot consider them a site supporter can I??
 
hitwalker
PostPosted: Sun Mar 12, 2006 2:23 pm Reply with quote

well the whole tutorial should explain a lot of things and how to create your own simple block...
Its not a way of saying ...goodbye have a nice day but merely to point you towards a simple tutorial...

Sure we can post a block here but then we would be posting 10/20 times to explain everything.
Your nuke also comes with a sample block,thats in your blocks folder.
The block that you want isnt realy php but 95% html,then converted into php.
So it would be nice if you have some html knowledge also.

So for example,if you could create any content you could then put that in this block creator Only registered users can see links on this board! Get registered or login!

So if i would take the first part of this story and put that in the block creator it would look like this.....


<?php
if ( !defined('BLOCK_FILE') ) {
Header("Location: ../index.php");
die();
}
$content = "well the whole tutorial should explain a lot of things and how to create your own simple block...";
$content .= "Its not a way of saying ...goodbye have a nice day but merely to point you towards a simple tutorial...";
$content .= "Sure we can post a block here but then we would be posting 10/20 times to explain everything.";
$content .= "Your nuke also comes with a sample block,thats in your blocks folder.";
$content .= "The block that you want isnt realy php but 95% html,then converted into php.";
$content .= "So it would be nice if you have some html knowledge also.";
?>
 
Minister
PostPosted: Sun Mar 12, 2006 3:10 pm Reply with quote

Wow that was actually very easy.. I think my problem is fear of new things I can text with html. But that is it. I thank you once again for your help and I will look further into making a better block..
 
hitwalker
PostPosted: Sun Mar 12, 2006 3:13 pm Reply with quote

ok good luck...
and a small note...
with html we mean realy stripped html....
so dont use <head>,<body>,</body>,etc...
You can use the usual design tags....also tables,but set to 100%.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks

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 ©