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)

Erwin 10-29-2002 10:00 PM

Custom User Title Editor with vBCode & Smilie Panel, Admin CP, Store/ Points 3.0
 
MAJOR UPDATE!!!


Custom User Title Editor with vBCode OR HTML with Admin CP Integration 3.0
Also with Lesane Store Hack Add-On AND Shinra Points Hack Integration!
------------------------------------------------------------------------



You can now allow your members to use vBCode OR HTML via their User Control Panel to add text effects, color, even smilies, to their Custom User Title.
The latest version, 3.0, even has a built-in vBcode and Smilie Panel for your members! There is even a preview panel at the bottom of the Editor!

Features:
---------


NEW! 1) Built-in Editor with vBCode and Smilie Panel!
NEW! 2) Preview Panel at the bottom of the Editor!
NEW! 3) Lesane Store Hack OR Shinra Points Hack Integration!

4) Use vBCode in Custom User Profile.
5) Use HTML in Custom User Profile (can be disabled).
6) Admin Control Panel Integration.
7) Block vBCode from being used in your Custom User Profile Censored Words field. :)
8) Set Maximum Number of Smilies allowed.
9) Stop users from trying to use HTML tags even with vBCode enabled.
10) Option to only allow Staff, or even just Admins to use this.


Update:
-------


Version 1.1 - Block vBCode from being used in your Custom User Profile Censored Words field.
Version 1.2 - Fixed up a bug that parsed HTML out for members.
Added option to set maximum number of smilies allowed.
Version 1.3 - Fixed up bug that allowed users to use HTML tags in custom user title.
Version 2.0 - Admin Control Panel Integration
Version 2.2 - Minor bug fix as members were not having words censored if vBCode disabled, or staff only
Version 2.3 - Fixed a Staff Only bug
Version 2.4 - Fixed it up so you can use either HTML or vBCode (not both)
Version 3.0 - Major Upgrade - Added vBCode and Smilie Panel Editor, added Store Hack/ Points Hack Integration


Installation:
----------------


5 files in ZIP

Install_CustomTitleEditor.php - A PHP file you run to install the new Admin CP settings (only for new installs)
NewInstallation.txt - For new installations
Upgrade.txt - To upgrade from previous versions of this hack
LesaneStoreHack.txt - To integrate into Lesane Store Hack - do this AFTER you install the hack.
ShinraPointsHack.txt - To integrate into Shinra Points Hack - do this AFTER you install the hack.


Enjoy!

Click the Install link at the bottom of this thread to receive updates.


Screenshots:
---------------


NEW!!! Screenshot of Custom User Title Editor!!!

https://vborg.vbsupport.ru/external/2010/10/8.gifAttachment: customusertitleeditor3.jpg
This is the screenshot of the Custom User Title Editor.


Screenshot of Admin CP Settings

https://vborg.vbsupport.ru/external/2010/10/8.gifAttachment: vbcodecustomtitle2.jpg
This is a screenshot of Admin CP.


Installation ZIP file:
------------------------

Larry@IOG 10-29-2002 11:34 PM

Sounds great but can we make it so only mods or admins have custom color or the ability?

Thanks in advance

Larry

Brad 10-29-2002 11:35 PM

[high]* Brad kicks install
[/high]

Thanks Erwin! :)

Erwin 10-29-2002 11:44 PM

Quote:

Originally posted by Larry@IOG
Sounds great but can we make it so only mods or admins have custom color or the ability?


Thanks in advance


Larry

I've added a "Staff-Only" option in my installation text file. It's easy to implement. :)

Larry@IOG 10-29-2002 11:59 PM

Quote:

Originally posted by Erwin


I've added a "Staff-Only" option in my installation text file. It's easy to implement. :)

I may be blind but I dont see it. BTW Your GREAT!!!!!


Larry

N9ne 10-30-2002 12:02 AM

Is it possible to disallow certain vBcodes?

Larry@IOG 10-30-2002 12:05 AM

One last thing. Can we make this access only to admins. Where Mods and such could not change it?

Larry

N9ne 10-30-2002 12:06 AM

Larry: For only admins, use this code instead:

[edit - refer to text file - trying to keep code in text file to prevent unlicensed members from getting this hack :) - Erwin]


Not tested but should work.

Erwin 10-30-2002 12:08 AM

Quote:

Originally posted by Larry@IOG
One last thing. Can we make this access only to admins. Where Mods and such could not change it?


Larry

I've made that an option in the text file as well. Download the new attachment. Make sure you clear your browser cache first.

Larry@IOG 10-30-2002 12:13 AM

Parse error: parse error, unexpected ')' in /home/log2377/public_html/vb/member.php on line 980 When tring to view a user profile. Any Ideal?

Larry

N9ne 10-30-2002 12:19 AM

Post the segment of code around line 980...

Larry@IOG 10-30-2002 12:19 AM

Fixed it. It was my fault LOL

Thanks GREAT ADDITION

Larry

N9ne 10-30-2002 12:20 AM

Glad you fixed it :)

Erwin 10-30-2002 01:12 AM

Ignore this post - it was about an update to 1.1 - we are now at version 2.0 - download latest version from 1st post. :)

Glenn379 10-30-2002 03:20 AM

*installs* Great hack,, I'll test it out soon enough ^_^

Erwin 10-30-2002 04:29 AM

Ignore this post - it was about an update to 1.3 - we are now at version 2.0 - download latest version from 1st post. :)

Neo 10-30-2002 04:44 AM

*blinks*

TECK 10-30-2002 05:33 AM

Quote:

Originally posted by N9ne
Larry: For only admins, use this code instead:

[edit - refer to text file - trying to keep code in text file to prevent unlicensed members from getting this hack :) - Erwin]


Not tested but should work.

unlicensed members cannot read the thread.

mADmAX` 10-30-2002 08:16 AM

I installed it but I change it and in my posts, it shows the code and doesnt do it.

Chris M 10-30-2002 09:33 AM

@TECK - Yes they can...They just cannot post;)

One of my members read one of my posts, but couldnt reply or download the screenshots/hack...

Edit: - I forgot to say what I originally was going to!:D - Great hack Erwin ; Works great on my offline board:) Im gonna try it on my online one later today;)

Satan

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!

Chris M 10-30-2002 01:26 PM

Dont be sorry:)

We are glad that you do fix the bugs;)

Satan

mADmAX` 10-30-2002 03:43 PM

Any clue as to why it will not parse the VB code but instead show the code? I am running 2.27, maybe it wont work on it?

Chris M 10-30-2002 04:01 PM

Did you make sure that you didnt include any "["s or "]"s in your Censor, and that Mods and Admins are exempt from Censor?

Satan

N9ne 10-30-2002 04:01 PM

This would definitely work with 2.2.7 as that particular code is hardly ever changed ;)

Chris M 10-30-2002 04:05 PM

Perhaps you have another Custom Title hack that is interfering?

Satan

mADmAX` 10-30-2002 04:08 PM

Yes, the settings are like it says and I do not have any brackers in the censor (I even removed them all to test it). The only custom title hack I have is the st7874hack. I am changing my title via the AdminCP...

Erwin 10-30-2002 06:37 PM

Quote:

Originally posted by mADmAX`
Yes, the settings are like it says and I do not have any brackers in the censor (I even removed them all to test it). The only custom title hack I have is the st7874hack. I am changing my title via the AdminCP...
Do NOT change the custom user title via the Admin CP. Each member must change it in their User CP. :) That's your problem.

Also, make sure you have switched this hack to ON in your Admin CP, vB Options, Custom User Title section. When you first install this hack, the default it OFF. And that you have not restricted this hack to Admin only.

N9ne 10-30-2002 07:08 PM

Great work Erwin, 2.1 Works perfectly :), I can't seem to find any bugs so all looks good...

Larry@IOG 10-30-2002 09:22 PM

Quote:

Originally posted by N9ne
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
I think alot of it was my fault


Larry

Erwin 10-31-2002 12:35 AM

Update 2.2 - Minor bug fix
---------------------------------

Sorry all, but I discovered an obscure bug that let members bypass the censor if vBCode was switched to Off, or Staff Only was switched to On. If vBCode is switched On, and Staff Only is Off this bug will not show up.

Just download the new vbcodetitle22.zip and replace to old code with the new one.

I apologize again. This really should be the last update. :)


All times are GMT. The time now is 04:44 PM.

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.01461 seconds
  • Memory Usage 1,821KB
  • 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
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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