41
dizzymarkus
vlweather module question please

Hiya all

I am trying to get the links to appear with a target value of _blank or _parent, as it stands I click the links for detailed forcasts and radar etc it directs me away from my site to the weather pages. I want them to open on top of my XOOPS site instead and Im not understanding the proper code to do it. here is the code that gens the links in vlweather/index.php

-------------------------<code>--------------------------

$forecasturl = $bweather->get_forecast_url();
echo "<p><a href=\"" . $forecasturl . "\">Forecast for your location</a></p>";
echo "<p><a href=\"http://weather.noaa.gov/weather/current/" . $icao . ".html\">Detailed conditions for your location</a></p>";
echo "<p><a href=\"http://www.nws.noaa.gov/sat_tab.html\">US current satellite image</a></p>";
echo "<p><a href=\"http://www.nws.noaa.gov/radar_tab.html\">US current radar image</a></p>";
echo "<p><a href=\"http://www.nws.noaa.gov/\">US warnings and watches</a></p>";
echo "<p><a href=\"http://www.hpc.ncep.noaa.gov\">Various US weather maps</a></p>";

--------------------------END CODE-------------------------


Thanks greatly to anyone that may or can help. I'm sure I am missing something silly.

Markus



42
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



43
dizzymarkus
Re: sry to ask Ive searched

Ok I tried :

<ahref="ocqmc_new/imagerotator/index.html"></a>
<ahref="/ocqmc_new/imagerotator/index.html"></a>
<ahref="/ocqmc_new/imagerotator"></a>
<ahref="ocqmc_new/imagerotator/"></a>
<ahref="http://localhost/ocqmc_new/imagerotator/index.html"></a>
<ahref="http://localhost/ocqmc_new/imagerotator/"></a>

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 typehttp://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



44
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 fromhttp://www.tufat.com/download.php. You are welcome to post questions and feedback onhttp://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



45
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 <ahref as well as the <imgsrc but then again I did so much I was beginning to repeat myself lol. I will try the href tonite -- any special brackets or curlys to place in?

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



46
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 <imgsrc="http://localhost.ocqmc_new/imagerotator/index.html">
----
which shows the block title and a red x where the image should appear

I tried (which is the best option)
<imgsrc="http://localhost.ocqmc_new/imagerotator>
PREFERED METHOD
-----------------------------------------------------------I tried
<iframe> <imgsrc="http://localhost.ocqmc_new/imagerotator/index.html>
</iframe>
----
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



47
dizzymarkus
Re: same page appears for anon and reg --

PROBLEM SOLVED---------------------------

I feel so stupid lmao, ok heres how it went-- hwta happened and how I FIXED IT. sooooo stupid lmao


I uploaded new version and transfered my users table from old to new (make sure I could lol)

I had to take and add all members to the registered group after importing them all, somehow they were added to the anon group as members -- all I had to do was remove the members from the anon group --(should be in members group anyhow lol)--

IE: from members to non members and all is awsome again. Like I said i figured it was me and I got confused hehehehe I had my members listed as anon and reg -- see stupid lol

Thanks for all of everybody's help -- when ya get a response it tends to make you work at it a little harder.

Thanks for a great community and script,
Markus



48
dizzymarkus
Re: same page appears for anon and reg --

No I have a registered user and log in with him to check it. I learned my lesson last year with the admin pages lol

Thank you,
Markus


Trying the other suggestions this am and will post results !


Markus

---------------------------EDIT---------------------------

Thanks for the suggestions folks but to no avail it all seems to work the same way arrrrgggg lol -- it must be me because evertime i make a block for anon and log in it shows on reg even tho its unchecked for registeres and the registered group has no access. Ill keep playing with it but thank you all,
Markus


---------------------------END EDIT------------------------



49
dizzymarkus
Re: same page appears for anon and reg --

Thank you for your responses -- will try both tonite after work :0)

Markus


thanks greatly !!!!!


I believe I have been to group management and unchecked the box access rights for registered users -- for items not to show when logged in. If i go to blocks management and set show to "no" for registered users it doesnt show for either. Like 1 is controlling both lol thank you



50
dizzymarkus
same page appears for anon and reg --

Howdy,
First things first :0) My name is Markus and I have successfully used XOOPS for 1 complete year running a 1/4 midget racing site which actually did quite well-- many modules etc and no hiccups along the way **GREAT SCRIPT** ( page rank 2 in google(( quarter midget - search)) and over 170,000 hits wooo hooo lol -- So I am kinda new but not lol and thanks for the time to post.

On to the difficulties --

1. When going to the site (without loggin in) I see the page I would like anon to see with all rights and permissions set where I want them.

-- PROBLEM --

When I log in I see the same exact page as the anon home page, I go into admin and remove from registered group all those blocks I dont want to show after loggin in --POOF-- still there, I then go into permissions and deny right to these blocks for registered -- POOF still there -- or they dissappear for everyone all together. Very frustrating :0(

-- QUESTION--

How can I make a page thats totally different for anon as it is for reg ? --
I have no modules installed as of yet -- only a few custom blocks of text to work with. (so I can delete anything and start fresh) I would like the sides to stay the same while the center content changes. Maybe a outline of the steps or a hint as to what I may have missed. I am on a localhost atm so I cannot give a link but I hope someone can understand what I mean. I didnt seem to have this problem with last years version. XOOPS 2.0.13.2 -- I'm sure its something screwy on my end and missed something after reading the entire XOOPS FAQ, DOCUMENTATION, and FORUM SEARCH to find the problem myself.


Thanks for a great community & script,
Markus




TopTop
« 1 2 3 4 (5) 6 7 8 ... 11 »



Login

Who's Online

250 user(s) are online (153 user(s) are browsing Support Forums)


Members: 0


Guests: 250


more...

Donat-O-Meter

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

Latest GitHub Commits