[REQ] xedit BBCode

ducman998

New Member
This was great for a site I used to be an active admin on and was looking for it again (the owner of the old site is MIA or I'd ask him):

Code:
[xedit=ducman998]Something that needed editing.[/xedit]

Result:
003ot7.jpg


We used this to edit a users post if needed to let everyone know who edited it and why (you could add more than just the "ducman998" like a reason or something - i.e. some violation of a site rule, etc.)
 
Optional Step!
Admin Control Panel > Styles & Templates > Style Manager > dropdown: Main CSS > Browse all the way down to Additional CSS Definitions > And in the bottom textarea box enter:

Code:
.bbfieldset { margin-bottom: 1px; }
.bblegend { font-size: 13px; font-family: Verdana; }

And change it to your needs > Click SAVE button and continue to the next step.

Next Step!
Admin Control Panel > Custom BB Codes > Add New BB Code >
Title:

Code:
xedit

Tag:

Code:
xedit

Replacement:
Code:
<table width="90%" border="0" align="center" cellpadding="2" cellspacing="2"><tr><td><fieldset class="bbfieldset"><legend class="bblegend">{option}</legend>{param}</fieldset></td></tr></table>

Example:

Code:
[xedit=USERNAME]Something that needed editing[/xedit]

Use {option}: (x) Yes / ( ) No

You're all done!
 
Back
Top