![]() |
Custom Postbits for Users
As some here already know, i'm coding a new hack which allows users to choose a custom postbit.
It's far away from being finished, but the main functions are included and should work. That's why i'm posting it in the Beta Sektion, i hope you can help finding Bugs. Also i want to ask for a little help: I don't like template works, so templates included in this beta are very functional and not really nice ones ;). if someone want's to help me writing nicer Templates i'll appreciate. BETA Version 0.52 What it does: Allows users to choose a custom postbit Allows users to create a custom postbit (must be validated before use) Allows Admin to create custom postbits for some users/usergroups only (not fully tested yet) WARNING: This Hack isn't finished yet. Use it at your own risk. The structure of the Hack can change dramatically in the future.. I'm not responsible for any problems occuring by using this BETA. (There shouldn't be any but who knows ;)) Current Work: All Adminfunctions are included in cpostbit.php now. this would change in one of the next versions, im currently working on ACP-Integrations ;) |
screenshot how it looks in a thread
|
screenshot of postbit chooser (logged in as Admin)
|
As I said in requests forum sometime ago, this hack would be a great addition to vb. Members/Mods or other special usergroups would be able to use their custom postbits which they can customize according to their taste and needs.
I want to stress for people reading this thread that this hack is not for only changing postbit template's color. Xenon's screenshot is just an sample. You can customize the entire template according to your wish like adding some profile field sections of the poster to the template, removing IP section from template, displaying posts inside differently designed HTML tables etc. (Stefan, I'm not wrong, am I?) :p So its really very powerful.. I believe it should not be in BETA section. I didnt test it yet but I dont need to test it to be sure hack is working ok, since Xenon is the coder. Great addition pal, thx for your hard work! :) Regards, Logician |
you're right pal, users can nearly change everything in the postbit template, just a few things have to be in it: Username, ip-link, report link, edit link.
and it's in the beta section because it's not completly finished yet. it's a working version, but admin functions are very limited now (i'm working on that point currently) |
You forgot the pic for creating the postbit fool =P
|
i haven't forgotten it, but as long as it's just a beta such screenshots aren't really important ;)
well here you are, and you see? a textbox right with a button below ;) |
Hmmm are you sure it is saft to allow users access to edit the HTML directly?
|
Make sure you add an option to turn off 'create your own postbit' in the admin cp... so only users can choose from the ones that are made by admins.
|
I dont think this hack is a really good idea because of the HTML directly. Perhaps just allowing them to add/remove colors and profile fields is the best choice. People can really mess up a board if the HTML for a certain postbit is completely wrong. Then how do you know which user it is cause the entire forum template would be jumbled.
|
Quote:
|
Ok i'll describe it a bit more:
User can create their own postbit, just they can use it then. Before they can use it it needs to be validated by an admin. As already said, there have to be some parts in it like $username aso. Also i have made a small checkroutine so the cannot use <script>-tags. it's planned to add an option for user not showing any custom postbits in threads. also as all hacks this one would be customizable so if you just want to allow mods a custom postbit you can add a small if clause... |
A new screenshot of the version i'm currently working on
it's not uploaded yet because i have to finish a few steps before i can upload it, but it's getting finished very soon on the screenshot you can see the newest postbit choosing screen. you can see a postbit completly different in using the tables. also you can see the red text "not validated yet". if you choose such a postbit, you'll get an error. also the edit links just occurs at postbits created by this author (the last one isn't created by this user so he can just choose it but not edit (it's a postbit usable for his whole usergroup)) |
This is awesome, mostly when I've just started on a new postbit design for my newest style on my forum :p
Keep up the good work Xenon ;) |
|
All times are GMT. The time now is 03:26 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|