MyBB Community Forums

Full Version: Mycode request
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So I tried to make a mycode but it really did not work as I've never made mycode or even looked at them for that matter. Anyways, I'm trying to create a mycode for sig of week code that would look like this:

[Image: FngBE.png]

Thank you.
Regular Expression:
\[sig-of-week=(.*?)\]

HTML Replacement:
<img src="/sigoftheweek/$1.jpg" />

Usage in MyCode:
[sig-of-week=19-11-12]

For example this weeks sig of the week would be uploaded as 19-11-12.jpg in the sigoftheweek directory in the root.
(2012-11-21, 09:32 PM)JordanMussi Wrote: [ -> ]Regular Expression:
\[sig-of-week=(.*?)\]

HTML Replacement:
<img src="/sigoftheweek/$1.jpg" />

Usage in MyCode:
[sig-of-week=19-11-12]

For example this weeks sig of the week would be uploaded as 19-11-12.jpg in the sigoftheweek directory in the root.

Hello, first off, thanks. Second, let me clear it up abit. The Regular Expression should be [sotw=image link] not obviously that but you get the point. And it should make borders and in one square there would be "Signature of the week Entry " and below its borders would be bolded borders where it displays user's name. Then there would be image that user placed in the expression.

Then " I have read the rules pertaining to this week's Sig of the Week Competition, and would like to enter my image above. I acknowledge that if I vote for my own work when the poll is posted, I will be disqualified and banned for future SOTW Competisions. " would be below the actual image. Then the first borders could close this. And the rest is not needed really.

I know it's alot to ask but I've tried this about 5h together without making anything out of it. That's why I have to request this.


Thank you.
I'm not sure if what you want can be made with a MyCode Confused. Why not make a request