MyBB Community Forums

Full Version: MyCode Issues / Help / Guidance
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello Friends,

I have to use MyCode for referral purposes.

What I am trying is like :

Regular Expression *
<a href="http://www.codesms.com/(.*?)"

Replacement *
<a href="http://www.mywebsite.com/links.php?$1?refid=abcdef"

But instead of applying replacement it is directly opening The link provided in the thread itself.


Also would like to know like is it possible to append the Thread poster user id or user name at the end of the external links which would help me to track that from which link that particular link has been opened...

eg.

the link posted is : http://www.google.com
on click should open like : http://mywebsite.com/links.php?http://ww...m?UID=user id or user name...

its just has to append user id or user name with UID...

I know these are too many and complex questions but I think according to the power of MyCode it is possible.

Thanks


Sorry for posting it in general Support... Mods please move it to : http://community.mybb.com/forum-117.html

no one to help with the same?
anyone with ideas?
You don't make use of the [MyCode] tags and not closing your link with an </a>