vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Custom User Title Editor with vBCode & Smilie Panel, Admin CP, Store/ Points 3.0 (https://vborg.vbsupport.ru/showthread.php?t=45181)

Schorsch 10-30-2002 09:42 AM

is ist possible that the users only can change the color, text effects, etc... of a fixed title, so that they arent´t allowed to change their title !? :banana:

Erwin 10-30-2002 11:00 AM

Update - Version 2.0 - Now with option to use vBCode, HTML or both, with Admin CP Integration!

This is a major update. Please download the ZIP file and install the newest version.

The code is much better. There is now Admin CP Integration - you will get additional options under your Custom User Title section of your vBulletin Options settings, that allows you to:

1) Choose whether you want to switch this hack on.
2) Choose whether you want to enable or disable HTML.
3) Choose how many smilies to show, or none at all.
4) Choose to only enable this for Admins and Mods only.

All via your Admin CP! :)

To upgrade from previous versions:

1) Run the new install_customtitle.php file in your admin directory.
2) Copy the new code and replace the old code in your member.php
3) Set up the options in your Admin CP, and you're done!

Let me know how it goes... ;)


Screenshot of the Admin CP:
------------------------------------

Updated...

DrkFusion 10-30-2002 11:01 AM

Thanks Erwin, I will install this when I get back.
Good job once again :thumbsup:

-Arunan

Chris M 10-30-2002 11:05 AM

Great addon:)

Satan

Erwin 10-30-2002 11:08 AM

Quote:

Originally posted by TECK
unlicensed members cannot read the thread.
Instructions to post hacks:

Please attache the hacking instructions in a text file of some sort, so that users can download and use them again in the case of a vBulletin upgrade.

We have been told to put hacks in an attachment to prevent unlicensed members from getting them.

Erwin 10-30-2002 11:09 AM

Quote:

Originally posted by mADmAX`
I installed it but I change it and in my posts, it shows the code and doesnt do it.
Install version 2 - it should work better. Just set it up so that it is not restricted to staff only.

Erwin 10-30-2002 11:13 AM

Quote:

Originally posted by Schorsch
is ist possible that the users only can change the color, text effects, etc... of a fixed title, so that they arent?t allowed to change their title !? :banana:
Fixed title? For that you don't need a hack at all. )

Just make up a custom user profile for color (get your users to put in the color "red" or the hex "#000000" in there), remember the field id.

Then make another one for font face (get your users to put in the font eg. "Arial" or "Verdana")

Then in postbit:

Replace:

$post[usertitle]

With this:

<font color=$post[userfieldx] face=$post[userfieldy]>$post[usertitle]</font>

Replace x with the id number of the color custom user profile, and y with the id of the font face one. :) Done! No hacking needed.

N9ne 10-30-2002 11:28 AM

LMAO Erwin! You released this hack last night, that was v1, then you released 1.1 very soon after, then 1.2 and 1.3 came in the same post, and now v2!! Will install right away, I love adminCP integrations :D

Erwin 10-30-2002 11:32 AM

LOL! I kept getting ideas to improve the hack. It started off with just 1 line of extra code, and has grown to what it is now. Unless there are bugs, this is it, no more updates! :)

Erwin 10-30-2002 01:20 PM

Update - Version 2.1
--------------------------

This is to fix a bug that prevents you from banning vBCode or HTML tags in the censor box. Took me a while to figure out why - it's 2:15 am here in Melbourne!

Finally - everything appears to work fine.

Just replace the old code with the new to upgrade from version 2.0. I apologize for all the updates - as I find bugs, I fix them, and release the update. :)

To ban certain codes, just enter the vBCode or HTML tags in the Censored Words field under Custom User Title section.

Do NOT use [ or < in that field - it will intefere with the hack.

Use this format:

img url javascript

Enjoy! This should be the final version!


All times are GMT. The time now is 06:14 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.01272 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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