Jump to content
Sign in to follow this  
spooks

Contribution: Reciprocal Links

Recommended Posts

Aroun line 90 of links.php you will find

 

<p style="margin-bottom:-28px;"> </p>

reduce the value to move the drop up (position will vary slightly by browser)

 

You can add Anti Robot Registration Validation http://www.oscommerce.com/community/contributions,1237 the support thread of that has instructions on how to add it to any page


Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Share this post


Link to post
Share on other sites

Thanks Sam,

 

I reduced it to 22 and it fits perfectly now. And because I have re-Captcha installed I don't want to have a conflict with Anti-Robot Registration. But I'll have a look anyway.

 

Thanks once again.

Share this post


Link to post
Share on other sites

I`ve looked at re-Captcha but I`m not that keen on using a external service, espesially as it means its easier for the hackers to learn to defeat. I note the forum (that now uses it) is starting to get more & more attacks again.


Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Share this post


Link to post
Share on other sites

SEO-Urls...

 

I have activated SEO URLs and can´t get use category:

http://www.minniwelt.de/links.php?category=2

 

404...

 

Need i something more in my .htaccess? Looks like:

 

Options +FollowSymLinks
RewriteEngine On
RewriteBase /

RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-m-([0-9]+).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pi-([0-9]+).html$ popup_image.php?pID=$2&%{QUERY_STRING}
RewriteRule ^(.*)-t-([0-9]+).html$ articles.php?tPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-a-([0-9]+).html$ article_info.php?articles_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pr-([0-9]+).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pri-([0-9]+).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-i-([0-9]+).html$ information.php?info_id=$2&%{QUERY_STRING}

 

Thanks and greetings!

Share this post


Link to post
Share on other sites
SEO-Urls...

 

 

There is no links.php in your htaccess, so it should be unaffected!!

 

I have used this on a site with Ultimate SEO URLs v2.1d without issue, the only other SEO package I would consider is ULTIMATE Seo Urls 5, what r u using?

 

What page is being requested to get the 404?


Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Share this post


Link to post
Share on other sites

I've succesfully instaled RecLinks contri. I also have installed SiteMonitor and also SecurityPro_1.0.2. When I'm trying to access Reciprocal Links from admin I get the following error:

 

The server encountered an internal error or misconfiguration and was unable to complete your request.

 

Please contact the server administrator, webmaster@bengelskinderkleding.eu and inform them of the time the error occurred, and anything you might have done that may have caused the error.

 

More information about this error may be available in the server error log.

 

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e-fips-rhel5 DAV/2 mod_bwlimited/1.4 Server at www.bengelskinderkleding.eu Port 80

 

What is to do?

Share this post


Link to post
Share on other sites

Look in your htaccess files, likely the issue is there.


Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Share this post


Link to post
Share on other sites

Hello

all is good in my instal

In addmin I have thumbshots images

but not in front,

Have you an idea

Thank's

Francois

Share this post


Link to post
Share on other sites

Hello

all is good in my instal

In addmin I have thumbshots images

but not in front,

Have you an idea

Thank's

Francois

 

 

Check your install again, and that you have emabled the links in admin. smile.gif


Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Share this post


Link to post
Share on other sites

thank's for your fast response.

links.php is the file in your contribution.

I am not modified it.

The links appears in the front but not thumbshots images

if I replace

<td width="130" align="center"><?php echo  '<a ' . ($links_tree['link_found'] ? '' : 'rel="nofollow" ') . 'href="'.$links_tree['link_url'] . '" target="' . $target . '" >';
		 if (!$links_tree['links_image']) { 
		         $pics_array[$i] = 'http://open.thumbshots.org/image.pxf?url=' . $links_tree['link_url']; 
						echo tep_image(DIR_WS_IMAGES . 'loading.jpg',$links_tree['link_title'],120,90,'name="pic' . $i . '"');$i++;
						} else { 
						echo tep_image(DIR_WS_IMAGES . 'links/' . $links_tree['links_image'],$links_tree['link_title'],'120','90');
						}'</a>'; ?>
</td>

 

by

 

<td width="130"><?php echo  '<a ' . ($links_tree['link_found'] ? '' : 'rel="nofollow" ') . 'href='.$links_tree['link_url'];?>"><img src="http://open.thumbshots.org/image.pxf?url=<?php echo $links_tree['link_url'];?>" border="0" alt="<?php echo $links_tree['link_title'] ?>" vspace="3"></a></td>

 

all is ok but not in according with your developement for images

Share this post


Link to post
Share on other sites

 

 

Its hard to tell what u are saying, the code changes u made remove the check & display of your own link images, so I assume u added some, but don't want them, just delete in admin. smile.gif


Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Share this post


Link to post
Share on other sites

this my admin

 

091113084816797973.gif

 

this my front

 

091113085158289778.gif

 

with your code

I dont change any thing

 

thumbshots are ok in admin but not in front

Why?

 

my osco is rc1

Edited by francois21

Share this post


Link to post
Share on other sites

I replace in links.php

 

<td width="130" align="center"><?php echo '<a ' . ($links_tree['link_found'] ? '' : 'rel="nofollow" ') . 'href="'.$links_tree['link_url'] . '" target="' . $target . '" >';

if (!$links_tree['links_image']) {

$pics_array[$i] = 'http://open.thumbshots.org/image.pxf?url=' . $links_tree['link_url'];

echo tep_image(DIR_WS_IMAGES . 'loading.jpg',$links_tree['link_title'],120,90,'name="pic' . $i . '"');$i++;

} else {

echo tep_image(DIR_WS_IMAGES . 'links/' . $links_tree['links_image'],$links_tree['link_title'],'120','90');

} ?>

</a></td>

 

 

 

with

 

<td width="130" align="center"><?php echo '<a ' . ($links_tree['link_found'] ? '' : 'rel="nofollow" ') . 'href="'.$links_tree['link_url'] . '" target="' . $target . '" >';

if (!$links_tree['links_image']) { ?>

<img src="http://open.thumbshots.org/image.pxf?url=<?php echo $links_tree['link_url'];?>" border="0" alt="<?php echo $links_tree['link_title'] ?>" vspace="3">

<?php /* $pics_array[$i] = 'http://open.thumbshots.org/image.pxf?url=' . $links_tree['link_url'];

echo tep_image(DIR_WS_IMAGES . 'loading.jpg',$links_tree['link_title'],120,90,'name="pic' . $i . '"');$i++; */?>

<?php } else {

echo tep_image(DIR_WS_IMAGES . 'links/' . $links_tree['links_image'],$links_tree['link_title'],'120','90');

}'</a>'; ?>

</td>

 

Now all is OK

 

If you have an other solution!!

Share this post


Link to post
Share on other sites

 

 

Sorry, I`ve just twigged whats going on here, it sometimes hard to work out what some are saying & with no link.... sweatingbullets.gif

 

1st You have failed to upload loading.jpg to your images folder

 

2nd It would appear the javascript is not running, that may be due to the above, or other javascipts failing on your site, or just a peculiality of your browser. wink.gif


Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Share this post


Link to post
Share on other sites

Hello

In front of the shop on the page link_submit

I have the field URL with reciprocal link:

if I put for exemple

http://www.mysite.com/infos.php?lang=1&info=9

and submit

 

in admin

in the field Reciprocal Link:

I have

http://www.mysite.com/infos.phplang=1info=9

 

The character ? and & are not (disappear)

 

If in admin I correct

http://www.mysite.com/infos.phplang=1info=9

by

http://www.mysite.com/infos.php?lang=1&info=9

 

and update the characteres are OK

 

Thanks and excuse my bad english

Share this post


Link to post
Share on other sites

This inputs on the shop side are cleaned to remove any dangerous characters, to stop any hacking attempts http://forums.oscommerce.com/topic/313323-how-to-secure-your-site/

 

Are you sure people will need to include query strings in the url?

 

To allow additional chars, add them to the line:

 

$_POST[$key] = preg_replace("/[^ \/\na-zA-Z0-9@:{}_.-]/i", "", urldecode($_POST[$key]));

 

 


Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Share this post


Link to post
Share on other sites

Hello to all,

I have problem for registering utf-8 codes, like persian characters.

for instance when someone wants to enter his sitena, or his name in persian character, an error will occured in next step and nothing will register in system. this problem is not consist in admin side of this program.

Please solve this problem.

regards.

Share this post


Link to post
Share on other sites

Hello (first sorry for my english, i now is horrible)

 

Thanks for the contribution is fantastic, all work right, well, one think don,t work for me.

 

I can add a reciprocal link right, and have a nice look in front page, is ok. Buy my reciprocal link, dont have image, is like this:

 

<a href="http://www.divingmania.es/tienda">Divingmania.es - Tienda de buceo</a>-Realiza tu compras de buceo en un entorno seguro y profesional. No solo el precio te sorprendera.

 

is just text. How i can have also image in the link? (i know i can put the image in the code but i think this contribution must be ready for get image and i do something wrong)

 

Another think is, how i can put a break line in my link, like...

 

<a href="http://www.divingmania.es/tienda">Divingmania.es - Tienda de buceo</a> <br> -Realiza tu compras de buceo en un entorno seguro y profesional. No solo el precio te sorprendera.

 

(But not in the language file)

 

 

Thanks.

Share this post


Link to post
Share on other sites

We have installed this contribution. It makes the job very easy but thumb images are not being displayed on the catalogue side (says "image loading"). visit the URL below to check. The thumbs are displayed fine on admin side. Please let me know the solution asap.

http://www.thecheaplaptops.co.uk/links.php

Edited by sahilsaid

Share this post


Link to post
Share on other sites

Hi! i noticed that these definitions are missing into includes/languages/yourlanguage/links.php

 

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

define('MSSUG','Suggest a new Category');

define('MSCAT','Category');

define('MSCHOSE','Select a Category');

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

I have the same problem with Image loading appearing only in admin side, working on it :)


Advice on forum are Free, Email or Pm to fix your site is work...which I charge for :)

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

Share this post


Link to post
Share on other sites

I fixed the "image" not being updated following Francois advice on top.I think that should be implemented as standalone into the contribution pack!


Advice on forum are Free, Email or Pm to fix your site is work...which I charge for :)

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

Share this post


Link to post
Share on other sites

Can this be used on OSCmax 2.5.2 ?

 

I think I have the admin section working but am having trouble with the catalog side. Can anyone assist me?

 

Thanks

Share this post


Link to post
Share on other sites

i do not have a information.php file where do i get this file or am i looking in the wrong place for it?

l Open the file in "includes\boxes\information.php"

find the code:

'<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' .

BOX_INFORMATION_CONDITIONS . '</a><br>' .

Add after:

'<a href="' . tep_href_link('links.php') . '">' . 'Links Page' . '</a><br>' .

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×