Skocz do zawartości
lang.invisionize.pl

Jak tu zrobić, żeby zarobić ale się nienarobić?


insp

Rekomendowane odpowiedzi

  • Administratorzy

Hi would like to be able to rewrite url based on regexp conditions, only on rendering (I would not alterate the original message in database). Link1 Link2 Link3 Link4 Link5 For example, if a member posts a message with "https://www.banggood.com/product.php?var1=foo&var2=bar" I would like to display "https://www.banggood.com/product.php?newvar=whatiwant". As I have many websites to rewrite so I want to be able to filter with regexp, for exemple : *.banggood.com/*?* Most time I juste have to replace the whole content after the "?" (whitch is not a regexp) but if I can select some variables to keep it could be good.

Odnośnik do komentarza
Udostępnij na innych stronach

  • Odpowiedzi 25
  • Dodano
  • Ostatniej odpowiedzi

Top użytkownicy w tym temacie

  • Administratorzy

liquam tincidunt sem vitae mi pretium imperdiet. Aenean vitae tellus tellus. Vestibulum sapien quam, interdum sit amet mi sit amet, vulputate malesuada tortor. Aenean eleifend est in aliquam gravida. Morbi vitae ex facilisis, mollis elit quis, ultrices sem. Pellentesque sed tristique tortor, vitae condimentum ex. Morbi id volutpat ante.

Odnośnik do komentarza
Udostępnij na innych stronach

  • Administratorzy

liquam tincidunt sem vitae mi pretium imperdiet. Aenean vitae tellus tellus. Vestibulum sapien quam, interdum sit amet mi sit amet, vulputate malesuada tortor. Aenean eleifend est in aliquam gravida. Morbi vitae ex facilisis, mollis elit quis, ultrices sem. Pellentesque sed tristique tortor, vitae condimentum ex. Morbi id volutpat ante.

Odnośnik do komentarza
Udostępnij na innych stronach

  • Administratorzy

liquam tincidunt sem vitae mi pretium imperdiet. Aenean vitae tellus tellus. Vestibulum sapien quam, interdum sit amet mi sit amet, vulputate malesuada tortor. Aenean eleifend est in aliquam gravida. Morbi vitae ex facilisis, mollis elit quis, ultrices sem. Pellentesque sed tristique tortor, vitae condimentum ex. Morbi id volutpat ante.

Odnośnik do komentarza
Udostępnij na innych stronach

  • 1 rok później...
  • 9 miesięcy temu...
  • 1 miesiąc temu...
  • 5 tygodni później...
  • Administratorzy

Hi would like to be able to rewrite url based on regexp conditions, only on rendering (I would not alterate the original message in database). Link6 Link7 Link8 Link1 Link2 Link3 Link4 Link5 Link5 For example, if a member posts a message with "https://www.banggood.com/product.php?var1=foo&var2=bar" I would like to display "https://www.banggood.com/product.php?newvar=whatiwant". As I have many websites to rewrite so I want to be able to filter with regexp, for exemple : *.banggood.com/*?* Most time I juste have to replace the whole content after the "?" (whitch is not a regexp) but if I can select some variables to keep it could be good."

Odnośnik do komentarza
Udostępnij na innych stronach

  • 2 miesiące temu...
  • 4 tygodnie później...
  • 1 rok później...

Jeśli chcesz dodać odpowiedź, zaloguj się

Komentowanie zawartości tej strony możliwe jest po zalogowaniu



Zaloguj się

×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Umieściliśmy na Twoim urządzeniu pliki cookie, aby pomóc Ci usprawnić przeglądanie strony. Możesz dostosować ustawienia plików cookie, w przeciwnym wypadku zakładamy, że wyrażasz na to zgodę.