Page 1 of 1

get linkman to appear in existing webpage

Posted: Thu Dec 03, 2009 12:47 pm
by skiptondivers
Linkmanager
Version:v1.7

Website:www.skiptondivers.co.uk

Short description:
I am wanting linkman to appear in an existing web page and also have it display centrally rather than on the left as it is now.
Is this possible and what do I need to do?
many thanks

p.s I have read the documentation and dont really understand it - sorry.

Posted: Fri Dec 04, 2009 6:16 am
by DC
Im not sure I understand your question, do you mean include the script into a page? if so it really cant do that without moding it a bit, as it is now it works with headers and footers.

DC

Posted: Fri Dec 04, 2009 10:01 am
by skiptondivers
Hi DC,
Yes, that was what my intentions were.
no worries then if it cant be done.
cheers

Posted: Fri Dec 04, 2009 3:46 pm
by DC
Ok now that I get what it is your trying to do, you may want to read what I have posted here for WP, does not matter if your using WP or not same basic mod will work. So it is not that it can't be done it is just that to do what your asking will require you to mod it a bit ... have a look here.

viewtopic.php?p=10775#10775

DC

Re: get linkman to appear in existing webpage

Posted: Wed Feb 19, 2014 11:50 pm
by TheMout
Hello - I have recently started using Linkman and need something like what is being asked for in this posting. I have read the follow-up articles but to me, it is all still "greek".

The reason that I need the links to appear in my own web pages is primarily due to SEO. The call to display each (of 7) pages is /resources/links.php (or /resources/links.php?page=1), /resources/links.php?page=2, /resources/links.php?page=3, etc... which is getting flagged by every SEO analysis package as duplicate pages, duplicate keywords, etc... the meta keywords, title, description are all the same because we can only define them in one place (e.g. header.txt) and they do not change based on what page is being displayed.

I tried removing everything in header.txt & footer.txt and making calls to display page 1 inline through iframe on one page, display page 2 inline through iframe on a different html page and that all actually worked great and looks great but the BIG problem is that none of the links can be found by others like another internet directory that requires a reciprocal link and checks your page for the existence of their listing -> the content for which they are searching for actually has to be found within the source code of the HTML page being displayed and it does not get embedded in the resulting HTML page displayed through these iFrames.

I like LinkMan and want to continue to use it but it hasn't been updated in many years, it does not have any support for categories, it cannot be optimized for SEO that is required these days (like the different meta tags for each page1, page2, page3, etc...). If there is some way I can get some assistance in getting this all working as needed, I might consider paying a little for the assistance.

Regards

Terry Moutray
terry.moutray@outlook.com

Re: get linkman to appear in existing webpage

Posted: Thu Feb 20, 2014 12:50 am
by DC
Are you trying to actually include the script in a php based page? If you are it was not orig designed to do so, But I have mod info and have extensively modified this script for a client so yes it can be done if thats what you need but you must mod the code a bit to include it in a site.

I can show you a mod example as well if needed.

As for as cats that is not available and would require a recode, I am sure Klem will answer on that but so far I see no mention of that feature, plus note this is a flat-file script not MYSQL so it is kept on the simpler side for a reason, you cant have thousands and thousands of links with this type of script, just an FYI. If you really need that I am sorry I do not think this script will work for you. if you just need the basics this is an excellent script. that and Klem writes nice secure code as compared to a lot of junk out there. I cant say that for other FREE scripts.

I can attest to that as I have been moding his scripts for a long time and have been deep into the code even supplied mods and fixes along the way used in the code, check out my mods/fixes throughout the forum. they may help you out.

Re: get linkman to appear in existing webpage

Posted: Thu Feb 20, 2014 2:33 am
by TheMout
The output from what one would normally get when invoking links.php?page=1 would be included in a HTML page - for purposes of this example I will call it resources_1.html. Output from invoking links.php?page=2 would then go to resources_2.html, etc...

That way, I can code in the header meta tags that would make each page unique enough to be considered different pages and the actual links that would be listed in each HTML page such that crawlers and reciprocal link checkers would find the actual <a href="http://link...> coded in the page. The way I have it now, in the iFrame, this is how I coded it:

<iframe src="http://<website>/resources/links.php?page=1/" width="1100" height="1600" frameborder="0" scrolling="no"</iframe>

And this is what is found when viewing the source code of the HTML when displayed in a browser:

<div><div id="106570059569400320" align="left" style="width: 100%; overflow-y: hidden;" class="wcustomhtml"><iframe src="http://<website>/resources/links.php?page=1/" width="1100" height="1600" frameborder="0" scrolling="no"</iframe></div>

Virtually no difference but what is seen to the user are the actual Thumbshot images and links and add listing form.

Re: get linkman to appear in existing webpage

Posted: Thu Feb 20, 2014 5:05 am
by DC
Even if you include it in a php page it would be using that as the master page.
So still not sure how you would get your tag info to be correct on each.

If you want to try to include it, I would check out my links to the mods.
Have you tried the mod.

Re: get linkman to appear in existing webpage

Posted: Thu Feb 20, 2014 2:24 pm
by TheMout
DC,

If you are referring to mod provided in link viewtopic.php?p=10775#10775, then the answer is no - I have not tried it for several reasons, not the least of which is that I have tried modifying this code in the past and have broken it each time. LOL

Tell you what - make you a deal... if you can provide me with a mod version of code that you believe could be integrated into a HTML page along with some changes to (1) increase site description from 200 to 500; site title from 50 to 100; and even a longer URL; and (2) mod such that the listings can be displayed in sorted order (by site title) in addition to new listings going either to top or bottom of list - I would definitely buy you a very nice"slice" of pizza either using that link you usually provide in your signature or a payment through PayPal. If you want to take this discussion further, outside of forum, please contact me via e-mail listed below. Thanks.

Regards

Terry Moutray
terry.moutray@outlook.com

Re: get linkman to appear in existing webpage

Posted: Thu Feb 20, 2014 2:53 pm
by DC
Thanks I have a few questions.

You mention HTML page why not do a PHP include into a PHP page or setup your server to process HTML as PHP. That way no Iframe or such would be needed. Is there a reason why you need to use that method.

In my opinion a true PHP include allowing total integration into a site could be done seamlessly and appear to be part of the page. Heres a test mod I did a ways back just to show how this code cane be tightly integrated to any PHP basic page. You can see this here, notice the top and bottom text you see, is just to show that this could be the surrounding page and container that includes our code call.

Also what is it being added to? is your site CMS based.

Have a look, again just an example in basic PHP page you will get the idea Note: it will not bounce out of the include page like the default script will, as it is no longer coded as stand alone code.

I might be able to help you do something like that.

Text is simulating the container header footer.
http://www.clickcraft.net/linktest3.php

Re: get linkman to appear in existing webpage

Posted: Sat Feb 22, 2014 10:43 pm
by TheMout
I see that the mod you provided is a link to a php page, not a html page - that's fine but I am a little wary about coding in php. I am barely proficient enough in html but I guess I can give it a shot and see how it goes. Please go ahead and make these requested changes to work as a include to a php page:

(1) increase site description from 200 to 500
(2) increase site title from 50 to 100
(3) increase length allowed for URL (not sure what current length is but could use at least 10-20 more)
(4) Listings can be displayed in sorted order (by site title) verses new listings either posted to top or bottom

Now, the page you provided as reference (http://www.clickcraft.net/linktest3.php) only had a few listings displayed - I'm assuming the mechanisms under the hood to control how many listings are displayed per page (set in control panel) and calling each page individually (e.g. <form method="post" action="/linktest3.php?page=1">, <form method="post" action="/linktest3.php?page=2">, etc...) would still work? In other words, I would have (currently) 6 php pages I would need to code up to display all of my listings at about 20 listings per page so I would also need to know how to create each php page with the include for page 1, another for page 2, etc...

This would be greatly appreciated if you provide such mod to this directory script. Last, but certainly not least - please indicate how "large" of a slice of pizza you would appreciate in return. :D