vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   Custom Postbits for Users (https://vborg.vbsupport.ru/showthread.php?t=43659)

Xenon 09-16-2002 10:00 PM

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 ;)

Xenon 09-17-2002 12:11 PM

screenshot how it looks in a thread

Xenon 09-17-2002 12:13 PM

screenshot of postbit chooser (logged in as Admin)

Logician 09-17-2002 12:32 PM

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

Xenon 09-17-2002 03:31 PM

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)

Neo 09-17-2002 05:31 PM

You forgot the pic for creating the postbit fool =P

Xenon 09-17-2002 06:03 PM

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 ;)

Neo 09-17-2002 06:53 PM

Hmmm are you sure it is saft to allow users access to edit the HTML directly?

traekwon 09-17-2002 07:05 PM

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.

Colon33 09-17-2002 08:04 PM

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.


All times are GMT. The time now is 11:16 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
  • Page Generation 0.01036 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete