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)

kmfdm_kid2000 11-03-2002 01:36 PM

Erwin, You Rock, 'nuff said. Keep up the GREAT Work, and I'll be installing this one for SURE!!!

\ \ - Speedy - / / 11-04-2002 12:45 AM

Probelm :( I installed this twice . . so all of the options show up twice .. how can I dealte one set of them :(?


The Legend of Speedy

Erwin 11-04-2002 01:35 AM

Mmm... go to PHPMYADMIN, to the "setting" table, and go to the very end, and drop the extrav duplicate columns. I cannot give you the query to drop them since the settingids for every database is different depending on how many hacks you have added to it.

\ \ - Speedy - / / 11-04-2002 01:39 AM

I dont see that I see this . .

Field Type Attributes Null Default Extra Action
settingid smallint(5) UNSIGNED No auto_increment Change Drop Primary Index Unique Fulltext
settinggroupid smallint(5) UNSIGNED No 0 Change Drop Primary Index Unique Fulltext
title varchar(100) No Change Drop Primary Index Unique Fulltext
varname varchar(100) No Change Drop Primary Index Unique Fulltext
value mediumtext No Change Drop Primary Index Unique Fulltext
description mediumtext No Change Drop Primary Index Unique Fulltext
optioncode mediumtext No Change Drop Primary Index Unique Fulltext
displayorder smallint(5) UNSIGNED No 0 Change Drop Primary Index Unique Fulltext
With selected: Or

I dont know if this is readable to you though :-\

Erwin 11-04-2002 01:42 AM

When you see that, click on "Browse". A list of all your setting options will be displayed. Go to the last page, and the latest settings should display. DROP the duplicate ones.

\ \ - Speedy - / / 11-04-2002 02:27 AM

thankx ;) that worked like a charm ;)


The Legned of Speedy

GeorgeofCS 11-07-2002 11:59 PM

I installed this and if I set it to restrict code to staff it doesn't allow anyone to use the code. Works if you set it so everyone can use it.

Erwin 11-08-2002 02:45 AM

Not even staff?

GeorgeofCS 11-08-2002 07:32 AM

Nope not even staff. Only way staff can use it is to turn the staff only button to off

Erwin 11-08-2002 11:44 PM

Update 2.3 - Fixed Staff Only Bug

As GeorgeofCS pointed out, there was a bug in version 2.2 - if you turn on the "Staff Only" option, it stops everyone including staff from using the vBCode in Custom User Titles.

I've fixed this in version 2.3. You can download the latest ZIP file. You can upgrade manually by doing this:

In member.php, find:

PHP Code:

if ($restrictcustom==AND ($bbuserinfo[usergroupid]!=or $bbuserinfo[usergroupid]!=or $bbuserinfo[usergroupid]!=7)) { 

Replace with:

PHP Code:

if ($restrictcustom==AND $bbuserinfo[usergroupid]==2) { 

Sorry for the bug - I missed it because I don't use the Staff Only option. Enjoy!

Chris M 11-09-2002 01:48 PM

Nice:)

Satan

prcast 11-13-2002 09:26 PM

Can this be set up so i could asign the feature by each user instead of user group and can it be set up. so members can turn the html off from the edit options page

LaPiba 11-13-2002 10:17 PM

Hi Erwin,

I have just installed your hack version 2.3, it's great.

I have set it up this way:
Enable HTML: Yes
Maximum smilies: 4
Enable vbCode: Yes
Restrict vBCode or HTML to Staff: No

The problem i have, is that I can use vbCode without problems, but not HTML, although HTML is on.

(i am running vBulletin 2.2.7)

Could you please help? thank you very much.

Erwin 11-14-2002 02:24 AM

You have enabled HTML for all users? Mmm... I will look into it...

Erwin 11-14-2002 10:04 AM

Darn it...

First of all, change $customhtml to $customhtmlon in member.php (the code to add).

That was my mistake. Wrong name to variable, forgot the on.

However, that only makes the HTML show up - it doesn't parse it. I will figure it out given time. :) Have to sleep now.

Erwin 11-17-2002 08:14 AM

Update version 2.4 - Fixed it so you can use either HTML or vBCode

This fixes the bug that prevents you from using HTML in your Custom User Title. When you switch HTML to ON, you will be able to use HTML in your custom user titles, but you won't be able to use vBCode (you can only use one or the other at the moment).

To upgrade, just download vbcodetitle24.zip, and replace the old code with the new updated code.

Sorry for the update! :) Just fixing the bugs as they are found.

Chris M 11-17-2002 08:38 AM

Cololies Erwin:)

Satan

LaPiba 11-28-2002 03:27 PM

Thank you very much Erwin!

I have just upgraded and it is working now. :)

BigCheeze 11-29-2002 08:40 PM

Very Nice!! Installed!!

mdx381 12-25-2002 07:41 PM

Very nice.

Installed.

ScruffyDeluxe 01-11-2003 11:31 AM

Erwin, you don't know how many Lurkers on my boards have been after something like this! Now they can tart up their profiles to their heart's content :D

Thanx man.

Zelda-King 01-14-2003 07:23 AM

I installed this on vB 2.2.9 and it wont work. Well, administrators can use HTML in their user cp (they can anyway!) but no one else can. However I put the settings makes no difference. The coding wont have any effect even for Super Moderators. vB code doesn't work at all.

Erwin 01-15-2003 10:34 AM

Quote:

Originally posted by Zelda-King
I installed this on vB 2.2.9 and it wont work. Well, administrators can use HTML in their user cp (they can anyway!) but no one else can. However I put the settings makes no difference. The coding wont have any effect even for Super Moderators. vB code doesn't work at all.
Mmm... since this works on my site, and on many other sites, I suspect you installed this hack wrong. Try reapplying the hack again, following each step carefully.

ImportPassion 02-02-2003 04:54 AM

Can I enable this for certain groups and not all users?

Erwin 02-02-2003 08:27 AM

You can choose between all users, or just moderators. Anything else requires code changes to my hack. :)

msimplay 02-14-2003 10:11 AM

i got a major problem :(
i installed the first part of the hack and now i have 2 entries in the database for the same option
how do i remove one of them

Erwin 02-14-2003 10:18 AM

2 choices:

1) Go to phpmyadmin and delete the extra entries manually.

OR

2) Go to your admin directory, and run the setting.php file.

Go down to the extra entries and click REMOVE.

The 2nd option is by far easier.

msimplay 02-14-2003 12:59 PM

Thanks Erwin it worked a charm :D

Erwin 03-01-2003 06:11 AM

MAJOR UPDATE!!!

Version 3.0

I've added a Custom User Title Editor, with vBCode and Smilie Panel, to make it easier for your members to use vBCode and Smilies (and optional HTML) to spruce up their custom user titles. :)

There is even a Preview Panel at the bottom of the Editor, to make it easier for your members.

Also, just for fun, I added options to integrate with Lesane Store Hack or Shinra Points Hack.

To be honest, this was easy to code for my forums, but to write out the instructions to be released was a headache.

Updated ZIP file and instructions in first post.

Enjoy, click install, and if there are bugs, post here!

Screenshot of Custom User Title Editor
-------------------------------------------------

Erwin 03-01-2003 06:18 AM

This hack is backward compatible with the older versions - just follow the Upgrade.txt instructions.

There may be bugs, as the code used here is different to how I use it on my site. :) Let me know.

lynda 03-02-2003 01:53 AM

Would it be possible to update the files for Lesane's Store Hack integration? The code it refers to is no where near the same anymore (at least for 2.3.0, I'm not sure about 2.2.8 or 9) There isn't even a members.php. The main install file seems to make the right references, but the store hack files don't nearly at all.

Erwin 03-02-2003 02:27 AM

There is a text file in my zip called LesaneStoreHack.txt is to be applied AFTER you follow the instructions in the NewInstallation.txt file. :)

N9ne 03-02-2003 12:06 PM

Wow! Nice update, I'll have to install this when I have time....

Jitway 03-02-2003 03:12 PM

Ok I did the upgrade as said but when I click on the link in the edit user profile/click here for the custom user title editor it just takes me to a blank page?

Jitway 03-02-2003 03:42 PM

Ok disregard my other post as I figured it out and it works great. Thanks for the hack Erwin.

Erwin 03-02-2003 06:16 PM

Quote:

Originally posted by Jitway1
Ok disregard my other post as I figured it out and it works great. Thanks for the hack Erwin.
That's nice to hear that it works great for you. :)

ethics 03-03-2003 03:44 PM

Erwin, you rock man. :)

Will install this soon!

lynda 03-03-2003 04:16 PM

Quote:

Originally posted by Erwin
There is a text file in my zip called LesaneStoreHack.txt is to be applied AFTER you follow the instructions in the NewInstallation.txt file. :)
Okay, thanks. Works great. I think I was a little loopy yesterday or something. Don't know what was going through my head!

Liz 04-05-2003 03:51 AM

Okay...problem.

I installed this hack twice and I got this message both times.

Parse error: parse error, unexpected '}' in /home/elvis-bo/public_html/member.php on line 500

Any idea on how to fix this?

Also..I'm kind of new to all this "extra" coding stuff....how exactly do I do this?
Quote:

And DELETE it as well - REMOVE those two variables from that query.

Erwin 04-05-2003 04:57 AM

This is quite complicated to install, and you need to follow the instructions exactly as posted.

You obviously installed the hack wrongly. I suggest you uninstall the hack, and redo the installation very very carefully. It works.

As for removing the variables - just find and delete the code in the instructions - they are 2 variables that need to come out of there, to be placed elsewhere in a new query.

If this sounds complicated, I suggest installing some easier hacks, to get a better understanding of PHP, before attempting this. Like I said, it's complicated. But if you follow the instructions closely, it works. :)


All times are GMT. The time now is 04:19 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.01534 seconds
  • Memory Usage 1,819KB
  • 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
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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