Free-D
01-02-2008, 10:00 PM
Everybody knows LiveJournal - the most famous blog service. I've made BBCode which inserts lj-user icon (with link to lj-user profile) and lj-user name (with link to lj-user's blog)... like <lj user> tag
So, go to AdminCP > Custom BB Codes > Add New BB Code and type
Title: LJ-user
Tag: lj
Replacement: <a href="http://livejournal.com/userinfo.bml?user={param}"><img src="images/editor/ljuser.gif" widht="17" height="17" border="0"></a><a href="http://{param}.livejournal.com/"><font size="2"><b>{param}</b></font></a>
Example: dimon-prodigy
Button Image (Optional): images/editor/ljuser.gif (in attach ;))
Also you must upload ljuser.gif to images/editor directory
All must look like
http://img89.imageshack.us/img89/6345/11388920dl2.png
http://img186.imageshack.us/img186/1449/57301785hb3.png
-----
If you want to remove underline just go to AdminCP > Styles & Templates > choose style > All style options > in Additional CSS Definitions add
.not_underline {
text-decoration: none;
} and click Save
Then all in Replacement: field replace with <a href="http://livejournal.com/userinfo.bml?user={param}"><img src="images/editor/ljuser.gif" widht="17" height="17" border="0"></a><a href="http://{param}.livejournal.com/" class="not_underline"><font size="2"><b>{param}</b></font></a>
http://img530.imageshack.us/img530/4619/78739375ef1.png
DEMO (http://svoboda.lg.ua/forum/showthread.php?t=319)
So, go to AdminCP > Custom BB Codes > Add New BB Code and type
Title: LJ-user
Tag: lj
Replacement: <a href="http://livejournal.com/userinfo.bml?user={param}"><img src="images/editor/ljuser.gif" widht="17" height="17" border="0"></a><a href="http://{param}.livejournal.com/"><font size="2"><b>{param}</b></font></a>
Example: dimon-prodigy
Button Image (Optional): images/editor/ljuser.gif (in attach ;))
Also you must upload ljuser.gif to images/editor directory
All must look like
http://img89.imageshack.us/img89/6345/11388920dl2.png
http://img186.imageshack.us/img186/1449/57301785hb3.png
-----
If you want to remove underline just go to AdminCP > Styles & Templates > choose style > All style options > in Additional CSS Definitions add
.not_underline {
text-decoration: none;
} and click Save
Then all in Replacement: field replace with <a href="http://livejournal.com/userinfo.bml?user={param}"><img src="images/editor/ljuser.gif" widht="17" height="17" border="0"></a><a href="http://{param}.livejournal.com/" class="not_underline"><font size="2"><b>{param}</b></font></a>
http://img530.imageshack.us/img530/4619/78739375ef1.png
DEMO (http://svoboda.lg.ua/forum/showthread.php?t=319)