placing scripts into banners mod

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   
Telli
Site Admin
Telli has been a member for over 20 year's 20 Year Member
Occupation: Self Employed
Age: 45
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.06 posts per day
Posts: 8089
Points: 494,430
   
Its because of your mainfile script blocker. Attach your mainfile in a zip.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#2   re: placing scripts into banners mod
scz74
CZ Active Member
scz74 has been a member for over 19 year's 19 Year Member
philippines.gif
Age: 50
Gender: Male
Website:
Status: Offline
Joined: Aug 15, 2004
0.02 posts per day
Posts: 145
Points: 7,972
   
ok heres my mainfile.php



Attached Files
mainfile.zip (10.64 KB, Downloaded: 5253 Time(s))


Back to top Reply with quote
#3   
Telli
Site Admin
Telli has been a member for over 20 year's 20 Year Member
Occupation: Self Employed
Age: 45
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.06 posts per day
Posts: 8089
Points: 494,430
   
Try this one.



Attached Files
scz74.zip (10.67 KB, Downloaded: 5260 Time(s))



_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#4   re: placing scripts into banners mod
scz74
CZ Active Member
scz74 has been a member for over 19 year's 19 Year Member
philippines.gif
Age: 50
Gender: Male
Website:
Status: Offline
Joined: Aug 15, 2004
0.02 posts per day
Posts: 145
Points: 7,972
   
Magnifico Telli! Smooth as Silk. icon_smile.gif

by the way telli how can i add additional banner blocks? do i just copy the code of the original block?



Back to top Reply with quote
#5   re: placing scripts into banners mod
scz74
CZ Active Member
scz74 has been a member for over 19 year's 19 Year Member
philippines.gif
Age: 50
Gender: Male
Website:
Status: Offline
Joined: Aug 15, 2004
0.02 posts per day
Posts: 145
Points: 7,972
   
isnt this module included in the nuke 7+ points system? coz i noticed when i clicked the banner no points was added.



Back to top Reply with quote
#6   
Telli
Site Admin
Telli has been a member for over 20 year's 20 Year Member
Occupation: Self Employed
Age: 45
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.06 posts per day
Posts: 8089
Points: 494,430
   
No it isnt.

To use it in another spot on the front page i suggest you add the

include("includes/function_CZBanners.php");


To your header and then delete it from the block. Then in any block you make just call the banners by doing this:


$show = czbannersshow();
$content .= $show;


That is just a real basic Banner system to allow for the use of all types of banners. Nothing special.



_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#7   re: placing scripts into banners mod
scz74
CZ Active Member
scz74 has been a member for over 19 year's 19 Year Member
philippines.gif
Age: 50
Gender: Male
Website:
Status: Offline
Joined: Aug 15, 2004
0.02 posts per day
Posts: 145
Points: 7,972
   
oh ok, many thanks telli. icon_smile.gif



Back to top Reply with quote
#8   re: placing scripts into banners mod
scz74
CZ Active Member
scz74 has been a member for over 19 year's 19 Year Member
philippines.gif
Age: 50
Gender: Male
Website:
Status: Offline
Joined: Aug 15, 2004
0.02 posts per day
Posts: 145
Points: 7,972
   
cant help it but i really wanna ask you this, i would really love this banner module to be included in the points system. would it be difficult or complicated to do it? icon_smile.gif



Back to top Reply with quote
#9   re: placing scripts into banners mod
astalavistabd
CZ Newbie
astalavistabd has been a member for over 19 year's 19 Year Member
canada.gif
Occupation: Web Developer
Gender: Male
Website:
Status: Offline
Joined: Apr 24, 2005
0.00 posts per day
Posts: 21
Points: 2,231
AIM Address Yahoo Messenger MSN Messenger ICQ Number
hi Teli,

Thats a really cool mod. I have a question though. I tried to use it with phpnuke 7.7 and the block is working fine. My question is, how can i use it for top right side banner in the header?

Should i just include it in the theme ? or in the header? I tried both but none of them are working. Can you be more specific where to include the function_CZBanners.php to show it in different place on the frontpage?


Thank You



Back to top Reply with quote
#10   
Telli
Site Admin
Telli has been a member for over 20 year's 20 Year Member
Occupation: Self Employed
Age: 45
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.06 posts per day
Posts: 8089
Points: 494,430
   
Use it in your theme.php in the function themeheader(); Just like it says above:


include("includes/function_CZBanners.php");
$show = czbannersshow();
echo $show;




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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 cannot attach files in this forum
You cannot download files in this forum