[MA23] External Topic Referrals
#22
Posted 10 January 2009 - 02:52 AM
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:
http://img407.imageshack.us/img407/4632/capture1sf7.th.png
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
Posted 10 January 2009 - 04:39 AM
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.
;)
This post has been edited by Nuno: 10 January 2009 - 04:39 AM
#24
Posted 10 January 2009 - 10:30 AM
Nuno, on Jan 10 2009, 08:52 AM, said:
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:
http://img407.imageshack.us/img407/4632/capture1sf7.th.png
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'>
Nuno, on Jan 10 2009, 08:52 AM, said:
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.
Nuno, on Jan 10 2009, 10:39 AM, said:
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.
Nuno, on Jan 10 2009, 10:39 AM, said:
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
Posted 10 January 2009 - 12:03 PM
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
ACP -> Look & Feel -> <Select skin> -> Edit Template HTML -> Topic View -> topic_page_top
This worked very well, thank you.
Quote
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
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
Posted 07 February 2010 - 04:56 PM
#28
Posted 02 March 2010 - 01:07 PM
Quote
Yes you are right i have try it before..
Quote
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
This post has been edited by intasar: 02 March 2010 - 01:08 PM

Help




















