Jump to content


- - - - -

[MA23] External Topic Referrals


27 replies to this topic

#21 Nuno

    Novice

  • Members
  • PipPip
  • 14 posts
  • Real Name:Nuno Brito
  • IPB Version:v2.3.x

Posted 10 January 2009 - 06:53 AM

*bump* ;)

#22 Nuno

    Novice

  • Members
  • PipPip
  • 14 posts
  • Real Name:Nuno Brito
  • IPB Version:v2.3.x

Posted 10 January 2009 - 07:52 AM

Hi again, sorry for the bump.

Previously I hadn't managed to make this mod work until I looked on the topic feedback, entered into the proper "Tools & Settings" group and modified all three boxes to enable the mod, include all forums and include all member groups.

-----------

Now something else, feedback.

This mod is fantastic but it is still not working good on my case because for some strange reason it is not being placed in line with the other elements:
Posted Image

I see this was also mentioned by other members, do you have any ideas about how to solve this?

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

My idea was to list the referrals at the bottom of the first topic and add perhaps limit to the 10 most popular clicked referrals.

Do you think it can be done?

Here is an example of a popular topic where your mod is being used:
http://www.boot-land...?showtopic=4900

-----------

In either case, thank you very much for sharing this mod, it means the world to me.

;)

#23 Nuno

    Novice

  • Members
  • PipPip
  • 14 posts
  • Real Name:Nuno Brito
  • IPB Version:v2.3.x

Posted 10 January 2009 - 09:39 AM

More feedback.

I've modified the code to wrap up google search links and show a pretty image with keywords instead of of a long URL.

Now there is another matter - my members subscribed to replies in topics and when they click a link from their email client this will reflect as a referral but this action shouldn't occur since it's not a valid link.

Do you have any idea where I can edit the code that sends the email messages and add the needed "&noref=1" to the forum link that is emailed?

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

Another thing on google, the URL is sometimes a bit different but there are cases when the search keywords are the same, this adds separate entries for the same search keywords.

If I fix this, I'll post my modified code.

Thanks.

;)

Edited by Nuno, 10 January 2009 - 09:39 AM.


#24 Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,033 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 10 January 2009 - 03:30 PM

View PostNuno, on Jan 10 2009, 08:52 AM, said:

Now something else, feedback.

This mod is fantastic but it is still not working good on my case because for some strange reason it is not being placed in line with the other elements:
Posted Image

I see this was also mentioned by other members, do you have any ideas about how to solve this?
That's the problem with custom skins. While it may work flawlessly on the default skins, it rarely does on those heavily customized skins.

Try this:
ACP -> Look & Feel -> <Select skin> -> Edit Template HTML -> Topic View -> topic_page_top
Find:
<!--[MA23]External Topic Referral start -->
		{$data['TOPIC']['referrals']['topic_menu']}
		<!--[MA23]External Topic Referral end -->
Move it above (This line should be just above the code you're moving):
<td width='1%' align='right' nowrap='nowrap'>


View PostNuno, on Jan 10 2009, 08:52 AM, said:

My idea was to list the referrals at the bottom of the first topic and add perhaps limit to the 10 most popular clicked referrals.

Do you think it can be done?

Here is an example of a popular topic where your mod is being used:
http://www.boot-land...?showtopic=4900
It can be done, but that will a custom, thus paid, job just for you.

View PostNuno, on Jan 10 2009, 10:39 AM, said:

More feedback.

I've modified the code to wrap up google search links and show a pretty image with keywords instead of of a long URL.

Now there is another matter - my members subscribed to replies in topics and when they click a link from their email client this will reflect as a referral but this action shouldn't occur since it's not a valid link.

Do you have any idea where I can edit the code that sends the email messages and add the needed "&noref=1" to the forum link that is emailed?
Open: ./cache/lang_cache/en/lang_email_content.php
Search trough the file, and look for "?showtopic=". Add "&noref=1" to each of those links.


View PostNuno, on Jan 10 2009, 10:39 AM, said:

Another thing on google, the URL is sometimes a bit different but there are cases when the search keywords are the same, this adds separate entries for the same search keywords.

If I fix this, I'll post my modified code.

Thanks.

;)
What you have to do, is to grab the content of "q=" from the URL, and build you're own. To save CPU time you should do when saving the referrer.

#25 Nuno

    Novice

  • Members
  • PipPip
  • 14 posts
  • Real Name:Nuno Brito
  • IPB Version:v2.3.x

Posted 10 January 2009 - 05:03 PM

Thank you for replying back.

It took me a while but eventually found email_content.php by myself and even changed the text on the default as it, really appreciate your effort in looking for this.

---

Quote

Try this:
ACP -> Look & Feel -> <Select skin> -> Edit Template HTML -> Topic View -> topic_page_top

This worked very well, thank you.


Quote

It can be done, but that will a custom, thus paid, job just for you.
It's not needed anymore, it stays better in the present way and I can change more things from here forward but I will nevertheless contribute a little something because you sure deserve it.. ;)

If you don't mind, will probably contact you in the future for paid support to add small customizations to mods from authors.


Quote

What you have to do, is to grab the content of "q=" from the URL, and build you're own. To save CPU time you should do when saving the referrer.
Google is tricky and there is another argument that could be confused by using the simple "q=" so I had to use both "&q=" and "?q=" to work better, thanks in any case.

:)

#26 DyCe

    Coder

  • Banned
  • PipPipPipPipPip
  • 126 posts
  • Real Name:DyCe
  • IPB Version:v2.3.x

Posted 07 February 2010 - 09:56 PM

work good but most of topic showing self domain referral where this mod installed and use to be. is there any way that not showed same domain in referral where this mod installed and used ?

#27 Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,033 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 08 February 2010 - 04:11 AM

I made it to take care of that. Can you send a link to a topic where I can see this issue?

#28 Musalman

    Analyzer

  • Members
  • PipPipPipPipPipPipPip
  • 520 posts
  • Location:Pakistan
  • Real Name:Intasar
  • IPB Version:v2.3.x
Contributor

Posted 02 March 2010 - 06:07 PM

Quote

work good but most of topic showing self domain referral where this mod installed and use to be. is there any way that not showed same domain in referral where this mod installed and used ?

Yes you are right i have try it before..

Quote

I made it to take care of that. Can you send a link to a topic where I can see this issue?

i think you will test it on localhost but it generate Index click in referral list. currently i don't have installed this but i try it before.

install it here just for test purpose and you will see if topic title show on index then it found self domain HIT in referral list for example mod installed on ecg.com then it show in the referral like http://ecg.com/ 2 clickes

Edited by intasar, 02 March 2010 - 06:08 PM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users