View Full Version : How to put moving news bar to my forum?
Majoor
11-06-2013, 09:26 PM
Hi there
I want to put the moving news bar of this site (www.najrannews.com) on the header of my forum
Exactly as it is (size, speed, color, all..)
Anybody can help me?
Thanks
jscheuer1
11-07-2013, 03:32 AM
The first thing to do is to contact the owner(s) of the site to find out if it's OK with them for you to publish their content. If it is, they may have a service you can sign up for. If it's not OK with them, we cannot help you.
Majoor
11-07-2013, 04:13 AM
My request is because of my friend's request (the owner of the site), they don't have such service or any idea how to do that
So, i did ask for help
There is some script or hack generated for that i don't know how to do it, if you can, i will be grateful.
thank you
Majoor
11-08-2013, 12:50 PM
Anybody there?
Majoor
11-09-2013, 03:05 PM
I'm still waiting guys, i need your help!
ajfmrf
11-09-2013, 07:32 PM
Have you done as John suggested?
djr33
11-09-2013, 07:45 PM
How do you want to get this content? If you have permission, it will be much easier than trying to, for example, extract the content from an existing page and copying it into your page automatically. Why not just copy it directly, with permission, from the owner? For example, copy the original source code from his website. Or connect to his database, etc.
This will be much easier if both websites are cooperating with each other. If none of the most basic versions work, you can try to create a (simple) custom API. For example, ask your friend to create a new page with exactly the same code as the existing page, but without anything else on that page. Then just use a PHP include (or other similar method) to include that into your page.
In theory, you could attempt to get all of the source code of that page, then delete the irrelevant information, then somehow integrate the remaining part into your page. But that's going to be incredibly complicated. Start with the simple version: talk to your friend and decide what the easiest way is.
Options, from easiest to hardest:
1. Get the information the same way on both websites. [for example, use the same database]
2. Have your friend send the information to your site-- create a basic API. [for example, a page with no content except this]
3. Parse the whole page and extract the information. [try to avoid this!]
At the moment, no one can really help you with this because it's completely unclear how you will be able to (or want to) do it. Once you have a clear idea you can ask us for more help.
Or you could post in the paid work requests section and give whoever you hire access to both websites.
Majoor
11-09-2013, 10:28 PM
How do you want to get this content? If you have permission, it will be much easier than trying to, for example, extract the content from an existing page and copying it into your page automatically. Why not just copy it directly, with permission, from the owner? For example, copy the original source code from his website. Or connect to his database, etc.
This will be much easier if both websites are cooperating with each other. If none of the most basic versions work, you can try to create a (simple) custom API. For example, ask your friend to create a new page with exactly the same code as the existing page, but without anything else on that page. Then just use a PHP include (or other similar method) to include that into your page.
In theory, you could attempt to get all of the source code of that page, then delete the irrelevant information, then somehow integrate the remaining part into your page. But that's going to be incredibly complicated. Start with the simple version: talk to your friend and decide what the easiest way is.
Options, from easiest to hardest:
1. Get the information the same way on both websites. [for example, use the same database]
2. Have your friend send the information to your site-- create a basic API. [for example, a page with no content except this]
3. Parse the whole page and extract the information. [try to avoid this!]
At the moment, no one can really help you with this because it's completely unclear how you will be able to (or want to) do it. Once you have a clear idea you can ask us for more help.
Or you could post in the paid work requests section and give whoever you hire access to both websites.
That's exactly what i need to understand first
Thank you very much, i will check that, then i will see
volkantr19
11-10-2013, 10:03 AM
Can you try this code please...
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
<title>New Page 1</title>
</head>
<body>
<div style="position:absolute; overflow:hidden; width:970px; height:33px;border:1px solid #999;">
<IFRAME style="top:-232px;left:-412px;position:absolute" name="1" src="http://www.najrannews.com/"
width="1798" height="1700" scrolling="no" frameborder="0" marginwidth="0" marginheight="0" ></IFRAME>
<div><div align="right" style="position:absolute;bottom:0px;right:0px;z-index:5000;">
</div>
</div>
</div>
</body>
</html>
djr33
11-10-2013, 06:57 PM
An iframe is an easy answer, but probably not a very good answer. It won't look very professional, especially when it would then be possible to scroll without that area to see the rest of the other page.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.