Invision Modding: [MA23] External Topic Referrals - Invision Modding

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

[MA23] External Topic Referrals Rate Topic: -----

#21 User is offline   Nuno 

  • Novice
  • PipPip
  • Group: Members
  • Posts: 14
  • Joined: 22-October 07
  • Real Name:Nuno Brito
  • IPB Version:v2.3.x

Posted 10 January 2009 - 01:53 AM

*bump* ;)
0

#22 User is offline   Nuno 

  • Novice
  • PipPip
  • Group: Members
  • Posts: 14
  • Joined: 22-October 07
  • Real Name:Nuno Brito
  • IPB Version:v2.3.x

Posted 10 January 2009 - 02: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:
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.

;)
0

#23 User is offline   Nuno 

  • Novice
  • PipPip
  • Group: Members
  • Posts: 14
  • Joined: 22-October 07
  • Real Name:Nuno Brito
  • IPB Version:v2.3.x

Posted 10 January 2009 - 04: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.

;)

This post has been edited by Nuno: 10 January 2009 - 04:39 AM

0

#24 User is offline   Martin 

  • But but, it's not only only!
  • PipPipPipPipPipPipPipPipPipPip
  • View blog
  • View gallery
  • Group: Management
  • Posts: 6,562
  • Joined: 04-January 07
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.1.x

Posted 10 January 2009 - 10:30 AM

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:
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'>



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.
0

#25 User is offline   Nuno 

  • Novice
  • PipPip
  • Group: Members
  • Posts: 14
  • Joined: 22-October 07
  • Real Name:Nuno Brito
  • IPB Version:v2.3.x

Posted 10 January 2009 - 12: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.

:)
0

#26 User is offline   DyCe 

  • Advanced Member
  • PipPipPipPip
  • Group: Members
  • Posts: 94
  • Joined: 30-April 09
  • Real Name:DyCe
  • IPB Version:v2.3.x

Posted 07 February 2010 - 04: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 ?
0

#27 User is offline   Martin 

  • But but, it's not only only!
  • PipPipPipPipPipPipPipPipPipPip
  • View blog
  • View gallery
  • Group: Management
  • Posts: 6,562
  • Joined: 04-January 07
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.1.x

Posted 07 February 2010 - 11:11 PM

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

#28 User is offline   intasar 

  • Analyzer
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 355
  • Joined: 07-October 07
  • Location:Pakistan
  • Real Name:Intasar
  • IPB Version:v2.3.x

Posted 02 March 2010 - 01: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

This post has been edited by intasar: 02 March 2010 - 01:08 PM

0

Share this topic:


  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users