Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 103
9 members and 94 guests
blo5codpressure, cheadi3apsprsb8, debrajea1, den2zqsverhonfg, end2eaacidrefnw, jewgx3bishspo7s, ric6tphardwaw9a, tab9tqdcpr7h4le, tidownes
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
tattoo fonts
http://www.checkoutmyink.com/category/tattoo-fonts-tattoo

Go Back   Nukemods Forum > PHP-Nuke 6.5 to 6.9 > Nuke 6.5 to 6.9 - Blocks

Reply
 
LinkBack Thread Tools Display Modes
Need a hand with a J-Script problem in a side Block
Old
  (#1 (permalink))
ohl
Junior Member
 
Status: Offline
Posts: 19
Join Date: May 2003
Need a hand with a J-Script problem in a side Block - 07-07-2003, 09:42 PM

Is there a quirk that does not allow a J-Script to be placed in a Block on a left or right side bar? I searched the forum and found the message about the fix for the banner rotation scripting bug, now I need to know if there is one needed for side blocks.

TIA
OHL
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Moderator
 
Status: Offline
Posts: 737
Join Date: Nov 2002
07-08-2003, 01:56 PM

Not as far as I know. I'm creating a menu right now that has js.

Are you trying to create a new block or incorporate the js into an existing block?

Can you be more specific about the problem please.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
ohl
Junior Member
 
Status: Offline
Posts: 19
Join Date: May 2003
07-08-2003, 02:05 PM

What I am trying to do is add a J-Script for Google Adserv advertisment banners for my web site. Here is what the script looks likes.

<Xcript language="J-Script">
<!--
google_ad_client = 'pub-6160764272087904';
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = '468x60_as';
// -->
</Xcript>
<Xcript language="J-Script"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</Xcript>

I had to change the code to /Xcript to post it, it should be /S and J-Script should be Java. So you got any clues?
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Moderator
 
Status: Offline
Posts: 737
Join Date: Nov 2002
07-08-2003, 04:21 PM

Try this:

<script language="J-Script" src="show_ads.js"></xcript>
<!--
google_ad_client = 'pub-6160764272087904';
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = '468x60_as';
// -->
</xcript>
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#5 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
07-09-2003, 04:09 AM

IACOJ That wont work, it needs the file for generating the ads.

Check http://www.portedmods.com , we have the ads from google running but it shows up on top of every page


Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#6 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
07-09-2003, 04:29 AM

Me had a bit of time and so i made the block for you, I'm still testing and finding out but you can see it here
http://www.earth-france.com
it is the block in the down left corner


Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#7 (permalink))
Moderator
 
Status: Offline
Posts: 737
Join Date: Nov 2002
07-09-2003, 01:24 PM

You don't upload the js to your server Mighty?

I tried to check out your block, but got an error.

Fatal error: Call to undefined function: message_die() in /home/earthfra/www/db/db.php on line 88
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#8 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
07-09-2003, 02:58 PM

no the js is loaded from the google server,

block gets finishing touch and I'm going to release it this evening or tommorow.

PS the message_die is caused by server failure, the guy who gave me this 100MB free hosting nows about it and is checking it out. Site works now 20h57


Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#9 (permalink))
Moderator
 
Status: Offline
Posts: 737
Join Date: Nov 2002
07-09-2003, 03:23 PM

I was suprised to see the error on your site actually.

Did you know the welcome msg from when you first install nuke is up there?

Block looks good.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#10 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
07-09-2003, 03:42 PM

Yeah I know that message is up there but what do you want from a testsite ??

I'm packing the block up so it will be released soon


Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
issue posting new blocks on the right hand side of my site Casseau Open topics 3 12-08-2005 11:34 PM
Multiple centerblocks, side-by-side horizontal - possible? dentist Nuke 7.x - Blocks 0 03-31-2005 03:18 AM
Block Content Sitting out side Block killerbee Site design 3 01-26-2005 02:13 AM
Big Script in Block doneandoner Site design 0 09-12-2004 05:43 AM
another script in a block doneandoner Nuke 7.x - Blocks 1 09-11-2004 04:25 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31