EzPortal - Portal Software for Forums

EzPortal Forums => Support => Topic started by: theKyra on June 13, 2010, 11:02:19 am

Title: So, questions...
Post by: theKyra on June 13, 2010, 11:02:19 am
I just discovered ezPortal today, and I'm really liking it so far. My only qualm so far is that my cBox won't work when I plug the code into an ezBlock. I also tried using a separate javascript code earlier, which also failed to work, but that was easily replaced. Unfortunately, I've been using this cbox for a long time and my members are used to it -- I tried the ezPortal shoutbox and absolutely did NOT care for it at all.

So, any help? I'd love to be able to use javascript in my ezBlocks, and if I can't, I'll have to go find another SMF mod that does what I need. I'd really rather not do that, to be honest. xD


~kyra
Title: Re: So, questions...
Post by: EzPortal on June 13, 2010, 11:04:51 am
Post the code here that you are trying to include.
Title: Re: So, questions...
Post by: theKyra on June 13, 2010, 11:08:20 am
Code: [Select]
<!-- BEGIN CBOX - www.cbox.ws - v001 -->
<div id="cboxdiv" style="text-align: center; line-height: 0">
<div><iframe frameborder="0" width="200" height="196" src="http://www5.cbox.ws/box/?boxid=479808&boxtag=3767&sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border:#456624 1px solid;" id="cboxmain"></iframe></div>
<div><iframe frameborder="0" width="200" height="79" src="http://www5.cbox.ws/box/?boxid=479808&boxtag=3767&sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border:#456624 1px solid;border-top:0px" id="cboxform"></iframe></div>
</div>
<!-- END CBOX -->

I have to go eat, I'll be back shortly.
Title: Re: So, questions...
Post by: theKyra on June 13, 2010, 08:43:17 pm
Try placing that into a HTML block. If that doesn't work, feel free to come back. Also, welcome to EzPortal. :)

I did exactly that. Had it worked, I wouldn't be here. ;)
Title: Re: So, questions...
Post by: Maxx on June 14, 2010, 07:06:35 am
Kyra,

Unless Ez can come back with a solution, I would have to say, that your HTML is limited to what is, or can be accepted by the SMF forum system and the Themes.

And a note of caution that, I have already tried various ways to add some HTML code to the SMF it's self, and also through a few portal systems and corrupted the database tables, causing the complete portal to lock up in that block, so not to have control over the complete system.

The only place I have been successful in applying custom html without issues, is through the Global Header and Footers Mod, that is available on the SMF Home site under Modifications. ( SMF 1.11)

Please Note that the ezportal system uses the CSS Styles and coding of the SMF Theme or them you are using!

Another note, is that I have tried some of the custom html mods out there and they have also messed up the operation of the SMF system, so be careful!

Please Always keep backups, before doing any changes to your system.

Another thing I noticed is that your code has an iframe, and I'm not certain but I would not recommend this inside a Block or even inside the forum it's self unless you are certain what you doing.

Please let me or us know what exactly you are trying to accomplish here?

regards,
Maxx
Title: Re: So, questions...
Post by: theKyra on June 14, 2010, 01:48:18 pm
It's not that I'm writing the chatbox. The code is specific cBox material (http://www.cbox.ws (http://www.cbox.ws)) and it's supposed to be coded that way.

On another note, I found a similar mod to Ezblocks that will let me use my cbox. So I have a feeling it's something on this end, not SMF's.
Title: Re: So, questions...
Post by: theKyra on June 14, 2010, 08:31:44 pm
Sometimes it is a browser issue, and sometimes there is incompatibility with EzPortal. What browser are you using?

Default browser is Firefox (3.6.3), but I tried it in Chrome (5.0.375.70) and had no luck there.
Title: Re: So, questions...
Post by: EzPortal on June 14, 2010, 08:51:28 pm
Will check it out tomorrow hopefully