BnB Clan Q3 BnB Clan Q3
    Login or Register
::  Home  ::  Downloads  ::  Your Account  ::  Forums  ::
 
 
Navigation
BnB Clan
Your BnB
· Forums
· Staff
· Members List
· My Messages
· Account
BnB Community
· Donations
· Downloads
· Calendar
· Groups
· FAQ
· My eGallery
BNB Game Servers
· 1.16 Shotgun
· 1.16 Carnage
· 1.32 InstaRail
· 1.32 InstaRail2
Game Stats
· 1.16 Shotgun
Just Stuff
· Content
· News Topics
· Top Sites
· Surveys
Odds & Ends
· Refer Us
· Statistics
· Tools
· Sentinel Info
· Web Links

Admin Area
· Admin Login
Shout Box
Shout History   
 
test Rail

BnB Clan Q3: PHP-Nuke Tools



Help


Block Creator

  [  Back to Block Creator  ]  
Let's assume that we have this html
 
Code:

<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
</head>
<body>
<p align="center"><font size="7">PHP-Nuke tools</font></p>
<p align="center">by</p>
<p align="center"><a href="http://www.disipal.net/"><font size="7">Disipal site</font></a></p>
</body>
</html>

 

Remove this

Code:
 
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
</head>
<body>

</body>
</html>


 


And now the code looks like this

Code:

<p align="center"><font size="7">PHP-Nuke tools</font></p>
<p align="center">by</p>
<p align="center"><a href="http://www.disipal.net/"><font size="7">Disipal site</font></a></p>

 

To make the block, we copy and paste in the Block Creator top block

We click on “Create Block” and as a result we have

Code:

<?php
#### Generated by Block Creator by Disipal Site (www.disipal.net) ###
if (eregi("block-Block_Creator.php",$ PHP_SELF)) {
Header("Location: index.php");
die();
}
$ content = "<p align=\"center\"><font size=\"7\">PHP-Nuke tools</font></p> ";
$ content .= "<p align=\"center\">by</p> ";
$ content .= "<p align=\"center\"><a href=\"http://www.disipal.net/\"><font size=\"7\">Disipal site</font></a></p> ";
?>
 


Change the line



Change the line

Code:

if (eregi("block-Block_Creator.php",$ PHP_SELF)) {
 

 

To

Code:

if (eregi("block-whatever.php",$ PHP_SELF)) {
 


Now open notepad and paste the code given in the Block Creator bottom block, and save it as block-whatever..php


And you are ready!!
Activate the block from http://www.yoursite.com/admin.php?op=blocks
 



  [  Back to Block Creator  ]  
  [  Back to PHP-Nuke Tools Main  ]  
PHP-Nuke Tools v3.00
By Disipal
PHP-Nuke Tools ©
Quake Anyone?
Photo 

Sharing and Video Hosting at Photobucket
Member Info
 
Register Here
Lost Password

 
Membership:
New Today: 0
New Yesterday: 0
Waiting User(s): 135
Total Members: 76
Latest User: CalebRUS

Most Ever Online:
Guest(s): 164
Member(s): 0
Total: 164

Online Stats:
Guest(s): 16
Member(s): 0
Total: 16
Survey
What next?

Fix forum
Fix Themes
Fix Down Loads
Play Quake
Get a Life



Results
Polls

Votes: 79
Comments: 0
Month of Events
<
April 2021
>
SMTWTFS

123
45678910
11121314151617
18192021222324
252627282930
BNB Clan for Life
Playing Quake 3 for FUN
A Quake Gaming Group
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL.
Powered by Platinum 7.6.b.4

Page Generation: 0.69 Seconds
:: zoneCopper phpbb2 style by yassineb :: PHP-Nuke theme by www.nukemods.com ::