1
dizzymarkus
sry to ask Ive searched

I have searched till my eyes popped out lol and cant find exactly what i am looking for to answer my question.


I have a flash applet that shows randow pictures with a preset time intervul. It has an external XML file for config, its output shows on an html file or php page. I am trying to get this to show in a center block center.

I tried adding a custom block which shows but only a red x no pic.

My question is how may I add this to a custom block without installing a module to do so? getting it to show --
Links dont work ((they are examples))
i tried adding
----
which shows the block title and a red x where the image should appear

I tried (which is the best option)

PREFERED METHOD
-----------------------------------------------------------I tried

----
which shows the block title and a red x where the image should appear
-----------------------------------------------------------also tried all ways of this
IE
/ocqmc_new/imagerotator
/ocqmc_new/imagerotator/index.html(& php)((changed custom block to php also))

with and without directories, slashs, folders and every other way I can think of lol


Thnaks in advance to anyone that has any hints

Markus

2
wizanda
Re: sry to ask Ive searched
  • 2006/12/22 17:25

  • wizanda

  • Home away from home

  • Posts: 1585

  • Since: 2004/3/21


For me now knowing how easy modules really are!
Don't understand when people say they wouldn't want a module...point for having it as module....

1) loads quicker...as all in one place...
2) can include the files far easier...
3) take mins....

Yet anwyways, using php as a block you could

include 'file.html';


3
dizzymarkus
Re: sry to ask Ive searched

Not wanting a module for this was because I didnt think it warrented one, I must be wrong I am kinda new. Thank you for that piece of info as well as the lower info. I am pretty sure I tried the
On a lighter note do you think you could make a module of this for me? I am willing to share the applet (allowed to share not resell :0) which I paid for from tufat.com if you could.

I would like it to have admin pages for uploading photos(currently you just put them in a folder manually), possibly group permissions, a block for display. Please let me know what ya think and thanks again i will try the ahref tonite,

Markus

4
vaughan
Re: sry to ask Ive searched
  • 2006/12/22 21:58

  • vaughan

  • Friend of XOOPS

  • Posts: 680

  • Since: 2005/11/26


is the applet a .swf file? if so, just use the flash code

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="780" height="550" id="any" align="middle">
<
param name="allowScriptAccess" value="sameDomain" />
<
param name="movie" value="any.swf" />
<
param name="quality" value="high" />
<
param name="bgcolor" value="#666666" />
<
embed src="any.swf" quality="high" bgcolor="#666666" width="780" height="550" name="any" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
object>


replace any.swf with your path to the swf file.

5
wizanda
Re: sry to ask Ive searched
  • 2006/12/22 22:00

  • wizanda

  • Home away from home

  • Posts: 1585

  • Since: 2004/3/21


Ok then since you are new to code and easiest way and I still use is weaverslave...it is free and contains correct html snippets (well almost some bits have been added extra since....yet contains enough

Then also use Top-style lite and that contains all CSS and different levels you can use for different browsers....

They both work together, as Code needs to be to certain rules...

Then if you get Tidy plug-in for Firefox, that also then checks all web pages for W3C and tells you how to fix these...

Between these, you can fix and make most things, better and quicker then most web-design software...

As for Tufat module unsure, as last time someone was doing this; they hadn't read the small print on flashchat and were trying something Tufat had already written in to the conditions...Since they do already do XOOPS and other content management systems would be unsure how far the license really spreads...

6
dizzymarkus
Re: sry to ask Ive searched

Thanks for both responses

It is swf but parsed by an xml file so outputs to a html file I believe (for configuration options) -- Thank you


I am kinda new to XOOPS -- a year ago I installed it for a local website and it went flawless-- with so many modules it would choke you lol. I will continue on with trying to get it to show.

Heres the part of the reciept i recieved I may be mis understanding it but i have boughted many many scripts from Darien.

-----------------------------------------------------------
The license for these applets does NOT permit you to re-sell or re-distribute them in a manner similar to how they are sold on TUFaT.com. In other words, you're welcome to use these tickers on your own website, but please do not compete with me in the distribution and sale of the applets. It is only with your cooperation that the price for these applets can be kept low.

Upgrades are free, and can be downloaded from http://www.tufat.com/download.php. You are welcome to post questions and feedback on http://www.tufat.com/phpBB2/ Please be sure to also read the comments in the config.xml files for additional configuration information.

Good luck!
Darren

-----------------------------------------------------------

You may be right -- I can give it to you to help me out tho no? :0) Please lol

anywho I thank you all for the responses

Markus

7
wizanda
Re: sry to ask Ive searched
  • 2006/12/22 22:35

  • wizanda

  • Home away from home

  • Posts: 1585

  • Since: 2004/3/21


There is a XOOPS Clock block, that uses a SWF for a block contained in the XSAS Package....hack that and swap the files....

Best Way to normally learn, see what others have done and modify

8
dizzymarkus
Re: sry to ask Ive searched

Ok I tried :








along with a few more lol and all I get is a blank block with the header visible.


The image rotator (= imagerotator) folder is located in the root with all files needed.In order for this to work outside of the XOOPS framework i can type

http://localhost/ocqmc_new/imagerotator

the pic appears and rotates as it should

I can also type http://localhost/ocqmc_new/imagerotator/index.htmland works the same (prolly because top one is index anywho :0)

TYo make this easy for me i wonder if someone could right what I need in the custom block to get this to appear. Im sure once i see once I'll be cruiseing lol


Thanks,
Markus

9
wizanda
Re: sry to ask Ive searched
  • 2006/12/22 22:42

  • wizanda

  • Home away from home

  • Posts: 1585

  • Since: 2004/3/21


Quote:

vaughan wrote:
is the applet a .swf file? if so, just use the flash code

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="780" height="550" id="any" align="middle">
<
param name="allowScriptAccess" value="sameDomain" />
<
param name="movie" value="any.swf" />
<
param name="quality" value="high" />
<
param name="bgcolor" value="#666666" />
<
embed src="any.swf" quality="high" bgcolor="#666666" width="780" height="550" name="any" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
object>


replace any.swf with your path to the swf file.

10
dizzymarkus
Re: sry to ask Ive searched

I used the swf code and replced what I needed --blank page -- block header only -- I tried so many different paths and to no avail.

Like I said earlier I do believe there is an xml file that parses it to html for display so that there is config options.

If I go diectly to the swf file and play it the pics dont show, so Im convinced that it needs to be displayed with the html link.


I also tried SSI but same view white box with block header only.
I also tried changeing custom block to php and using an inclkude statment -- same view lol

---------------------Pulling hair out here lol-------------

Thanks greatly folks,
Markus

Login

Who's Online

439 user(s) are online (373 user(s) are browsing Support Forums)


Members: 0


Guests: 439


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits