The real vBTEAM admin/mod bbcode

Hoxxy

New Member
Ok so as many of you are trying to copy our funky admin/mod bbcode that I made and failing miserably (with the code not the look) I have decided to release it to you all:

Title:Mod
BB Code Tag Name:mod
Replacement:
Code:
<p class="mod_bb"><img src="[color=Red]path/to/image/[/color]modicon.png" alt=""/>&nbsp;&nbsp;{param}</p>

Example:
[mod ]Notice text[/mod ] (without spaces)
Description: Whatever you want
Next 6 options: No, N/A Yes, No, No, No

Save

Now open your styles style manager and add this css to the additional css box at the bottom:

Code:
/* ADMIN / MOD NOTICE */
.mod_bb
{
        background:#F5C7CD;
        color:#8a1f11;
        padding:.8em;
        margin-bottom:1.6em;
        border:2px solid #DC364E;
}
.mod_bb img
{
        position:relative;
        top:2px;
}

Dont forget to replace the path/to/image in the replacement field (highlighted in red) to where you uploaded the image below to.

[mod]This is for admin and mods use only, anyone found using here at vBTEAM will be banned simple as that![/mod]
 

NyCrAzY

New Member
How can I make this function only for admins?

It seems like my registered members can use this function as well.

Thanks Hoxxy.
 

Error 404

New Member
Yea, its pretty much no point installing it unless its possible to put a permission on a BBcode. Thanks Hoxxy tho..
 

NyCrAzY

New Member
Hoxxy said:
See above for how to stop General members from using...

Note:
Above warnings stand!

I don't see any instructions above for how to stop General Members from stop using it.
 

Error 404

New Member
What the heck...

After the putting the CSS into an Additional Textarea and pressing Submit, I get this :

Required variables have gone missing and execution can not continue. Please try again.

This error can sometimes occur as a result of Suhosin / Hardened PHP being installed on your server. If you know that you have Suhosin running and you have access to the PHP configuration, try increasing the value of the following variables:

* php_value suhosin.post.max_vars
* php_value suhosin.request.max_vars

Anyone got any idea what tha ?
 

Error 404

New Member
Aww, i added those lines along with 1024 behind them in .htaccess, and was getting Internal Error 500... Then i deleted those 2 lines from .htaccess, and forum was working again =/ sad..
 

Hoxxy

New Member
Pixel3 said:
can you help me? it wont work 3.7.4 im doing something wrong i gues.s

bbcode works but not the css part.

PM me your forums login details and I will ty to impliment it for you.
 

Error 404

New Member
Hoxxy, i would need some hand with this too please =/
When i put CSS in, it says something about variables.
Well, i go in .htaccess and drop those 2 lines and number 1024 beside them.
But when i go to forum then it gives me Internal Error 500 =/
I fixxed it by taking those 2 lines out, but... I would really need something like this on my forum, cuz i Tried the "Fancy Warning BBcode" from the other guy, and it didnt work either =/
 

Hoxxy

New Member
Wassap said:
Hoxxy, i would need some hand with this too please =/
When i put CSS in, it says something about variables.
Well, i go in .htaccess and drop those 2 lines and number 1024 beside them.
But when i go to forum then it gives me Internal Error 500 =/
I fixxed it by taking those 2 lines out, but... I would really need something like this on my forum, cuz i Tried the "Fancy Warning BBcode" from the other guy, and it didnt work either =/

something about variables = Suhosin limit ?

anyway..

ok so open "headinclude" and find:
Code:
<!-- / CSS Stylesheet -->

below that add:
Code:
<style type="text/css">

Add the css here 

</style>

and stick the css where it says "Add the css here"

save
 
Top