is their a code that can hide topsite links?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

is their a code that can hide topsite links?

Post by gaogier »

what i mean, is, on my site, its full of buttons, and all taht, which rank, per page, and i was wondering, if it would be possable to not show the link on my site...how can i do this?

thats if you understand what i mean.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Re: is their a code that can hide topsite links?

Post by volka »

gaogier wrote:thats if you understand what i mean.
not a clue.
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

Post by gaogier »

ok, i am tring to hide button links....


eg, this code....

Code: Select all

<a href="http://www.runescape100.com/in.php?id=251">
<img src="http://www.runescape100.com/button.php?id=251" border="0">
</a>
impulse()
Forum Regular
Posts: 748
Joined: Wed Aug 09, 2006 8:36 am
Location: Staffordshire, UK
Contact:

Post by impulse() »

Hide the HTML from people when they view the source?
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

Post by gaogier »

yes, i wish the code will not be seen, and also the button not to be seen
impulse()
Forum Regular
Posts: 748
Joined: Wed Aug 09, 2006 8:36 am
Location: Staffordshire, UK
Contact:

Post by impulse() »

I doubt that would be possible with PHP. Viewing the source shows what the browser sees. If you don't see it then the browser doesn't see it.

Why would you want to hide where the redirections are to? Even if you did manage to hide the redirection then the user would still be able to see where they are once they are redirected.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

The only way to make HTML not be visible in source is not having it there in the first place.

You'll need some Ajax-like behavior in order to mask the HTML.. but the real question is.. why would you want or need to do this?
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

Post by gaogier »

impulse() wrote:I doubt that would be possible with PHP. Viewing the source shows what the browser sees. If you don't see it then the browser doesn't see it.

Why would you want to hide where the redirections are to? Even if you did manage to hide the redirection then the user would still be able to see where they are once they are redirected.

ok, i am a little confused...i am asking, how can i hide the code from the web browser, if it needs to be hidden from the view source, then so be it, i just dont want to have hundreds of different buttons that will not match the new site design (currently designing it now)
feyd wrote:The only way to make HTML not be visible in source is not having it there in the first place.

You'll need some Ajax-like behavior in order to mask the HTML.. but the real question is.. why would you want or need to do this?
how about making it show in the source, but not have it show on the webpage?
impulse()
Forum Regular
Posts: 748
Joined: Wed Aug 09, 2006 8:36 am
Location: Staffordshire, UK
Contact:

Post by impulse() »

If you don't want those hundreds of buttons then remove the code for them.
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

Post by gaogier »

i need the topsites, its my main source of viewers
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

You can set the css attribute display to none for the link element.
But you really should check the rules of the toplist site before they check your site and (possibly) ban you.
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

Post by gaogier »

one says i am not allowed to modify the code, but thats it, i can easily get around that one, i know the guy who owns the topsites
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Make sure to get formally written permission to do so before proceeding.
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

Post by gaogier »

ok, once i have the written permission, what should i do next?

i can contact the guy who made the topsite list (http://www.aardvarktopsitesphp.com/), should i ask him?....i think i should...
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Sounds like you're trying to disable ads on a free hosting account? Hope I'm wrong.
Post Reply