Ravens PHP Scripts: Forums
 

 

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


Joined: Oct 22, 2006
Posts: 23

PostPosted: Wed Mar 14, 2007 5:46 pm Reply with quote

Im using NukeClients(tm), How do I integrate a banner directly in the header.

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


Joined:
Posts: 5661

PostPosted: Wed Mar 14, 2007 5:55 pm Reply with quote

isnt that explained in the readme ?
 
View user's profile Send private message
kaain
PostPosted: Wed Mar 14, 2007 6:06 pm Reply with quote

Ok this is what I have done:

Code:
<TR>

      <TD>
         <IMG SRC="themes/Tactical/images/header_down_17.png" WIDTH=3 HEIGHT=60 ALT=""></TD>
      <TD COLSPAN=3>
         <IMG SRC="themes/Tactical/images/header_down_18.png" WIDTH=200 HEIGHT=60 ALT=""></TD>
      <TD>
         <IMG SRC="themes/Tactical/images/header_down_19.png" WIDTH=10 HEIGHT=60 ALT=""></TD>
      <TD COLSPAN=9><?php $content = "$tbanners5"; ?></TD>
      <TD>
         <IMG SRC="themes/Tactical/images/header_down_21.png" WIDTH=10 HEIGHT=60 ALT=""></TD>
      <TD COLSPAN=3>
         <IMG SRC="themes/Tactical/images/header_down_22.png" WIDTH=200 HEIGHT=60 ALT=""></TD>
      <TD>
         <IMG SRC="themes/Tactical/images/header_down_23.png" WIDTH=3 HEIGHT=60 ALT=""></TD>
   </TR>


But it still doesn't show Sad
 
hitwalker
PostPosted: Wed Mar 14, 2007 6:11 pm Reply with quote

mmm, its long ago since i saw it but that cant be all...
do check your readme,i think your missing something...
 
kaain
PostPosted: Wed Mar 14, 2007 6:22 pm Reply with quote

OK will do
 
crazycrack
New Member
New Member


Joined: Jun 05, 2006
Posts: 8

PostPosted: Wed Mar 14, 2007 6:27 pm Reply with quote

Quote:
To add placements you first add the placement thru your NukeClients
"Placement Listing".

Once you have added the placement thru the listing make note of it #.
Then goto the includes folder and open one of the bcbannersX.php files.
"Save As" bcbanners#.php . In the file look for all occurances of pid='X'
and change it to pid='#' . Now look for all occurances of $bcbannersX
and change them to $bcbanners# . Now resave and upload the file.

Now open the theme.php file. Depends where you want the new placement
to be at you will edit either the themeheader or themefooter function.
All header and left side block placements are added to the themeheader
function and all right side block and footer placements are added to
the themefooter function.

If your adding a block placement then all you have to do is to add an
include:
Old includes:
include("includes/bcbanners1.php");
include("includes/bcbanners2.php");
include("includes/bcbanners3.php");

New includes:
include("includes/bcbanners1.php");
include("includes/bcbanners2.php");
include("includes/bcbanners3.php");
include("includes/bcbanners#.php");


If you are adding a placement for the header or footer then you will
also have to add coding for this to the exsiting code. You will have
to add $tbanners# where you want the banner to appear. Remember you
will need some basic html knowledge to add this type of place so that
your theme still looks like it did before adding the placement.


That's the HOW TO file.
I try to find the way with KAAIN to make that working. Everything work fine in a block but nothing I try work on the header.

Any suggestion?
 
View user's profile Send private message
hitwalker
PostPosted: Wed Mar 14, 2007 6:32 pm Reply with quote

depends on the theme your using....

and make sure you've done the edits right...
 
crazycrack
PostPosted: Wed Mar 14, 2007 7:03 pm Reply with quote

Ok, the explaination are not very clear in the how to file! And about the theme its a custom made: Only registered users can see links on this board! Get registered or login!

So some one know exactly what to modify or what to add? Wich file, exactly what add or modify and where!
 
hitwalker
PostPosted: Wed Mar 14, 2007 7:13 pm Reply with quote

with theme i mean....does it comes with a bunch of html files or just a theme.php
if its html then the banner variables has to be defined properly otherwise the script will be blind..
install maybe clear or not but we dont know it either as its commercial..
 
crazycrack
PostPosted: Wed Mar 14, 2007 7:17 pm Reply with quote

do you know where I can find support on nukescript?
Because I pay for a script and I have now way to contact the support.

I dont understand why it so hard to add in the HOW TO the completes direction like:
find "something" in file.php
and after add this line.....

Anyway thx for your yelp, if another one have an idea let me know!
 
crazycrack
PostPosted: Wed Mar 14, 2007 8:30 pm Reply with quote

Ok I find the problem. For the header integration, you need to add :

include("includes/bcbanners#.php");

before

include("themes/theme_name/header.php");

in (html/themes/theme_name/theme.php)

So it will look like this:

include("includes/bcbanners#.php"); (IMPORTANT TO PLACE IT BEFORE)
include("themes/theme_name/header.php");

NOTE: the "#" = the number pid.

And to finish the integration, you will need to open
(html/themes/theme_name/header.php)

and simply add

echo "$bcbanners#\n";

where you want you banner!
 
hitwalker
PostPosted: Thu Mar 15, 2007 5:02 am Reply with quote

so all of that is done ?
is it working or not ?
 
crazycrack
PostPosted: Thu Mar 15, 2007 11:57 am Reply with quote

Yes! It work fine with this instruction!
Thank you for your help!
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

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 ©