Skocz do zawartości
Hosting webh.pl - 20%

(DP45) Advanced Regexp

Rekomendowane odpowiedzi

Opublikowano
  • Manager

(DP45) Advanced Regexp

Zobacz plik

With this fancy app you may earn money by changing and modyfing the affiliate urls adding by members on your board! 🙂

It maybe isn't beatifiull app but it's very good and brings new opportunities.

For example Amazon affiliate urls contain "tag" parameter which may be modified by adding your own value for that parameter or simply added into url.

Application is flexible so you may define your own affiliate parameters - "refby", "referredby" etc.

You may also delete specified parameters from urls or keep any.

You may also create custom CSS class and highlight any urls you like by your own CSS look.

 

Example:

Someone post this url:

https://www.amazon.com/dp/B01WSEEFBA/ref=gw_fr_desk_h1_sh_slp_apos_0079?pf_rd_p=565456y3-f7d5-4b98-a4e5-72ff4fdd68f6&pf_rd_r=9RY38PVVHBF63YEEXE

It would change to that (with tag parameter):

https://www.amazon.com/dp/B01WSEEFBA/ref=gw_fr_desk_h1_sh_slp_apos_0079?pf_rd_p=565456y3-f7d5-4b98-a4e5-72ff4fdd68f6&pf_rd_r=9RY38PVVHBF63YEEXE&tag=utk-21

 

Another example (with tag parameter):

https://www.amazon.com/photo-TV-mp3-Hifi-GPS/b/ref=as_li_ss_tl?ie=UTF8&node=6547&linkCode=sl2&tag=tectes-31&linkId=cb76a59714b8493b75a565404838885c00e&language=fr_FR

It would change to:

https://www.amazon.com/photo-TV-mp3-Hifi-GPS/b/ref=as_li_ss_tl?ie=UTF8&node=6547&linkCode=sl2&tag=utk-21&linkId=cb76a59714b8493b75a565404838885c00e&language=fr_FR

 

intermedia - profesjonalne rozwiązania Invision Power Board, IC5

  • 4 miesiące temu...
Opublikowano

Hi @DawPi, I found a bug in this whereas if you have two params to replaced/update and the values both include % symbols, the AdminCP settings won't save and all the params defined get wiped out on Save.

Opublikowano
7 godzin temu, DawPi napisał(a):

Hello,

I need exact examples please.:)

 

I'll PM you values as they are for my affiliate linking.  It's not the %, I'm not sure what is causing it.  These particular values only have _ and - in them, but if I do something like a_b-c they save fine.  However the longer values I have for my links don't save and wipe out all params.

Opublikowano
12 godzin temu, DawPi napisał(a):

@Clover13, works fine now?

 

Question Mark What GIF

 

The values I PMed you didn't work and now do work with no code changes?

Opublikowano
Godzinę temu, DawPi napisał(a):

Not sure what you mean. I've fixed this:

 

 

Is there an update somewhere that was published?  My update check isn't showing anything.

Opublikowano

I see it there now on this site, I downloaded it, will test later and let you know 👍

Opublikowano
  • Autor
  • Manager
17 godzin temu, Clover13 napisał(a):

 

Is there an update somewhere that was published?  My update check isn't showing anything.

Enable notify about updates here:

obraz.png

 

13 godzin temu, Clover13 napisał(a):

looks good now, thanks!

Good to know! ;)

 

intermedia - profesjonalne rozwiązania Invision Power Board, IC5

  • 3 miesiące temu...
Opublikowano

Hi @DawPi, just wanted to confirm this only works with topics, comments, etc.  Other IPS apps that may create links would not be updated by this (i.e. using Adriano's Links Directory)

Opublikowano
5 hours ago, DawPi said:

It works only with Topics. :)

{
    "advancedRegexpsIpsForumsTopic": {
        "type": "C",
        "class": "\\IPS\\forums\\Topic"
    }
}

 

 

OK thank you, I'll have to work out a different approach.

Opublikowano
4 hours ago, DawPi said:

Do you want to extend my app into another app content maybe?

If you'd like to, that would be excellent and much appreciated!  In my case, it would have to work with other areas such as the third party app I mentioned earlier.  Really anywhere there is an affiliate type link that I have configured an override for in Advanced Regexp, I'd want to be effective anywhere a link is placed in IPS (Topics, Pages, Events, third party apps, comments, replies, etc).  

  • 1 miesiąc temu...
Opublikowano
  • Autor
  • Manager
1 godzinę temu, Emediate napisał(a):

Does this use any hooks? Ie. Will it continue working in next version of IPS?

I don't know. I didn't see the IC5 code yet.

1 godzinę temu, Emediate napisał(a):

Does this use any hooks?

Yep, one hook.

intermedia - profesjonalne rozwiązania Invision Power Board, IC5

Opublikowano

So it won't work then if it has a hook.

Does the price include IC5 upgrade to app?

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Ostatnio przeglądający 0

  • Brak zarejestrowanych użytkowników przeglądających tę stronę.

Szukaj

Szukaj

Skonfiguruj powiadomienia push w przeglądarce

Chrome (Android)
  1. Stuknij ikonę kłódki obok paska adresu.
  2. Stuknij Uprawnienia → Powiadomienia.
  3. Dostosuj swoje ustawienie.
Chrome (Komputer)
  1. Kliknij ikonę kłódki na pasku adresu.
  2. Wybierz Ustawienia witryny.
  3. Znajdź Powiadomienia i dostosuj swoje ustawienie.